v7.10.0 (2020-05-05)
Added
- Added
artisan make:cast
command (#32594) - Added
Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase::assertDatabaseCount()
(#32597) - Allow configuring the auth_mode for SMTP mail driver (#32616)
- Added
hasNamedScope()
function to the Base Model (#32622, #32631) - Allow doing truth-test assertions with just a closure (#32626, f69ad90, 22d6fca)
- Run pagination count as subquery for group by and havings (#32624)
- Added Callbacks with Output to Console Schedule (#32633, 35a7883, 8d8d620)
- Added
Cache::lock()
support for the database cache driver (#32639, 573831b) - Same-session ID request concurrency limiting (#32636)
- Add
skipUntil
andskipWhile
methods to the collections (#32672, #32676) - Support delete with limit on sqlsrv (f16d325)
- Added
mergeFillable()
andmergeGuarded()
toModel
(#32679)
Fixed
- Prevents a memory leak in Faker (2228233)
- Fixed setting component name and attributes (#32599, f8ff3ca)
- Fixed
Illuminate\Foundation\Testing\TestResponse::assertSessionHasInput()
(f0639fd) - Set relation connection on eager loaded MorphTo (#32602)
- Filtering null's in
hasMorph()
(#32614) - Fixed
Illuminate\Foundation\Console\EventMakeCommand::alreadyExists()
(7bba4bf) - Fixed
Illuminate\Console\Scheduling\Schedule::compileParameters()
(cfc3ac9, 36e215d) - Fixed bug with model name in
Illuminate\Database\Eloquent\RelationNotFoundException::make()
(f72a166) - Allow trashed through parents to be included in has many through queries (#32609)
Changed
- Changed
Illuminate/Database/Eloquent/Relations/Concerns/AsPivot::fromRawAttributes()
(6c502c1) - Restore оnly common relations (#32613, d82f78b, 48e4d60)
- Use single space if plain email is empty in
Illuminate\Mail\Mailer::addContent()
(0557622) - Remove wasted file read when loading package manifest in
Illuminate\Foundation\PackageManifest::getManifest()
(#32646) - Do not change
character
andcollation
for some columns on change (fccdf7c) - Use table name when resolving has many through / one relationships (8d69454)