Laravel v5.7.20 is released in 8 of January 2019, here are the changes we’ve merged into this release.
Added
- Added
chunkById
support in relations (#26919) - Added
Collection::whereNotBetween
method (#27028) - Allowed predefined log channels to change formatter from config (#26895)
- Allowed storage assertions (
FilesystemAdapter::assertExists
/FilesystemAdapter::assertMissing
) to handle multiple files at once (#26975) - Added
Adaptive Server connection failed
toDetectsLostConnections
trait (#27055) - Added
Route::originalParameters()
(#27056) - Added
QueueFake::pushedJobs()
(#27089, 695ffa1)
Fixed
- Prevents unnecessary queries when lazy loading empty relationships (#26992)
- Fixed broken
Command::setHidden
method (#27005) - Fixed
Str::slug
method (#27002) - Ignore
--seed
option forartisan migrate --pretend
(#27015) - Fixed
previousUrl
in the session if the call isprefetch
(#27017) - Fixed nullable
MorphTo
touching (#27031) - Fixed
Collection::loadMissing()
with duplicate relation names (#27040) - Fixed some commands (#27020)
- Ensured the command
context
is forwarded to calls (#27012, #27065) - Fixed
Collection::loadMorph()
issue relations loading issue (#27081)
Changed
- Removed
HasOneOrMany::update()
sinceBuilder::update()
already adds theUPDATED_AT
timestamp. (#27026) - Changed
Name or service not known
tophp_network_getaddresses: getaddrinfo failed: Name or service not known
inDetectsLostConnections
trait (#27054, 5459ac1) - Changed Eloquent
ApiResource merge()
methods to acceptJsonResource
object (#27068) - Stop email re-verification with same link (#27070)