Releases: laravel/framework
Releases Β· laravel/framework
v11.40.0
- draft: fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released by @mathiasgrimm in #54261
- [11.x] Add Laravel Pint by @browner12 in #53835
- Add self to HasCollection type param in Model by @thena-seer-sfg in #54311
- [11.x] Add pending attributes by @tontonsb in #53720
- fix:
schedule:test
on commands using runInBackground by @dallyger in #54321 - [11.x] Helper methods to dump responses of the Laravel HTTP client by @morrislaptop in #54317
- Add support for cursor editor in ResolvesDumpSource by @tuxfamily in #54318
- [11.x] Add Customizable Date Validation Rule with Flexible Date Constraints by @michaelnabil230 in #53465
- [11.x] start syncing StyleCI rules to Pint by @browner12 in #54326
- [11.x] apply our new Pint rule to the
/tests
directory by @browner12 in #54325 - fix(Collection::pop()): count < 1 by @artumi-richard in #54340
- Patch CVE-2025-22145 in nesbot/carbon package by @dennis-koster in #54335
- [11.x] Prevent unintended serialization and compression by @JeppeKnockaert in #54337
- [11.x] Pass collection of models to
whereMorphedTo
/whereNotMorphedTo
by @gdebrauwer in #54324
v11.39.1
- fix: collapseWithKeys on empty collection by @benatoff in #54290
- fix(broadcaster): incorrect channel matching because of dot in pattern by @021-projects in #54303
- [11.x] Use constructor property promotion for database query condition expression by @shaedrich in #54302
- [11.x] Add IncrementOrCreate method to Eloquent by @carloeusebi in #54300
- [11.x] Add additional test cases for Arr helper to enhance coverage by @mrvipchien in #54298
- Bump vite from 5.2.14 to 5.4.12 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #54296
- [11.x] Fix unique jobs that have a uniqueVia method by @DougSisk in #54294
v11.39.0
- [11.x] Replace duplicate
ValidatedInput
functions withInteractsWithData
trait by @stevebauman in #54208 - [11.x] Improve
Email
validation rule custom translation messages by @SanderMuller in #54202 - [11.x] Fix deprecation warnings in
optimize:clear
andoptimize
by @cosmastech in #54197 - [11.x] Add support for phpredis backoff and max retry config options by @TheLevti in #54191
- Introduces UseFactory attribute by @christopherarter in #54065
- [11.x] Set class-string generic on
UseFactory
by @cosmastech in #54215 - [11.x] switch LazyCollection::make() for new LazyCollection() by @AhmedAlaa4611 in #54216
- support style file name hashes with query strings in manifest by @newapx in #54219
- [11.x] Solidify
Rule::email()
tests by @SanderMuller in #54226 - [11.x] Fix line-ending mismatch in CliDumperTest::testArray and CliDumperTest::testObject by @AhmedAlaa4611 in #54222
- Add a report/log option to filesystem exceptions without throwing by @lotharthesavior in #54212
- [11.x] Fix Cache component to be aware of phpredis serialization and compression settings by @TheLevti in #54221
- [11.x] fix: Forcing DB Session driver to always use the write connection by @mathiasgrimm in #54231
- [11.x] Fix line-ending mismatch in
BladeComponentTagCompilerTest
underIlluminate\Tests\View\Blade
by @AhmedAlaa4611 in #54233 - [11.x] Fix job not logged in failed_jobs table if timeout occurs within database transaction by @decaylala in #54173
- [11.x] Fix unique job lock is not released on model not found exception, lock gets stuck. by @zackAJ in #54000
- [11.x] Fix line-ending mismatch on Windows test by @AhmedAlaa4611 in #54236
- Added support in DB::prohibitDestructiveCommands to preventing destructive Rollback⦠by @hexathos in #54238
- [11.x] Add applyAfterQueryCallbacks Support to Non-Mutator Cases in pluck Method by @batinmustu in #54268
- [11.x]
addPath()
Allow adding new path for translation loader. by @selcukcukur in #54277
v10.48.26
- [10.x] Refine error messages for detecting lost connections (Debian bookworm compatibility) by @mfn in #53794
- [10.x] Bump minimum
league/commonmark
by @crynobone in #53829 - [10.x] Backport 11.x PHP 8.4 fix for str_getcsv deprecation by @aka-tpayne in #54074
v11.38.2
- [11.x] Simplify Codebase by Using
qualifyColumn
Helper Method by @SanderMuller in #54187 - Revert "Add support for missing Postgres connection options" by @crynobone in #54195
- Revert "[11.x] Support DB aggregate by group (new methods)" by @crynobone in #54196
v11.38.1
- Fix breaking change - Revert "[11.x] Replace string class names with ::class constants" by @SanderMuller in #54185
- Add failing test for #54185 by @SanderMuller in #54186
v11.38.0
- Fix offset range in docblock by @simon-tma in #54062
- [11.x] Fix breaking change in
RefreshDatabase
by @SjorsO in #54075 - [11.x] Fallback to parent methods on
HasUniqueStringIds
trait by @hafezdivandari in #54096 - [11.x] Adds
finally
method to pipeline helper by @nunomaduro in #54110 - Add support for missing Postgres connection options by @Maniload in #54101
- fix: Don't set newLineWritten to true unless verbosity allows output by @ConnySjoblom in #54127
- [11.x] Adds support for Attribute return mutators to the
Eloquent/Builder
pluck method by @MattBradleyDev in #54130 - [11.x] Fixes wrong
@mixin
onSoftDeletes
trait by @nunomaduro in #54140 - [11.x] Replace string class names with ::class constants by @panakour in #54134
- [11.x] fix
times()
calls by @browner12 in #54141 - [11.x] minor readability by @browner12 in #54117
- Handles factory=null in ConnectException while recording request-response in PendingRequest by @StSarc in #54121
- [11.x] Refine error messages for detecting lost connections (Debian bookworm compatibility) by @mfn in #54111
- [11.x] fix: filter vendor paths from registered loaders in Application::inferBasePath by @calebdw in #54119
- [11.x] Allow exceptions to the
optimize
andoptimize:clear
commands by @jonerickson in #54070 - Add action filter to route:list by @miccehedin in #54135
- No explicit
USE database
statement by @TheLevti in #54132 - Add support for custom payloads and channels in broadcasting by @JanneDeVos in #54099
- [11.x] Add fluent
Email
validation rule by @SanderMuller in #54067 - [11.x] middleware support for specific method in resource routes by @MrPunyapal in #53313
- [11.x] Support DB aggregate by group (new methods) by @GromNaN in #53679
- Correct return type to match functionality by @willpower232 in #54148
- [11.x] Renaming Traveler to Passable and Stops to Pipes by @mathiasgrimm in #54142
- [11.x] Add
Dispatchable::newPendingDispatch()
by @cosmastech in #54153 - [11.x] Add
FormRequest::array($key)
andFluent::array($key)
by @stevebauman in #54177 - [11.x] Make methods of
HasRelationships
generic by @SanderMuller in #54174 - [11.x] Make tests pass on Herd by @SanderMuller in #54171
- Revert "Fix: Handle mixed-type values in compileInsert" by @crynobone in #54169
- [11.x] Fix docblock for
PendingDispatch@getJob()
by @cosmastech in #54158 - pass options to migration events by @willpower232 in #54151
- Encode cache values for SQLite with base64 to prevent failing on \0 characters by @adamkiss in #54178
- [11.x] Fix invokable validation rule return type by @axlon in #54179
v11.37.0
- [11.x] Update Collection::hasAny by @JeftaAtSiip in #53963
- [11.x] Update DetectsLostConnections trait by @holgerk in #53966
- Fix: (Queue Worker) firing the JobPopped event when $popCallbacks returns null by @rudenav in #53962
- [11.x] Add
Dumpable
trait toUri
by @nuernbergerA in #53960 - Fix: Handle mixed-type values in compileInsert by @alipadron in #53948
- [11.x] Add
$ignoreCase
option toStr::is
by @stevebauman in #53981 - [11.x] Updates component dependencies by @crynobone in #53975
- [11.x] Update Uri
withoutQuery
method to accept string or array input by @1weiho in #53973 - [11.x] Fix cached health endpoint not working when in maintenance mode by @crynobone in #53974
- Add PHPDoc type hints by @shaedrich in #53984
- [11.x] Allow passing bool to facade Http@preventStrayRequests() by @cosmastech in #53992
- [11.x] Use Str::wrap() instead of nesting Str::start() inside Str::finish() by @shaedrich in #53987
- Fix day range in docblock by @timacdonald in #53985
- [11.x] Fixes
Illuminate\Http\Response
to output empty string if$content
is set tonull
by @crynobone in #53872 - [11.x] Fix/Improve Resend transport response handling by @markovic-nikola in #54004
- [11.x] Update View::withErrors() docblock to reflect string parameter support by @cheack in #54009
- 11.x improve resend transport response handling - fix by @markovic-nikola in #54006
- [11.x] Added new Eloquent methods:
whereDoesntHaveRelation
,whereMorphDoesntHaveRelation
and their variants withOR
by @andrey-helldar in #53996 - [11.x] Re-refresh the database if the
RefreshDatabase
transaction was committed by @SjorsO in #53997 - [11.x] add assertFailedWith to InteractsWithQueue trait by @teddy-francfort in #53980
- Quick doc fix by @mathiasgrimm in #54040
- [11.x] Allow using
Illuminate\Support\Uri
on testing HTTP Requests by @crynobone in #54038 - [11.x] Adding tests for Overlapping Routes by @mathiasgrimm in #54050
- [11.x] adding tests for
null
&*
key given indata_get
by @jwjenkin in #54059
v11.36.1
- Once Remember Null Values by @dbpolito in #53949
- [11.x] Add wildcard directory discovery to the EventServiceProvider by @jared-cannon in #53932
- [11.x] Add
getJob()
method toPendingDispatch
class + Introduced tests by @pascalbaljet in #53951 - Avoid writing multiple keys when using redis in cluster mode by @bentleyo in #53940
- Revert "[11.x] fix: allows injection using multiple interfaces with the same concrete implementation" by @taylorotwell in #53955
- Revert "[11.x] No need to redeclare variables" by @crynobone in #53954
v11.36.0
- [11.x] Update
config/mail.php
with supported configuration by @crynobone in #53874 - [11.x] Allows
enum_value()
to be use in standaloneilluminate/collections
by @crynobone in #53871 - [11.x]
Uri
andUriQueryString
implementStringable
by @cosmastech in #53873 - [11.x] Prefer
new Stringable
overStr::of
andstr()
by @lucasmichot in #53883 - [11.x] No need to redeclare variables by @lucasmichot in #53887
- [11.x] Add PHP 8.4 with herd to passthrough variables by @lucasmichot in #53885
- Add new
Uri
class to default, global aliases by @jasonmccreary in #53884 - [11.x] Fix attribute mutator access in
loadMissing
by @SychO9 in #53879 - [11.x] Fix
numericAggregate
on eloquent builder by @AmirRezaM75 in #53880 - [11.x] Prefer
new Fluent
overfluent()
helper by @lucasmichot in #53890 - Patch by @angelej in #53869
- [11.x]
Collection::wrap
by @lucasmichot in #53891 - [11.x] Bump minimum league/commonmark by @ah-rahimi in #53899
- [11.x]
Collection::range
by @lucasmichot in #53895 - [11.x] Added an event that reports files being deleted when calling the
schema:dump --prune
command by @andrey-helldar in #53870 - [11.x] fix: allows injection using multiple interfaces with the same concrete implementation by @jamiethorpe in #53275
- [11.x] Early return in Factory::modelName() by @shaedrich in #53912
- [11.x] Prevent
blank
Helper from Serializing Eloquent Models by @SanderMuller in #53911 - [11.x] Add word-break to mail links by @seblavoie in #53906
- Preserve dynamic database connections on reconnect by @nickakitch in #53914
- Fix mutexName inconsistency caused by different PHP binary paths on multiple servers by @waska14 in #53811
- [11.x] Add
Fluent::set
method by @stevebauman in #53946 - [11.x] Fix inspecting columns of raw indexes by @hafezdivandari in #53945
- [11.x] Allow easier overriding of the exception thrown by invalid ID in route binding by @cosmastech in #53944
- [11.x] Fix client path value in file uploads by @gyaaniguy in #53941