- 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.