Releases: laravel/framework
Releases Β· laravel/framework
v5.4.18
Added
- Added
assertSuccessful()andassertRedirect()toTestResponse(#18629) - Added
assertSeeText()andassertDontSeeText()toTestResponse(#18690) - Added
assertJsonMissing()toTestResponse(#18721, 786b782) - Added support for attaching an image to Slack attachments
$attachment->image($url)(#18664) - Added
Validator::extendDependent()to allow adding custom rules that depend on other fields (#18654) - Added support for
--parentoption onmake:controller(#18606) - Added
MessageSentevent toMailer(#18744, 6c5f3a4)
Changed
- Don't trim leading slashes on local filesystem base URLs (acd66fe)
- Accept variable on
@empty()directive (#18738) - Added
stringvalidation rules toAuthenticatesUsers(#18746)
Fixed
v5.4.17
Added
- Added
getManager()andsetManager()to queue worker (#18452) - Added support for Pheanstalk's
$timeoutand$persistentoptions (#18448) - Added
Collection::times()method (#18457) - Added PostgreSQL's
REALdata type (#18513) - Added
flatMapto collection higher order proxies (#18529) - Support multiple
--pathparameters withmigrate:reset(#18540) - Store SparkPost
Transmission-IDin the header after sending message (#18594)
Changed
- Check for
Htmlableinstead ofHtmlStringinMailer::renderView()(#18459, da7b006) - Added mutex for schedule events (#18295, ae2eb1f)
- Don't use helper functions in service providers (#18506, #18521)
- Change
user_idto unsigned integer in database session stub (#18557) - Improved performance of
UrlGenerator::isValidUrl()(#18566)
Fixed
- Handle missing or malformed
config/app.phpfile (#18466, 92931cf) - Only call
upanddownon migration if the method exists (d27d94e) - Fixed overwriting of routes with identical path and method (#18475, 5aee967)
- Fixing model/route binding with identical name (#18476)
- Allow
rollbackMigrations()path to be with string (#18535) - Use
getStatusCode()inTestResponse::assertRedirect()(#18559) - Case
parseIds()to array inInteractsWithPivotTable::sync()(#18547) - Preserve route parameter names (#18604)
v5.3.31
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)