Laravel v5.4.24 Is Now Released
Published on by Eric L. Barnes
Laravel 5.4.24 is now released and available for all. This release adds support for magic controller methods, a Request::routeIs() method and more.
Check the full change log below and run composer update
to get the latest version.
v5.4.24 Changelog
Added
- Support magic controller methods (#19168)
- Added
Gate
resources (#19124) - Added
Request::routeIs()
method (#19202, 26681eb) - Route
Route::isName()
shorthand method (#19227) - Added support for custom columns in
softDeletes()
method (#19203) - Added
ManagesLayouts::getSection()
method (#19213) - Added
Model::refresh()
shorthand (#19174) - Added
Container::forgetExtenders()
method (#19269, 7c17bf5) - Added
Filesystem::hash()
method (#19256) - Added
TestResponse::assertViewIs()
method (#19291) - Added
path
toPaginator
(#19314) - Added
Collection::concat()
method (#19318, 0f5337f) - Added
make()
method toHasOneOrMany
andMorphOneOrMany
relations (#19307) - Added
str_after()
helper function (#19357) - Added
Router::apiResource()
method (#19347)
Changed
- Move
$sizeRules
and$numericRules
properties fromFormatsMessages
toValidator
(dc7e7cb) - Allows calls to
Collection::times()
without the$callback
parameter (#19278) - Don’t ignore jobs with a timeout of
0
(#19266) - Resolve database paginators from the container (#19328)
- Added
news
toPluralizer::$uncountable()
(#19353) - Switched to using
app()->getLocale()
inapp.stub
(#19405)
Fixed
- Fixed
Container::makeWith()
not using parameters when resolving interfaces (#19178) - Stop validating Memcached connection (#19192)
- Fixed the position of
bound()
inContainer::instance()
(#19207) - Prevent applying global scopes on the factory while setting the connection (#19258)
- Fixed database connection issue in queue worker (#19263)
- Don’t use HTML comments in notification email template (#19289)
- Fire rebinding callback when using
bind()
method to bind abstract (#19288) - Return
0
fromcallScope()
if$query->wheres
isnull
(#19381)
Eric is the creator of Laravel News and has been covering Laravel since 2012.