Releases: laravel/framework
Releases · laravel/framework
v12.52.0
- [12.x] Fix:
@returnin doc blocks by @alipowerful7 in #58746 - [12.x] Ensure defer callbacks aren't discarded when using the sync queue by @jackbayliss in #58745
- [12.x] Refactor: remove
Arr::wrap()and addCollection::wrap()by @alipowerful7 in #58748 - Add support for
temporaryUploadUrlto thelocalfilesystem by @mnapoli in #58499 - Only merge cached casts for accessed attribute by @ug-christoph in #57627
- [12.x] Sort stan issue on PendingRequest by @jackbayliss in #58760
- [12.x] Update alphabetical order in facades.yml by @luisscruza in #58757
- [12.x] allow string-based expressions for selectExpression() by @tpetry in #58753
- Revert "[12.x] Adjust freshTimestamp for SQL Server" by @calebdw in #58758
- [12.x] Fix return empty Collection for non-model JSON:API resources by @noir4y in #58752
- [12.x] Refactor: remove extra space by @alipowerful7 in #58751
- [12.x] Standardize regex delimiter in ObserverMakeCommand::parseModel by @mohammadRezaei1380 in #58777
- [12.x] Fix incorrect @return type in VendorPublishCommand::publishTag by @mohammadRezaei1380 in #58774
- Fix phpdoc type in promptForMissingArgumentsUsing by @billypoke in #58768
- [12.x] cast
Batch::progress()return value tointby @zjbarg in #58767 - [12.x] Drop Collection import from
AbstractRouteCollectionby @jackbayliss in #58769 - [12.x] Fix missing InputArgument::IS_ARRAY in getArguments PHPDoc by @kayw-geek in #58771
- [12.x] Fix:
@returnforresolveResourceRelationshipIdentifiers()by @alipowerful7 in #58764 - [12.x]
Mailable::later()does not set delay onSendQueuedMailableinstance by @amirhshokri in #58765 - [12.x] Refactor: use
enum_value()helper for environment value extraction by @alipowerful7 in #58785 - [12.x] Add delay support assertions for queued mailables by @amirhshokri in #58787
- Fix MySQL connection string to use --ssl-mode=DISABLED for modern clients by @AJenbo in #58786
- [12.x] Refactor: standardize regex by @alipowerful7 in #58789
- [12.x] Allow $preserveKeys param for LazyCollection random by @jackbayliss in #58791
- [12.x] Refactor:
new Collection()by @alipowerful7 in #58793 - [12.x] Add
makeManymethod to Factory by @jackbayliss in #58795 - [12.x] Add
withoutAfterMaking()andwithoutAfterCreating()factory helpers by @ziadoz in #58794 - [12.x] Backport withMiddleware changes from 13.x by @jackbayliss in #58798
- [12.x] Fix: add
|arrayin doc block by @alipowerful7 in #58805 - [12.x] Add option to opt out of parallel safe cache prefix by @jackbayliss in #58801
- [12.x] Normalize Throwable docblocks to fully-qualified name by @amirhshokri in #58802
- [12.x] Refactor: remove unnecessary
\BackedEnumby @alipowerful7 in #58807 - Use atomic writes when creating inline Blade component views by @cyppe in #58815
- [12.x] Add missing tests for Request::fullUrlWithoutQuery by @miladev95 in #58814
- Improve File::toKilobytes() DocBlock return type by @Amirhf1 in #58811
- Use atomic writes in BladeCompiler to prevent race condition by @cyppe in #58812
- [12.x] Refactor: add
JSON decodedby @alipowerful7 in #58830 - [12.x] Refactor: add missing
@throwstag in dock block by @alipowerful7 in #58829 - [12.x] Formatting by @amirhshokri in #58828
- [12x]Refactor: remove unnecessary \BackedEnum in HasAttributes.php by @mohammadRezaei1380 in #58827
- [12x] Refactor conditional message formatting using match expression by @mohammadRezaei1380 in #58825
- [12.x] Refactor: use
matchexpression by @alipowerful7 in #58824 - [12.x] Simplify
compileSelectmethod return by @amirhshokri in #58821 - [12.x] Refactor: simplify code by @alipowerful7 in #58820
- [12.x] Refactor: remove unnecessary
\BackedEnumby @alipowerful7 in #58818 - [12.x] Ensure HttpClientTest doesnt flake in Windows CI by @jackbayliss in #58817
- [12.x] Refactor:
JSON decodedtodecoded JSONby @alipowerful7 in #58849 - [12.x] Allow closure parameters in docblock for when() helper function by @gazben in #58862
- [12.x] Fix typo in cache
composer.jsonby @amirhshokri in #58875 - [12.x] Remove unnecessary
forgetDriver()from TestCaches by @jackbayliss in #58878 - Revert "[12.x] Fixed precision checks for column types in SQL Server grammar" by @taylorotwell in #58888
- [12.x] Display closures and standalone functions correctly in exception trace by @avosalmon in #58879
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