Laravel Version: 11.0.0
Status:
Active support
Recommendation:
Keep patch updated.
Latest Patch Release:
Major Version | Release date | Bug Fixes Until | Security Fixes Until | PHP Versions | Status |
---|---|---|---|---|---|
11 | March 12, 2024 | August 5, 2025 | February 3, 2026 | 8.2, 8.3 |
ALL
|
Releases
11.33.1
11.33.2
11.33.0
11.32.0
11.31.0
11.30.0
11.29.0
11.28.1
11.28.0
11.27.2
11.27.0
11.27.1
11.26.0
11.25.0
11.24.1
11.24.0
11.23.5
11.23.3
11.23.4
11.23.0
11.23.1
11.23.2
11.22.0
11.21.0
11.20.0
11.19.0
11.18.1
11.18.0
11.17.0
11.16.0
11.15.0
11.14.0
11.13.0
11.12.0
11.11.1
11.11.0
11.10.0
11.9.2
11.9.0
11.9.1
11.8.0
11.7.0
11.6.0
11.5.0
11.4.0
11.3.1
11.3.0
11.2.0
11.1.1
11.1.0
11.0.8
11.0.7
11.0.6
11.0.4
11.0.5
11.0.1
11.0.2
11.0.3
11.0.0
11.33.2
- Support ObservedBy on parent model classes by @adamthehutt in #53579
- Revert "[11.x] Support DB aggregate by group" by @taylorotwell in #53582
- [11.x] Fix: Improve Request Port Extraction Handling in ServeCommand.php to Prevent Artisan Command Failures by @ahmad-cit22 in #53538
11.33.0
- [11.x] Add "createQuietly" method by @bramr94 in #53558
- [11.x] Trim log channel names by @mathieutu in #53554
- [11.x] Fix
withoutOverlapping
viaPendingEventAttributes
proxy by @istiak-tridip in #53553 - [11.x] Update docblocks using latest documenter by @timacdonald in #53550
- fix: use qualifyColumn rather than assuming format by @willtj in #53559
- [11.x] Add
Request::enums
method to retrieve an array of enums by @stevebauman in #53540 - [11.x] hash the token going into the cache by @browner12 in #53561
- Output clean error page on health check route by @chrispage1 in #53528
- [11.x] Extract
ShowModelCommand
functionality to separate class by @cosmastech in #53541 - Add Collection/Generator generic types to public query builder methods by @rudiedirkx in #53567
- [11.x] consistent multiline constructors by @browner12 in #53566
- [11.x] prefer
new Collection()
overcollect()
by @browner12 in #53563 - [11.x] Add builder and collection to
ModelInspector
by @cosmastech in #53565 - [11.x] Support DB aggregate by group by @GromNaN in #53209
- [11.x] add ability to disable relationships in factories by @browner12 in #53450
- Revert "fix: use qualifyColumn rather than assuming format (#53559)" by @crynobone in #53568
- Bump cross-spawn from 7.0.3 to 7.0.6 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #53569
- [11.x] Removing unused var assignment in Illuminate Router by @Carnicero90 in #53575
- [11.x] PHP 8.4 Code compatibility by @crynobone in #53571
- [11.x] Supports
laravel/serializable-closure
2 by @crynobone in #53552 - [11.x] Use getQualifiedOwnerKeyName in relations by @willtj in #53573
11.32.0
- [11.x] Http Client: fake connection exception by @gdebrauwer in #53485
- [11.x] update the docblock of the runCommand method. by @kevinb1989 in #53490
- [11.x] Fix extensions of contextual bindings by @axlon in #53514
- Update the docblock of the fluentCommands property in the MySqlGrammar by @tisuchi in #53509
- [11.x] Don't overwrite custom replacements for count in
trans_choice
by @patrickrobrecht in #53517 - [11.x] Allow BackedEnum when asserting redirect-routes by @wietsewarendorff in #53498
- Updates docblock for duplicates collection method to correct its return type by @gms8994 in #53499
- [11.x] Add support for syncing associations with array or base collection of models by @diaafares in #53495
- [11.x] SqsQueue pushRaw options: pass to sendMessage by @Niush in #53507
- [11.x] Allow BackedEnum when using redirectToRoute in ResponseFactory by @wietsewarendorff in #53518
- Improve type saftey for Config/Repository.php by @tisuchi in #53520
- Fix issue where overwriting middleware variable when setting middleware priority by @ollieread in #53504
- [11.x] Introduce method
Blueprint::rawColumn()
by @Jacobs63 in #53496 - [11.x] Introduce Schedule Grouping by @istiak-tridip in #53427
- [11.x] Added generics to paginators by @EranNL in #53512
- Fix
unless
code comment by @fritz-c in #53529 - [11.x] Add "head" slot to email layout by @hivokas in #53531
- [11.x] Http client: record request when faking connection exception by @gdebrauwer in #53530
11.31.0
- [11.x] Refactor: return Command::FAILURE by @fernandokbs in #53354
- Allow the Batch and Chain onQueue method to accept Backed Enums by @onlime in #53359
- Add transaction generics by @MatusBoa in #53357
- Add laravel default exception blade files to view:cache by @SamuelWei in #53353
- [11.x] Added
useCascadeTruncate
method forPostgresGrammar
by @korkoshko in #53343 - Add Application::removeDeferredServices method by @ollieread in #53362
- Add the ability to append and prepend middleware priority from the application builder by @ollieread in #53326
- Fix typo in Translator code comment by @caendesilva in #53366
- [11.x] Handle HtmlString constructed with a null by @sperelson in #53367
- [11.x] Add
URL::forceHttps()
to enforce HTTPS scheme for URLs by @dasundev in #53381 - [11.x] Refactor and add remaining test cases for the DatabaseUuidFailedJobProviderTest class by @kevinb1989 in #53408
- [11.X] Postgres Aurora failover - DetectsLostConnections by @vifer in #53404
whereFullText
case consistency by @parth391 in #53395- [11.x] Add
HasFactory
trait tomake:model
generation command using--all
options by @adel007gh in #53391 - Introduce support for popping items from a stackable context item by @denjaland in #53403
- [11.x] Test Improvements by @crynobone in #53414
- [11.x] Add ability to dynamically build mailers on-demand using
Mail::build
by @stevebauman in #53411 - [11.x] Refactor and add remaining test cases for the DatabaseFailedJobProviderTest class by @kevinb1989 in #53409
- [11.x] Fix error event listener in Vite prefetching by @jnoordsij in #53439
- [11.x] Ensure datetime cache durations account for script execution time by @timacdonald in #53431
- [11.x] Fix fluent syntax for HasManyThrough when combining HasMany followed by HasOne by @jnoordsij in #53335
- Correct parameter type of Collection::diffKeys() and Collection::diffKeysUsing() by @AJenbo in #53441
- Correct parameter type of Collection::intersectByKeys() by @AJenbo in #53444
- Fix schema foreign ID support for tables with non-standard primary key by @willrowe in #53442
- [11.x] Cache token repository by @browner12 in #53428
- Fix validation message when there is a parameter with escaped dot "." by @mdmahbubhelal in #53416
- [11.x] add optional prefix for cache key by @browner12 in #53448
- [11.x] Do not overwrite existing link header(s) in
AddLinkHeadersForPreloadedAssets
middleware by @jnoordsij in #53463 - [11.x] use assertTrue and assertFalse method, instead of using assertE… by @iamyusuf in #53453
- [11.x] Add
DB::build
method by @stevebauman in #53464 - [11.x] Add ability to dynamically build cache repositories on-demand using
Cache::build
by @stevebauman in #53454 - [11.x] Skip the number of connections transacting while testing to run callbacks by @tonysm in #53377
11.30.0
- Add
$bind
parameter toBlade::directive
by @hossein-zare in #53279 - [11.x] Fix
trans_choice()
when translation replacement include|
separator by @crynobone in #53331 - [11.x] Allow the authorize method to accept Backed Enums directly by @johanvanhelden in #53330
- [11.x] use
exists()
instead ofcount()
by @browner12 in #53328 - [11.x] Docblock Improvements by @mtlukaszczyk in #53325
- Allow for custom Postgres operators to be added by @boris-glumpler in #53324
- [11.x] Support Optional Dimensions for
vector
Column Type by @akr4m in #53316 - [11.x] Test Improvements by @saMahmoudzadeh in #53306
- [11.x] Added
dropColumnsIfExists
,dropColumnIfExists
anddropForeignIfExists
by @eusonlito in #53305 - [11.x] Provide an error message for PostTooLargeException by @patrickomeara in #53301
- [11.x] Fix integrity constraint violation on failed_jobs_uuid_unique by @bytestream in #53264
- Revert "[11.x] Added
dropColumnsIfExists
,dropColumnIfExists
anddropForeignIfExists
" by @taylorotwell in #53338 - [11.x] Introduce
HasUniqueStringIds
by @cosmastech in #53280 - [11.x] Refactor: check for contextual attribute before getting parameter class name by @korkoshko in #53339
- [11.x] Pick up existing views and markdowns when creating mails by @kevinb1989 in #53308
- [11.x] Add withoutDefer and withDefer testing helpers by @timacdonald in #53340
11.29.0
- [10.x] Ensure headers are only attached to illuminate responses by @timacdonald in #53019
- [11.x] Component name guessing with prefix by @royduin in #53183
- [11.x] Allow list of rate limiters without requiring unique keys by @timacdonald in #53177
- Add directive @Bool to Blade by @david-valdivia in #53179
- [11.x] Fixes handling
Js::from(collect());
by @crynobone in #53206 - [11.x] fix PHPDoc for \Illuminate\Redis\Connections\Connection::$events by @taka-oyama in #53211
- [11.x] fix PHPDoc for \Illuminate\Database\Connection by @taka-oyama in #53212
- [11.x] Include class-string generics for Validator::$exception by @cosmastech in #53210
- [11.x] Remove a few useless return void statements. by @lucasmichot in #53225
- [11.x] Fixes phpdoc type of Number::forHumans() by @toarupg0318 in #53218
- [11.x] Fix handling exceptions thrown in eval()'d code by @jlabedo in #53204
- [11.x] Allow using
castAsJson()
on non default db connection during test by @crynobone in #53256 - Improve query builder tests by @timacdonald in #53251
- [11.x] Fix incorrect bindings in DB::update when using a collection as a value by @crynobone in #53254
- fix: EloquentCollection find and unique generics by @calebdw in #53239
- [11.x] Add getConnection() Method to Factory Class for Retrieving Database Connection by @jonathanpmartins in #53237
- [11.x] Add
waitUntil
method toProcess
by @xurshudyan in #53236 - Allow Vite entry points to be merged by @jackwh in #53233
- [11.x] Add helper method to determine stray request prevention state by @xurshudyan in #53232
- [11.x] Fix typo
$previousLCurrency
to$previousCurrency
for clarity and consistency by @mdariftiens in #53261
11.28.1
- [11.x] Fix trim getting discarded in
ViewMakeCommand
by @GrahamCampbell in #53174 - [11.x] Discard
PHP_CLI_SERVER_WORKERS
on Windows environment by @crynobone in #53178 - [11.x] Improves PHP 8.4 compatibility by @crynobone in #53182
- [11.x] Fix handling empty values passed to
enum_value()
function instead of only empty string by @crynobone in #53181
11.28.0
- [11.x] Update Authorizable methods with BackedEnum support by @bastien-phi in #53079
- [11.x] Use
null
as default cursor value for PHP Redis by @jayan-blutui in #53095 - [11.x] PHPDoc Improvements by @schulerj89 in #53097
- [11.x] Fix resource not escaped correctly in substituteBindingsIntoRawSql() by @aedart in #53100
- [11.x] feat: add useful defaultLocale and defaultCurrency helpers to Number facade by @sts-ryan-holton in #53101
- [11.x] Fix determining pivot timestamp column name(s) when parent relation missing one or both of timestamps by @daniser in #53103
- [11.x] Add phpstan assertions for last in Collection isEmpty and isNotEmpty by @bastien-phi in #53107
- feat: interactive env:encrypt & env:decrypt by @hhermsen in #53081
- [11.x] PHPDoc Improvements by @schulerj89 in #53109
- [11.x] Feat: remove HasFactory in model when not required by @MrPunyapal in #53104
- [11.x] Add
Illuminate\Support\enum_value
to resolveBackedEnum
orUnitEnum
to scalar by @crynobone in #53096 - [11.x] allow guessing of nested component by @browner12 in #52669
- [11.x] Introduce RouteParameter attribute by @bastien-phi in #53080
- [11.x] Refactored to use enum_value() in castBinding() by @toarupg0318 in #53131
- [11.x] Test Improvements remove code duplication by @toarupg0318 in #53128
- Revert "[11.x] Test Improvements remove code duplication" by @taylorotwell in #53132
- [11.x] Fix HasManyThrough::one() by @staudenmeir in #53119
- [11.x] Console supports Laravel Prompts 0.3+ by @edjw in #53136
- [11.x] PHPDoc Improvements by @xurshudyan in #53139
- fix: make model command with folder path - factory incorrect import path by @JeRabix in #53142
- [11.x] feat: refine return type for
throw_if
andthrow_unless
to reflect actual behavior with "falsey" values by @crishoj in #53154 - [11.x] Ensure
where
with array respects boolean by @timacdonald in #53147 - [11.x] Gracefully handle null passwords when verifying credentials by @gbradley in #53156
- [11.x] feat: restore type-narrowing bahavior for
throw_*
helpers by @crishoj in #53164 - [11.x] Add CollectedBy attribute by @alsterholm in #53122
- [11.x] Add successful and failed methods to
ProcessPoolResults
by @Riley19280 in #53160 - Issue with constrained() method used after foreignIdFor(), instead of table name when $table parameter is not passed uses column name by @granitibrahimi in #53144
11.27.2
- [11.x] Fixes regression with
queue:work
Command by @crynobone in #53076 - [11.x] Fixes parameter declaration for
ServiceProvider::optimizes()
by @crynobone in #53074
11.27.0
- [11.x] feat: narrow types for throw_if and throw_unless by @calebdw in #53005
- [11.x] Prevent calling tries() twice by @themsaid in #53010
- [11.x] Improve PHPDoc by @schulerj89 in #53009
- [11.x] Utilise
Illuminate\Support\php_binary()
by @crynobone in #53008 - [11.x] Set HasAttributes@casts() array generics by @cosmastech in #53024
- [11.x] Improve
Schema::hasTable()
performance by @hafezdivandari in #53006 - [11.x] Always inherit parent attributes by @royduin in #53011
- [11.x] feat: introduce option to change default Number currency by @sts-ryan-holton in #53022
- [11.x] feat: add Str::doesntContain() method and supporting tests by @sts-ryan-holton in #53035
- [11.x] Str: Add extension support for
Str::inlineMarkdown()
by @ryangjchandler in #53033 - Fix: Correct typehint on repository retrieval methods by @liamduckett in #53025
- [11.x] Test for forgetting non-flexible keys for file driver by @timacdonald in #53018
- Add metadata to mailable view data by @TobMoeller in #53042
- [11.x] PHPDoc Improvements by @schulerj89 in #53054
- [11.x] Test Improvements by @toarupg0318 in #53057
- [11.x] PHPDoc Improvements by @seriquynh in #53053
- Add Exception Handling for jsonOptions() Method by @shamimulalam in #53056
- [11.x] Fixes
make:model
for Form Requests by @joshmanders in #53052 - [11.x] Fixes validation using
shouldConvertToBoolean
when parameter uses dot notation by @bytestream in #53048 - [11.x] Add methods to the HTTP kernel to append middleware relative to other middleware by @ollieread in #52897
- [11.x] Add
--json
flag toqueue:work
command for structured logging by @josecl in #52887 - [11.x] Improve performance of Redis queue block_for when a worker has multiple queues to service by @michael-scinocca in #52826
11.26.0
- [11.x] Fix PHPDoc typo by @LucaRed in #52960
- Add stop() method to Process and Pool by @MiniCodeMonkey in #52959
- [11.x] Improve PHPDoc by @staudenmeir in #52949
- [11.x] Fix crash of method PreventsCircularRecursion::withoutRecursion() on mocked models by @maximetassy in #52943
- [11.x] Document callable types for
Enumerable::implode()
by @devfrey in #52937 - [11.x] Allows Unit & Backed Enums for registering named
RateLimiter
&RateLimited
middleware by @sethsandaru in #52935 - [11.x] Test Improvements by @crynobone in #52933
- [11.x] Fixes trust proxy
REMOTE_ADDR
not working in Swoole by @chuoke in #52889 - [11.x] Fixes function loading conflicts when using
@include('vendor/autoload.php')
via Laravel Envoy by @s-damian in #52974 - [11.x] Support Laravel Prompts 0.3+ by @crynobone in #52993
- Allow mass assignment with mutators when using model::guarded by @Apfelfrisch in #52962
- [11.x] Add
make:job-middleware
artisan command by @dshafik in #52965 - [11.x] Auto discover Events outside app namespace when folder name is in kebab-case by @xizprodev in #52976
- [11.x] Feat: factory generic in make:model command by @MrPunyapal in #52855
11.25.0
- [11.x] Fix make:listener command by @iamgergo in #52924
- [11.x] Fix incorrect PHPDoc for KeyBy and GroupBy by @kayw-geek in #52918
- [11.x] Fix PHPDoc for TestResponse's
Response
Type to \Symfony\Component\HttpFoundation\Response by @kayw-geek in #52915 - [11.x] Docblock Improvements by @saMahmoudzadeh in #52909
- [11.x] Add vector column support to migrations by @Jim-Webfox in #52884
- [11.x] Revert auto-discovering
routes/console.php
as this will cause breaking change with the defaultwithRouting($console)
by @crynobone in #52942 - [11.x] Fixed docblock on typeVector method in Grammer by @flavio-schoute in #52927
11.24.1
- [11.x] Fixes
defer()
function return type by @staudenmeir in #52910 - [11.x] Fixes missing
ExecutableFinder
import by @InfinityXTech in #52912 - [11.x] Fix for not automatically registering commands in App\Console\Commands by @SamuelNitsche in #52903
11.24.0
- [11.x] Fix issue where
$name
variable in non base config file becomes it's key by @rojtjo in #52738 - [11.x] PHPDoc Improvements by @amitmerchant1990 in #52797
- [11.x] Remove a unused import and fix docblock for DeferredCallbackCollection by @seriquynh in #52808
- [11.x] Handle SQLSTATE[HY000] [2002] Operation now in progress in DetectsLostConnection trait #52759 by @webartisan10 in #52805
- [11.x] Add prependLocation method to View Factory by @nshiro in #52806
- [11.x] add nullOnUpdate() method to ForeignKeyDefinition by @gisuNasr in #52798
- [11.x] Allow
BackedEnum
to be passed toRoute::can()
by @Omegadela in #52792 - [11.x] Ensure headers are only attached to illuminate responses by @timacdonald in #52789
- [11.x] feat: improve Collection groupBy, keyBy generics by @calebdw in #52787
- [11.x] Using Correct
Concurrency
Configuration Index Name by @devajmeireles in #52788 - [11.x] Ensure
withoutPretending
method properly resets state after callback execution by @xurshudyan in #52794 - [11.x] delegate
ProcessDriver@defer()
toProcessDriver@run()
method by @rodrigopedra in #52807 - [11.x] Use command string instead of array on
Concurrency\ProcessDriver
by @rodrigopedra in #52813 - [11.x] Allows Laravel Framework to correctly resolve PHP binary when running via Laravel Herd by @crynobone in #52791
- [11.x] Move Defer classes to Support component and add
Illuminate\Support\defer
function by @crynobone in #52801 - [11.x] Suggest
laravel/serializable-closure
on Database component by @crynobone in #52835 - Bump vite from 5.2.10 to 5.2.14 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #52834
- [11.x] Update Concurrency component's composer dependencies by @rodrigopedra in #52836
- Add result shorthands for
Process
fakes by @jasonmccreary in #52840 - Update SerializesCastableAttributes to include array generics by @cosmastech in #52841
- [11.x] CI Improvements by @crynobone in #52850
- [11.x] Supports
laravel/prompts
v0.2 by @crynobone in #52849 - [11.x] Handle allows null parameter instead of requiring default value by @crynobone in #52866
- [11.x] Adds
@throws
section to Concurrency manager doc block by @rnambaale in #52856 - Update stub to remove unused trait imports by @lombervid in #52877
- [11.x] Fix validation rule type hints by @axlon in #52870
- [11.x] Support multiple batch IDs when retrying failed batch jobs by @skegel13 in #52873
- [11.x] Remove unused namespaces from DatabaseInspectionCommand and LocalFileSystemAdapter by @saMahmoudzadeh in #52868
- [11.x] Auto-register commands in
routes/console.php
by @SamuelNitsche in #52867 - [11.x] Prevent infinite recursion on
touchesParents()
for chaperoned models by @samlev in #52883 - Bump rollup from 4.17.1 to 4.22.4 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #52892
- [11.x]
Cache::flexible
improvements by @timacdonald in #52891 - [11.x] Add
\DateTimeInterface
and\DateInterval
to type forCache::flexible()
by @bram-pkg in #52888 - [11.x] CI Improvements by @crynobone in #52851
- [11.x] Do not trigger missing translation key handling when checking existence of translation key by @gdebrauwer in #52895
11.23.5
- allow recursive Model::withoutTimestamps calls by @m1guelpf in #52768
- [11.x] Fixes out of memory issue running
route:cache
with ServeFile by @crynobone in #52781
11.23.3
- [11.x] Fixed attempt to call
Application::routesAreCached()
when application doesn't implementsCachesRoutes
contract. by @crynobone in #52761 - [11.x] Fix PHP and Artisan binary by @hafezdivandari in #52744
- [11.x] fix: PHPDoc for loading nested relations by @calebdw in #52762
- Update facade dockblocks by @timacdonald in #52750
- Fix: Unreachable action buttons in notification template when using "align" prop with "left" or "right". by @lpheller in #52758
11.23.4
- [10.x] Fixes
whereDate
,whereDay
,whereMonth
,whereTime
,whereYear
andwhereJsonLength
to ignore invalid$operator
by @crynobone in #52704 - [11.x] Fixing Concurrency Facade Docblocks by @devajmeireles in #52764
- [11.x] add lazy default to when helper by @rodrigopedra in #52747
- Fix arguments passed to artisan commands that start with 'env' by @willrowe in #52748
11.23.0
- [11.x] Fix $fail closure type in docblocks for validation rules by @bastien-phi in #52644
- [11.x] Add MSSQL 2017 and PGSQL 10 builds by @driesvints in #52631
- Update
everyThirtyMinutes
cron expression by @SamuelNitsche in #52662 - Bump micromatch from 4.0.5 to 4.0.8 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #52664
- [11.x] apply excludeUnvalidatedArrayKeys to list validation by @lorenzolosa in #52658
- [11.x] Adding minRatio & maxRatio rules on Dimension validation ruleset by @CamKem in #52482
- [11.x] Add BackedEnum support to Authorize middleware by @diaafares in #52679
- [11.x] Add BackedEnum support to Gate methods by @diaafares in #52677
- [11.x] Suggest serializable-closure by @driesvints in #52673
- [11.x] Fix alter table expressions on SQLite by @hafezdivandari in #52678
- [11.x] Add Exceptions\Handler::mapLogLevel(...) so the logic can be easily overridden by @taka-oyama in #52666
- [11.x] Bugfix for calling pluck() on chaperoned relations. by @samlev in #52680
- [11.x] Fix build failures due to enum collide After adding BackedEnum support to Gate by @diaafares in #52683
- Fixing Str::trim to remove the default trim/ltrim/rtim characters " \n\r\t\v\0" by @mathiasgrimm in #52684
- [11.x] Add
Skip
middleware for Queue Jobs by @KennedyTedesco in #52645 - [11.x] Fix etag headers for binary file responses by @wouterrutgers in #52705
- [11.x] add
withoutDelay()
to PendingDispatch by @KennedyTedesco in #52696 - [11.x] Refactor
Container::getInstance()
to use null coalescing assignment by @xurshudyan in #52693 - [11.x] Removed unnecessary call to setAccessible(true) by @xurshudyan in #52691
- [11.x] Add
Eloquent\Collection::findOrFail
by @stevebauman in #52690 - [11.x] PHPStan Improvements by @crynobone in #52712
- [11.x] Fix Collection PHPDoc by @staudenmeir in #52724
- [11.x] Add optional parameter for
confirmed
validator rule by @jwpage in #52722 - [11.x] Test Improvements by @crynobone in #52718
- [11.x] Fix incorrect variable-length argument
$guards
from array to string by @kayw-geek in #52719 - Allow testing of relative signed routes by @shealavington in #52726
- [11.x] fix: Builder::with closure types by @calebdw in #52729
- Laracon 2024 by @taylorotwell in #52710
- Add
Tag
attribute by @TijmenWierenga in #52743 - [11.x] Adds BackedEnum to PendingDispatch's phpDoc for onQueue, allOnQueue, onConnection, allOnConnection methods by @sethsandaru in #52739
- New when() helper. by @danmatthews in #52665
- [11.x] Add
fromUrl()
to Attachment by @KennedyTedesco in #52688
11.23.1
No changelog available.
11.23.2
No changelog available.
11.22.0
- [11.x] Fix FoundationServiceProvider docblock by @seriquynh in #52542
- [11.x] Fix ReflectionParameter @param type on Util::getContextualAttributeFromDependency() by @samsonasik in #52541
- [11.x] More specific parameter type in CastsInboundAttributes by @lorenzolosa in #52536
- [11.x] Unify prefetch API by @timacdonald in #52550
- [11.x] Add PDO subclass support for PHP 8.4 by @ju5t in #52538
- [11.x] Handle circular references in model serialization by @samlev in #52461
- [11.x] Eloquent inverse relations by @samlev in #51582
- [11.x] Feature/whereany closures by @liamduckett in #52555
- [11.x] Update remaining workflows to run on latest possible ubuntu version by @Jubeki in #52566
- Correct comments to better represent the updated method functionality by @dropweb in #52564
- [11.x] Support CSP nonce by @timacdonald in #52558
- [11.x] Allow enums to be passed to routes by @NickSdot in #52561
- [11.x] SORT_NATURAL on Collection no longer throws warning for nulls by @Chaplinski in #52557
- [11.x] Allow prefetch to start on custom event by @timacdonald in #52574
- [11.x] Fix regression in database assertions with custom model connections by @devfrey in #52581
- [11] Update DetectsLostConnections.php by @webartisan10 in #52614
- Fix docblock for
Model::getEventDispatcher()
by @inmula in #52602 - [11.x] Restore Request::HEADER_X_FORWARDED_PREFIX in TrustProxies by @taka-oyama in #52598
- [11.x] Accepts BackedEnum for onQueue, onConnection, allOnQueue, and allOnConnection methods in the Queueable trait by @sethsandaru in #52604
- [11.x] Use the same parameter type for 'throwUnless' as used for 'throwIf' by @pataar in #52626
- [11.x] Pass iterable keys to
withProgressBar
in InteractsWithIO by @robinmoisson in #52623 - [11.x] Fix docblock for Filesystem::hash() by @sunaoka in #52630
- Fix Apostrophe Handling in SeeInOrder.php and Enhance Test Coverage by @nomitoor in #52627
- [11.x] SQLite Error: "General error: 1 no such table" after adding a foreign key when using a table prefix. by @incrize in #52578
11.21.0
- [11.x] Test Improvements by @crynobone in #52402
- [11.x] Fix docblock for the event dispatcher by @seriquynh in #52411
- [11.x] fix: Update text email template by @tranvanhieu01012002 in #52417
- [11.x] Make
expectsChoice
assertion more intuitive with associative arrays. by @jessarcher in #52408 - [11.x] Add
resource()
method to Illuminate\Http\Client\Response by @einar-hansen in #52412 - [10.x] fix: prevent casting empty string to array from triggering json error by @calebdw in #52415
- [11.x] Add ResponseInterface mixin to
Illuminate\Http\Client\Response
by @einar-hansen in #52410 - [11.x] Don't touch BelongsTo relationship when it doesn't exist by @patrickomeara in #52407
- [11.x] Fix
Factory::afterCreating
callable argument type by @villfa in #52424 - [11.x] Auto-secure cookies by @fabricecw in #52422
- fix: add missing phpdoc types for Model::$table and Model::$dateFormat by @taka-oyama in #52425
- [11.x] Add
withoutHeaders
method by @milwad-dev in #52435 - Checking availability before calling Log::flushSharedContext() method by @ajaxray in #52470
- [11.x] MessageBag errors out when custom rules are created and the class is left out of the message array by @DanteB918 in #52451
- Create Notification make command markdown name placeholder from Notif… by @hosseinakbari-liefermia in #52465
- [11.x] Add
forceDestroy
toSoftDeletes
by @jasonmccreary in #52432 - Make SQLiteProcessor cope with '/' in column names by @vroomfondle in #52490
- [11.x] Improve Cookie Testing Coverage by @saMahmoudzadeh in #52472
- [11.x] Fix for #52436 artisan schema:dump infinite recursion by @rust17 in #52492
- Run prepareNestedBatches on append/prependToChain & chain by @SabatinoMasala in #52486
- [11.x] Enhance DB inspection commands by @hafezdivandari in #52501
- [11.x] Constrain key when asserting database has a model by @patrickomeara in #52464
- Add
between
toAssertableJson
by @rudashi in #52479 - [11.x] Eager asset prefetching strategies for Vite by @timacdonald in #52462
- [11.x] Support attributes in
app()->call()
by @innocenzi in #52428 - [11.x] Applying
value
Function into the$default
value oftransform
helper by @devajmeireles in #52510 - [11.x] Enhanced typing for
HigherOrderCollectionProxy
by @Voltra in #52484 - [11.x] Add
expectsSearch()
assertion for testing prompts that usesearch()
andmultisearch()
functions by @JayBizzle in #51669 - [11.x] revert #52510 which added a unneeded function call by @rodrigopedra in #52526
11.20.0
- Update testcase for
whereNone
method by @einar-hansen in #52351 - Improve
Lock->block
method by @RedmarBakker in #52349 - [11.x] Use correct pluralization rules in trans_choice for fallback strings by @stefanvdlugt in #52343
- [11.x] Replace dead link in Security Policy by @Jubeki in #52338
- Add compatible query type to
Model::resolveRouteBindingQuery
by @sebj54 in #52339 - [10.x] Fix
Factory::afterCreating
callable argument type by @villfa in #52335 - [11.x] Remove undefined class PreventRequestsDuringMaintenance by @seriquynh in #52322
- [11.x] Add middleware before sending request and dispatching events by @eduance in #52323
- Add
collapseWithKeys
toCollection
by @jasonmccreary in #52347 - [11.x] Inverse Fake Queue Interactions:
assertNotDeleted
,assertNotFailed
, andassertNotReleased
by @gdebrauwer in #52320 - Add
deduplicate
to strings by @jasonmccreary in #52350 - [11.x] feat: make
Facade::isFake()
public by @calebdw in #52357 - [11.x] Ask about markdown template for notification command with no initial input by @christophrumpel in #52355
- [11.x] allow custom view path when making components by @browner12 in #52219
- [11.x] chore: update to PHPStan Level 1 by @calebdw in #51956
- [11.x] Support passing default as named parameter in whenLoaded, whenAggregated, whenCounted by @hn-seoai in #51342
- Declare exceptions unreportable using the ShouldntReport interface by @chrispage1 in #52337
- [11.x] Enable extension of connection inspection methods by @GromNaN in #52231
- [11.x] Add
whenExistsLoaded
method to conditionally include relationship existence attribute by @CodeWithKyrian in #52295 - [11.x] Add
in()
andinHidden()
functions to Context Stacks by @lessevv in #52346 - [11.x] Use Command::fail() method for single error messages by @seriquynh in #52387
- [11.x] Rework
Context::stackContains
with Closures. by @timacdonald in #52381 - [11.x] Allow enums to be passed to AssertableJson where methods by @patrickomeara in #52360
- [11.x] Made
list
validation rule as array for "size rules" in validation messages by @siarheipashkevich in #52385 - [11.x] Add contextual attributes to resolve drivers by @ziadoz in #52265
- [11.x] Fix docblocks for where(All|Any|None) query methods by @einar-hansen in #52388
- [10.x] backport #52204 by @calebdw in #52389
- [11.x] Fix Http Client Pool requests that have no response by @andrewbroberg in #52393
- [11.x] Introduce MixFileNotFoundException for handling missing Mix files by @Ex10Dios in #52400
- [10.x] In MySQL, harvest last insert ID immediately after query is executed by @piurafunk in #52390
11.19.0
- fix @return typehint in Illuminate\Contracts\Process\InvokedProcess::wait method by @mdmahbubhelal in #52304
- [11.x] Add php doc for ServiceProvider bindings and singletons properties by @Anton5360 in #52298
- [10.x] backport #52188 by @calebdw in #52293
- Update docblock to accept an Expression for whereLike methods by @patrickomeara in #52299
- [11.x] Fix Bcrypt/Argon/Argon2I Hashers not checking database field for nullish value before checking hash compatibility by @localpath in #52297
- [11.x] Method to trim '0' digits after decimal point of a given number by @gdebrauwer in #52284
- [11.x] Add
whereNone
method to the query builder by @einar-hansen in #52260 - [11.x] Fix flat array parameter for relation upsert by @iamgergo in #52289
- [11.x]
assertSeeHtml
,assertDontSeeHtml
andassertSeeHtmlInOrder
testing methods by @gdebrauwer in #52285 - [11.x] Fully qualify morph columns when using WHERE clauses by @maartenpaauw in #52227
- [10.x] Fix runPaginationCountQuery not working properly for union queries by @chinleung in #52314
- [11.x] Add
assertExactJsonStructure
method by @gdebrauwer in #52311 - [11.x] Add
withoutHeader()
test method by @gdebrauwer in #52309 - [11.x] Widen typehints in base service provider by @devfrey in #52308
- [11.X] "Model::preventAccessingMissingAttributes()" Causes Exception During Pagination with ResourceCollection by @Katalam in #52305
- [11.x] Fixes through() relationship by @leobeal in #52318
- [11.x] Add new
success
Method to the Docblock ofIlluminate\Console\View\Components\Factory
by @devajmeireles in #52310 - [11.x] Fix tests in wrong file by @christophrumpel in #52329
11.18.1
- [11.x] Fix variable typo at Terminating Event test by @chu121su12 in #52282
- Revert "[11.x] Declare bindings and singletons properties in Service Provider" by @driesvints in #52288
11.18.0
- Added completeWords flag to limit str method by @itsmewes in #52245
- [11.x] Fix missing * in phpdoc by @pb30 in #52277
- [11.x] Fix SQLite schema dumps missing most tables by @bakerkretzmar in #52275
- [11.x] Access dispatchedBatches via BusFake by @gdebrauwer in #52270
- [11.x] Adds terminating event by @timacdonald in #52259
- [11.x] Declare bindings and singletons properties in Service Provider by @Anton5360 in #52256
- [11.x] Fix explicit route binding for broadcast routes by @ccharz in #52280
- Revert "[11.x] Allow non-
ContextualAttribute
attributes to have anafter
callback" by @taylorotwell in #52281 - [11.x] Apply relation constraitns on upsert by @iamgergo in #52239
11.17.0
- [10.x] Fix PHP_CLI_SERVER_WORKERS warning by suppressing it by @pelomedusa in #52094
- [11.x] Use
Command::FAILURE
fordb:wipe
command by @siarheipashkevich in #52152 - [11.x] Update outdated config files by @TENIOS in #52150
- [11.x] Fix 'pushProcessor method not found on LoggerInterface' error by @cosmastech in #52117
- [11.x] Use
Command::FAILURE
formigrate:fresh
command by @siarheipashkevich in #52153 - Improve accuracy of
Collection::isEmpty
andisNotEmpty
assertions by @spawnia in #52184 - [11.x] Fix return for ApplicationBuilder:: withCommandRouting method by @seriquynh in #52181
- [11.x] Refactor: Replace get_called_class() with static::class for consistency by @fernandokbs in #52173
- [11.x] Improve readability of SQLite schema dumps by @bakerkretzmar in #52172
- [11.x] Allow non-
ContextualAttribute
attributes to have anafter
callback by @innocenzi in #52167 - [11.x] Ignoring column definitions when determining if a blueprint has a create command by @kingsven in #52177
- Add specify exceptions for exceptions handling the vite manifest file by @SamuelWei in #52169
- [11.x] fix: Model newCollection generics; feat: add HasCollection trait by @calebdw in #52171
- Add whereLike clause to query builder by @einar-hansen in #52147
- [11.x] Implement HasV7Uuids to use with MariaDB native uuid data type by @Karem-sobhy in #52029
- [11.x] Rename
Model::$collection
to$collectionClass
by @GromNaN in #52186 - [11.x] Allow microsecond travel by @timacdonald in #52190
- [11.x] fix: Model/JsonResource::toJson should not fail with prior json errors by @calebdw in #52188
- [11.x] Fix SQL Server tests by @hafezdivandari in #52222
- [11.x] Inspect exception of assertThrows by @gdebrauwer in #52224
- [10.x] Backport #51615 by @GrahamCampbell in #52215
- [11.x] fix: Request::json() json errors when decoding empty string by @calebdw in #52204
- [11.x] Reduce the number of queries with
Cache::many
andCache::putMany
methods in the database driver by @tonysm in #52209 - Add method
QueryExecuted::toRawSql()
by @spawnia in #52192 - [11.x] Support lower version of Carbon by @timacdonald in #52233
- [11.x] Prevent bug (🐛) emoji on
Collection
/Dumpable
dd
method by @jessarcher in #52234
11.16.0
- [11.x] Fix expected/actual argument order for test assertion by @riesjart in #52084
- [11.x] Fix Moving Files in Sorted Order in vendor:publish by @lmottasin in #52078
- [11.x] Fix docblock for \Illuminate\Validation\ClosureValidationRule::message() by @seriquynh in #52077
- [11.x] Allow passing Enum casts to
Rule::enum()->only()
and->except()
by @bakerkretzmar in #52073 - [11.x] Include ConnectionException in ConnectionFailed events by @alexbowers in #52069
- [11.x] Document returned array shape for sync methods by @devfrey in #52070
- [11.x] Add ability to configure SQLite
busy_timeout
,journal_mode
, andsynchronous
pragmas by @bakerkretzmar in #52052 - [11.x] Allow view content dependent mail callbacks by @MaxTingle in #51990
- Install Laravel Reverb version 1.0 instead of @beta by @lucasRolff in #52096
- [11.x] fix: dont use web middleware on health endpoint by @joshmanders in #52088
- [11.x] Add an option to replace configs recursively by @felixbessler in #52087
- [11.x] Fixes generator tests by @buismaarten in #52118
- [11.x] Test Improvements by @crynobone in #52122
- [11.x] Fix SQLite schema dumps containing internal
sqlite_*
objects by @bakerkretzmar in #52135 - Fix typo in
<!DOCTYPE>
declaration by @TENIOS in #52134 - [11.x] fix: pluck generics by @calebdw in #52109
- [11.x] Include 'success' console component by @lewislarsen in #52112
- [11.x] Fix dumping migrations table with schema or prefixed name by @hafezdivandari in #52098
- Add
assertSentTo
shorthand by @jasonmccreary in #52083 - [11.x] Test Improvements by @crynobone in #52139
- [11.x] Update the docblock for the constructor of the FileFailedJobProvider class by @kevinb1989 in #52149
- [11.x] Update the docblock for the explode method of the Stringable class. by @kevinb1989 in #52148
- Refactor PHPStan configurations by @TENIOS in #52145
- [11.x] Fix docblock for RoutingServiceProvider by @seriquynh in #52144
11.15.0
- [10.x] Set previous exception on
HttpResponseException
by @hafezdivandari in #51986 - [11.x] feat: add generics to Eloquent Builder and Relations by @calebdw in #51851
- add phpstan assertions to Collection isEmpty and isNotEmpty by @johanrosenson in #51998
- [11.x] Add support for mime types in Resend mail transport by @jayanratna in #52006
- [11.x] feat: add virtual methods to SoftDeletes trait by @calebdw in #52001
- [11.x] Fix service container docblock by @seriquynh in #52000
- [10.x] Fix Http::retry so that throw is respected for call signature Http::retry([1,2], throw: false) by @paulyoungnb in #52002
- [10.x] Set application_name and character set as PostgreSQL DSN string by @sunaoka in #51985
- [11.x] Fix GeneratorCommand docblock by @seriquynh in #52014
- [11.x] Enhance database migrations by @hafezdivandari in #51373
- [11.x] Run MySQL 9 Database Integration Tests nightly by @Jubeki in #52027
- [11.x] Enhance doc blocks of the Migrator class by @imanghafoori1 in #52033
- [11.x] Use nullsafe operator for event dispatcher by @seriquynh in #52024
- [11.x] Fix PasswordBroker constructor docblock by @seriquynh in #52023
- [11.x] Add test
testMultiplyIsLazy
to ensure LazyCollection'smultiply
method's lazy behaviour by @lmottasin in #52020 - [11.x] Allow
MultipleInstanceManager
to have studly creators by @cosmastech in #52030 - [11.x] Adds
$config
property toMultipleInstanceManager
by @cosmastech in #52028 - [11.x] fix: findOr and firstOr generics by @calebdw in #52037
- [11.x] Make
Router
Tappable
by @mabdullahsari in #52051 - [11.x] feat: improve Factory generics, add generics to HasFactory by @calebdw in #52005
- [11.x] Ask About View Next To Name For Create Mail Command by @christophrumpel in #52057
- [11.x] Added @throws docblock for
block
method forLockTimeoutException
by @siarheipashkevich in #52063
11.14.0
- Adding Pest stubs to publish command by @bartdenhoed in #51933
- [11.x] Added attempts() method to FakeJob by @JamesFreeman in #51951
- [11.x] Run all Workflows on Ubuntu 24.04 by @Jubeki in #51946
- [11.x] Improve PHPDoc for
mapSpread
Method inArr
Class & Remove Warning from IDE by @lmottasin in #51952 - Bump braces from 3.0.2 to 3.0.3 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #51955
- [11.x] Remove unreachable code in AssertableJsonString by @seriquynh in #51943
- [11.x] Fix TestResponseAssert docblock by @seriquynh in #51942
- [11.x] feat: add more specific types and tests for helpers by @calebdw in #51938
- [11.x] Mark sensitive params with
SensitiveParameter
attribute by @onlime in #51940 - [11.x] Adds support for Markdown extensions to the
Stringable
class. by @lukeraymonddowning in #51932 - [11.x] Add secret method declaration to Components\Factory class by @seriquynh in #51949
- [11.x] Run Workflows on Windows 2022 and with bash instead of powershell by @Jubeki in #51958
- [11.x] Fix duplicated return type PHPDoc by @chu121su12 in #51965
- [11.x] Fix test failure message by @nshiro in #51974
- [11.x] Update tests to ensure mail Message implements the fluent interface pattern by @seriquynh in #51969
- [11.x] Set previous exception on
HttpResponseException
by @hafezdivandari in #51968 - [11.x] Fix typo in SupportCollectionTest by @zbundy in #51966
- [11.x] Improvements for the ServeCommand (add more loves & elevate DX) by @sethsandaru in #51957
- [11.x] Adds support for using castAsJson with a MariaDb connection by @haniha in #51963
- [11.x] Add support for acting on attributes through container by @innocenzi in #51934
- [11.x] Fix Component::resolveComponentsUsing test by @seriquynh in #51988
- [11.x] Update composer.json files to provide PSR implementations by @seriquynh in #51983
- [11.x] add queued closure type for soft delete events by @hpiaia in #51982
- [11.x] Fix using container nesting to make the same 'abstract' in different context by @guiqibusixin in #51989
- [11.x] Fix sync is running touch query twice by @Tofandel in #51984
11.13.0
- [11.x] Add Support for Extensions in Str::markdown Method by @tnylea in #51907
- [11.x] Update config:show command by @seriquynh in #51902
- [11.x] Fix console prompt docblock by @seriquynh in #51913
- [11.x] Fix prohibit docblock by @seriquynh in #51916
- [11.x] Mark
$queue
as nullable by @timacdonald in #51912 - use
Macroable
trait on TokenGuard by @imanghafoori1 in #51922 - [11.x] Update Command::fail() dockblock and tests by @seriquynh in #51914
- Revert and add test by @jasonmccreary in #51924
- [11.x] Display view creation messages by @nshiro in #51925
- [11.x] Introduce
Str::chopStart
andStr::chopEnd
by @timacdonald in #51910 - feat: Add Number::pairs by @hotmeteor in #51904
- [11.x] Fixes escaping path via Process given commands as array by @crynobone in #51926
- [11.x] Make MultipleInstanceManager driver field customizable by @princejohnsantillan in #51905
- [11.x] Account for long strings on new Laravel error page by @shengslogar in #51880
11.12.0
- [10.x] Fix typo in return comment of createSesTransport method by @zds-s in #51688
- [10.x] Fix collection shift less than one item by @faissaloux in #51686
- [10.x] Turn
Enumerable unless()
$callback parameter optional by @faissaloux in #51701 - Revert "[10.x] Turn
Enumerable unless()
$callback parameter optional" by @taylorotwell in #51707 - [10.x] Fixes unable to call another command as a initialized instance of
Command
class by @crynobone in #51824 - [10.x] fix handle
shift()
on an empty collection by @Treggats in #51841 - [10.x] Ensure
schema:dump
will dump the migrations table only if it exists by @NickSdot in #51827 - [11.x] Test Improvements by @crynobone in #51847
- [11.x] Test application storage path by @seriquynh in #51848
- [11.x] Fix PHP_MAXPATHLEN check for strings slightly smaller then PHP_MAXPATHLEN by @joshuaruesweg in #51850
- [11.x] Improve Bus::assertNothingDispatched(), Event::assertNothingDispatched(), Mail::assertNothingSent(), Notification::assertNothingSent() error messages by @macbookandrew in #51846
- [11.x] Update error page to show GET by @chu121su12 in #51837
- [11.x] Remove deprecated
type
attributes in the exception renderer by @osbre in #51866 - [11.x] Import classes in the exception templates by @osbre in #51863
- [11.x] Collection before/after optimization by @bert-w in #51876
- [11.x] Add multiply to collection by @patrickomeara in #51870
- [11.x] Add addEventDiscoveryPaths to EventServiceProvider by @ya-cha in #51896
- [11.x] Fix validation attributes when translations are empty or missing by @owenandrews in #51890
- [11.x] feat: add generics to tap() helper by @calebdw in #51881
11.11.1
- [11.x] Remove useless variable assignment by @seriquynh in #51838
- [11.x] Fix event dispatcher typing in cache repository by @axlon in #51835
- Chop PHP extension when passed to
make
commands by @jasonmccreary in #51842 - [11.x] Simplify
.php
extension chopping ingetNameInput
by @osbre in #51843 - [11.x] fix: improve performance and robustness of Relation::getMorphAlias() by @calebdw in #51845
- Revert "[11.x] Change scope for
afterCreating
andafterMaking
callbacks" by @driesvints in #51858
11.11.0
- [11.x] Add
get
,write
andforget
cache events by @stayallive in #51560 - [11.x] Add test for Arr::sortRecursiveDesc() method. by @lmottasin in #51716
- [11.x] Fix missing table name in
db:table
command by @benholmen in #51710 - Ensure files exist for
install:broadcasting
by @jasonmccreary in #51719 - [11.x] Restore exceptions/errors to test assertion failure messages by @jessarcher in #51725
- [11.x] Test Improvements by @crynobone in #51723
- [11.x] Add tests for accessible and take method by @saMahmoudzadeh in #51724
- Increment the
totalJobs
property for theBatchFake
when add some jobs by @yankewei in #51742 - [11.x] Give session ID retrieval the Laravel treatment by @timacdonald in #51732
- [11.x] Fix the chunk method to an integer type in the splitIn method by @rookiexxk in #51733
- Update:update name method and doc by @mehdi-fathi in #51744
- [11.x] Fixes
config:publish
withdontMergeFrameworkConfiguration()
set totrue
by @crynobone in #51751 - Updated phpdoc for Builder::from() by @boris-glumpler in #51767
- [11.x] Fixed pop on default Beankstalkd queue when not specifically added by @rinocs in #51759
- [11.x] Add
before
andafter
methods to Collection by @avosalmon in #51752 - [11.x] Change scope for
afterCreating
andafterMaking
callbacks by @jacob418 in #51772 - Use numeric literal separator in file rule validation by @AmirKhalifehSoltani in #51781
- [11.x] Import Model class for Renderer\Exception by @seriquynh in #51778
- [11.x] About command improvement by @AmirKhalifehSoltani in #51791
- [11.x] Test abort behavior by @seriquynh in #51800
- [11.x] Container shares fixed values/initialized instances instead of singleton closure resolutions by @seriquynh in #51804
- [11.x] Fix altering a table that has a column with
default 0
on SQLite by @hafezdivandari in #51803 - [11.x] Fix typo in
VendorPublishCommand
by @tamiroh in #51812 - [11.x] Fix some typos in the tests by @tamiroh in #51811
- [11.x] Add unprocessableContent and update unprocessableEntity by @dwightwatson in #51815
- [11.x] Improve Queue::assertNothingPushed() error message by @SjorsO in #51814
- [11.x] Add
Relation::getMorphAlias()
by @pxlrbt in #51809 - [11.x] Support third-party relations in
model:show
command by @staudenmeir in #51807 - [11.x] Fix nested rules custom attribute names by @owenandrews in #51805
- [11.x] Fix docblock of \Illuminate\Http\Response by @seriquynh in #51823
11.10.0
- [11.x] Fix typo in filename by @Henridv in #51643
- [11.x] Add Vite auto refresh to error page by @riasvdv in #51635
- [11.x] Add test for join_paths by @imanghafoori1 in #51621
- [11.x] Preload base options for missing config files by @jasonmccreary in #51619
- [11.x] Add option to disable merging of base configuration by @taka-oyama in #51579
- [11.x] Allow callback to be passed to
updateOrInsert()
to pass different$values
if the record already exists by @Markshall in #51566 - [11.x] Fix
join_paths
issue with segment '0' by @imanghafoori1 in #51649 - [11.x] Remove extra double quote in the error page by @nicolus in #51670
- [11.x] Add tests to improve test coverage for
HtmlString
by @saMahmoudzadeh in #51666 - [11.x] Add tests to improve test coverage for
Arr::whereNotNull
by @saMahmoudzadeh in #51661 - [11.x] Add tests for FileSystem class by @imanghafoori1 in #51654
- [11.x] Update OptimizeClearCommand.php by @nathanpurcell in #51667
- [11.x] Support soft deleted models when using explicit route model binding by @gbradley in #51651
- [11.x] Add tests for
Arr::divide
by @saMahmoudzadeh in #51673 - [11.x] Prune should be a flag option by @riasvdv in #51694
- [11.x] Avoid using Laravel new error page if
app.debug
changes totrue
at runtime by @crynobone in #51705
11.9.2
- [11.x] Fix new exception renderer compatibility with closure middleware by @ifox in #51614
- [11.x] Fix double-quoted string literals on SQLite by @hafezdivandari in #51615
- [11.x] Allow setting Resend api key in mailer specific config by @riasvdv in #51618
- [11.x] Fix only number as session key will result in numbered session keys by @Katalam in #51611
11.9.0
- [11.x] Optimize boostrap time by using hashtable to store providers by @sarven in #51343
- [11.x] Prevent destructive commands from running by @jasonmccreary in #51376
- [11.x] renamed left
has
tocontains
by @MrPunyapal in #51532 - [10.x] Fix typo by @Issei0804-ie in #51535
- [11.x] Fixes doc block in Timebox.php by @saMahmoudzadeh in #51537
- [11.x] Rename test function to match prohibit action by @faissaloux in #51534
- [11.x] Fix LazilyRefreshDatabase when using Laravel BrowserKit Testing by @MaxGiting in #51538
- [10.x] Fix SQL Server detection in database store by @staudenmeir in #51547
- [11.x] Display test creation messages by @nshiro in #51546
- [11.x] Detect Cockroach DB connection loss by @saschaglo in #51559
- [11.x] Fix type tests by @stayallive in #51558
- [11.x] Add
withoutDelay()
to theQueueable
trait by @KennedyTedesco in #51555 - [11.x] Add an option to remove the original environment file after encrypting by @riasvdv in #51556
- [10.x] - Fix batch list loading in Horizon when serialization error by @jeffortegad in #51551
- [10.x] Fixes explicit route binding with
BackedEnum
by @CAAHS in #51586 - [11.x] Add
Macroable
toPendingCommand
by @PerryvanderMeer in #51572 - [11.x] Improves errors by @nunomaduro in #51261
- [11.x] Add RELEASE.md to .gitattributes by @Jubeki in #51598
- [11.x] Fixes exception rendering by @nunomaduro in #51587
11.9.1
- [11.x] Fixes missing route context by @nunomaduro in #51602
11.8.0
- [11.x] Update PendingRequest.php by @foremtehan in #51338
- Add unshift method to Collection by @timkelty in #51344
- [11.x] Synchronizing cache configuration file with updated laravel v11.0.7 by @dvlpr91 in #51336
- [11.x] Utilize
null-safe
operator instead of conditional check by @saMahmoudzadeh in #51328 - [11.x] Add the events to be displayed on the model:show command by @WendellAdriel in #51324
- [11.x] fix: remove use of Redis::COMPRESSION_ZSTD_MIN by @calebdw in #51346
- [10.x] Backport: Fix SesV2Transport to use correct
EmailTags
argument by @Tietew in #51352 - [11.x] feat: use phpredis 6 in ci by @calebdw in #51347
- [11.x] create new "has" validation rule by @browner12 in #51348
- [11.x] Add support for previous apps keys in signed URL verification by @Krisell in #51222
- [11.x] Allow setting exit code in migrate:status --pending by @brecht-vermeersch in #51341
- [11.x] Fix array rule typehint by @erik-perri in #51372
- [11.x] Test Improvements by @crynobone in #51365
- [10.x] Fix PHPDoc typo by @staudenmeir in #51390
- [11.x] Fix return type hint of resolveRouteBindingQuery by @philbates35 in #51392
- [11.x] Allow adding array or string for web and api routes in bootstrap/app.php by @mrthito in #51356
- [ 11.x ] Adds ability to manually fail a command from outside the handle() method by @ProjektGopher in #51435
- [10.x] Fix
apa
on non ASCII characters by @faissaloux in #51428 - [11.x] Compare lowercased column names in getColumnType by @chady in #51431
- [11.x] Use contracts instead of concrete type for
resolveRouteBindingQuery()
by @crynobone in #51425 - [11.x] Set the value of
$this
in macro closures by @simonwelsh in #51401 - [11.x] Add missing roundrobin transport driver config by @u01jmg3 in #51400
- [11.x] Remove unused namespace by @saMahmoudzadeh in #51436
- [11.x] Fixes doc block in
Connector.php
by @saMahmoudzadeh in #51440 - [10.x] Fixes view engine resolvers leaking memory by @nunomaduro in #51450
- [11.x] Add some tests to
SupportStrTest
by @saMahmoudzadeh in #51437 - [11.x] Add isCurrentlyOwnedBy function to lock by @gazben in #51393
- [11.x] Collection average/avg optimization by @bert-w in #51512
- [11.x] Introduce
MixManifestNotFoundException
for handling missing Mix manifests by @xurshudyan in #51502 - [11.x] MailMakeCommand: Add new
--view
option by @ryangjchandler in #51411 - [11.x] Replace all backed enums with values when building URLs by @stefanvdlugt in #51524
- [10.x] Do not use
app()
Foundation helper onViewServiceProvider
by @rodrigopedra in #51522 - Fixes explicit route binding with
BackedEnum
by @crynobone in #51525 - [11.x] Add query method to UrlGenerator contract docblock by @hjanos-bc in #51515
11.7.0
- [11.x] Fix SesV2Transport to use correct
EmailTags
argument by @Tietew in #51265 - [11.x] Add Databases nightly workflow by @Jubeki in #51218
- [11.x] update "min" and "max" rule comments by @browner12 in #51274
- [11.x] Fix namespace and improvement PSR in
ClassMakeCommandTest.php
by @saMahmoudzadeh in #51280 - [11.x] improvement test coverage for view components. by @saMahmoudzadeh in #51271
- [11.x] Introduce method
Rule::array()
by @Jacobs63 in #51250 - [11.x] Fix docblock for collection pluck methods by @SanderMuller in #51295
- [11.x] Add tests for handling non-baked enum and empty string requests by @hrant1020 in #51289
- blank and filled now support stringable by @lava83 in #51300
- [11.x] Fix ratio validation for high ratio images by @ahmedbally in #51296
- [11.x] Add int|float support to e method by @trippo in #51314
- [11.x] Add release notes by @driesvints in #51310
- [11.x]
Stringable
is also an interface of symfony by @lava83 in #51309 - [11.x] Add some tests and improvement test coverage for
Str::camel
by @saMahmoudzadeh in #51308 - [11.x] Using the
??
Operator (Null Coalescing Operator) by @saMahmoudzadeh in #51305 - [11.x] Add ability to override the default loading cached Routes for application by @ahmedabdel3al in #51292
- [11.x] Add ->whereJsonOverlaps() for mysql by @parkourben99 in #51288
- [11.x] Add
InteractsWithInput
methods toValidatedInput
by @aydinfatih in #51316 - [11.x] Adding PasswordResetLinkSent event by @Muffinman in #51253
11.6.0
- [11.x] github: mariadb database healthcheck+naming by @grooverdan in #51192
- Add support for PHPUnit 11.1 by @crynobone in #51197
- Move whitespace in front of verbatim block in Blade templates by @Sjord in #51195
- [11.x] Trim trailing
?
from generated URL without query params by @onlime in #51191 - Add some tests on route:list sort command by @fgaroby in #51202
- [10.x] Improve releases flow by @driesvints in #51213
- Fix return types of
firstWhere
andfirst
ofBelongsToMany
andHasManyThrough
by @SanderMuller in #51219 - [10.x] Fix typo in signed URL tampering tests by @Krisell in #51238
- [10.x] Add "Server has gone away" to DetectsLostConnection by @Jubeki in #51241
- [11.x] Add some tests in
SupportStrTest
class by @saMahmoudzadeh in #51235 - [10.x] Fix support for the LARAVEL_STORAGE_PATH env var (#51238) by @dunglas in #51243
- [11.x] Add replaceable tags to translations by @LegendEffects in #51190
- [10.x] fix: Factory::createMany creating n^2 records by @calebdw in #51225
11.5.0
- [11.x] Add namespace for
make:trait
andmake:interface
command by @milwad-dev in #51083 - [11.x] Ability to generate URL's with query params by @stevebauman in #51075
- [11.x] Adds anonymous broadcasting by @joedixon in #51082
- [10.x] Binding order is incorrect when using cursor paginate with multiple unions with a where by @thijsvdanker in #50884
- [10.x] Fix cursor paginate with union and column alias by @thijsvdanker in #50882
- [11.x] Fix typo in tests by @milwad-dev in #51093
- Fix argument type in
Cache\Store
by @GromNaN in #51100 - Correct comment's grammatical and semantic errors by @javadihugo in #51101
- [11.x] Replace matches typehint fix by @henzeb in #51095
- [11.x] Exclude
laravel_through_key
when replicating model, fixes #51097 by @levu42 in #51098 - [11.x] Add enum types to static Rule methods by @erik-perri in #51090
- [11.x] Add decrement method to the rate limiter class by @AlexJump24 in #51102
- [11.x] Remove dead code by @michaelnabil230 in #51106
- [11.x] Fix support for other hashing implementations when using
hashed
cast by @j3j5 in #51112 - Revert "[11.x] Adds support for
int
backed enums to implicitEnum
route binding" by @driesvints in #51119 - [11.x] Add support for enums in
whereIn
route constraints by @osbre in #51121 - Clarify that \Illuminate\Http\Request::replace replace all input values by @treyssatvincent in #51123
- [11.x] Fix db:show's --counts option by @xuchunyang in #51140
- Update RuntimeException message when no data has been found by @mikemeijer in #51133
- [11] Update DetectsLostConnections.php by @it-can in #51127
- [11.x] Reset connection after migrate for FreshCommand by @driesvints in #51167
- [10.x] Address Null Parameter Deprecations in UrlGenerator by @aldobarr in #51148
- [11.x] Provide context for NestedRules by @imahmood in #51160
- [11.x] Fix renaming columns with
NULL
as default on legacy MariaDB/MySQL by @hafezdivandari in #51177 - [11.x] Supercharge Blade by @assertchris in #51143
- [11.x] Allow implicit binding to have optional backed enums by @Neol3108 in #51178
- [11.x] Blade Component Loop Speed Improvement by @lonnylot in #51158
- [11.x] Fix normalizedNameCache by @Jubeki in #51185
- [11.x] GenericUser use
getAuthPasswordName
instead of hardcoded column name by @Daniel-H123 in #51186
11.4.0
- [11.x] Apc Cache - Remove long-time gone apc_* functions by @serpentblade in #51010
- [11.x] Allowing Usage of Livewire Wire Boolean Style Directives by @devajmeireles in #51007
- [11.x] Introduces
Exceptions
facade by @nunomaduro in #50704 - [11.x]
afterQuery
hook by @gdebrauwer in #50587 - Fix computed columns mapping to wrong tables by @maddhatter in #51009
- [11.x] improvement test for string title by @saMahmoudzadeh in #51015
- [11.x] Fix failing
afterQuery
method tests when using sql server by @gdebrauwer in #51016 - [11.x] Fix: Apply database connection before checking if the repository exist by @sjspereira in #51021
- [10.x] Fix error when using
orderByRaw()
in query before usingcursorPaginate()
by @axlon in #51023 - [11.x] Add RequiredIfDeclined validation rule by @timmydhooghe in #51030
- [11.x] Adds support for enums on
mapInto
collection method by @lukeraymonddowning in #51027 - [11.x] Fix prompt fallback return value when using numeric keys by @jessarcher in #50995
- [11.x] Adds support for
int
backed enums to implicitEnum
route binding by @monurakkaya in #51029 - [11.x] Configuration to disable events on Cache Repository by @serpentblade in #51032
- Revert "[11.x] Name of job set by displayName() must be honoured by S… by @RobertBoes in #51034
- chore: fix some typos in comments by @laterlaugh in #51037
- Name of job set by displayName() must be honoured by Schedule by @SCIF in #51038
- Fix more typos by @szepeviktor in #51039
- [11.x] Fix some doc blocks by @saMahmoudzadeh in #51043
- [11.x] Add @throws ConnectionException tag on Http methods for IDE support by @masoudtajer in #51066
- [11.x] Add Prompts
textarea
fallback for tests and add assertion tests by @lioneaglesolutions in #51055 - Validate MAC per key by @timacdonald in #51063
- [11.x] Add
throttle
method toLazyCollection
by @JosephSilber in #51060 - [11.x] Pass decay seconds or minutes like hour and day by @jimmypuckett in #51054
- [11.x] Consider after_commit config in SyncQueue by @hansnn in #51071
- [10.x] Database layer fixes by @saadsidqui in #49787
- [11.x] Fix context helper always requiring
$key
value by @nikspyratos in #51080 - [11.x] Fix
expectsChoice
assertion with optionalmultiselect
prompts. by @jessarcher in #51078
11.3.1
- [11.x] Name of job set by displayName() must be honoured by Schedule by @SCIF in #50973
- Add Conditionable trait to Testing\PendingCommand.php by @tobz-nz in #50988
- Allow sorting of route:list by multiple column/factors using a comma by @fredbradley in #50998
- [10.x] Added eachById and chunkByIdDesc to BelongsToMany by @lonnylot in #50991
11.3.0
- [10.x] Prevent Redis connection error report flood on queue worker by @kasus in #50812
- [11.x] Optimize SetCacheHeaders to ensure error responses aren't cached by @MinaWilliam in #50903
- [11.x] Add session
hasAny
method by @mahmoudmohamedramadan in #50897 - [11.x] Add option to report throttled exception in ThrottlesExceptions middleware by @JaZo in #50896
- [11.x] Add DeleteWhenMissingModels attribute by @Neol3108 in #50890
- [11.x] Allow customizing TrimStrings::$except by @grohiro in #50901
- [11.x] Add pull methods to Context by @renegeuze in #50904
- [11.x] Remove redundant code from MariaDbGrammar by @hafezdivandari in #50907
- [11.x] Explicit nullable parameter declarations to fix PHP 8.4 deprecation by @Jubeki in #50922
- [11.x] Add setters to cache stores by @stancl in #50912
- [10.x] Laravel 10x optional withSize for hasTable by @apspan in #50888
- [11.x] Fix prompting for missing array arguments on artisan command by @macocci7 in #50850
- [11.x] Add strict-mode safe hasAttribute method to Eloquent by @mateusjatenee in #50909
- [11.x] add function to get faked events by @browner12 in #50905
- [11.x]
retry
func - catch "Throwable" instead of Exception by @sethsandaru in #50944 - chore: remove repetitive words by @findseat in #50943
- [10.x] Add
serializeAndRestore()
toNotificationFake
by @dbpolito in #50935 - [11.x] Prevent crash when handling ConnectionException in HttpClient retry logic by @shinsenter in #50955
- [11.x] Remove unknown parameters by @naopusyu in #50965
- [11.x] Fixed typo in PHPDoc
@param
by @naopusyu in #50967 - [11.x] Fix dockblock by @michaelnabil230 in #50979
- [11.x] Allow time to be faked in database lock by @JurianArie in #50981
- [11.x] Introduce method
Http::createPendingRequest()
by @Jacobs63 in #50980 - [11.x] Add @throws to some doc blocks by @saMahmoudzadeh in #50969
- [11.x] Fix PHP_MAXPATHLEN check for existing check of files for views by @joshuaruesweg in #50962
- [11.x] Allow to remove scopes from BelongsToMany relation by @plumthedev in #50953
- [11.x] Throw exception if named rate limiter and model property do not exist by @mateusjatenee in #50908
11.2.0
- [11.x] Fix: update
@param
in some doc block by @saMahmoudzadeh in #50827 - [11.x] Fix: update @return in some doc blocks by @saMahmoudzadeh in #50826
- [11.x] Fix retrieving generated columns on legacy PostgreSQL by @hafezdivandari in #50834
- [11.x] Trim invisible characters by @dasundev in #50832
- [11.x] Add default value for
get
andgetHidden
onContext
by @michaelnabil230 in #50824 - [11.x] Improves
serve
Artisan command by @nunomaduro in #50821 - [11.x] Rehash user passwords when logging in once by @axlon in #50843
- [11.x] Do not wipe database if it does not exists by @driesvints in #50838
- [11.x] Better database creation failure handling by @driesvints in #50836
- [11.x] Use Default Schema Name on SQL Server by @hafezdivandari in #50855
- Correct typing for startedAs and virtualAs database column definitions by @ollieread in #50851
- Allow passing query Expression as column in Many-to-Many relationship by @plumthedev in #50849
- [11.x] Fix
Middleware::trustHosts(subdomains: true)
by @axlon in #50877 - [11.x] Modify doc blocks for getGateArguments by @saMahmoudzadeh in #50874
- [11.x] Add
@throws
to doc block for resolve method by @saMahmoudzadeh in #50873 - [11.x] Str trim methods by @patrickomeara in #50822
- [11.x] Add fluent helper by @PhiloNL in #50848
- [11.x] Add a new helper for context by @michaelnabil230 in #50878
- [11.x]
assertChain
andassertNoChain
on job instance by @gdebrauwer in #50858 - [11.x] Remove redundant
getDefaultNamespace
method in some classes (class, interface and trait commands) by @saMahmoudzadeh in #50880 - [11.x] Remove redundant implementation of ConnectorInterface in MariaDbConnector by @saMahmoudzadeh in #50881
- [11.X] Fix: error when using
orderByRaw
in query before usingcursorPaginate
by @ngunyimacharia in #50887
11.1.1
- [11.x] Fix: update
@param
in doc blocks by @saMahmoudzadeh in #50791 - [11.x] Fix query builder
whereBetween
with CarbonPeriod and Carbon 3 by @bakerkretzmar in #50792 - [11.x] Allows asserting no output in Artisan commands by @nunomaduro in #50702
- fix typo by @elguitarraverde in #50808
- [11.x] Make DB::usingConnection() respect read/write type by @SajtiDH in #50806
- [11.x] Fix deprecation warning caused by Carbon 3.2 by @jackwh in #50813
11.1.0
- [11.x] MySQL transaction isolation level fix by @mwikberg-virta in #50689
- [11.x] Add ListManagementOptions in SES mail transport by @arifszn in #50660
- [11.x] Accept non-backed enum in database queries by @gbalduzzi in #50674
- [11.x] Add
Conditionable
trait toContext
by @michaelnabil230 in #50707 - [11.x] Adds
@throws
section to the Context's doc blocks by @rnambaale in #50715 - [11.x] Test modifying nullable columns by @hafezdivandari in #50708
- [11.x] Introduce HASH_VERIFY env var by @valorin in #50718
- [11.x] Apply default timezone when casting unix timestamps by @daniser in #50751
- [11.x] Fixes
ApplicationBuilder::withCommandRouting()
usage by @crynobone in #50742 - [11.x] Register console commands, paths and routes after the app is booted by @plumthedev in #50738
- [11.x] Enhance malformed request handling by @jnoordsij in #50735
- [11.x] Adds
withSchedule
tobootstrap/app.php
file by @nunomaduro in #50755 - [11.x] Fix dock block for create method in
InvalidArgumentException.php
by @saMahmoudzadeh in #50762 - [11.x] signature typo by @abrahamgreyson in #50766
- [11.x] Simplify
ApplicationBuilder::withSchedule()
by @crynobone in #50765
11.0.8
- [11.x] Change typehint for enum rule from string to class-string by @liamduckett in #50603
- [11.x] Fixed enum and enum.backed stub paths after publish by @haroon-mahmood-4276 in #50629
- [11.x] Fix(ScheduleListCommand): fix doc block for listEvent method by @saMahmoudzadeh in #50638
- [11.x] Re: Fix issue with missing 'js/' directory in broadcasting installation command by @alnahian2003 in #50657
- [11.x] Remove
$except
property fromExcludesPaths
trait by @gdebrauwer in #50644 - [11.x] Fix command alias registration and usage. by @timacdonald in #50617
- [11.x] Fixed make:session-table Artisan command cannot be executed if a migration exists by @naopusyu in #50615
- [11.x] Fix(src\illuminate\Queue): update doc block, Simplification of the code in RedisManager by @saMahmoudzadeh in #50635
- [11.x] Add
--without-reverb
and--without-node
arguments toinstall:broadcasting
command by @duncanmcclean in #50662 - [11.x] Fixed
trait
stub paths after publish by @haroon-mahmood-4276 in #50678 - [11.x] Fixed
class
andclass.invokable
stub paths after publish by @haroon-mahmood-4276 in #50676 - [10.x] Fix
Collection::concat()
return type by @axlon in #50669 - [11.x] Fix adding multiple bootstrap providers with opcache by @jessarcher in #50665
- [11.x] Allow
BackedEnum
andUnitEnum
inRule::in
andRule::notIn
by @PerryvanderMeer in #50680 - [10.x] Fix command alias registration and usage by @crynobone in #50695
11.0.7
- [11.x] Re-add translations for ValidationException by @driesvints in #50546
- [11.x] Removes unused Dumpable trait by @OussamaMater in #50559
- [11.x] Fix withRouting docblock type by @santigarcor in #50563
- [11.x] Fix docblock in FakeInvokedProcess.php by @saMahmoudzadeh in #50568
- [11.x] fix: Add missing InvalidArgumentException import to Database/Schema/SqlServerBuilder by @ayutaya in #50573
- [11.x] Improved translation for displaying the count of errors in the validation message by @andrey-helldar in #50560
- [11.x] Fix retry_after to be an integer by @driesvints in #50580
- [11.x] Use available
getPath()
instead of usingapp_path()
to detect if base controller exists by @crynobone in #50583 - [11.x] Fix doc block:
@return static
has been modified to@return void
by @saMahmoudzadeh in #50592 - accept attributes for channels by @taylorotwell in 398f494
11.0.6
- [11.x] Fix version constraints for illuminate/process by @riesjart in #50524
- [11.x] Update Broadcasting Install Command With Bun Support by @HDVinnie in #50525
- [11.x] Allows to comment
web
andhealth
routes by @nunomaduro in #50533 - [11.x] Add generics for Arr::first() by @phh in #50514
- Change default collation for MySQL by @driesvints in #50555
- [11.x] Fixes install:broadcasting command by @joedixon in #50550
- [11.x] Fix crash when configuration directory is non-existing by @buismaarten in #50537
11.0.4
- [11.x] Add class_exists check for
Spark
'ssubscribed
default alias Middleware by @akr4m in #50489 - [11.x] Fix: Removed TTY mode to resolve Windows compatibility issue by @yourchocomate in #50495
- [11.x] Check for password before storing hash in session by @valorin in #50507
- [11.x] Fix an issue with missing controller class by @driesvints in #50505
- [11.x] Add default empty config when creating repository within CacheManager by @noefleury in #50510
11.0.5
- [11.x] Improves broadcasting install by @nunomaduro in #50519
- [11.x] Improved exception message on 'ensure' method by @fgaroby in #50517
- [11.x] Add hasValidRelativeSignatureWhileIgnoring macro by @br13an in #50511
- [11.x] Prevents database redis options of being merged by @nunomaduro in #50523
11.0.1
- [10.x] Update mockery conflict to just disallow the broken version by @GrahamCampbell in #50472
- [10.x] Conflict with specific release by @driesvints in #50473
- [10.x] Fix for attributes being escaped on Dynamic Blade Components by @pascalbaljet in #50471
- [10.x] Revert PR 50403 by @driesvints in #50482
11.0.2
- [11.x] Adds
--graceful
tophp artisan migrate
by @nunomaduro in #50486
11.0.0
Please consult the upgrade guide and release notes in the official Laravel documentation.