- Added
chunkById
support inBelongsToMany
andHasManyThrough
relations (#26919) - Allowed predefined log channels to change formatter from config (#26895)
- Added
Illuminate\Support\Collection::whereBetween
method (#26888)
- Reverted changes related to
app()->call()
(fefaf46) - Reset doctrineConnection property on Database/Connection when reconnecting (#26890)
- Added missing
starts_with
validation message (#26822) - Added
Facade::resolved()
method to register pending callback until the service is available. (#26824) - Added env var
APP_CONFIG_CACHE
to control cache config path (578bc83)
- Changed
TransportManager::createMailDriver
(#26846)
- Fixed of using
illuminate/mail
outside of Laravel with driver log (#26842) - Fixed some bugs for
app()->call()
(#26852) - Added workaround for PHP-bug related to incorrect variable values when Opcache enabled in PHP v 7.3.0 (36d3436)
- Added
Database\Query\Builder::insertUsing
method (#26732, 8216b46) - Added
Database\Query\Builder::havingBetween
method (#26758) - Added
Packets out of order. Expected
string toDetectsLostConnections
trait (#26760) - Added
NOT VALID
option for skipping validation when adding postgres foreign keys (#26775)
- Fixed: Using
store
on an uploaded file when you push an empty file (#26809) - Fixed hiding for hidden commands (#26781)
- Added localization for
403.blade.php
and503.blade.php
(#26751) - Changing the Migrator to accept not only migration directory paths, but migration file paths too (#26642, c4b13bf)
- Fixed self-referencing HasManyThrough existence queries (#26662)
- Fixed HasManyThrough existence queries with same parent and through parent table (#26676)
- Fixed breaking eager loading with "incrementing" string keys (#26688)
- Remove the Register
<li>
when the route doesn't exist inapp.stub
(#26708) - Fixed
Collection::some
method (#26696) - Revert breaking change in
TestResponse::decodeResponseJson
method (#26713) - Fixed
PhpRedisConnection::mget
(#26716) - Fixed
Eloquent\Collection::loadCount
attribute syncing (#26714) - Fixed
Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase::seed
for array accepting (#26734) - Fixed
FormRequest
validation triggering twice (#26731)
- Changed markdown on auth stub view (
Auth/Console/stubs/make/views/auth/login.stub
) (#26648) - Moved Slack and Nexmo notification channels to the own packages
laravel/nexmo-notification-channel
,laravel/slack-notification-channel
(#26689, #26727)
$cachedSchema
property inUrlGenerator
is deprecated. Will be renamed to the$cachedScheme
in 5.8 (#26640)
- Added
date_equals
validation message (#26584) - Added
starts_with
validation rule (#26612) - Added relationship getters
BelongsToMany::getParentKeyName
,BelongsToMany::getRelatedKeyName
,HasManyThrough::getFirstKeyName
,HasManyThrough::getForeignKeyName
,HasManyThrough::getSecondLocalKeyName
,HasOneOrMany::getLocalKeyName
,MorphToMany::getInverse
(#26607) - Make
ResourceCollection
countable (#26595)
- Fixed duplicate validation issue in
FormRequest::validated
method (#26604) - Prevent breaking eager loading with string keys (#26622)
- Added
Macroable
trait toIlluminate\Cookie\CookieJar
(#26445) - Added ability to disable password reset route (#26459)
- Added ability to publish error views (#26460)
- Added ability to set notifcation tries and timeout (#26493)
- Added
mail.log_channel
config for makelog
for mail driver configurable (#26510) - Allowed
asset
root urls to be configurable viaapp.asset_url
(9172a67) - Added
Error while sending QUERY packet
string toDetectsLostConnections
trait (#26233) - Added env override for running in console (a36906a, 19f2245)
- Fixed
UNION
aggregate queries with columns (#26466) - Allowed migration table name to be guessed without
_table
suffix (#26429) - Fixed
TestResponse::assertExactJson
for empty JSON objects (#26353, e6ebc8d, 621d91d, #26508) - Fixed cache repository for PHP from 7.2.12v (#26495)
- Fixed user authorization check for Email Verification (#26528)
- Fixed nested JOINs on SQLite (#26567)
- Improved eager loading performance (#26434, #26453, 3992140, #26471, a3738cf, #26531)
- Adjusted
mix
missing asset exceptions (#26431) - Used
asset
helper to generate full path urls in exception views (#26411) - Changed
Illuminate\Foundation\Testing\Concerns\MocksApplicationServices::withoutJobs
method (#26437) - Cached
distinct
validation rule data (#26509) - Improved DNS Prefetching in view files (#26552)
- Added ability to return an array of messages in a custom validation rule (#26327)
- Added
whenEmpty
/whenNotEmpty
/unlessEmpty
/unlessNotEmpty
methods toCollection
(#26345) - Added
Illuminate\Support\Collection::some
method (#26376, 8f7e647) - Added
Illuminate\Cache\Repository::missing
method (#26351) - Added
Macroable
trait toIlluminate\View\Factory
(#26361) - Added support for UNION aggregate queries (#26365)
- Updated
AbstractPaginator::appends
to handle null (#26326) - Added "guzzlehttp/guzzle": "^6.3", to
composer.json
(#26328) - Showed exception message on 403 error page when message is available (#26356)
- Don't run TransformsRequest twice on ?query= parameters (#26366)
- Added missing logging options to slack log driver (#26360)
- Use cascade when truncating table in PostgreSQL (#26389)
- Allowed pass absolute parameter in has valid signature request macro (#26397)
- Used
Request::validate
macro in Auth traits (#26314)
- Added
CacheManager::forgetDriver
method (#26264, fd9ef49) - Added
Illuminate\Foundation\Http\Kernel::getMiddlewareGroups
method (#26268) - Added an sqlite config option (
foreign_key_constraints
) to enable / disable foreign key constraints (#26298, 674f8be, #26306)
- Checked
$absolute
parameter inUrlGenerator::signedRoute
(#26265) - Fixed error in resource building after running
php artisan preset none
command (41becda, #26244) - Fixed
whereDoesntHave()
anddoesntHave()
with nested relationships (#26228) - Fixed filesystem locking hangs in
PackageManifest::build()
(#26254)
- Made expectation closure optional for
InteractsWithContainer::mock
andInteractsWithContainer::spy
(#26242) - Allowed multiple
createPayloadCallback
on queues (#26250, 6e3d568) - Changed wording on default 403 view (#26258)
- Bump
vue.js
to^2.5.17
inartisan preset vue
command (89f56bf, #26244) - Allowed adding additional
$manyMethods
when extending the model class (#26307)
- Added
decimal:<num>
cast to Model (#26173) - Allowed updateExistingPivot to receive an arrayable item (#26167)
- Added
setIntendedUrl
method toRouting/Redirector.php
(#26227) - Added
ORA-03114
string toDetectsLostConnections
trait (#26233)
- Fixed an issue where the worker process would not be killed by the listener when the timeout is exceeded (#25981)
- Added loadCount method to eloquent collections (#25997)
- Added support for identity columns in PostgreSQL 10+ (#26096)
- Allowed passing a model instance directly to
assertSoftDeleted
method inFoundation/Testing/Concerns/InteractsWithDatabase.php
(#26133 , #26148) - Added possibility to define exclude methods on registered
apiResource
(#26149) - Added
filp/whoops
tosuggest
incomposer.json
(#26180) - Added
mock
andspy
methods toFoundation/Testing/Concerns/InteractsWithContainer.php
(#26171, b50f9f3) - Added
uuid
validation rule to validator (#26135) - NotificationFake can assert preferred locale (#26205)
- Fixed
whereHas
and$withCount
bindings frompolymorphic relationships
(#26145) - Fixed
getTable
method in Model (#26085) - Fixed filesystem locking hangs in
PackageManifest::build()
(#26010, 98b8256) - Fixed
Illuminate/Http/Testing/File.php
for Symfony 4.1 components (#26080) - Fixed URL in
Notifications/resources/views/email.blade.php
(22ca105) - Fixed
hasValidSignature
method when someone send anull
signature inUrlGenerator.php
(#26132) - Fixed autocomplete for container in ServiceProvider for cases when someone developed packages (#26063)
- Fixed
ColumnDefinition::default
typehint (#26041)
- Define mix as const in
react-stubs/webpack.mix.js
andvue-stubs/webpack.mix.js
presets (#26119) - Make
assertSessionHasNoErrors
inTestResponse.php
print the unexpected errors (#26039, e6bdf8a) - Replaced the remaining occurrences of
newQuery()
tonewModelQuery()
in UPDATE/DELETE queries. (#26158) - Improved
findOrFail()
exceptions inBelongsToMany.php
andHasManyThrough.php
relations (#26182)
- Reversed ternary condition in
Arr::wrap
to make it clearer (#26150) - Simplified
formatAction
inUrlGenerator.php
(#26121) - Simplified
isChainOfObjects
method inSupport/Testing/Fakes/QueueFake.php
(#26151) - Deleted unneeded code (#26053, #26162, #26160, #26159, #26152)
- Prefer stricter comparison (#26139, #26157)
- Removed duplicated code from
Router::updateGroupStack
method (#26206, 6debff6)
- Support custom user provider names in generator commands (#25681)
- Added 401 Exception view (#26002)
- Added
Categorical imperative
quote toInspiring.php
(#25968) - Mailable
render
method respectsMailable@locale
property (#25990) - Added some meta data to the notification mails (477273c)
- Added
Macroable
trait toPendingResourceRegistration
(#25947) - Added
assertSessionDoesntHaveErrors
method toTestResponse.php
(#25949, 3005706) - Enable passing options to custom presets (#25930)
- Improved PSR-11 implementation (#25870)
- Changed the sentence of error 403 view from unauthorised to forbidden (#26002)
- Revert email lang template changes (#25963)
- Added model checking in
assertViewHas
(#26012)
- Inline
Arr::pluck()
indata_get()
(#25938)
- Add
--step
tomigrate:fresh
command (#25897) - Allow
destroy
method inModel
to accept a collection of ids (#25878) - Add AsPivot trait (#25851)
- Fixed wrap table for sql server (#25896)
- Use "optimize:clear" in "app:name" command (#25922)
- Revert of "html string support in translator" (e626ab3)
- Simplify code for contextual binding (e2476c1)
- Allow array callables to be passed to Gate::before() (#25817)
- Mail recipient and notifiable can set preferred locale (#25752)
- Always show seeder info (#25872)
- Support JSON UPDATE queries on PostgreSQL (#25797)
- Makes sure changing a database field to JSON does not include a collation (#25741)
- Added Queued Closures (#25777)
- Add the ability to skip algorithm checking (#25468, 5fd4b89)
- Add queue create payload hook (3f68cbe)
- Authorize Middleware Accept String Parameters (#25763)
- Fix
each
method on BelongsToMany relationships (#25832) - Fix prefixed table indexes (#25867)
- Fix
be
method inInteractsWithAuthentication
trait (#25873) - Fixes the error when $resource is null (#25838)
- Attach all disk attachments and not only first one in the
Mail/Mailable.php
(#25793) - Fixed: in case if one job throw exception, than we will proceed to next one (#25820)
- Trim model class name when passing in
Authorize.php
middleware (#25849) - Improve JSON UPDATE queries on MySQL (#25794)
- Don't print the generated application key (#25802)
- Improve "exists" validation with array values (#25819)
- Only escape trans parameters (98046cb)
- Added type check for assertExitCode(0) (#25847)
- Simplify
save
methodMorphOneOrMany
relation (#25864)
- Support MorphTo eager loading with selected columns (#25662)
- Added possibility to define a complex condition (overwrite
shouldAddXsrfTokenCookie
method) for add cookie to response inMiddleware/VerifyCsrfToken.php
- Fixed tag cache clearing when using Redis (#25744)
- Fixed broken email subcopy template escaping (#25723)
- Fixed MethodNotAllowedHTTPException on Intended Redirect (#25739)
- Use url() function instead of plain url in
views/illustrated-layout.blade.php
(25725)
- Add callback hook for building mailable data in
\Illuminate\Mail\Mailable
(7dc3d8d)
- Make any column searchable with
like
in PostgreSQL (#25698) - Remove trailing newline from hot url in
mix
helper (#25699)
- Revert of "Remove
Hash::check()
for password verification" (2e78bf4)
- Add 'verified' session boolean in
VerifiesEmails::verify
action (#25638) - Add Nelson Mandela to Inspirational Quotes (#25599)
- Add
streamedContent
toTestResponse
class (#25469, b3f583c)
- Fix app stub when register route option is set to false (#25582)
- Fix artisan PendingCommand run method return value (#25577)
- Support custom accessor on
whenPivotLoaded()
(#25661)
- Remove
Hash::check()
for password verification (#25677)
__toString
method inIlluminate/Auth/Access/Response.php
(#25539)- Do not pass the guard instance to the authentication events (#25568)
- Call Pending artisan command immediately (#25574, d54ffa5)
- Use
request()
method when we called Guzzle ClientInterface (#25490) - Replace all placeholders for comparison rules (
gt
/gte
/lt
/lte
) properly (#25513)
- Add
storeOutput
method toIlluminate/Console/Scheduling/Event.php
(70a72fc) - Add
ensureOutputIsBeingCaptured
method toIlluminate/Console/Scheduling/Event.php
- Add options for SES Mailer (#25536)
- Add Ability to disable register route (#25556)
- Fix database cache on PostgreSQL (#25530)
- Fix bug with invokables in
Illuminate/Console/Scheduling/CallbackEvent.php
(eaac77b) - Stop sending email verification if user already verified (#25540)
- Fix
withoutMockingConsoleOutput
inIlluminate/Foundation/Testing/Concerns/InteractsWithConsole.php
(#25499) - Fix DurationLimiter not using Redis connection proxy to call eval command (#25505)
- Make
ensureOutputIsBeingCapturedForEmail
method deprecated inIlluminate/Console/Scheduling/Event.php
- Added
moontoast/math
suggestion toSupport
module (79edf5c) - Send an event when the user's email is verified (045cbfd)
- Allow email verification middleware to work with API routes (0e23b6a)
- Add Builder::whereJsonLength() (5e33a96, f149fbd)
- Pass configuration key parameter to updatePackageArray in Preset (#25457)
- Let the WorkCommand specify whether to stop when queue is empty (2524c5e)
- Make email verification scaffolding translatable (#25473)
- Do not mock console output by default (b433970)
- Allow daemon to stop when there is no more jobs in the queue (157a150)
- Do not send email verification if user is already verified (#25450)
- Fixed required carbon version (394f79f)
- Fixed an issue with basic auth when no field is defined
Check the upgrade guide in the Official Laravel Documentation.