Laravel Version: 5.6.0
Status:
Not receiving bug or security fixes
Recommendation:
Update at least to a security-maintained version as soon as possible!
The lowest version still getting security fixes is: 11
To upgrade, follow the instructions in the docs or use Laravel Shift to upgrade automatically.
Latest Patch Release:
| Major Version | Release date | Bug Fixes Until | Security Fixes Until | PHP Versions | Status |
|---|---|---|---|---|---|
| 5.6 | February 7, 2018 | August 7, 2018 | February 7, 2019 | 7.1, 7.2, 7.3, 7.4? |
EOL
|
Releases
No changelog available.
v5.6.39 (2018-10-04)
Fixed
- Fixed broken email sub-copy template escaping (#25734)
- Fixed required carbon version (394f79f9a6651b103f6e065cb4470b4b347239ea)
- Fixed translation escaping (25858, 4c465007bbf51d7f269871cd76b6d99de7df90bb)
No changelog available.
No changelog available.
No changelog available.
No changelog available.
No changelog available.
No changelog available.
No changelog available.
No changelog available.
No changelog available.
Added
- Added restored() and forceDeleted() to observer stub (#40ba2ee)
- Added UploadedFile::getContents() (#24924)
- Added an alias for a single FactoryBuilder state definition (#24937)
Changed
- Allow closure to determine if event should be faked (#24887)
- Update error message for MailFake::assertSent() (#24911)
- Return instance of spy when swapping facade for a Mockery spy (#24918)
- Renamed Mailer::setGlobalTo() to setGlobalToAndRemoveCcAndBcc() to be more clear about what it does (#24917)
- Update the font path used in frontend stub (#24926)
Fixed
No changelog available.
No changelog available.
No changelog available.
No changelog available.
Added
- Added assertSessionHasNoErrors() test helper (#24308)
- Added support for defining and enforcing a Spatial reference system for a Point column (#24320)
- Added Builder::whereJsonDoesntContain() and Builder::orWhereJsonDoesntContain() (#24367)
- Added Queueable, SerializesModels to all notification events (#24368)
- Allow callable array syntax in route definition (#24385)
- Added JSON SELECT queries to SQL Server (#24397)
Changed
- Optimize query builder's
pluck()method (#23482) - Allow passing object instances regardless of the parameter name to method injection (#24234)
- Extract setting mutated attribute into method (#24307)
- Let apiResource support except option (#24319)
- Skip null/empty values in SeeInOrder (#24395)
- Sync Original modal attributes after soft deletion (#24400)
Fixed
Added
- Added
FilesystemManager::forgetDisk()method (#24057, cbfb4fb) - Added
--allowparameter todowncommand (#24003) - Added more comparison validation rules (
gt,lt,gte,lte) (#24091, #24135) - Added
TestResponse::assertCookieNotExpired()method (#24119)
Changed
- Redis connections now implement the
Contracts/Redis/Connectioninterface (#24142)
Fixed
- Fixed unsetting request parameters during
HEADrequests (#24092) - Fixed
HasManyThroughreturning incorrect results withchunk()(#24096, 5d3d98a) - Fixed
dateBasedWhere()with raw expressions when using SQLite (#24102) - Fixed
whereYear()not accepting integers when using SQLite (#24115) - Remove full base URL from generated paths (#24101)
Added
- Added support for MySQL 8 (#23948)
- Added support for custom filesystem drivers URLs (#23964)
- Added more PostgreSQL operators (#23945)
- Added support for JSONP callback when broadcasting using Pusher (#24018, b9ab427)
Changed
- Support chaining using
$this->be()helper (#23919) - Improved pagination accessibility (#23962)
- Changed response code of
ValidationExceptioninThrottlesLoginsto429(#24002) - Throw exception if called command doesn't exist (#23942)
- Made notification email translatable (#23903)
Fixed
Added
- Added helpers for subquery joins (#23818)
Changed
- Allow
PendingResourceRegistrationto be fluently registered (#23890) - Allow asserting an integer with
assertSee*()(#23892) - Allow passing
CollectiontoRule::in()andRule::notIn()(#23875)
Fixed
- Lock Carbon version at
1.25.*(27b8844)
Removed
- Removed form error for password confirmation (#23887)
Added
- Support executing artisan commands using class names (#23764)
- Make
Viewmacroable (#23787) - Added database
Connection::unsetEventDispatcher()method (#23832) - Support IAM role session token to be used with SES (#23766)
Changed
- Added displayable value to
required_unlessrule (#23833)
Fixed
- Fixed
RedisQueue::blockingPop()check when using PhpRedis (#23757)
Added
- Added
view:cachecommand (9fd1273, 2ab8acf) - Added
min()andmax()to as higher order proxies (#23560) - Added
@elseauthand@elseguestBlade directives (#23569) - Added support for hashing configuration (#23573, d6e3ca9)
- Allow tagged cache keys to be incremented/decremented (#23578)
- Added
SeeInOrderconstraint to avoid risky test notices (#23594, ca39449) - Support higher order
groupBy()(#23608) - Support disabling setting
created_atin models (#23667) - Added callback support to
optional()helper (#23688) - Added
Eloquent\Collection::loadMorph()method (#23626)
Changed
- Support generating a signed route with a
UrlRoutableparameter (#23584) - Use
DIRECTORY_SEPARATORinApplication::environmentFilePath()(#23596) - Support states on model factory after callbacks (#23551, #23676)
- Use
hash_equals()for verifying URL signatures (#23618) - Refactored
Exceptions/Handler(f9162c9, 6c5d971) - Changed status code of
InvalidSignatureExceptionfrom401to403(#23662, c99911f)
Fixed
Added
- Added
fromSub()andfromRaw()methods to query builder (#23476) - Added "Not Regex" validation rule (#23475)
- Added seed parameter to
Arr::shuffle()(#23490) - Added after callback to model factories (#23495, d79509d)
- Added
Request::anyFilled()method (#23499, 896d817) - Added support for signed routes (#23519)
- Added
assertNotFound()andassertForbidden()methods toTestResponse(#23526) - Added test helpers to assert that a job has been queued with a chain (#23531, 696f4d8)
Changed
- Only set id on
NotificationFakeif there is no id set (#23470) - Check whether
fetch()method exists inApplication::output()(#23471) - Improve asset loading in
app.stub(#23479) - Support ignoring a model during a unique validation check (#23524)
- Support multiple model observers (#23507)
LogManagerdriver capable of producing logger with any Monolog handler (#23527, d499617)- Support passing model instance to
updateExistingPivot()(#23535) - Allow for custom
TokenGuardfields (#23542)
Fixed
- Fixed clearing the cache without a cache directory (#23538)
Fixed
- Fix for Carbon 1.24.1 (#23464)
Added
- Added
Blueprint::dropMorphs()(#23431) - Added
Mailable::attachFromStorage()methods (0fa361d) - Added
orWhere*()builder methods for day, month and year (#23449)
Changed
- Added
v-preto dropdown link inapp.stub(98fdbb0) - Handle more JSON errors gracefully when
JSON_PARTIAL_OUTPUT_ON_ERRORis set (#23410, 972b82a) - Add bubble, permission and locking config to single/daily log (#23439)
- Use
Str::contains()instead ofstr_contains()(ae4cb28)
Fixed
Added
- Added support for MySQL’s sounds-like operator (#23351)
- Added
ThrottleRequestsExceptionexception (#23358 - Added
@dumpBlade directive (#23364) - Added
Collection::whereInstanceOfMethod()(78b5b92) - Added
Dispatchable::dispatchNow()(#23399)
Changed
- Allow extension of
DatabaseNotificationmodel attributes (#23337) - Made auth scaffolding translatable (#23342)
- Use
getKeyName()ingetForeignKey()(#23362) - Sort
FileSystemfiles and directories by name (#23387) - Return validated data from
Validator::validate()(#23397, 3657d66)
Fixed
- Fixed
servecommand escaping (#23348) - Fixed an issue with multiple select statements in combination with
withCount()(#23357) - Fixed conditional loading issues (#23369)
- Prevent considering arrays as
callablewhile building model factories (#23372) - Move
tightenco/collectto Composer’sconflict(#23379) - Set up loop variable correctly on all
Traversableobjects (#23388, 49770ec) - Removed attribute filling from pivot model (#23401)
Added
- Added the ability to set message ID right hand side (#23181)
- Support callbacks as custom log drivers (#23184)
- Added
Blade::include()method for include aliases (#23172) - Added
broadcastType()method to notifications (#23236, 4227bd7)
Changed
- Moved clone logic from
FormRequestServiceProvidertoRequest(b0c2459) - Changed pagination arrow symbols (#23127)
- Update React version in preset (#23134)
- Added an empty error bag when rendering HTTP exception views (#23139)
- Normalized actions when using
route:listcommand (#23148) - Updated required Carbon version (201bbec)
- Improved
BadMethodCallExceptionmessages (#23232) - Support date validation rules when comparison has relative time (#23211)
Fixed
- Returns same
Loggerinstance fromLogManager(#23118) - Register missing
hash.driverDI (#23114) - Fixed an issue with starting two database transactions in tests (#23132)
- Don't replace
tightenco/collect(#23147, #23153, #23160) - Catch
InvalidFileExceptionwhen loading invalid environment file (#23149, 5695079) - Fixed an issue with
assertRedirect()(#23176) - Fixed dropdown accessibility (#23191)
- Fixed
--forceflag onGeneratorCommand(#23230)
Removed
Added
- Added Slack attachment pretext attribute (#23075)
Changed
- Added missing nested joins in
Grammar::compileJoins()(#23059) - Improved session errors assertions in
TestResponse::assertSessionHasErrors()(#23055)
Fixed
- Fixed
BelongsToManypivot relation wakeup (#23081)
Removed
- Removed monolog configurator (#23078)
General
⚠️ Upgraded to Symfony 4 (#22450)⚠️ Upgraded to Bootstrap 4 (#22754, #22494, 25559cd, 12d789d)⚠️ AddedrunningUnitTests()toApplicationcontract (#21034)⚠️ Upgradedcron-expressionto2.x(#21637)
Artisan Console
⚠️ Removed deprecatedoptimizecommand (#20851)- Show job id in
queue:workoutput (#21204) - Show batch number in
migrate:statusoutput (#21391) ⚠️ Added$outputBufferargument tocall()method in contracts (#22463)- Added
--realpathargument to migration commands (#22852, 98842da) - Added
--apiargument tomake:controller(#22996, dcc6123)
Authentication
- Support customizing the mail message building in
ResetPassword::toMail()(6535186) - Added
AuthServiceProvider::policies()method (6d8e530)
Blade Templates
- Added
@csrfand@methoddirectives (5f19844, #22912) - Added
Blade::component()method for component aliases (#22796, 7c3ba0e) ⚠️ Made double encoding the default (7c82ff4)
Broadcasting
Cache
- Removed
$decayMinutesargument fromRateLimiter::tooManyAttempts()(#22202)
Collections
⚠️ Fixed keyless calls touniqueStrict()(#21854)- Added operator support to
Collection@partition()(#22380) - Improve performance of
Collection::mapToDictionary()(#22774, c09a0fd) - Accept array of keys on
Collection::except()(#22814)
Database
⚠️ Swap the index order of morph type and id (#21693)- Added support for PostgreSQL comments (#21855, #22453)
- Better enumeration columns support (#22109, 9a3d71d)
- Prevent duplicated table prefix in
SQLiteGrammar::compileColumnListing()(#22340, #22781) - Support complex
update()calls when using SQLite (#22366) - Throws an exception if multiple calls to the underlying SQLite method aren't supported (#22364, c877cb0)
- Made
whereTime()operator argument optional (#22378) - Changed transaction logic in
DatabaseQueue(#22433) - Added support for row values in where conditions (#22446)
- Fixed serialization of pivot models (#22786, 8fad785, 351e3b7)
⚠️ AcceptThrowableinDetectsLostConnections(#22948)
Eloquent
⚠️ Serialize relationships (#21229)- Allow setting custom owner key on polymorphic relationships (#21310)
⚠️ Sync model afterrefresh()(#21905)- Make
MassAssignmentExceptionwording clear (#22565) - Changed
HasAttributes::getDateFormat()visibility topublic(#22618) - Added
BelongsToMany::getPivotClass()method (641d087) - Ensure Pivot model's
$dateFormatis used when creating a pivot record (a433ff8) - Added
BelongsToMany::withPivotValues()method (#22867) - Added
forceDeletedevent (497a907) ⚠️ Relocate the existence check for factory definitions toFactoryBuilder::getRawAttributes()(#22936)⚠️ ChangeResourcename away from soft-reserved name (#22969, aad6089)- Added support for casting to custom date formats (#22989, 1f902c8)
Hashing
Helpers
⚠️ Return an empty array fromArr::wrap()when called withnull(#21745)- Return class traits in use order from
class_uses_recursive()(#22537) - Added
Str::uuid()andStr::orderedUuid()(3d39604)
Logging
⚠️ Refactored Logging component (#22635, 106ac2a, 7ba0c22, 03f870c, e691230)- Use application name as syslog identifier (#22267)
⚠️ Added$dataproperty to mail events (#21804)⚠️ Call message сustomization callbacks before building content/attachments (#22995)- Added support for setting HTML in emails (#22809)
Notifications
- Pass notification instance to
routeNotificationFor*()methods (#22289)
Queues
⚠️ Addedpayload()andgetJobId()toJobcontract (#21303)- Removed unused
Worker::raiseFailedJobEvent()method (#21901) - Support blocking pop from Redis queues (#22284, dbad055, 5923416)
Requests
⚠️ ReturnfalsefromexpectsJson()when requested content type isn't explicit (#22506, 3624d27)- Added
Request::getSession()method (e546a5b) - Accept array of keys on
Request::hasAny()(#22952)
Responses
- Added missing
$rawand$sameSiteparameters toCookie\Factorymethods (#21553) ⚠️ Return201status if Model was recently created (#21625)- Set original response JSON responses (#22455)
- Added
streamDownload()method (#22777) ⚠️ Allow insecure cookies whensession.secureistrue(#22812)
Routing
- Added
SetCacheHeadersmiddleware (#22389, f6f386b, df06357) - Support pulling rate limit from the user instance in
ThrottleRequests(c9e6100)
Service Container
Session
- Support dot notation in
Session::exists()(#22935)
Support
⚠️ Throw exception ifManager::driver()is called withnull(#22018)⚠️ AddedhasCommandHandler(),getCommandHandler()andmap()toBus\Dispatchercontract (#22958, #22986)- Added
useBootstrapThree()helper to paginators (c919402)
Task Scheduling
Testing
⚠️ Switched to PHPUnit 7 (#23005)- Support fetching specific key when using json helpers (#22489)
- Use
DatabaseTransactionstrait inRefreshDatabase(#22596) - Added
assertSeeInOrder()andassertSeeTextInOrder()methods (#22915, #23038)