Releases: laravel/framework
Releases · laravel/framework
v12.51.0
- Remove type hint in favor of return type by @WendellAdriel in #58621
- [12.x] Adjust freshTimestamp for SQL Server by @aimeos in #58614
- [12.x] Handle binary data in Js::encode() debug renderer by @denis-chmel in #58618
- [12.x] Add ArrayObject props to AsEncryptedArrayObject to match AsArrayObject by @AndrewMast in #58619
- fix: Arr::wrap() return type by @calebdw in #58625
- [12.x] Fix typo in type definition by @shaedrich in #58624
- [12.x] Prevent dupe locale checks in
Lang::get()when locale matches fallback by @jackbayliss in #58626 - [12.x] chore: add deprecation to Request::get() by @calebdw in #58635
- [12.x] Fix Str::substrReplace for edge cases with negative offset or length by @jboonstra70 in #58634
- [12.x] Refactor: improve doc blocks by @alipowerful7 in #58630
- [12.x] Add BatchCancelled Event by @jackbayliss in #58627
- [12.x] Fix typo in type definition by @amirhshokri in #58638
- [12.x] Update
reloadtasks to includeschedule:interruptionby @adevade in #58637 - docs: add missing description to FilesystemAdapter::report() docblock by @eranishojha in #58640
- [12.x] Allow closures for values in
firstOrCreateandcreateOrFirstby @gcavanunez in #58639 - [12.x] Support
afterSendingmethod on notification by @gdebrauwer in #58654 - [12.x] Allow Stringable::deduplicate() to accept array of characters by @Tresor-Kasenda in #58649
- Update regex for trans_choice to allow negative ranges by @hmazter in #58648
- Added timeout method to query builder for MySQL by @Vladelis in #58644
- [12.x] Add
assertJobsmethod onPendingBatchFakeby @gdebrauwer in #58606 - [12.x] Fix batch counts when deleteWhenMissingModels skips missing model jobs by @yankewei in #58541
- [12.x] Fix Postgres sequence starting value for custom schemas/connections by @joteejotee in #58199
- [12.x] Add
whenFailsandwhenPassesmethods onValidatorby @gdebrauwer in #58655 - [12.x] Bus::assertBatched() with array by @gdebrauwer in #58659
- [12.x] Refactor: improve doc block by @alipowerful7 in #58677
- [12.x] Add withoutHeader() method to Response by @miladev95 in #58671
- [12.x] Add integer array key support in phpdocs by @dluague in #58668
Illuminate\Console\Parsertypehint fix. by @LastDragon-ru in #58670- fix: replace substr with mb_substr for user agent encoding by @jonagoldman in #58703
- chore: fix the Laravel ASCII SVG so that its characters perfectly align to columns by @markjaquith in #58702
- [12.x] Allow retrieving all view data via viewData() in TestResponse by @shane-zeng in #58700
- Exception page: fix pop in for non main frames by @martinpl in #58698
- [12.x] Add missing @throws annotations to validation rules and JsonResponse by @QDenka in #58697
- [12.x] Add conditional return type hint for Route::middleware() method. by @marcreichel in #58699
- [12.x] Improved type hints for when() helper function. by @marcreichel in #58696
- [12.x] Support Eloquent builders and relations as subqueries to update queries by @axlon in #58692
- Add cache prefix isolation for parallel testing (#57584) by @HeathNaylor in #58691
- Fix whereBetween to accept DatePeriod and handle missing end dates (#58092) by @HeathNaylor in #58687
- Fix Str::isUrl() returning false for single-char domain names (#58538) by @HeathNaylor in #58686
- Fix HTTP client response type hints for IDE compatibility (#58555) by @HeathNaylor in #58684
- Fix types for ConfirmableTrait::confirmToProceed by @rolfvandekrol in #58681
- [12.x] Refactor: simplify return with
??by @alipowerful7 in #58679 - [12.x] Refactor: replace
header/headerswith standardizedheader(s)by @alipowerful7 in #58678 - Add SSL cert/key support to MySQL schema dump and load (#57821) by @HeathNaylor in #58690
- Allow specifying Redis connection on Redis-based queue middleware by @markieo1 in #58656
- [12.x] Use JS to create the Laravel ASCII SVG logo on the fly by @markjaquith in #58719
- [12.x] Feat: add
orderByPivotDesc()by @alipowerful7 in #58720 - [12.x] Refactor: add
@throws \InvalidArgumentExceptionto doc blocks by @alipowerful7 in #58714 - [12.x] Restore original dispatcher bindings after precognitive request by @pindab0ter in #58716
- [12.x] Ensure throwIfStatus / throwUnlessStatus work for all status codes by @jackbayliss in #58724
- Fix Queue::fake() not releasing unique job locks between tests (#58533) by @HeathNaylor in #58718
- [12.x] Refactor: add
_to more readability digit by @alipowerful7 in #58738 - [12.x] Refactor: Clean up unused $config parameters in ConcurrencyManager by @alizadeh7091 in #58739
- [12.x] Refactor: use
Dumpableby @alipowerful7 in #58743 - [12.x] Update forever cookie factory docblock to reflect 400-day duration by @jackbayliss in #58744
v12.50.0
- [12.x] Test Improvements by @crynobone in #58531
- [12.x] Resolve the correct queue factory when using laravel octane by @BertvanHoekelen in #58530
- [12.x] Clear parallel test view cache directories by @eduPHP in #58525
- [12.x] fix: allow phpstan to understand default value for Request::enum by @calebdw in #58529
- [12.x] feat: allow queued listeners to be unique by @calebdw in #58402
- [12.x] Use morphMap when serializing model identifiers by @cosmastech in #58482
- [12.x] Add
authoritymethod to Support/Uri by @jackbayliss in #58534 - [12.x] Use try/finally for buildStack cleanup in Container::build by @comhon-project in #58536
- [12.x] Update phpunit version constraints to address CVE by @PerryvanderMeer in #58526
- Bump tar from 7.5.6 to 7.5.7 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot[bot] in #58539
- [12.x] Ensure Validator message defaults if using custom size messages by @jackbayliss in #58554
- [12.x] Add withoutAppends to HasAttributes by @AhmedAlaa4611 in #58552
- [12.x] Refactor: simplify in
matchby @alipowerful7 in #58547 - Revert "[12.x] Update phpunit version constraints to address CVE" by @crynobone in #58542
- [12.x] Add
hasMany()method to collections by @JosephSilber in #58550 - [12.x] Retain associative keys on eager loaded relations by @Jade-GG in #58506
- [12.x] Add typed getters on Cache by @ahinkle in #58451
- [12.x] Add
MaintenanceModefacade to docblock generator by @axlon in #58564 - [12.x] Adjust docblock for formatActionForCli by @jackbayliss in #58562
- [12.x] brick/math
offloat deprecation by @jackbayliss in #58563 - [12.x] Improve migration types by @shaedrich in #58561
- [12.x] Remove extra space by @amirhshokri in #58573
- [12.x] Drop foreach from preg_replace_callback helper by @jackbayliss in #58570
- [12.x] Improve typing in console/command namespace by @shaedrich in #58565
- [12.x] Refactor: improve tests by @alipowerful7 in #58582
- [12.x] Update callback type hints for Context's
Repositoryby @cosmastech in #58581 - [12.x] Exclude decorative ASCII art SVG from exception page in non-browser contexts by @serhiilabs in #58580
- [12.x] Improve types of
Arrhelper by @shaedrich in #58518 - [12.x] Add tests for withoutAppends() method by @AhmedAlaa4611 in #58583
- [12.x] Add tests for hasAppended() method by @AhmedAlaa4611 in #58587
- [12.x] Sort flaky MaintenanceModeTest by @jackbayliss in #58590
- [12.x] Preserve notification state mutations from via() in sendNow() by @alimorgaan in #58558
- [12.x] Fix: add
|nullfor$nameinstoreAs()by @alipowerful7 in #58613 - [12.x] Add
InteractsWithData::clamp()by @cosmastech in #58608 - [12.x] try-catch all composer package uninstalls by @cosmastech in #58609
- [12.x]
InteractsWithData@enum()refactor by @cosmastech in #58607 - [12.x] Enum support for Cache::get() with array keys by @jackbayliss in #58616
- [12.x] Fixed precision checks for column types in SQL Server grammar by @aimeos in #58602
- [12.x] Fix
illuminate/reflectionworkflow directory by @crynobone in #58600 - [12.x] Ensure File fail doesn't double translate in fail() by @jackbayliss in #58598
- [12.x] Ensure mailable HTML assertions properly escape quotes by @jackbayliss in #58595
v12.49.0
- [12.x] Clean up compiled views after parallel testing by @dxnter in #58440
- [12.x] Support "where subquery between columns" by @gdebrauwer in #58441
- [12.x] Use searchable prompt for db:table command by @sakshamgorey in #58442
- [12.x] keep single NotificationSender instance by @rodrigopedra in #58452
- [12.x] Allow enum keys in Cache::flexible() and withoutOverlapping() by @jackbayliss in #58444
- [12.x] Add preserveKeys method to AnonymousResourceCollection by @comhon-project in #58443
- Bump tar from 7.5.3 to 7.5.6 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot[bot] in #58454
- [12.x] Fix memory leak in
Arr::dot()by @benjamin-commentor in #58458 - 12.x fix: use multibyte-safe functions in Str::afterLast() by @irabbi360 in #58457
- [12.x] Ensure Session now() and flash() accept enums by @jackbayliss in #58459
- [12.x] Revert "feat: aliasing when selecting database expressions (#58436)" by @u01jmg3 in #58469
- [12.x] Add
hasSole()method to collections by @JosephSilber in #58463 - [12.x] Skip message serialization when log level is not handled by @dxnter in #58475
- [12.x] Add missing @param documentation to SessionGuard constructor by @jackbayliss in #58493
- [12.x] do assignment instead of mutating to handle immutable carbon object. by @MrPunyapal in #58498
- Enhance index hint validation for multiple indexes by @FlexIDK in #58505
- [12.x] Make QueueFake assertPushedTimes public by @jackbayliss in #58511
- [12.x] Ignore deadlock on DatabaseLock release by @jackbayliss in #58507
- [12.x] Allow
downcommand --retry option to accept datetime values by @alies-dev in #58509
v12.48.1
Update version to v12.48.1
v12.48.0
- [12.x] Fix missing variable reassignment by @nunomaduro in #58376
- [12.x] Improve PendingRequest types by @cosmastech in #58386
- [12.x] Fix backward compatibility with third-party guards by @daniser in #58385
- Make \Illuminate\Testing\TestResponse::assertHeader() case insensitive by @HenkPoley in #58383
- [12.x] Fix TypeError when validation rule has empty parameters by @irabbi360 in #58380
- [12.x] Adjust PendingBatchFake to filter by @jackbayliss in #58375
- [12.x] Resolve infinite loop when using deferred queue by @cosmastech in #58373
- [12.x] Fix and improve
\Illuminate\Support\Strtypes further by @shaedrich in #58372 - [12.x] Ensure Bus::chain filters out falsy items by @jackbayliss in #58369
- [12.x] fix invalid array doctypes for Str::replaceMatches in v12.47.0 by @marcreichel in #58364
- [12.x] Remove useless use of
MockeryPHPUnitIntegrationby @lucasmichot in #58363 - [12.x] Fix: Drop indexes from failed_jobs by @jackbayliss in #58362
- Translation lines may contain square brackets and curly braces now by @edwinheij in #58367
- [12.x] Add
skipWhenfunctionality toHandleCorsmiddleware by @RobertBoes in #58361 - [12.x] Fix backward compatibility with third-party guards, again by @daniser in #58389
- [12.x] Add type tests for
\Illuminate\Support\Strby @shaedrich in #58365 - [12.x]
new $classinstead of reflection for better performance by @takaram in #58391 - [12.x] Isolate compiled views per process during parallel testing by @dxnter in #58390
- [12.x] Fix broken import by @lucasmichot in #58394
- [12.x] Implement Stringable in Enum rule by @owenconti in #58392
- [12.x] Fix restoreLock for MemoizedStore by @jackbayliss in #58423
- [12.x] Fix Filesystem::sharedGet partial reads (#58418) by @sv63rus in #58419
- [12.x] Add missing @param docblock to ValidatedInput::__isset() by @ismaildasci in #58410
- [12.x] Add queue to JobPopping by @jackbayliss in #58413
- [12.x] add backoff to JobReleasedAfterException event by @jackbayliss in #58414
- [12.x] Fix return type docblock for Number::abbreviate method by @ismaildasci in #58408
- [12.x] Annotate tuple return type of Number::pairs() by @ismaildasci in #58409
- Bump tar from 7.4.3 to 7.5.3 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot[bot] in #58404
- [12.x] Update return type of merge for collections by @ramonrietdijk in #58405
- [12.x] Fix missing import by @irabbi360 in #58401
- [12.x] Account for
Throwableinside of PendingRequest by @cosmastech in #58395 - [12.x] Allow setting flags for decoding json in the Http Client's Response by @cosmastech in #58379
- [12.x] chore: make PruneCommand::isPrunable() protected by @calebdw in #58430
- [12.x] widen PendingRequest@pool() return type by @cosmastech in #58437
- [12.x] feat: query builder aliases for expressions by @tpetry in #58436
- Test Improvements by @crynobone in #58432
- [12.x] add BatchFinished event by @jackbayliss in #58431
v12.47.0
- [12.x] Add
@includeIsolateddirective for isolated Blade includes by @KennedyTedesco in #58311 - [12.x] Fix typo in JsonApiResource trait method by @dxnter in #58326
- [12.x] Add
Cache::withoutOverlapping()to wrapCache::lock()->block()by @mathiasgrimm in #58303 - Update return type annotations in FormRequest.php by @arttiger in #58333
- [12.x] Fix QueryException showing wrong connection details for read PDO by @mathiasgrimm in #58331
- [12.x] Only fire
CacheFailedOverandQueueFailedOveron first failure by @cosmastech in #58330 - allow precognitive requests to use wildcards with array validations (#57437) by @markusheinemann in #57486
- [12.x] Fix docblock for Failovers by @cosmastech in #58336
- [12.x] Only fire composer uninstall events when removing dev packages by @cosmastech in #58338
- Vector things by @taylorotwell in #58337
- Update tailwind version by @laserhybiz in #58344
- [12.x] Allow for enum keys in additional Session Store methods by @riesjart in #58343
- [12.x] JSON API: Deduplicate circular references by @mateusjatenee in #58348
- [12.x] Improve
key:generateerror message whenAPP_KEYis set by @dxnter in #58345 - [12.x] Add indexes to failed_jobs stub by @jackbayliss in #58355
- [12.x] Improve types in
\Illuminate\Support\Strhelper by @shaedrich in #58356 - [12.x] Fix MySQL port conflict in tests workflow by @jackbayliss in #58357
- [12.x] Improve the return types for
Number::with*()helpers by @CasEbb in #58358 - [12.x] Ensure
Bus::batchfilters out falsy items by @jackbayliss in #58360 - [12.] Annotate tuple return type of
TableGuesser::guess()by @shaedrich in #58354 - [12.x] Make Notification macroable by @ekateiva in #58352
- [12.x] Allow PendingBatch
onConnectionto use Enum by @jackbayliss in #58350
v12.46.0
- [12.x] Add
Arr::onlyValuesandArr::exceptValuesby @stevebauman in #58317 - [12.x] Fixed phpdoc of
Container::buildSelfBuildingInstance, to prevent psalm from erroring when parsing the class by @nicDamours in #58314 - [12.x] Add
Collection::containsManyItems()method by @stevebauman in #58312 - [12.x] Table prefix not applied when cloning connections by @dxnter in #58288
- [12.x] Added MySQL DDL locking options to MySQL grammar by @Vladelis in #58293
v12.45.2
v12.45.1
- [12.x] Fix
ResourceCollectionusage when used with an array instead of Model collection by @crynobone in #58299
v12.45.0
- [12.x] JSON:API Resource by @crynobone in #57571
- [12.x] Add static constructor to guest middleware by @rodrigopedra in #58204
- [12.x] Include JsonResource in
ModelInspectorresult by @cosmastech in #58205 - [12.x] Add queue paused / resume events by @jackbayliss in #58202
- [12.x] Add attachment helper method to add attachment from cloud storage by @PhiloNL in #58201
- [12.x] Normalize APP_URL when generating filesystem URLs by @congkv in #58210
- [12.x] Adjust AuthDatabaseTokenRepositoryTest by @jackbayliss in #58206
- [12.x] Refactor
queuePausedlogic by @amirhshokri in #58215 - Fix queue:listen timeout false positives after system sleep/wake by @ranjith67 in #58216
- Change the remember cookie to store a MAC of the users password hash instead of their real password hash by @Synchro in #58107
- Add connection details to QueryException error messages by @mathiasgrimm in #58218
- [12.x] Adjust README test status badge by @jackbayliss in #58222
- [12.x] Use constant for session ID length by @miladev95 in #58224
- [12.x] Add type tests for PendingRequest.php by @shaedrich in #58232
- feat: fire JobAttempted for sync jobs too by @veeshpath in #58228
- [12.x] Adjust getEventDispatcher docblock to allow null return by @jackbayliss in #58242
- [12.x] Extract
JobAttemptedevent dispatch to a separate method inSyncQueueby @amirhshokri in #58240 - [12.x] ValidationException: update redirectTo property definition to include null by @cheack in #58238
- [12.x] Add BackedEnum support for session keys by @ahinkle in #58241
- [12.x] Update
upload-artifactaction by @jackbayliss in #58250 - [12.x] Allow BackedEnum for Cache keys by @jackbayliss in #58246
- [12.x] Add CommandFailed event and listenForFailures() for Redis connections by @miladev95 in #58251
- [12.x] Fix: Change BackedEnum to UnitEnum in Authorizable trait by @webard in #58258
- [12.x]Refactor: remove if and replace ? by @alipowerful7 in #58256
- [12.x]Feat(MustVerifyEmail): add markEmailAsNotVerified() by @alipowerful7 in #58255
- [12.x] Feat: add havingNotBetween && orHavingBetween && orHavingNotBetween by @alipowerful7 in #58259
- [12.x] Formatting by @amirhshokri in #58266
- [12.x] Refactor: add |null in dock block by @alipowerful7 in #58268
- Add type guard for ChainedBatch/Queueable chained property before array_shift by @cyppe in #58264
- [12.x] Add lang attributes to mail layout by @DBawazir2002 in #58274
- [12.x] Clean up
Builderdocblocks by @amirhshokri in #58270 - [12.x] Run Mockery cleanup via PHPUnit subscriber instead of explicit
m::close()calls by @lucasmichot in #58278 - [12.x] Fix delayed Redis queue jobs with phpredis serialization enabled by @iazaran in #58235
- [12.x] Add missing return type to Arr::array() by @mischasigtermans in #58280
- [12.x] Add --readable flag to env:encrypt for visible key names by @mathiasgrimm in #58262
- [12.x] Update fake method parameter type for disk by @murilo-plantae in #58285
- [12.x] Fix typo in BelongsToMany::createOrFirst method name by @mischasigtermans in #58284
- [12.x] Fix nth(), split() and splitIn() to throw InvalidArgumentException for invalid parameters by @mischasigtermans in #58283
- [12.x] Fix Str::chopStart() and Str::chopEnd() returning empty string when given empty needle by @mischasigtermans in #58286
- [12.x] Add AsBinary castable class by @plumthedev in #58254
- [12.x] Add enum to
persistentFake()- and add tests by @jackbayliss in #58287 - Update Inspiring Qoute's author name by @kerog in #58292
- [12.x] Fix: add
@throws \InvalidArgumentExceptionto some dock block by @alipowerful7 in #58289 - [12.x] Fix
Validator::sometimes()usage with attributes containing.by @crynobone in #58291 - [12.x] Support "where subquery between values" by @gdebrauwer in #58290
- Capture PDO read / write type for query events by @timacdonald in #58156