Laravel v6.0.4 is released in 2019/09/24, here are the changes we`ve merged into this release.
Added
- Added
TestResponse::assertJsonPath()
method (#29957) - Added
hasMacro
\getGlobalMacro
\hasGlobalMacro
methods toEloquent Builder
(#30008) - Added
Illuminate\Database\Eloquent\Relations\BelongsToMany::getPivotColumns()
method (#30049) - Added
ScheduledTaskFinished
\ScheduledTaskStarting
events to signal when scheduled task runs (#29888) - Allowing adding command arguments and options with
InputArgument
\InputOption
objects (#29987)
Fixed
- Fixed
__()
withnull
parameter (#29967) - Fixed modifying
updated_at
column on custom pivot model (#29970) - Fixed
Illuminate\Redis\Limiters\ConcurrencyLimiter
(#30005) - Fixed
VerifyCsrfToken
middleware when response object instance ofResponsable
interface (#29972) - Fixed Postgresql column creation without optional precision (#29873)
- Fixed migrations orders with multiple path with certain filenames (#29996)
- Fixed adding
NotFoundHttpException
to "allowed" exceptions in tests (#29975)
Changed
- Make it possible to disable encryption via
0
/false
(#29985) - Allowed a symfony file instance in validate dimensions (#30009)
- Create storage fakes with custom configuration (#29999)
- Set locale in
PendingMail
only if locale present conditionally (dd1e0a6) - Improved sorting of imports alphabetically on class generation from stub (#29951)
Refactoring
- Changed imports to Alpha ordering in stubs (#29954, #29958)
- Used value helper where possible (#29959)
- Improved readability in
auth.throttle
translation (#30011, #30017)
GitHub: https://github.com/laravel/framework/releases/tag/v6.0.4