Releases: laravel/framework
Releases · laravel/framework
v11.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
v11.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
v10.48.23
- [10.x] Ensure headers are only attached to illuminate responses by @timacdonald in #53019
- [10.x] Fix append and prepend batch to chain by @Bencute in #53455
v11.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
v11.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
v11.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
v11.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
v11.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
v11.27.1
v11.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