Releases: laravel/framework
Releases · laravel/framework
v12.18.0
- document
through()method in interfaces to fix IDE warnings by @harryqt in #55925 - [12.x] Add encrypt and decrypt Str helper methods by @KIKOmanasijev in #55931
- [12.x] Add a command option for making batchable jobs by @hafezdivandari in #55929
- [12.x] fix: intersect Authenticatable with Model in UserProvider phpdocs by @calebdw in #54061
- [12.x] feat: create UsePolicy attribute by @calebdw in #55882
- [12.x]
ScheduledTaskFailednot dispatched on scheduled forground task fails by @achrafAa in #55624 - [12.x] Add generics to
Model::unguarded()by @axlon in #55932 - [12.x] Fix SSL Certificate and Connection Errors Leaking as Guzzle Exceptions by @achrafAa in #55937
- Fix deprecation warning in PHP 8.3 by ensuring string type in explode() by @Khuthaily in #55939
- revert: #55939 by @NickSdot in #55943
- [12.x] feat: Add WorkerStarting event when worker daemon starts by @Orrison in #55941
- [12.x] Allow setting the
RequestExceptiontruncation limit per request by @cosmastech in #55897 - [12.x] feat: Make custom eloquent castings comparable for more granular isDirty check by @SanderSander in #55945
- [12.x] fix alphabetical order by @AhmedAlaa4611 in #55965
- [12.x] Use native named parameter instead of unused variable by @imanghafoori1 in #55964
- [12.x] add generics to Model attribute related methods and properties by @taka-oyama in #55962
- [12.x] Supports PHPUnit 12.2 by @crynobone in #55961
- [12.x] feat: Add ability to override SendQueuedNotifications job class by @Orrison in #55942
- [12.x] Fix timezone validation test for PHP 8.3+ by @platoindebugmode in #55956
- Broadcasting Utilities by @taylorotwell in #55967
- [12.x] Remove unused $guarded parameter from testChannelNameNormalization method by @AhmedAlaa4611 in #55973
- [12.x] Validate that
outOfis greater than 0 inLotteryhelper by @mrvipchien in #55969 - [12.x] Allow retrieving all reported exceptions from
ExceptionHandlerFakeby @cosmastech in #55972
v12.17.0
- [11.x] Backport
TestResponse::assertRedirectBackby @GrahamCampbell in #55780 - Add support for sending raw (non-encoded) attachments in Resend mail by @Roywcm in #55837
- [12.x] chore: return Collection from timestamps methods by @calebdw in #55871
- [12.x] fix: fully qualify collection return type by @calebdw in #55873
- [12.x] Fix Blade nested default component resolution for custom namespaces by @daniser in #55874
- [12.x] Fix return types in console command handlers to void by @michaelnabil230 in #55876
- [12.x] Ability to perform higher order static calls on collection items by @daniser in #55880
- Adds Resource helpers to cursor paginator by @jsandfordhughescoop in #55879
- Add reorderDesc() to Query Builder by @ghabriel25 in #55885
- [11.x] Fixes Symfony Console 7.3 deprecations on closure command by @crynobone in #55888
- [12.x] Add
AsUrimodel cast by @ash-jc-allen in #55909 - [12.x] feat: Add Contextual Implementation/Interface Binding via PHP8 Attribute by @yitzwillroth in #55904
- [12.x] Add tests for the
AuthenticateSessionMiddleware by @imanghafoori1 in #55900 - [12.x] Allow brick/math ^0.13 by @jnoordsij in #54964
- [12.x] fix: Factory::state and ::prependState generics by @calebdw in #55915
v11.45.1
- Add support for sending raw (non-encoded) attachments in Resend mail by @Roywcm in #55837
- [11.x] Fixes Symfony Console 7.3 deprecations on closure command by @crynobone in #55888
v12.16.0
- [12.x] Change priority in optimize:clear by @amirmohammadnajmi in #55792
- [12.x] Fix
TestResponse::assertSessionMissing()when given an array of keys by @crynobone in #55800 - [12.x] Allowing
ContextAttribute to Interact with Hidden by @devajmeireles in #55799 - Add support for sending raw (non-encoded) attachments in Resend mail driver by @Roywcm in #55803
- [12.x] Added option to always defer for flexible cache by @Zwartpet in #55802
- [12.x] style: Use null coalescing assignment (??=) for cleaner code by @mohsenetm in #55823
- [12.x] Introducing
Arr::hasAllby @devajmeireles in #55815 - [12.x] Restore lazy loading check by @decadence in #55817
- [12.x] Minor language update by @AhmedAlaa4611 in #55812
- fix(cache/redis): use connectionAwareSerialize in RedisStore::putMany() by @superbiche in #55814
- [12.x] Fix
ResponseFactoryshould also acceptnullcallback by @crynobone in #55833 - [12.x] Add template variables to scope by @wietsewarendorff in #55830
- [12.x] Introducing
toUrito theStringableClass by @devajmeireles in #55862 - [12.x] Remove remaining @return tags from constructors by @AhmedAlaa4611 in #55858
- [12.x] Replace alias
is_integer()withis_int()to comply with Laravel Pint by @xurshudyan in #55851 - Fix argument types for Illuminate/Database/Query/Builder::upsert() by @jellisii in #55849
- [12.x] Add
in_array_keysvalidation rule to check for presence of specified array keys by @stevebauman in #55807 - [12.x] Add
Rule::containsby @stevebauman in #55809
v12.15.0
- [12.x] Add locale-aware number parsing methods to Number class by @informagenie in #55725
- [12.x] Add a default option when retrieving an enum from data by @elbojoloco in #55735
- Revert "[12.x] Update "Number::fileSize" to use correct prefix and add prefix param" by @ziadoz in #55741
- [12.x] Remove apc by @AhmedAlaa4611 in #55745
- [12.x] Add param type for
assertJsonStructure&assertExactJsonStructuremethods by @milwad-dev in #55743 - [12.x] Fix type casting for environment variables in config files by @adamwhp in #55737
- [12.x] Preserve "previous" model state by @crynobone in #55729
- [12.x] Passthru
getCountForPaginationon an Eloquent\Builder by @cosmastech in #55752 - [12.x] Add
assertClientErrormethod toTestResponseby @shane-zeng in #55750 - Install Broadcasting Command Fix for Livewire Starter Kit by @joshcirre in #55774
- Clarify units for benchmark value for IDE accessibility by @mike-healy in #55781
- Improved PHPDoc Return Types for Eloquent's Original Attribute Methods by @clementbirkle in #55779
- [12.x] Prevent
preventsLazyLoadingexception when usingautomaticallyEagerLoadRelationshipsby @devajmeireles in #55771 - [12.x] Add
hashstring helper by @istiak-tridip in #55767 - [12.x] Update
assertSessionMissing()signature to matchassertSessionHas()by @nexxai in #55763 - Fix: php artisan db command if no password by @mr-chetan in #55761
- [12.x] Types: InteractsWithPivotTable::sync by @liamduckett in #55762
- [12.x] feat: Add
current_page_urlto Paginator by @mariomka in #55789 - Correct return type in PhpDoc for command fail method by @Muetze42 in #55783
- [12.x] Add
assertRedirectToActionmethod to test redirection to controller actions by @xurshudyan in #55788 - [12.x] Add Context contextual attribute by @martinbean in #55760
v11.45.0
- [11.x] Test Improvements by @crynobone in #55549
- [11.x] Install Passport 13.x by @hafezdivandari in #55621
- [11.x] Bump minimum league/commonmark by @andrextor in #55660
- Backporting Timebox fixes to 11.x by @valorin in #55705
- Test SQLServer 2017 on Ubuntu 22.04 by @crynobone in #55716
- [11.x] Fix Symfony 7.3 deprecations by @crynobone in #55711
- [11.x] Backport
TestResponse::assertRedirectBackby @GrahamCampbell in #55780
v12.14.1
- [10.x] Refine error messages for detecting lost connections (Debian bookworm compatibility) by @mfn in #53794
- [10.x] Bump minimum
league/commonmarkby @crynobone in #53829 - [10.x] Backport 11.x PHP 8.4 fix for str_getcsv deprecation by @aka-tpayne in #54074
- [10.x] Fix attribute name used on
Validatorinstance within certain rule classes by @crynobone in #54943 - Add
Illuminate\Support\EncodedHtmlStringby @crynobone in #54737 - [11.x] Fix missing
return $thisforassertOnlyJsonValidationErrorsby @LeTamanoir in #55099 - [11.x] Fix
Illuminate\Support\EncodedHtmlStringfrom causing breaking change by @crynobone in #55149 - [11.x] Respect custom path for cached views by the
AboutCommandby @alies-dev in #55179 - [11.x] Include all invisible characters in Str::trim by @laserhybiz in #54281
- [11.x] Test Improvements by @crynobone in #55302
- [11.x] Remove incorrect syntax from mail's
messagetemplate by @crynobone in #55530 - [11.x] Allows to toggle markdown email encoding by @crynobone in #55539
- [11.x] Fix
EncodedHtmlStringto ignore instance ofHtmlStringby @jbraband in #55543 - [11.x] Test Improvements by @crynobone in #55549
- [11.x] Install Passport 13.x by @hafezdivandari in #55621
- [11.x] Bump minimum league/commonmark by @andrextor in #55660
- Backporting Timebox fixes to 11.x by @valorin in #55705
- Test SQLServer 2017 on Ubuntu 22.04 by @crynobone in #55716
- [11.x] Fix Symfony 7.3 deprecations by @crynobone in #55711
- Easily implement broadcasting in a React/Vue Typescript app (Starter Kits) by @tnylea in #55170
v12.14.0
- [12.x] Support
useCurrenton date and year column types by @nicholasbrantley in #55619 - [12.x] Update "Number::fileSize" to use correct prefix and add prefix param by @Boy132 in #55678
- [12.x] Update PHPDoc for whereRaw to allow Expression as $sql by @mitoop in #55674
- Revert "[12.x] Make Blueprint Resolver Statically" by @taylorotwell in #55690
- [12.x] Support Virtual Properties When Serializing Models by @beschoenen in #55691
- [12.X] Fix
Http::preventStrayRequestserror propagation when usingHttp::poolby @LeTamanoir in #55689 - [12.x] incorrect use of generics in Schema\Builder by @taka-oyama in #55687
- [12.x] Add option to disable MySQL ssl when restoring or squashing migrations by @andersonls in #55683
- [12.x] Add
exceptandexceptHiddenmethods toContextclass by @xurshudyan in #55692 - [12.x] Container
currentlyResolvingutility by @jrseliga in #55684 - [12.x] Container
currentlyResolvingtest by @jrseliga in #55694 - [12.x] Fix handling of default values for route parameters with a binding field by @stancl in #55697
- Move Timebox for Authentication and add to password resets by @valorin in #55701
- [12.x] perf: Optimize BladeCompiler by @rzv-me in #55703
- [12.x] perf: support iterables for event discovery paths by @calebdw in #55699
- [12.x] Types: AuthorizesRequests::resourceAbilityMap by @liamduckett in #55706
- [12.x] Add flexible support to memoized cache store by @timacdonald in #55709
- [12.x] Introduce Arr::from() by @daniser in #55715
- [12.x] Fix the
getCurrentlyAttachedPivotswrongmorphClassfor morph to many relationships by @amir9480 in #55721 - [12.x] Improve typehints for Http classes by @cosmastech in #54783
- Add deleteWhen for throttle exceptions job middleware by @moshe-autoleadstar in #55718
v12.13.0
- [12.x] fix no arguments return type in request class by @olivernybroe in #55631
- [12.x] Add support for callback evaluation in containsOneItem method by @fernandokbs in #55622
- [12.x] add generics to aggregate related methods and properties by @taka-oyama in #55628
- [12.x] Fix typo in PHPDoc by @AhmedAlaa4611 in #55636
- [12.x] Allow naming queued closures by @willrowe in #55634
- [12.x] Add
assertRedirectBackassertion method by @ryangjchandler in #55635 - [12.x] Typehints for bindings by @cosmastech in #55633
- [12.x] add PHP Doc types to arrays for methods in Database\Grammar by @taka-oyama in #55629
- fix trim null arg deprecation by @apreiml in #55649
- [12.x] Support predis/predis 3.x by @gabrielrbarbosa in #55641
- Bump vite from 5.4.18 to 5.4.19 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #55655
- [12.x] Fix predis versions by @GrahamCampbell in #55654
- [12.x] Bump minimum league/commonmark by @szepeviktor in #55659
- [12.x] Fix typo in MemoizedStoreTest by @szepeviktor in #55662
- [12.x] Queue event listeners with enum values by @wgriffioen in #55656
- [12.x] Implement releaseAfter method in RateLimited middleware by @adamjgriffith in #55671
- [12.x] Improve Cache Tests by @nuernbergerA in #55670
- [12.x] Only pass model IDs to Eloquent
whereAttachedTomethod by @ashleyshenton in #55666 - feat(bus): allow adding multiple jobs to chain by @dallyger in #55668
- [12.x] add generics to QueryBuilder’s column related methods by @taka-oyama in #55663