News

Laravel 5.7.18 Released

Published
Laravel 5.7.18 Released image

Release updates

Never miss a Laravel release

Get an email whenever a new Laravel release lands.

Laravel 5.7.18 is available with the latest updates to the Laravel framework v5.7.

First, the framework now replaces all placeholders for the starts_with validation rule introduced in Laravel 5.7.15.

A new Facade::resolved() method registers callbacks that are called after service resolution. Here’s an example provided in the pull request:

/**
* Register the token guard.
*
* @return void
*/
protected function registerGuard()
{
Auth::resolved(function ($auth) {
$auth->extend('passport', function ($app, $name, array $config) {
return tap($this->makeGuard($config), function ($guard) {
$this->app->refresh('request', $guard, 'setRequest');
});
});
});
}

The last new feature is an env variable APP_CONFIG_CACHE to control the cache config path.

You can see the full list of fixes below, and the full diff between 5.7.17 and 5.7.18 on GitHub. The full release notes for Laravel 5.7 are available in the GitHub 5.7 changelog:

v5.7.18

Added

  • Added missing starts_with validation message (#26822)
  • Added Facade::resolved() method to register pending callback until the service is available. (#26824)
  • Added env var APP_CONFIG_CACHE to control cache config path (578bc83)

Changed

  • Changed TransportManager::createMailDriver (#26846)

Fixed

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article
Statamic Mailables Viewer Previews Laravel Emails in the Control Panel image

Statamic Mailables Viewer Previews Laravel Emails in the Control Panel

Read article
Laravel Tackle: Run an AI Coding Agent in Your Laravel App image

Laravel Tackle: Run an AI Coding Agent in Your Laravel App

Read article
Queue::forward(): Reroute Laravel Queues in One Place image

Queue::forward(): Reroute Laravel Queues in One Place

Read article
Laravel Read-Through Filesystem: Lazy Storage Migration image

Laravel Read-Through Filesystem: Lazy Storage Migration

Read article