Laravel 11.32.0
18 November 2024
Laravel version 11.32.0 is now available (major release).
What's New in Laravel 11.32.0
11.32.0
- Http Client: fake connection exception by @gdebrauwer in #53485
- update the docblock of the runCommand method. by @kevinb1989 in #53490
- Fix extensions of contextual bindings by @axlon in #53514
- Update the docblock of the fluentCommands property in the MySqlGrammar by @tisuchi in #53509
- Don't overwrite custom replacements for count in trans_choice by @patrickrobrecht in #53517
- 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
- Add support for syncing associations with array or base collection of models by @diaafares in #53495
- SqsQueue pushRaw options: pass to sendMessage by @Niush in #53507
- 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
- Introduce method Blueprint::rawColumn() by @Jacobs63 in #53496
- Introduce Schedule Grouping by @istiak-tridip in #53427
- Added generics to paginators by @EranNL in #53512
- Fix unless code comment by @fritz-c in #53529
- Add "head" slot to email layout by @hivokas in #53531
- Http client: record request when faking connection exception by @gdebrauwer in #53530
11.31.0
- 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
- Added useCascadeTruncate method for PostgresGrammar 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
- Handle HtmlString constructed with a null by @sperelson in #53367
- Add URL::forceHttps() to enforce HTTPS scheme for URLs by @dasundev in #53381
- Refactor and add remaining test cases for the DatabaseUuidFailedJobProviderTest class by @kevinb1989 in #53408
- Postgres Aurora failover - DetectsLostConnections by @vifer in #53404
- whereFullText case consistency by @parth391 in #53395
- Add HasFactory trait to make:model generation command using --all options by @adel007gh in #53391
- Introduce support for popping items from a stackable context item by @denjaland in #53403
- Test Improvements by @crynobone in #53414
- Add ability to dynamically build mailers on-demand using Mail::build by @stevebauman in #53411
- Refactor and add remaining test cases for the DatabaseFailedJobProviderTest class by @kevinb1989 in #53409
- Fix error event listener in Vite prefetching by @jnoordsij in #53439
- Ensure datetime cache durations account for script execution time by @timacdonald in #53431
- 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
- Cache token repository by @browner12 in #53428
- Fix validation message when there is a parameter with escaped dot "." by @mdmahbubhelal in #53416
- add optional prefix for cache key by @browner12 in #53448
- Do not overwrite existing link header(s) in AddLinkHeadersForPreloadedAssets middleware by @jnoordsij in #53463
- use assertTrue and assertFalse method, instead of using assertEā¦ by @iamyusuf in #53453
- Add DB::build method by @stevebauman in #53464
- Add ability to dynamically build cache repositories on-demand using Cache::build by @stevebauman in #53454
- Skip the number of connections transacting while testing to run callbacks by @tonysm in #53377
11.30.0
- Add $bind parameter to Blade::directive by @hossein-zare in #53279
- Fix trans_choice() when translation replacement include | separator by @crynobone in #53331
- Allow the authorize method to accept Backed Enums directly by @johanvanhelden in #53330
- use exists() instead of count() by @browner12 in #53328
- Docblock Improvements by @mtlukaszczyk in #53325
- Allow for custom Postgres operators to be added by @boris-glumpler in #53324
- Support Optional Dimensions for vector Column Type by @akr4m in #53316
- Test Improvements by @saMahmoudzadeh in #53306
- Added dropColumnsIfExists, dropColumnIfExists and dropForeignIfExists by @eusonlito in #53305
- Provide an error message for PostTooLargeException by @patrickomeara in #53301
- Fix integrity constraint violation on failed_jobs_uuid_unique by @bytestream in #53264
- Revert "Added dropColumnsIfExists, dropColumnIfExists and dropForeignIfExists" by @taylorotwell in #53338
- Introduce HasUniqueStringIds by @cosmastech in #53280
- Refactor: check for contextual attribute before getting parameter class name by @korkoshko in #53339
- Pick up existing views and markdowns when creating mails by @kevinb1989 in #53308
- Add withoutDefer and withDefer testing helpers by @timacdonald in #53340