Releases: laravel/framework
Releases · laravel/framework
v5.4.16
Added
- Added PHPDBG detection to
runningInConsole()(#18198) - Added
Arr:wrap()method (#18216) - Allow scheduling of queued jobs (#18235, 7bb67e2)
- Allow skipping mail sending if a listener to
MessageSendingreturnsfalse(#18245) - Added
BcryptHasher::cost()method (#18266) - Added
Command::alert()method (#18272) - Added
tap()method to query builder (#18284) - Added
orderByDesc()methods to query builder (#18292) - Added
Container::makeWith()method (#18271, #18320) - Added
InteractsWithDatabase::assertSoftDeleted()(#18328, 2d4e1f0, f89f917) - Added ability to set queue parameters inside queued listeners (#18375, cf461e2)
- Added
Model::setKeyType()(#18354) - Output migration name before starting a migration or rollback (#18379, e47e8b1)
- Added
pipeline(),transaction(), andexecuteRaw()toPhpRedisConnection(#18421) - Added
@isset()directive (#18425) - Added
tinyIncrements()database schema method (#18424)
Changed
- Throw exception when
bootstrap/cachedirectory is not writable (#18188, b4f0005) - Use
resource_path()helper inMakeAuthCommand(#18215) - Added
file_exists()check toEvent::emailOutput()(c8eafa8) - Allow wildcards in MIME type validations (#18243)
- Only push existing jobs back into the queue using
queue:retry(#18279, e874a56) - Support file uploads in nested array (#18276)
- Don't use
config()helper in Mail component (#18290) - Return the insert ID from
DatabaseJob::release()(#18288, #18291) - Changed
idin failed jobs migration stub tobigIncrements()(#18300) - Prevent
make:authfrom overwriting existing views (#18319, bef8f35) - Ensure Mailable view data is not overridden by order of operations (#18322)
- Use
getAuthIdentifier()method in broadcasters (#18351) - Use atomic cache operation when checking for event overlaps (8ebb5b8)
- Return pretty JSON response from
HasInDatabase::failureDescription()(#18377) - Allow Validator extension to use array-style callable (#18399)
- Pass the condition value to query builder's
when()method (#18419) - Don't require returning the query from
when()method (#18422)
Fixed
- Fixed an issue with slots when passed content equals
null(#18246) - Do require
ClosureinorWhereHas()(#18277) - Let PHP parse
@includeWhendirective (#18285) - Only include
.phpfiles when loading database factories (#18336) - Fixed PHP 5.6 issue in
FileFactory::generateImage()(#18345) - Allow
ImplicitRouteBindingto match camelcase method parameter names (#18307, 4ae31a1) - Fixing weird behaviour of
Connection::getConfig()whennullwas passed (#18356) - Attempt to solve an issue with using
required_*rules while theConvertEmptyStringToNullmiddleware is applied (#18376) - Fixed faking of model events (d6cb75c)
- Prevent model event result from firing observable events (#18401, 0607db0)
- Fix issue in
authorizeResource()with compound names (#18435)