Releases: laravel/framework
Releases Β· laravel/framework
v12.19.3
v12.19.2
Update version to v12.19.2
v12.19.1
- Revert "[12.x] Check if file exists before trying to delete it" by @GrahamCampbell in #56072
v12.19.0
- [11.x] Fix validation to not throw incompatible validation exception by @crynobone in #55963
- [12.x] Correct testEncryptAndDecrypt to properly test new methods by @KIKOmanasijev in #55985
- [12.x] Check if file exists before trying to delete it by @Jellyfrog in #55994
- Clear cast caches when discarding changes by @willtj in #55992
- [12.x] Handle Null Check in Str::contains by @Jellyfrog in #55991
- [12.x] Remove call to deprecated
getDefaultDescription
method by @jnoordsij in #55990 - Bump brace-expansion from 2.0.1 to 2.0.2 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #55999
- Enhance error handling in PendingRequest to convert TooManyRedirectsE⦠by @achrafAa in #55998
- [12.x] fix: remove Model intersection from UserProvider contract by @calebdw in #56013
- [12.x] Remove the only @return tag left on a constructor by @JordanchoEftimov in #56001
- [12.x] Introduce
ComputesOnceableHashInterface
by @Jacobs63 in #56009 - [12.x] Add assertRedirectBackWithErrors to TestResponse by @AhmedAlaa4611 in #55987
- [12.x] collapseWithKeys - Prevent exception in base case by @DeanWunder in #56002
- [12.x] Standardize size() behavior and add extended queue metrics support by @sylvesterdamgaard in #56010
- [11.x] Fix
symfony/console:7.4
compatibility by @crynobone in #56015 - [12.x] Improve constructor PHPDoc for controller middleware definition by @JordanchoEftimov in #56021
- Remove
@return
tags from constructors by @michaelnabil230 in #56024 - [12.x] sort helper functions in alphabetic order by @gigabites19 in #56031
- [12.x] add Attachment::fromUploadedFile method by @rodrigopedra in #56027
- [12.x]: Add UseEloquentBuilder attribute to register custom Eloquent Builder by @KIKOmanasijev in #56025
- [12.x] Improve PHPDoc for the Illuminate\Cache folder files by @JordanchoEftimov in #56028
- [12.x] Add a new model cast named asFluent by @azim-kordpour in #56046
- [12.x] Introduce
FailOnException
job middleware by @cosmastech in #56037 - [12.x] isSoftDeletable(), isPrunable(), and isMassPrunable() to model class by @shaedrich in #56060
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]
ScheduledTaskFailed
not 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
RequestException
truncation 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
outOf
is greater than 0 inLottery
helper by @mrvipchien in #55969 - [12.x] Allow retrieving all reported exceptions from
ExceptionHandlerFake
by @cosmastech in #55972
v12.17.0
- [11.x] Backport
TestResponse::assertRedirectBack
by @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
AsUri
model 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
AuthenticateSession
Middleware 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
Context
Attribute 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::hasAll
by @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
ResponseFactory
should also acceptnull
callback by @crynobone in #55833 - [12.x] Add template variables to scope by @wietsewarendorff in #55830
- [12.x] Introducing
toUri
to theStringable
Class 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_keys
validation rule to check for presence of specified array keys by @stevebauman in #55807 - [12.x] Add
Rule::contains
by @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
&assertExactJsonStructure
methods 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
getCountForPagination
on an Eloquent\Builder by @cosmastech in #55752 - [12.x] Add
assertClientError
method toTestResponse
by @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
preventsLazyLoading
exception when usingautomaticallyEagerLoadRelationships
by @devajmeireles in #55771 - [12.x] Add
hash
string 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_url
to Paginator by @mariomka in #55789 - Correct return type in PhpDoc for command fail method by @Muetze42 in #55783
- [12.x] Add
assertRedirectToAction
method 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::assertRedirectBack
by @GrahamCampbell in #55780