Releases: laravel/framework
Releases Β· laravel/framework
v11.38.0
- Fix offset range in docblock by @simon-tma in #54062
- [11.x] Fix breaking change in
RefreshDatabaseby @SjorsO in #54075 - [11.x] Fallback to parent methods on
HasUniqueStringIdstrait by @hafezdivandari in #54096 - [11.x] Adds
finallymethod 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/Builderpluck method by @MattBradleyDev in #54130 - [11.x] Fixes wrong
@mixinonSoftDeletestrait 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
optimizeandoptimize:clearcommands by @jonerickson in #54070 - Add action filter to route:list by @miccehedin in #54135
- No explicit
USE databasestatement by @TheLevti in #54132 - Add support for custom payloads and channels in broadcasting by @JanneDeVos in #54099
- [11.x] Add fluent
Emailvalidation 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
HasRelationshipsgeneric 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
Dumpabletrait toUriby @nuernbergerA in #53960 - Fix: Handle mixed-type values in compileInsert by @alipadron in #53948
- [11.x] Add
$ignoreCaseoption toStr::isby @stevebauman in #53981 - [11.x] Updates component dependencies by @crynobone in #53975
- [11.x] Update Uri
withoutQuerymethod 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\Responseto output empty string if$contentis set tonullby @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,whereMorphDoesntHaveRelationand their variants withORby @andrey-helldar in #53996 - [11.x] Re-refresh the database if the
RefreshDatabasetransaction 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\Urion 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_getby @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 toPendingDispatchclass + 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.phpwith supported configuration by @crynobone in #53874 - [11.x] Allows
enum_value()to be use in standaloneilluminate/collectionsby @crynobone in #53871 - [11.x]
UriandUriQueryStringimplementStringableby @cosmastech in #53873 - [11.x] Prefer
new StringableoverStr::ofandstr()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
Uriclass to default, global aliases by @jasonmccreary in #53884 - [11.x] Fix attribute mutator access in
loadMissingby @SychO9 in #53879 - [11.x] Fix
numericAggregateon eloquent builder by @AmirRezaM75 in #53880 - [11.x] Prefer
new Fluentoverfluent()helper by @lucasmichot in #53890 - Patch by @angelej in #53869
- [11.x]
Collection::wrapby @lucasmichot in #53891 - [11.x] Bump minimum league/commonmark by @ah-rahimi in #53899
- [11.x]
Collection::rangeby @lucasmichot in #53895 - [11.x] Added an event that reports files being deleted when calling the
schema:dump --prunecommand 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
blankHelper 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::setmethod 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
v11.35.1
- [11.x] Fix incorrect typechange in
Illuminate\Database\Query\Builderby @jnoordsij in #53841 - Fixed Enum usage in whereHasMorph condition when morph attribute casting by @Outsidaz in #53839
- [11.x] Fix unescaped table names issue of
DatabaseTruncationtrait by introducingConnection::withoutTablePrefix()method by @hafezdivandari in #53842 - Specify node when sending scan to RedisCluster by @bentleyo in #53837
- [11.x] fix: cast session lifetime to int by @calebdw in #53846
- [11.x] allow sub second timeout value for http requests by @mihaileu in #53850
- Revert "set schema to smtps if MAIL_ENCRYPTION === tls" by @crynobone in #53863
v11.35.0
- [11.x] Supports Symfony 7.2 by @crynobone in #53585
- [11.x] Fix database reconnecting logic by @stancl in #53693
- [11.x] Test Improvements by @crynobone in #53708
- [11.x] Fix foreignIdFor() when the foreign key is a non-incrementing integer other than ULID by @edgrosvenor in #53696
- [11.x] Allow sorting routes by precedence in artisan routes:list. by @mathieutu in #53706
- [11.x] Update the message for the schedule:work command. by @AbdelElrafa in #53710
- [11.x] Support auto-discovery of PSR-17 implementations by @hafezdivandari in #53711
- [11.x] Improve Error Handler in the ProcessDriver by @WillTorres10 in #53712
- [11.x] Comment grammar fixes by @nexxai in #53714
- [11.x] Replace get_called_class with static::class by @fernandokbs in #53725
- [11.x] Add the pivot's related model when creating from attributes by @alexwass-lr in #53694
- [11.x] use a consistent alias for
Illuminate\Database\Eloquent\Collectionby @browner12 in #53730 - [11.x] switch
Collection::make()fornew Collection()by @browner12 in #53733 - [11.x] always alias the
Illuminate\Database\Eloquent\Collectionby @browner12 in #53735 - [11.x] convert
collect()helper tonew Collection()by @browner12 in #53726 - [11.x] Improves
Collectionsupport for enums usingfirstWhere()andvalue()by @crynobone in #53777 - [11.x] Add Conditionable Trait to Request by @ahmeti in #53775
- [11.x] Ignore health endpoint when in maintenance mode by @joshmanders in #53772
- [11.x] Add ability to transform
Http\Client\ResponseintoFluentby @stevebauman in #53771 - set schema to smtps if MAIL_ENCRYPTION === tls by @danielrona in #53749
- [11.x] more consistent and readable chaining by @browner12 in #53748
- [11.x] Fix the RateLimiter issue when using dynamic keys by @MilesChou in #53763
- [11.x] Add ability to customize or disable
Http\Client\RequestExceptionmessage truncation by @stevebauman in #53734 - [11.x] Include the initial value in the return types of
reduce()by @lorenzolosa in #53798 - [11.x] Add pingOnSuccessIf & pingOnFailureIf to Schedule handling by @lucacastelnuovo in #53795
- [11.x] Improve PHPDoc for nullable properties in
Illuminate\Database\Query\Builderclass by @xurshudyan in #53793 - [11.x] Remove usage of
compact()in Container by @KennedyTedesco in #53789 - [11.x] Make
Exceptions@dontTruncateRequestExceptions()fluent by @cosmastech in #53786 - [11.x] Make mailables tappable by @kevinb1989 in #53788
- URI by @taylorotwell in #53731
- [11.x] Require
laravel/serializable-closureon Database component by @patrickcarlohickman in #53822 - [11.x] use new PHP 8
str_functions by @browner12 in #53817 - [11.x] handle
password_hash()failures better by @browner12 in #53821 - [11.x] remove unnecessary
returnstatement by @browner12 in #53816 - [11.x] simplify passing arguments to
when()by @browner12 in #53815 - [11.x] remove redundant
array_valuescall by @browner12 in #53814 - [11.x] prefer assignment over
array_pushfor 1 element by @browner12 in #53813 - [11.x] fix
chopStartandchopEndtests by @browner12 in #53812 - [11.x] remove temporary variables by @browner12 in #53810
- [11.x] fix
$eventsdocblock type by @browner12 in #53808 - [11.x] Fix docblock for URI by @cosmastech in #53804
- Bump nanoid from 3.3.7 to 3.3.8 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #53831
- [11.x] use promoted properties by @browner12 in #53807
- Revert "[11.x] use promoted properties" by @taylorotwell in #53832
- Using throw config of filesystem disks when faking by @emulgeator in #53779
- [11.x] Fix schema names on
DatabaseTruncationtrait (PostgreSQL and SQLServer) by @hafezdivandari in #53787
v11.34.2
- Revert "[11.x] Add non-static JsonResource wrapping" by @taylorotwell in #53686
- [11.x] groupBy() return type phpdoc by @lorenzolosa in #53684
- [11.x] Fix
withoutOverlappingfor grouped scheduled closures by @istiak-tridip in #53680 - [11.x] Fix
ResendTransportmissing custom headers by @lucasmichot in #53687
v11.34.1
- Configure cloud log socket by @taylorotwell in #53666
v11.34.0
- [10.x] Fix append and prepend batch to chain by @Bencute in #53455
- [11.x] Allow
BackedEnumwhen usingfromRoute()inMakesHttpRequestsby @wietsewarendorff in #53593 - [11.x] Test Improvements by @crynobone in #53586
- [11.x] Move
$ownerKeycheck fornulltoMorphToasBelongsTorelationship will always return astringby @crynobone in #53592 - Unset eloquent model's cached cast attribute by @adamthehutt in #53583
- [11.x] Add non-static JsonResource wrapping by @SanderMuller in #53543
- [10.x] PHP 8.4 Code Compatibility by @crynobone in #53612
- Add assertCount() for fake storage by @ahmadreza1383 in #53620
- Fix Paginator __construct parameter typehint for phpstan by @Afrowson in #53615
- [11.x] Add generics for Arr::last() by @talkinnl in #53619
- Add typed closure to bootstrappers in console application by @MatusBoa in #53613
- refactor: Some minor performance & readability enhancements by @dshafik in #53596
- [11.x] Improve doc blocks for interacting with enum inputs by @axlon in #53625
- [11.x] Skip object construction if no rebound callbacks are set by @axlon in #53502
- Make the bearerToken method case-insensitive by @samtlewis in #53627
- [11.x] Fix attribute inheritance for nested scheduled groups by @istiak-tridip in #53626
- [11.x] Supports PHP 8.4 by @crynobone in #53468
- βοΈ by @taylorotwell in #53623
- [11.x] Fix typo in docblock by @stancl in #53636
- Add Number::spellOrdinal() to spell ordinals as words. by @joelstein in #53661
- [11.x] Add PausePrompt fallback by @jwpage in #53660
- [11.x] Fix
SyntaxErroron Vite prefetch with empty assets by @jnoordsij in #53659 - [11.x] Improved
class-stringtypes by @timacdonald in #53657 - [11.x] Use
nevertype for methods that always throws by @tamiroh in #53643 - [11.x] Adds conditional to routes by @Boorinio in #53654
- [11.x] Make
withoutDeferalso return$thisby @tamiroh in #53644 - Add shorthands for fake HTTP responses by @jasonmccreary in #53663
- Use the environment method instead of the isLocal method by @NaokiTsuchiya in #53638
- [11.x] Fix: Ensure generated policies return boolean values by @Aluisio-Pires in #53632
- Bus assertempty by @jasonmccreary in #53664
- [11.x] Improve schedule group behaviors by @istiak-tridip in #53641
- [11.x] Add
Request::fluentmethod by @stevebauman in #53662 - [11.x] Support named in-memory SQLite connections by @stancl in #53635
- event name & listener callback types by @rudiedirkx in #53642
- Test cleanup from #53664 by @jasonmccreary in #53672
- [11.x] Fix: Prevent invalid AWS credentials options being created by @robchett in #53633
- [11.x] Expand
Support\Fluentdata access and transformation capabilities by @stevebauman in #53665
v10.48.25
- [10.x] PHP 8.4 Code Compatibility by @crynobone in #53612