Laravel Version: 12.0.0
Status:
Active support
Recommendation:
Keep patch updated.
Latest Patch Release:
Major Version | Release date | Bug Fixes Until | Security Fixes Until | PHP Versions | Status |
---|---|---|---|---|---|
12 | February 24, 2025 | August 13, 2026 | February 4, 2027 | 8.2, 8.3, 8.4 |
ALL
|
Releases
12.18.0
12.17.0
12.16.0
12.15.0
12.14.1
12.14.0
12.13.0
12.12.0
12.11.1
12.11.0
12.10.2
12.10.1
12.10.0
12.9.2
12.9.1
12.9.0
12.8.0
12.8.1
12.7.2
12.7.0
12.7.1
12.6.0
12.5.0
12.4.1
12.4.0
12.3.0
12.2.0
12.1.1
12.1.0
12.0.0
12.0.1
12.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
12.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
12.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
12.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
12.14.1
- [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
- [10.x] Fix attribute name used on
Validator
instance within certain rule classes by @crynobone in #54943 - Add
Illuminate\Support\EncodedHtmlString
by @crynobone in #54737 - [11.x] Fix missing
return $this
forassertOnlyJsonValidationErrors
by @LeTamanoir in #55099 - [11.x] Fix
Illuminate\Support\EncodedHtmlString
from causing breaking change by @crynobone in #55149 - [11.x] Respect custom path for cached views by the
AboutCommand
by @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
message
template by @crynobone in #55530 - [11.x] Allows to toggle markdown email encoding by @crynobone in #55539
- [11.x] Fix
EncodedHtmlString
to ignore instance ofHtmlString
by @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
12.14.0
- [12.x] Support
useCurrent
on 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::preventStrayRequests
error propagation when usingHttp::pool
by @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
except
andexceptHidden
methods toContext
class by @xurshudyan in #55692 - [12.x] Container
currentlyResolving
utility by @jrseliga in #55684 - [12.x] Container
currentlyResolving
test 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
getCurrentlyAttachedPivots
wrongmorphClass
for 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
12.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
assertRedirectBack
assertion 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
whereAttachedTo
method 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
12.11.1
- Revert "[12.x]
ScheduledTaskFailed
not dispatched on scheduled task failing" by @taylorotwell in #55612 - [12.x] Resolve issue with BelongsToManyRelationship factory by @jackbayliss in #55608
12.11.0
- Add payload creation and original delay info to job payload by @taylorotwell in #55529
- Add config option to ignore view cache timestamps by @pizkaz in #55536
- [12.x] Dispatch NotificationFailed when sending fails by @rodrigopedra in #55507
- [12.x] Option to disable dispatchAfterResponse in a test by @gdebrauwer in #55456
- [12.x] Pass flags to custom Json::$encoder by @rodrigopedra in #55548
- [12.x] Use pendingAttributes of relationships when creating relationship models via model factories by @gdebrauwer in #55558
- [12.x] Fix double query in model relation serialization by @AndrewMast in #55547
- [12.x] Improve circular relation check in Automatic Relation Loading by @litvinchuk in #55542
- [12.x] Prevent relation autoload context from being serialized by @litvinchuk in #55582
- Remove
@internal
Annotation from$components
Property inInteractsWithIO
by @michaelnabil230 in #55580 - Ensure fake job implements job contract by @timacdonald in #55574
- [12.x] Fix
AnyOf
constructor parameter type by @axlon in #55577 - Sync changes to Illuminate components before release by @driesvints in #55591
- [12.x] Set class-string generics on
Enum
rule by @cosmastech in #55588 - [12.x] added detailed doc types to bindings related methods by @taka-oyama in #55576
- [12.x] Improve
@use
directive to support function and const modifiers by @rodolfosrg in #55583 - 12.x scheduled task failed not dispatched on scheduled task failing by @achrafAa in #55572
- [12.x] Introduce Reflector methods for accessing class attributes by @daniser in #55568
- [12.x] Typed getters for Arr helper by @tibbsa in #55567
12.10.2
- [12.x] Address Model@relationLoaded when relation is null by @rodrigopedra in #55531
12.10.1
- Revert "Use value() helper in 'when' method to simplify code" #55465 by @mohammadrasoulasghari in #55514
- [12.x] Use xxh128 when comparing views for changes by @shawnlindstrom in #55517
- [12.x] Ensure related models is iterable on
HasRelationships@relationLoaded()
by @rodrigopedra in #55519 - [12.x] Add Enum support for assertJsonPath in AssertableJsonString.php by @azim-kordpour in #55516
12.10.0
- Use value() helper in 'when' method by @mohammadrasoulasghari in #55465
- [12.x] Test
@use
directive without quotes by @osbre in #55462 - [12.x] Enhance Broadcast Events Test Coverage by @roshandelpoor in #55458
- [12.x] Add
Conditionable
Trait toFluent
by @michaelnabil230 in #55455 - [12.x] Fix relation auto loading with manually set relations by @patrickweh in #55452
- Add missing types to RateLimiter by @ClaudioEyzaguirre in #55445
- [12.x] Fix for global autoload relationships not working in certain cases by @litvinchuk in #55443
- [12.x] Fix adding
setTags
method on new cache flush events by @erikn69 in #55405 - Fix: Unique lock not being released after transaction rollback in ShouldBeUnique jobs with afterCommit() by @toshitsuna-otsuka in #55420
- [12.x] Extends
AsCollection
to map items into objects or other values by @DarkGhostHunter in #55383 - [12.x] Fix group imports in Blade
@use
directive by @osbre in #55461 - chore(tests): align test names with idiomatic naming style by @kauffinger in #55496
- Update compiled views only if they actually changed by @pizkaz in #55450
- Improve performance of Arr::dot method - 300x in some cases by @cyppe in #55495
- [12.x] Add tests for
CacheBasedSessionHandler
by @imanghafoori1 in #55487 - [12.x] Add tests for
FileSessionHandler
by @imanghafoori1 in #55484 - [12.x] Add tests for
DatabaseSessionHandler
by @imanghafoori1 in #55485 - [12.x] Fix many to many detach without IDs broken with custom pivot class by @amir9480 in #55490
- [12.x] Support nested relations on
relationLoaded
method by @tmsperera in #55471 - Bugfix for Cache::memo()->many() returning the wrong value with an integer key type by @bmckay959 in #55503
- [12.x] Allow Container to build
Migrator
from class name by @cosmastech in #55501
12.9.2
- [12.x] Fixed a bug in using
illuminate/console
in external apps by @andrey-helldar in #55430 - Disable SQLServer 2017 CI as
ubuntu-20.24
has been removed by @crynobone in #55425
12.9.1
- [12.x] Forward only passed arguments into Illuminate\Database\Eloquent\Collection::partition method by @MarekVikartovsky in #55422
- [12.x] Add test for complex context manipulation in Logger by @roshandelpoor in #55423
- [12.x] Remove unused var from
DumpCommand
by @cosmastech in #55431 - [12.x] Fix the serve command sometimes fails to destructure the request pool array by @tonysm in #55427
- [12.x] Changes to
package-lock.json
should triggernpm run build
by @crynobone in #55426
12.9.0
- Add types to ViewErrorBag by @AJenbo in #55329
- Add types to MessageBag by @AJenbo in #55327
- [12.x] add generics to commonly used methods in Schema/Builder by @taka-oyama in #55330
- Return frozen time for easier testing by @jasonmccreary in #55323
- Enhance DetectsLostConnections to Support AWS Aurora Credential Rotation Scenario by @msaifmfz in #55331
- [12.x] Rename test method of failedRequest() by @LKaemmerling in #55332
- feat: Add a callback to be called on transaction failure by @dshafik in #55338
- [12.x] Add withRelationshipAutoloading method to model by @litvinchuk in #55344
- [12.x] Enable HTTP client retries when middleware throws an exception by @27pchrisl in #55343
- [12.x] Fix Closure serialization error in automatic relation loading by @litvinchuk in #55345
- Add test for Unique validation rule with WhereIn constraints by @mohammadrasoulasghari in #55351
- Add @throws in doc-blocks by @mohammadrasoulasghari in #55361
- [12.x] Update
propagateRelationAutoloadCallbackToRelation
method doc-block by @derian-all-win-software in #55363 - [12.x] - Redis - Establish connection first, before set the options by @alexmontoanelli in #55370
- [12.x] Fix translation FileLoader overrides with a missing key by @fabio-ivona in #55342
- [12.x] Fix pivot model events not working when using the
withPivotValue
by @amir9480 in #55280 - [12.x] Introduce memoized cache driver by @timacdonald in #55304
- [12.x] Add test for Filesystem::lastModified() method by @roshandelpoor in #55389
- [12.x] Supports
pda/pheanstalk
7 by @crynobone in #55397 - [12.x] Add comprehensive filesystem operation tests to FilesystemTest by @roshandelpoor in #55399
- Bump vite from 5.4.17 to 5.4.18 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #55402
- Add descriptive error messages to assertViewHas() by @3Descape in #55392
- Use Generic Types Annotations for LazyCollection Methods by @mohammadrasoulasghari in #55380
- [12.x] Add test coverage for Process sequence with multiple env variables by @roshandelpoor in #55406
- [12.x] Fix cc/bcc/replyTo address merging in
MailMessage
by @onlime in #55404 - [12.x] Add a
make
function in theFluent
by @michaelnabil230 in #55417
12.8.0
- [12.x] only check for soft deletes once when mass-pruning by @cosmastech in #55274
- [12.x] Add createMany mass-assignment variants to
HasOneOrMany
relation by @onlime in #55262 - cosmetic: include is_array() case in match construct of getArrayableItems by @epic-64 in #55275
- Add tests for InvokeSerializedClosureCommand by @Amirhf1 in #55281
- [12.x] Temporarily prevents PHPUnit 12.1 by @crynobone in #55297
- [12.x] Test Improvements by @crynobone in #55306
- Bump vite from 5.4.12 to 5.4.17 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #55301
- [12.x] Test Improvements by @crynobone in #55307
- [12.x] add generics to array types for Schema Grammars by @taka-oyama in #55314
- [12.x] fix missing nullable for Query/Grammar::compileInsertGetId by @taka-oyama in #55311
- [12.x] Adds
fromJson()
to Collection by @DarkGhostHunter in #55310 - [12.x] Fix
illuminate/database
usage as standalone package by @crynobone in #55309 - Correct array key in InteractsWithInput by @AJenbo in #55287
- [12.x] Fix support for adding custom observable events from traits by @willrowe in #55286
- [12.x] Added Automatic Relation Loading (Eager Loading) Feature by @litvinchuk in #53655
- [12.x] Modify PHPDoc for Collection::chunkWhile functions to support preserving keys by @jsvdvis in #55324
- [12.x] Introduce Rule::anyOf() for Validating Against Multiple Rule Sets by @brianferri in #55191
12.8.1
No changelog available.
12.7.2
No changelog available.
12.7.0
- [12.x]
AbstractPaginator
should implementCanBeEscapedWhenCastToString
by @gdebrauwer in #55256 - [12.x] Add
whereAttachedTo()
Eloquent builder method by @bakerkretzmar in #55245 - Make Illuminate\Support\Uri Macroable by @riesjart in #55260
- [12.x] Add resource helper functions to Model/Collections by @TimKunze96 in #55107
- [12.x]: Use char(36) for uuid type on MariaDB < 10.7.0 by @boedah in #55197
- [12.x] Introducing
toArray
toComponentAttributeBag
class by @devajmeireles in #55258
12.7.1
No changelog available.
12.6.0
- [12.x] Dont stop pruning if pruning one model fails by @gdebrauwer in #55237
- [12.x] Update Date Facade Docblocks by @fdalcin in #55235
- Make
db:seed
command prohibitable by @spawnia in #55238 - [12.x] Introducing
Rules\Password::appliedRules
Method by @devajmeireles in #55206 - [12.x] Allowing merging model attributes before insert via
Model::fillAndInsert()
by @cosmastech in #55038 - [12.x] Fix type hints for DateTimeZone and DateTimeInterface on DateFactory by @AndrewMast in #55243
- [12.x] Fix DateFactory docblock type hints by @AndrewMast in #55244
- List missing
migrate:rollback
in DB::prohibitDestructiveCommands PhpDoc by @spawnia in #55252 - [12.x] Add
Http::requestException()
by @cosmastech in #55241 - New: Uri
pathSegments()
helper method by @chester-sykes in #55250 - [12.x] Do not require returning a Builder instance from a local scope method by @cosmastech in #55246
12.5.0
- Correct misspellings by @szepeviktor in #55218
- [12.x] Add ability to flush state on Vite helper by @timacdonald in #55228
- [12.x] Support taggeable store flushed cache events by @erikn69 in #55223
- Revert "[12.x] Support taggeable store flushed cache events" by @taylorotwell in #55232
- [12.x] Allow configuration of retry period for RoundRobin and Failover mail transports by @jnoordsij in #55222
- [12.x] Add --json option to EventListCommand by @hotsaucejake in #55207
12.4.1
- [12.x] Add
Expression
type to param$value
ofQueryBuilder
orHaving()
method by @faissaloux in #55202 - [12.x] Fix URL generation with optional parameters (regression in #54811) by @stancl in #55213
- [12.x] Fix failing tests on windows OS by @imanghafoori1 in #55210
12.4.0
- [12.x] Reset PHP’s peak memory usage when resetting scope for queue worker by @TimWolla in #55069
- [12.x] Add
AsHtmlString
cast by @ralphjsmit in #55071 - [12.x] Add
Arr::sole()
method by @ralphjsmit in #55070 - Improve warning message in
ApiInstallCommand
by @sajjadhossainshohag in #55081 - [12.x] use already determined
related
property by @browner12 in #55075 - [12.x] use "class-string" where appropriate in relations by @browner12 in #55074
- [12.x]
QueueFake::listenersPushed()
by @cosmastech in #55063 - [12.x] Added except() method to Model class for excluding attributes by @vishal2931 in #55072
- [12.x] fix: add TPivotModel default and define pivot property in {Belongs,Morph}ToMany by @calebdw in #55086
- [12.x] remove
@return
docblocks on constructors by @browner12 in #55076 - [12.x] Add NamedScope attribute by @shaedrich in #54450
- [12.x] Improve syntax highlighting for stub type files by @kayw-geek in #55094
- [12.x] Prefer
new Collection
overCollection::make
by @AhmedAlaa4611 in #55091 - [12.x] Fix except() method to support casted values by @vishal2931 in #55124
- [12.x] Add testcase for findSole method by @mrvipchien in #55115
- [12.x] Types: PasswordBroker::reset by @liamduckett in #55109
- [12.x] assertThrowsNothing by @gdebrauwer in #55100
- [12.x] Fix type nullability on PasswordBroker.events property by @jnoordsij in #55097
- [12.x] Fix return type annotation in decrementPendingJobs method by @shane-zeng in #55133
- [12.x] Fix return type annotation in compile method by @shane-zeng in #55132
- [12.x] feat: Add
whereNull
andwhereNotNull
toAssertablejson
by @faissaloux in #55131 - [12.x] fix: use contextual bindings in class dependency resolution by @calebdw in #55090
- Better return types for
Illuminate\Queue\Jobs\Job::getJobId()
andIlluminate\Queue\Jobs\DatabaseJob::getJobId()
methods by @petrknap in #55138 - Remove remaining @return tags from constructors by @mohammadrasoulasghari in #55136
- [12.x] Various URL generation bugfixes by @stancl in #54811
- Add an optional
shouldRun
method to migrations. by @danmatthews in #55011 - [12.x]
Uri
prevent empty query string by @rojtjo in #55146 - [12.x] Only call the ob_flush function if there is active buffer in eventStream by @tonysm in #55141
- [12.x] Add CacheFlushed Event by @tech-wolf-tw in #55142
- [12.x] Update DateFactory method annotations for Carbon v3 compatibility by @kayw-geek in #55151
- [12.x] Improve docblocks for file related methods of InteractsWithInput by @SanderMuller in #55156
- [12.x] Enhance
FileViewFinder
doc-blocks by @imanghafoori1 in #55183 - Support using null-safe operator with
null
value by @willrowe in #55175 - [12.x] Fix: Make Paginated Queries Consistent Across Pages by @tomchkk in #55176
- [12.x] Add
pipe
method query builders by @timacdonald in #55171 - [12.x] fix: one of many subquery constraints by @calebdw in #55168
- [12.x] fix(postgres): missing parentheses in whereDate/whereTime for json columns by @saibotk in #55159
- Fix factory creation through attributes by @davidstoker in #55190
- [12.x] Fix Concurrency::run to preserve callback result order by @chaker2710 in #55161
- [12.x] Log: Add optional keys parameter to
Log::withoutContext
to remove selected context from future logs by @mattroylloyd in #55181 - [12.x] Add
Expression
type to param$value
ofQueryBuilder
having()
method by @faissaloux in #55200 - [12.x] Add flag to disable where clauses for
withAttributes
method on Eloquent Builder by @AndrewMast in #55199
12.3.0
- [12.x] fixes laravel/octane#1010 by @mihaileu in #55008
- Added the missing 'trashed' event to getObservablesEvents() by @duemti in #55004
- [12.x] Enhance PHPDoc for Manager classes with
@param-closure-this
by @kayw-geek in #55002 - [12.x] Fix
PendingRequest
typehints forpost
,patch
,put
,delete
by @cosmastech in #54998 - [12.x] Add test for untested methods in LazyCollection by @mohammadrasoulasghari in #54996
- [12.x] fix indentation by @browner12 in #54995
- [12.x] apply final Pint fixes by @browner12 in #55014
- Enhance validation tests: Add test for connection name detection in Unique rule by @alikhosravidev in #54993
- [12.x] Add json:unicode cast to support JSON_UNESCAPED_UNICODE encoding by @fuwasegu in #54992
- [12.x] Add “Storage Linked” to the
about
command by @adampatterson in #54949 - [12.x] Add support for native JSON/JSONB column types in SQLite Schema builder by @fuwasegu in #54991
- [12.x] Fix
LogManager::configurationFor()
typehint by @cosmastech in #55016 - [12.x] Add missing tests for LazyCollection methods by @mohammadrasoulasghari in #55022
- [12.x] Refactor: Structural improvement for clarity by @AhmedAlaa4611 in #55018
- Improve
toKilobytes
to handle spaces and case-insensitive units by @alikhosravidev in #55019 - [12.x] Fix mistake in
asJson
call inHasAttributes.php
that was recently introduced by @AndrewMast in #55017 - [12.x] reapply Pint style changes by @browner12 in #55015
- Add validation test for forEach with null and empty array values by @alikhosravidev in #55047
- [12.x] Types: EnumeratesValues Sum by @liamduckett in #55044
- [12.x] Ensure Consistent Formatting in Generated Invokable Classes by @AhmedAlaa4611 in #55034
- Add element type to return array in Filesystem by @AJenbo in #55031
- [12.x] Add support for PostgreSQL "unique nulls not distinct" by @thierry2015 in #55025
- [12.x] standardize multiline ternaries by @browner12 in #55056
- [12.x] improved readability for
aliasedPivotColumns
by @browner12 in #55055 - [12.x] remove progress bar from PHPStan output by @browner12 in #55054
- [12.x] Fixes how the fluent Date rule builder handles
date_format
by @AndrewMast in #55052 - Adding SSL encryption and support for MySQL connection by @mdiktushar in #55048
- Revert "Adding SSL encryption and support for MySQL connection" by @taylorotwell in #55057
- Ensure queue property is nullable by @timacdonald in #55058
- [12.x] return
$this
for chaining by @browner12 in #55060 - [12.x] prefer
new Collection
overcollect()
by @browner12 in #55059 - [12.x] use "class-string" type for
using
pivot model by @browner12 in #55053 - [12.x] multiline chaining on Collections by @browner12 in #55061
12.2.0
- Add dates to allowed PHPDoc types of Builder::having() by @miken32 in #54899
- [11.x] Fix double negative in
whereNotMorphedTo()
query by @owenvoke in #54902 - Add test for Arr::partition by @liamduckett in #54913
- [11.x] Expose process checkTimeout method by @mattmcdev in #54912
- [12.x] Compilable for Validation Contract by @peterfox in #54882
- [11.x] Backport "Change
paginate()
method return types to\Illuminate\Pagination\LengthAwarePaginator
" by @carestad in #54917 - [11.x] Revert faulty change to
EnumeratesValues::ensure()
doc block by @axlon in #54919 - Ensure ValidationEmailRuleTest skips tests requiring the intl extension when unavailable by @alikhosravidev in #54918
- âś… Ensure Enum validation is case-sensitive by adding a new test case. by @alikhosravidev in #54922
- [12.x] Feature: Collection chunk without preserving keys by @liamduckett in #54916
- [12.x] Add test coverage for Uri::withQueryIfMissing method by @mohammadrasoulasghari in #54923
- Fix issue with using RedisCluster with compression or serialization by @rzv-me in #54934
- [12.x] Add test coverage for Str::replaceMatches method by @mohammadrasoulasghari in #54930
- [12.x] Types: Collection chunk without preserving keys by @liamduckett in #54924
- [12.x] Add
ddBody
method to TestResponse for dumping various response payloads by @Sammyjo20 in #54933 - [11.x] Backport "Fix issue with using
RedisCluster
with compression or serialization" by @rzv-me in #54935 - [12.x] feat: add
CanBeOneOfMany
support toHasOneThrough
by @calebdw in #54759 - [12.x] Hotfix - Add function_exists check to ddBody in TestResponse by @Sammyjo20 in #54937
- [12.x] Refactor: Remove unnecessary variables in Str class methods by @mohammadrasoulasghari in #54963
- Add Tests for Str::pluralPascal Method by @mohammadrasoulasghari in #54957
- [12.x] Fix visibility of setUp and tearDown in tests by @naopusyu in #54950
- [12.x] Test Improvements by @crynobone in #54944
- Fix missing return in
assertOnlyInvalid
by @parth391 in #54941 - Handle case when migrate:install command is called and table exists by @joe-tito in #54938
- [11.x] Fix callOnce in Seeder so it handles arrays properly by @lbovit in #54985
- Change "exceptoin" spelling mistake to "exception" by @hvlucas in #54979
- [12.x] Add test for after method in LazyCollection by @mohammadrasoulasghari in #54978
- [12.x] Add
increment
anddecrement
methods toContext
by @mattmcdev in #54976 - Ensure ExcludeIf correctly rejects a null value as an invalid condition by @alikhosravidev in #54973
- [12.x] apply Pint rule "no_spaces_around_offset" by @browner12 in #54970
- [12.x] apply Pint rule "single_line_comment_style" by @browner12 in #54969
- [12.x] do not use mix of newline and inline formatting by @browner12 in #54967
- [12.x] use single indent for multiline ternaries by @browner12 in #54971
12.1.1
- [11.x] Add valid values to ensure method by @lancepioch in #54840
- Fix attribute name used on
Validator
instance within certain rule classes by @crynobone in #54845 - [11.x] Fix
Application::interBasePath()
fails to resolve application when project name is "vendor" by @crynobone in #54871 - [11.x] Test improvements by @crynobone in #54879
- [12.x] DocBlock: Changed typehint for
Arr::partition
method by @AndrewMast in #54896 - Enhance Email and Image Dimensions Validation Tests by @alikhosravidev in #54897
- [12.x] Apply default styling rules to the notification stub by @ahinkle in #54895
12.1.0
- [12.x] Test Improvements by @crynobone in #54782
- [12.x] Fix incorrect typehints in
BuildsWhereDateClauses
traits by @mohprilaksono in #54784 - [12.x] Improve queries readablility by @hafezdivandari in #54791
- [12.x] Enhance eventStream to Support Custom Events and Start Messages by @devhammed in #54776
- [12.x] Make the PendingCommand class tappable. by @kevinb1989 in #54801
- [12.x] Add missing union type in event stream docblock by @devhammed in #54800
- Change return types of
paginage()
methods to\Illuminate\Pagination\LengthAwarePaginator
by @carestad in #54826 - [12.x] Check if internal
Hasher::verifyConfiguration()
method exists on driver before forwarding call by @rodrigopedra in #54833 - [11.x] Fix using
AsStringable
cast on Notifiable's key by @crynobone in #54818 - Add Tests for Handling Null Primary Keys and Special Values in Unique Validation Rule by @alikhosravidev in #54823
- Improve docblock for with() method to clarify it adds to existing eag… by @igorlealantunes in #54838
- [12.x] Fix dropping schema-qualified prefixed tables by @hafezdivandari in #54834
- [12.x] Add
Context::scope()
by @cosmastech in #54799 - Allow Http requests to be recorded without requests being faked by @kemp in #54850
- [12.x] Adds a new method "getRawSql" (with embedded bindings) to the QueryException class by @erickcomp in #54849
- Update Inspiring.php by @ju-gow in #54846
- [12.x] Correct use of named argument in
Date
facade and fix a return type. by @lmottasin in #54847 - Add additional tests for Rule::array validation scenarios by @alikhosravidev in #54844
- [12.x] Remove return statement by @mohprilaksono in #54842
- Fix typos by @co63oc in #54839
- [12.x] Do not loop through middleware when excluded is empty by @cosmastech in #54837
- Add test for Arr::reject method in Illuminate Support by @mohammadrasoulasghari in #54863
- [12.x] Feature: Array partition by @liamduckett in #54859
- [12.x] Introduce
ContextLogProcessor
by @cosmastech in #54851
12.0.0
- [12.x] Prep Laravel v12 by @driesvints in #50406
- [12.x] Make
Str::is()
match multiline strings by @SjorsO in #51196 - [12.x] Use native MariaDB CLI commands by @staudenmeir in #51505
- [12.x] Adds missing streamJson() to ResponseFactory contract by @wilsenhc in #51544
- [12.x] Preserve numeric keys on the first level of the validator rules by @Tofandel in #51516
- [12.x] Test Improvements by @crynobone in #52248
- [12.x] mergeIfMissing allows merging with nested arrays by @KIKOmanasijev in #52242
- [12.x] Fix chunked queries not honoring user-defined limits and offsets by @tonysm in #52093
- [12.x] Replace md5 with much faster xxhash by @GrahamCampbell in #52301
- [12.x] Switch models to UUID v7 by @staudenmeir in #52433
- [12.x] Improved algorithm for Number::pairs() by @hotmeteor in #52641
- Removed Duplicated Prefix on DynamoDbStore.php by @felipehertzer in #52986
- [12.x] feat: configure default datetime precision on per-grammar basis by @calebdw in #51821
- [12.x] Test Improvements by @crynobone in #53150
- [12.x] Fix laravel/prompt dependency version constraint for illuminate/console by @wouterj in #53146
- [12.x] Add generic return type to Container::instance() by @axlon in #53161
- Map output of concurrecy calls to the index of the input by @ovp87 in #53135
- Change Composer hasPackage to public by @buihanh2304 in #53282
- [12.x] force
Eloquent\Collection::partition
to return a baseCollection
by @browner12 in #53304 - [12.x] Better support for multi-dbs in the
RefreshDatabase
trait by @tonysm in #53231 - [12.x] Validate UUID's version optionally by @shaedrich in #53341
- [12.x] Validate UUID version 2 and max by @shaedrich in #53368
- [12.x] Add step parameter to LazyCollection range method by @Ashot1995 in #53473
- [12.x] Test Improvements by @crynobone in #53524
- [12.x] Avoid breaking change
RefreshDatabase::usingInMemoryDatabase()
by @crynobone in #53587 - [12.x] fix: container resolution order when resolving class dependencies by @calebdw in #53522
- [12.x] Change the default for scheduled command
emailOutput()
to only send email if output exists by @onlime in #53774 - [12.x] Add
hasMorePages()
toCursorPaginator
contract by @KennedyTedesco in #53762 - [12.x] modernize
DatabaseTokenRepository
and make consistent withCacheTokenRepository
by @browner12 in #53746 - [12.x] chore: remove support for Carbon v2 by @calebdw in #53825
- [12.x] use promoted properties for Auth events by @browner12 in #53847
- [12.x] use promoted properties for Database events by @browner12 in #53848
- [12.x] use promoted properties for Console events by @browner12 in #53851
- [12.x] use promoted properties for Mail events by @browner12 in #53852
- [12.x] use promoted properties for Notification events by @browner12 in #53853
- [12.x] use promoted properties for Routing events by @browner12 in #53854
- [12.x] use promoted properties for Queue events by @browner12 in #53855
- [12.x] Restore database token repository property documentation by @shaedrich in #53908
- [12.x] Use reject() instead of a negated filter() by @shaedrich in #53925
- [12.x] Use first-class callable syntax to improve static analysis by @shaedrich in #53924
- [12.x] add type declarations for Console Events by @browner12 in #53947
- [12.x] use type declaration on property by @browner12 in #53970
- [12.x] Update Symfony and PHPUnit dependencies by @crynobone in #54019
- [12.x] Allow
when()
helper to accept Closure condition parameter by @ziadoz in #54005 - [12.x] Add test for collapse in collections by @amirmohammadnajmi in #54032
- [12.x] Add test for benchmark utilities by @amirmohammadnajmi in #54055
- [12.x] Fix once() cache when used in extended static class by @FrittenKeeZ in #54094
- [12.x] Ignore querystring parameters using closure when validating signed url by @gdebrauwer in #54104
- Make
dropForeignIdFor
method complementary toforeignIdFor
by @willrowe in #54102 - Allow scoped disks to be scoped from other scoped disks by @willrowe in #54124
- [12.x] Add test for Util::getParameterClassName() by @amirmohammadnajmi in #54209
- Improve eloquent attach parameter consistency by @fabpl in #54225
- [12.x] Enhance multi-database support by @hafezdivandari in #54274
- [12.x] Fix Session's
getCookieExpirationDate
incompatibility with Carbon 3 by @crynobone in #54313 - [12.x] Update minimum PHPUnit versions by @crynobone in #54323
- [12.x] Prevent XSS vulnerabilities by excluding SVGs by default in image validation by @SanderMuller in #54331
- [12.x] Convert interfaces from docblock to method by @crynobone in #54348
- [12.x] Validate paths for UTF-8 characters by @Jubeki in #54370
- [12.x] Fix aggregate alias when using expression by @iamgergo in #54418
- Added flash method to Session interface to fix IDE issues by @eldair in #54421
- Adding the withQueryString method to the paginator interface. by @dvlpr91 in #54462
- [12.x] feat: --memory=0 should mean skip memory exceeded verification (Breaking Change) by @mathiasgrimm in #54393
- Auto-discover nested policies following conventional, parallel hierarchy by @jasonmccreary in #54493
- [12.x] Reintroduce PHPUnit 10.5 supports by @crynobone in #54490
- [12.x] Allow limiting bcrypt hashing to 72 bytes to prevent insecure hashes. by @waxim in #54509
- [12.x] Fix accessing
Connection
property inGrammar
classes by @hafezdivandari in #54487 - [12.x] Configure connection on SQLite connector by @hafezdivandari in #54588
- [12.x] Introduce Job@resolveQueuedJobClass() by @cosmastech in #54613
- [12.x] Bind abstract from concrete's return type by @peterfox in #54628
- [12.x] Query builder PDO fetch modes by @bert-w in #54443
- [12.x] Fix Illuminate components
composer.json
by @crynobone in #54700 - [12.x] Bump minimum
brick/math
by @crynobone in #54694 - [11.x] Fix parsing
PHP_CLI_SERVER_WORKERS
asstring
instead ofint
by @crynobone in #54724 - [11.x] Rename Redis parse connection for cluster test method to follow naming conventions by @jackbayliss in #54721
- [11.x] Allow
readAt
method to use in database channel by @utsavsomaiya in #54729 - [11.x] Fix: Custom Exceptions with Multiple Arguments does not properly rein… by @pandiselvamm in #54705
- [11.x] Update ConcurrencyTest exception reference to use namespace by @jackbayliss in #54732
- [11.x] Deprecate
Factory::$modelNameResolver
by @samlev in #54736 - Update
config/app.php
to reflect laravel/laravel change for compatibility by @askdkc in #54752 - [11x.] Improved typehints for
InteractsWithDatabase
by @cosmastech in #54748 - [11.x] Improved typehints for
InteractsWithExceptionHandling
&&ExceptionHandlerFake
by @cosmastech in #54747 - Add Env::extend to support custom adapters when loading environment variables by @andrii-androshchuk in #54756
- [12.x] Sync
filesystem.disk.local
configurations by @crynobone in #54764
12.0.1
No changelog available.