Laravel v5.6.12 released
Published in
1 min readMar 18, 2018
There are some interesting gems in this release, worth the read 👌🏻
Added
- Added
fromSub()
andfromRaw()
methods to query builder (#23476) - Added “Not Regex” validation rule (#23475)
- Added seed parameter to
Arr::shuffle()
(#23490) - Added after callback to model factories (#23495, d79509d)
- Added
Request::anyFilled()
method (#23499, 896d817) - Added support for signed routes (#23519)
- Added
assertNotFound()
andassertForbidden()
methods toTestResponse
(#23526) - Added test helpers to assert that a job has been queued with a chain (#23531, 696f4d8)
Changed
- Only set id on
NotificationFake
if there is no id set (#23470) - Check whether
fetch()
method exists inApplication::output()
(#23471) - Improve asset loading in
app.stub
(#23479) - Support ignoring a model during a unique validation check (#23524)
- Support multiple model observers (#23507)
LogManager
driver capable of producing logger with any Monolog handler (#23527, d499617)- Support passing model instance to
updateExistingPivot()
(#23535) - Allow for custom
TokenGuard
fields (#23542)
Fixed
- Fixed clearing the cache without a cache directory (#23538)