Releases: laravel/framework
Releases · laravel/framework
v5.4.31
Added
- Added
Blueprint::unsignedDecimal()method (#20243, 3b4483d, 06dcaaa) - Added
Relation::getMorphedModel()method (#20244) - Added
Model::isNot()method (#20354) - Added
FilesystemAdapter::temporaryUrl()method (#20375, 09cfd7f) - Added
Request::userAgent()method (#20367)
Changed
- Renamed
MakeAuthCommandtoAuthMakeCommand(#20216) - Don't use
asset()helper insidemix()(#20197) - Removed
arraytype-hint inBuilder::orWhereRaw()signature (#20234) - Added empty array default to
$attributesonBelongsToMany::create()(#20321) - Prepare for PHP 7.2 (#20258, #20330, #20336, #20378)
- Use
unsignedTinyInteger()injobs.stub(#20382)
Fixed
v5.4.30
v5.4.29
Added
- Added
ManagesFrequencies::twiceMonthly()method (#19874) - Added
RouteCollection::getRoutesByName()method (#19901) - Added
$expiresAtparameter toCallbackEvent::withoutOverlapping()(#19861) - Support keeping old files when testing uploads (#19859)
- Added
--forceoption tomake:mail,make:modelandmake:notification(#19932) - Added support for PostgreSQL deletes with
USESclauses (#20062, f94fc02) - Added support for CC and BBC on mail notifications (#20093)
- Added Blade
@authand@guestdirective (#20087, #20114) - Added option to configure MARS on SqlServer connections (#20113, c2c917c)
Changed
- Support object items in
Arr::pluck()(#19838, #19845) MessageBaginterface now extendsArrayable(#19849)- Made
Blueprintmacroable (#19862) - Improved performance for
Arr::crossJoin()(#19864) - Use the correct
Usermodel namespace for new policies (#19965, a7094c2) - Consider scheduled event timezone in
inTimeInterval()(#19959) - Render exception if handler can't report it (#19977)
- Made
MakesHttpRequests::withServerVariables()public (#20086) - Invalidate session instead of regenerating it when logging out (#20107)
- Improved
InvalidPayloadExceptionerror message (#20143)
Fixed
v5.4.28
Added
- Added
avg()andaverage()as higher order proxies (#19628) - Added
fresh()method to Eloquent collection (#19616, #19671) - Added ability to remove a global scope with another global scope (#19657)
- Added
Collection::intersectKey()method (#19683) - Support setting queue name via
broadcastQueue()method (#19703, #19708) - Support default return on
BelongsTorelations (#19733, #19788, 1137d86, ed0182b) - Added
unless()method to query builder and collection (#19738, #19740) - Added
array_random()helper (#19741, #19818, #19826) - Support multiple manifest files on
mix()(#19764)
Changed
- Escape default value passed to
@yielddirective (#19643) - Support passing multiple fields to
differentvalidation rule (#19637) - Only dispatch the
MessageSentevent if mails should be sent (#19690) - Removed duplicate
/frompublic_path()(#19731) - Made
ThrottlesLoginsmore customizable (#19787) - Support PostgreSQL insert statements with
DEFAULT VALUES(#19804)
Fixed
- Fixed
BelongsTobug with incrementing keys (#19631) - Fixed PDO return value bug in
unprepared()(#19667) - Don't use
event()helper inHttp\Kernel(#19688) - Detect lock wait timeout as deadlock (#19749)
- Improved escaping special characters in MySQL comments (#19798)
- Fixed passing email as string to
Event::emailOutputTo()(#19802) - Fixed
withoutOverlapping()not creating mutex (#19834)
Removed
- Removed
roleattribute from forms in stubs (#19792)
v5.4.27
v5.4.26
Added
- Added
Event::nextRunDate()method (#19537, 09dd336) - Added null safe operator
<=>to query builder operators list (#19539) - Added
Macroabletrait toRequestGuard(#19569)
Changed
- Touch
updated_attimestamp when soft deleting (#19538) - Accept argument list in
Rule::in()andRule::notIn()(#19555) - Support checking for strings job names using
QueueFake(#19575) - Improved image ratio validation precision (#19542)
Fixed
- Resume scheduled task if an error occurs (#19419)
- Decode HTML entities in plain text emails (#19518)
- Added missing locales to
MessageSelector::getPluralIndex()(#19562) - Use strict check when object is passed to
Collection::contains()(#19568) - Fixed jobs with a timeout of
0(#19586) - Never pass
ThrowabletostopWorkerIfLostConnection()(#19591)
v5.4.25
Added
- Added
Macroabletrait toFactoryBuilder(#19425) - Allow a plain text alternative view when using markdown within Mailables (#19436, ad2eaf7)
- Added nested transactions support for SqlServer (#19439)
Changed
- Moved
env()helper to Support component (#19409) - Prevent
BadMethodCallExceptioninRedirectResponse::withErrors()(#19426) - Suppress error if calling
Str::replaceFirst()with an empty search (#19427) - Removed the
callabletype hint forarray_sort()(#19483) - Return the used traits from
TestCase::setUpTraits()(#19486)
Fixed
- Fixes and optimizations for
Str::after()(#19428) - Fixed queue size when using Beanstalkd driver (#19465)
- Check if a mutex can be created before running the callback task in
CallbackEvent::run()(#19466) - Flip expected and actual value on
TestResponse::assertCookie()(#19495) - Fixed undefined variable error in
Mailableclass (#19504) - Prevent error notice when
database.collationis not set (#19507)
v5.4.24
Added
- Support magic controller methods (#19168)
- Added
Gateresources (#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
pathtoPaginator(#19314) - Added
Collection::concat()method (#19318, 0f5337f) - Added
make()method toHasOneOrManyandMorphOneOrManyrelations (#19307) - Added
str_after()helper function (#19357) - Added
Router::apiResource()method (#19347)
Changed
- Move
$sizeRulesand$numericRulesproperties fromFormatsMessagestoValidator(dc7e7cb) - Allows calls to
Collection::times()without the$callbackparameter (#19278) - Don't ignore jobs with a timeout of
0(#19266) - Resolve database paginators from the container (#19328)
- Added
newstoPluralizer::$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
0fromcallScope()if$query->wheresisnull(#19381)
v5.4.23
Added
- Added
Gate::abilities()accessor (#19143, e9e34b5) - Added ability to eager load counts via
$withCountproperty (#19154)
Fixed
- Fixed inversion of expected and actual on assertHeader (#19110)
- Fixed filesystem bug in
Filesystem::files()method on Windows (#19157) - Fixed bug in
Container::build()(#19161, bf669e1)
Removed
- Removed
window.Laravelobject (#19135)
v5.4.22
Added
- Support dynamic number of keys in
MessageBag::hasAny()(#19002) - Added
Seeder::callSilent()method (#19007) - Add
make()method to Eloquent query builder (#19015) - Support
Arrayableon Eloquent'sfind()method (#19019) - Added
SendsPasswordResetEmails::validateEmail()method (#19042) - Allow factory attributes to be factory instances themselves (#19055)
- Implemented
until()method onEventFake(#19062) - Added
$encodingparameter toStr::length()(#19047, #19079)
Changed
- Throw exception when invalid first argument is passed to
cache()helper (d9459b2) - Use
getAuthIdentifierName()inAuthenticatable::getAuthIdentifier()(#19038) - Clone queries without order by for aggregates (#19064)
- Force host on password reset notification (cef1055)
Fixed
- Set data key when testing file uploads in nested array (#18954)
- Fixed a bug related to sub select queries and extra select statements (#19013)
- Resolve aliases from container when using parameters (#19071)
- Stop worker if database disconnect occurred (#19080, 583b1b8)
- Fixed internal call to
assertJson()inassertJsonStructure()(#19090)