Laravel 11.37.0
6 January 2025
Laravel version 11.37.0 is now available (major release).
What's New in Laravel 11.37.0
11.37.0
Bug Fixes and Changes
- Update Collection::hasAny by @JeftaAtSiip in #53963
- Update DetectsLostConnections trait by @holgerk in #53966
- Fix: (Queue Worker) firing the JobPopped event when $popCallbacks returns null by @rudenav in #53962
- Add Dumpable trait to Uri by @nuernbergerA in #53960
- Fix: Handle mixed-type values in compileInsert by @alipadron in #53948
- Add $ignoreCase option to Str::is by @stevebauman in #53981
- Updates component dependencies by @crynobone in #53975
- Update Uri withoutQuery method to accept string or array input by @1weiho in #53973
- Fix cached health endpoint not working when in maintenance mode by @crynobone in #53974
- Add PHPDoc type hints by @shaedrich in #53984
- Allow passing bool to facade Http@preventStrayRequests() by @cosmastech in #53992
- Use Str::wrap() instead of nesting Str::start() inside Str::finish() by @shaedrich in #53987
- Fix day range in docblock by @timacdonald in #53985
- Fixes Illuminate\Http\Response to output empty string if $content is set to null by @crynobone in #53872
- Fix/Improve Resend transport response handling by @markovic-nikola in #54004
- 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
- Added new Eloquent methods: whereDoesntHaveRelation, whereMorphDoesntHaveRelation and their variants with OR by @andrey-helldar in #53996
- Re-refresh the database if the RefreshDatabase transaction was committed by @SjorsO in #53997
- add assertFailedWith to InteractsWithQueue trait by @teddy-francfort in #53980
- Quick doc fix by @mathiasgrimm in #54040
- Allow using Illuminate\Support\Uri on testing HTTP Requests by @crynobone in #54038
- Adding tests for Overlapping Routes by @mathiasgrimm in #54050
- adding tests for null & * key given in data_get by @jwjenkin in #54059
11.36.1
Bug Fixes and Changes
- Once Remember Null Values by @dbpolito in #53949
- Add wildcard directory discovery to the EventServiceProvider by @jared-cannon in #53932
- Add getJob() method to PendingDispatch 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
11.36.0
Bug Fixes and Changes
- Update config/mail.php with supported configuration by @crynobone in #53874
- Allows enum_value() to be use in standalone illuminate/collections by @crynobone in #53871
- Uri and UriQueryString implement Stringable by @cosmastech in #53873
- Prefer new Stringable over Str::of and str() by @lucasmichot in #53883
- No need to redeclare variables by @lucasmichot in #53887
- 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
- Fix attribute mutator access in loadMissing by @SychO9 in #53879
- Fix numericAggregate on eloquent builder by @AmirRezaM75 in #53880
- Prefer new Fluent over fluent() helper by @lucasmichot in #53890
- Patch by @angelej in #53869
- Collection::wrap by @lucasmichot in #53891
- Bump minimum league/commonmark by @ah-rahimi in #53899
- Collection::range by @lucasmichot in #53895
- Added an event that reports files being deleted when calling the schema:dump --prune command by @andrey-helldar in #53870
- fix: allows injection using multiple interfaces with the same concrete implementation by @jamiethorpe in #53275
- Early return in Factory::modelName() by @shaedrich in #53912
- Prevent blank Helper from Serializing Eloquent Models by @SanderMuller in #53911
- 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
- Add Fluent::set method by @stevebauman in #53946
- Fix inspecting columns of raw indexes by @hafezdivandari in #53945
- Allow easier overriding of the exception thrown by invalid ID in route binding by @cosmastech in #53944
- Fix client path value in file uploads by @gyaaniguy in #53941