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
--parent
option onmake:controller
(#18606) - Added
MessageSent
event toMailer
(#18744, 6c5f3a4)
Changed
- Don't trim leading slashes on local filesystem base URLs (acd66fe)
- Accept variable on
@empty()
directive (#18738) - Added
string
validation rules toAuthenticatesUsers
(#18746)
Fixed
v5.4.17
Added
- Added
getManager()
andsetManager()
to queue worker (#18452) - Added support for Pheanstalk's
$timeout
and$persistent
options (#18448) - Added
Collection::times()
method (#18457) - Added PostgreSQL's
REAL
data type (#18513) - Added
flatMap
to collection higher order proxies (#18529) - Support multiple
--path
parameters withmigrate:reset
(#18540) - Store SparkPost
Transmission-ID
in the header after sending message (#18594)
Changed
- Check for
Htmlable
instead ofHtmlString
inMailer::renderView()
(#18459, da7b006) - Added mutex for schedule events (#18295, ae2eb1f)
- Don't use helper functions in service providers (#18506, #18521)
- Change
user_id
to unsigned integer in database session stub (#18557) - Improved performance of
UrlGenerator::isValidUrl()
(#18566)
Fixed
- Handle missing or malformed
config/app.php
file (#18466, 92931cf) - Only call
up
anddown
on 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
MessageSending
returnsfalse
(#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/cache
directory 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
id
in failed jobs migration stub tobigIncrements()
(#18300) - Prevent
make:auth
from 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
Closure
inorWhereHas()
(#18277) - Let PHP parse
@includeWhen
directive (#18285) - Only include
.php
files when loading database factories (#18336) - Fixed PHP 5.6 issue in
FileFactory::generateImage()
(#18345) - Allow
ImplicitRouteBinding
to match camelcase method parameter names (#18307, 4ae31a1) - Fixing weird behaviour of
Connection::getConfig()
whennull
was passed (#18356) - Attempt to solve an issue with using
required_*
rules while theConvertEmptyStringToNull
middleware 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)