Releases: laravel/framework
Releases · laravel/framework
v13.7.0
- [13.x] Apply rector fixes by @lucasmichot in #59787
- Support enum in LazyCollection -> keyBy() by @Back1ng in #59809
- [13.x] Add enum support to ConcurrencyManager driver method by @maherelgamil in #59801
- [13.x] Allow arrays for assertSoftDeleted & assertNotSoftDeleted by @jackbayliss in #59796
- [13.x] Extract exception context in
JsonFormatterwhenExceptionHandleris not bound by @cosmastech in #59799 - [13.x] Add isLocked to the Lock class by @jackbayliss in #59791
- Fix route registration for domain-scoped routes by @Bottelet in #59793
- [13.x] Mark
Scope@applybuilder parameter as having covariant template by @jnoordsij in #59790 - [13.x] Allowing
DebounceForattribute to be inherited by @TWithers in #59795 - [13.x] Fix PendingDispatch resolving Cache for every dispatched job by @sumaiazaman in #59821
- [13.x] Add bulk JSON path assertions to TestResponse by @cyrodjohn in #59829
- [13.x] Fix false positives in LazyCollection::has() for duplicate keys by @Button99 in #59832
- [13.x] Add UnitEnum type support for $limiterName on RateLimitedWithRedis by @trippo in #59841
- [13.x] Allow jobs to react to worker signals by @jackbayliss in #59833
- [13.x] Honor empty JSON:API sparse fieldsets by @prateekbhujel in #59813
- [13.x] Fix flaky DynamoBatchTest timing assertions by @sumaiazaman in #59844
- [13.x] Memoize credentials in SqsConnector by @kieranbrown in #59866
- [13.x] Disable pausing on managed queue workers by @kieranbrown in #59870
- [13.x] Fix getMigrationBatches return type annotation by @mahfuz-rahman007 in #59876
- [13.x] Fix PHPDoc typo in MigrationRepositoryInterface by @mahfuz-rahman007 in #59875
- [13.x] Add UnitEnum support to Cache Repository touch method by @shane-zeng in #59864
- [13.x] Prevent array query params from bypassing signed URL validation by @maherelgamil in #59860
- [13.x] Add enum support to setDefaultDriver in QueueManager, LogManager, and SessionManager by @maherelgamil in #59861
- [13.x] Add enum support to RedisManager purge method by @genius-asif-hub in #59857
- [13.x] Fix factory hasAttached method pivot JSON attribute handling by @rmd974 in #59856
- [13.x] Implement CanFlushLocks on NullStore and MemoizedStore by @sumaiazaman in #59850
- [13.x] Introduce WorkerInterrupted event by @jackbayliss in #59848
- [13.x] Fix MigrationRepositoryInterface return type docblocks (object vs array) by @mosabbirrakib in #59887
- int argument for Collection::sortBy() by @lorenzolosa in #59894
- [13.x] Add detailed @return shape to Schema\Builder::getForeignKeys by @maherelgamil in #59903
- [13.x] Fix EloquentModelDecimalCastingTest assertion across brick/math versions by @maherelgamil in #59904
- [13.x] Correct Lock getCurrentOwner @return type to string|null by @mosabbirrakib in #59890
- [13.x] Correct Batch fresh and add @return to self|null by @mosabbirrakib in #59891
- [13.x] Align Mailable::cc @return with sibling fluent methods by @mosabbirrakib in #59892
- [13.x] Add support for
SortDirectionenum to collections and Arr by @jnoordsij in #59859 - Add @fonts Blade directive and Vite font optimization runtime by @WendellAdriel in #59584
- [13.x] Refactor: add
matchby @alipowerful7 in #59914 - [13.x] Refactor: remove unnecessary call function by @alipowerful7 in #59915
- [13.x] Refactor: improve tests by @alipowerful7 in #59912
- Align Enumerable all, times and range @return with implementations by @mosabbirrakib in #59911
- Align Enumerable search and flatten @return with implementations by @mosabbirrakib in #59910
- Specify Translation Loader namespaces shape by @mosabbirrakib in #59913
- Fix duplicate type key in getTypes/processTypes return shape by @mosabbirrakib in #59909
- int argument for sortByDesc and Enumerable sort methods by @mosabbirrakib in #59907
- Match processForeignKeys return shape to Builder::getForeignKeys by @mosabbirrakib in #59908
v12.58.0
- [12.x] Memoize credentials in SqsConnector by @kieranbrown in #59867
v12.57.0
- Preserve types on partialMock() and spy() by @AJenbo in #59384
- Fix missing UnitEnum support in ModelNotFoundException by @jtheuerkauf in #59423
- [12.x] Fix macros with static closures by @FeBe95 in #59449
- Correct Storage::fake() return type by @AJenbo in #59469
- [12.x] Fix callable type for freezeTime, freezeSecond, and travelTo by @nbayramberdiyev in #59466
- [12.x] Support string abstract in mock/partialMock/spy PHPDoc by @kayw-geek in #59477
- Document thrown exceptions in FilesystemAdapter by @AJenbo in #59534
- Hint \Redis
@mixinon Connection by @AJenbo in #59532 - [12.x] Use PDO subclass polyfill by @jnoordsij in #59640
- [12.x] Fix infinite rate limiter TTL on custom increments by @paulandroshchuk in #59693
- [12.x] Support named credential providers for SQS queue connections by @kieranbrown in #59754
- [12.x] Prevent array to string conversion in signature validation by @alies-dev in #59778
v13.6.0
- [13.x] Use
version_comparefunction by @lucasmichot in #59687 - [13.x] Flip misordered assertions arguments by @lucasmichot in #59691
- [13.x] Remove unused variable in
catch()by @lucasmichot in #59689 - [13.x] Fix number abbreviation rollover between unit tiers by @Button99 in #59692
- [13.x ]Use Null and Isset coalescing when possible by @lucasmichot in #59690
- [13.x] Change
countarray comparison to empty array comparison to improve performance by @lucasmichot in #59688 - [13.x] testsuite by @lucasmichot in #59702
- [13.x] Enforce static calls by @lucasmichot in #59704
- [13.x] Allow Table Attribute on child to override parent by @jackbayliss in #59701
- [13.x] Return null from Cursor::fromEncoded for malformed payloads by @bipinks in #59699
- [13.x] Port forward rate limiter fix by @paulandroshchuk in #59706
- [13.x] Add debounceable queued jobs by @matthewnessworthy in #59507
- [13.x] Support JSON responses for the built-in health route by @WendellAdriel in #59710
- [13.x] Ensure Queue::route string defaults to queue only by @jackbayliss in #59711
- [13.x] Fix failOnUnknownFields query parameter handling by @cyrodjohn in #59728
- [13.x] Fix flaky QueueWorkerTest by freezing time before computing retryUntil by @bipinks in #59727
- [13.x] Allow array of pivot arrays to be passed to hasAttached by @jackbayliss in #59723
- [13.x] Fix TypeError in digits_between validation rule on non-string values by @sumaiazaman in #59717
- [13.x] Add enum support to PasswordBrokerManager by @sumaiazaman in #59714
- [13.x] Add enum support to BroadcastManager by @sumaiazaman in #59713
- Change attempts column type from tiny to small integer by @ju-gow in #59718
- [13.x] Get rid of useless Mockery::close by @lucasmichot in #59730
- [13.x] Fix Vite CSS not loaded from nested chunk imports by @karim1999 in #59662
- [13.x] Support named credential providers for SQS queue connections by @kieranbrown in #59733
- [13.x] Enforce stricter assertions by @lucasmichot in #59749
- [13.x] Cast to string before preg_match in decimal, max_digits, and min_digits rules by @sumaiazaman in #59739
- [13.x] Ignore PHPUnit security advisory GHSA-qrr6-mg7r-m243 by @sumaiazaman in #59761
- [13.x] Allow assertDatabase has & missing to accept arrays by @jackbayliss in #59752
- [13.x ] Normalize Carbon by @lucasmichot in #59750
- [13.x] Implement CanFlushLocks on FailoverStore by @sumaiazaman in #59738
- [13.x] Validate MAC across all decryption keys by @ma32kc in #59742
- [13.x] Use generic TModel in additional places in Factory class by @jnoordsij in #59780
- [13.x] Ensure assertModelMissing and assertModelExists dont silently pass by @jackbayliss in #59772
- [13.x] Introduce
JsonFormatterby @cosmastech in #59756 - [13.x] Add prefersJsonResponses() to the application builder by @WendellAdriel in #59753
- [13.x] Add support for Cloudflare Email Service by @dwightwatson in #59735
- [13.x] Add enum support to NotificationChannelManager channel and driver methods by @yousefkadah in #59783
v13.5.0
- [13.x] Support #[Delay] attribute on queued mailables by @sumaiazaman in #59580
- [13.x] Added inheritance support for Controller Middleware attributes. by @niduranga in #59597
- [13.x] Normalize phpredis SSL context for single and cluster connections by @timmylindh in #59569
- [13.x] Memoize the result of
TestCase@withoutBootingFramework()by @cosmastech in #59610 - [13.x] Add missing @throws and docblocks for concurrency and model in… by @scabarcas17 in #59602
- [13.x] Fix that retries of
ShouldBeUniqueUntilProcessingjobs are force-releasing locks they don't own by @kohlerdominik in #59567 - [13.x] Add first-class Redis Cluster support for Queue and ConcurrencyLimiter by @timmylindh in #59533
- [13.x] chore: Update PHP version from 8.2 to 8.3 in
bin/test.shscript by @crynobone in #59605 - [13.x] Fix RedisQueueTest by @jackbayliss in #59613
- [13.x] Add enum support to CacheManager store and driver methods by @yousefkadah in #59637
- [13.x] Fix redirectUsersTo() overwriting redirectGuestsTo() callback by @timmylindh in #59633
- [13.x] Add ability to detect unserializable values returned from cache by @jackbayliss in #59630
- [13.x] Fix loose comparison false positive in NotPwnedVerifier with magic hash passwords by @scabarcas17 in #59644
- [13.x] Refactor
Skipmiddleware by @cosmastech in #59651 - [13.x] Resolve stan errors on MySqlSchemaState by @jackbayliss in #59652
- [13.x] Allow closure values in updateOrCreate and firstOrNew by @yousefkadah in #59647
- [13.x] Add enum support to MailManager mailer and driver methods by @yousefkadah in #59645
- [13.x] Add enum support to AuthManager guard and shouldUse methods by @yousefkadah in #59646
- [13.x] Add spatie/fork to composer suggestions by @jnoordsij in #59660
- [13.x] Add enum support to Manager driver method by @scabarcas17 in #59659
- [13.x] Fix custom driver binding bug and improve by @ollieread in #59614
- [13.x] Improve PHPDoc for "safe" method with conditional return type by @leo95batista in #59684
- [13.x] Bump Retry action in CI by @jackbayliss in #59681
- [13.x] Move Scope interface @template from method-level to class-level to fix LSP violation by @kayw-geek in #59675
- [13.x] Combine consecutive
issetandunsetby @lucasmichot in #59685 - [13.x] Changes
strlencomparison to 0 to direct empty string compare by @lucasmichot in #59686
v13.4.0
- [13.x] Fix missing
Illuminate\Queue\Attributes\Delayattribute by @fadez in #59504 - [13.x] Fix
$request->interval()failing with very small float values by @SanderMuller in #59502 - [13.x] Add pint.json to export-ignore by @axlon in #59497
- [13.x] Add --ignore-scripts to yarn in BroadcastingInstallCommand by @sumaiazaman in #59494
- [13.x] Fix static closure binding in remaining manager classes by @sumaiazaman in #59493
- [13.x] Fix CollectedBy attribute not resolving through abstract parent classes by @jackbayliss in #59488
- [13.x] Fix: Allow runtime property overrides (onQueue) to take precedence over class attributes by @niduranga in #59468
- [13.x] Use #[Delay] attribute in Bus Dispatcher by @sumaiazaman in #59514
- [13.x] Use #[Delay] attribute in NotificationSender by @sumaiazaman in #59513
- [13.x] Add
overflowoption to Carbon plus and minus by @lucasmichot in #59509 - [13.x] Fix: respect null redirect in unauthenticated exception handler by @timmylindh in #59505
- [13.x] Fix TypeError in starts_with/ends_with validation rules on non-string values by @sumaiazaman in #59541
- [13.x] allow null to be passed directly to redirectGuestsTo() by @timmylindh in #59526
- Revert "[13.x] Remove unnecessary clone in SessionManager to prevent duplicate Redis connections" by @taylorotwell in #59542
- [13.x] Fix deprecation warning in Contains and DoesntContain rules when values contain null by @sumaiazaman in #59561
- [13.x] Fix Str::markdown() and Str::inlineMarkdown() crash on null input by @sumaiazaman in #59554
- [13.x] Add queue methods to inspect jobs by @jackbayliss in #59511
- Feature/form request strict mode by @NurullahDemirel in #59430
- Bump vite from 7.3.1 to 7.3.2 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot[bot] in #59571
- [13.x] Fix deprecation warning in In and NotIn rules when values contain null by @sumaiazaman in #59576
- [13.x] Add flushState to FormRequest to reset global strict mode between tests by @sumaiazaman in #59574
- [13.x] Fix
#[WithoutRelations]queue attribute not being inherited by child classes by @stevebauman in #59568
v13.3.0
- [13.x] Forward releaseOnTerminationSignals through schedule groups by @jackbayliss in #59357
- [13.x] Fix sub-minute scheduling skips at minute boundaries by @JoshSalway in #59331
- [13.x] Display memory usage in verbose queue worker output by @jackbayliss in #59379
- [13.x] Update WithoutOverlapping@shared() for clarity by @cosmastech in #59375
- [13.x] Fix dependency injection of faked queueing dispatcher by @axlon in #59378
- [13.x] Fix incrementEach/decrementEach to scope to model instance by @JoshSalway in #59376
- [13.x] Add array value types to Support module docblocks by @Anthony14FR in #59383
- [13.x] Add lost connection to WorkerStopReason by @jackbayliss in #59370
- [13.x] MariaDbSchemaState uses mysql --version for client detection instead of mariadb --version by @kylemilloy in #59360
- [13.x] Add enum support to QueueManager connection methods by @sumaiazaman in #59389
- [13.x] Setup rector by @lucasmichot in #59385
- [13.x] Improve
Arr::whereNotNull()docs by @axlon in #59411 - [13.x] Pass request to afterResponse callback by @bilfeldt in #59410
- [13.x] Add isNotEmpty() method to Uri class by @sumaiazaman in #59408
- [13.x] Add missing capitalize parameter to Stringable::initials() by @sumaiazaman in #59407
- [13.x] Fix trait initializer collision with Attribute parsing by @sadique-cws in #59404
- [13.x] Add session to supported drivers comment by @jackbayliss in #59399
- [13.x] Add
->file()method to$request->safe()by @SanderMuller in #59396 - [13.x] Add enum support to LogManager channel and driver methods by @sumaiazaman in #59391
- [13.x] Fix MorphTo eager load matching when ownerKey is null and result key is a non-primitive by @wietsewarendorff in #59394
- [13.x] Remove unnecessary clone in SessionManager to prevent duplicate Redis connections by @JoshSalway in #59323
- [13.x] Use FQCN for Str in exception renderer blade templates by @bankorh in #59412
- Allow variadic args for model attributes by @jasonmccreary in #59421
- [13.x] CollectedBy Attribute should follow inheritence by @jackbayliss in #59419
- [13.x] Fix deprecation notice in JSON:API resources by @alihamze in #59418
- [13.x] Add withoutFragment() method to Uri class by @sumaiazaman in #59413
- [13.x] Fix macros with static closures by @FeBe95 in #59414
- [13.x] Fix sum() docblock to include key parameter in callback signature by @sumaiazaman in #59444
- [13.x] Add assertHasNoAttachments() method to Mailable by @sumaiazaman in #59443
- [13.x] Add a driver method to the MailFake class by @kevinb1989 in #59448
- [13.x] Cache getLockForPopping() result in DatabaseQueue by @sumaiazaman in #59435
- [13.x] prefer
new Collection()overcollect()helper by @browner12 in #59453 - [13.x] remove unnecessary
array_flip()calls by @browner12 in #59452 - Make Collection methods compatible with extended subclass constructors by @ProjektGopher in #59455
- [13.x]
UnitTesttest attribute by @cosmastech in #59432 - [13.x] prefer
isset()overin_array()for better performance by @browner12 in #59457 - [13.x] remove temporary variable by @browner12 in #59456
- [13.x] Add BatchStarted event by @jackbayliss in #59458
- [13.x] Preserve URI fragment when decoding query string by @Nipun404 in #59481
- fix: allow returning Stringable objects in casts()-method by @Bloemendaal in #59479
- [13.x] Fix manager breaking when called with static closure by @axlon in #59470
- Prevents installed package from executing malicious code via
postinstallininstall:broadcastingcommand by @duncanmcclean in #59485
v12.56.0
v11.51.0
v13.2.0
- feat(queue): support enums in
#[Queue]and#[Connection]by @innocenzi in #59278 - Improve raw SQL binding substitution performance by @gufoe in #59277
- [13.x] fix: add missing negate for SeeInHtml assertion by @jesperbeisner in #59303
- [13.x] Allow for passing enums to attributes by @riesjart in #59297
- [13.x] Add releaseOnSignal param to withoutOverlapping by @jackbayliss in #59298
- Add symmetrical, expressive attributes by @jasonmccreary in #59284
- [13.x] Fix LazyPromise::wait() signature compatibility with Guzzle's PromiseInterface by @shavonn in #59301
- [13.x]
schedule:listdisplay expression in the correct timezone by @xiCO2k in #59286 - Handle exceptions in eventStream to prevent fatal error by @WendellAdriel in #59292
- [13.x] Ensure connectUsing works with UnitEnum / FileManager drive docblock by @jackbayliss in #59306
- [13.x] Include columns and index in UniqueConstraintViolationException by @cosmastech in #59299
- [13.x] Add TimedOut worker stop reason by @jackbayliss in #59310
- Fix Table attribute incrementing not working for Pivot models by @sadique-cws in #59336
- [13.x] Ensure ScopedBy Attribute works with inheritance by @jackbayliss in #59332
- Modify sum callback to include item key by @mathieutu in #59322
- [13.x] Bound error page query listener to prevent memory bloat in Octane by @JoshSalway in #59309
- [13.x] Allow opting out of worker Job exception reporting by @jackbayliss in #59308
- [13.x] Adds mobile safe-area-inset support to exception renderer by @dr-codswallop in #59341
- [13.x] Allow passing multiple arrays to has factory method by @jackbayliss in #59343
- [13.x] Allow Backoff Attribute to be variadic by @jackbayliss in #59354