Releases: laravel/framework
Releases · laravel/framework
v12.26.2
- [12.x] fix: csrf_token can return null by @calebdw in #56768
- [12.x] Fix
date_formatvalidation on DST Timezone by @crynobone in #56767 - [12.x] Fix event helper by @jasonvarga in #56773
v12.26.1
- [12.x] fix: add polyfill requirement to illuminate packages by @erikgaal in #56765
- [12.x] revert changes to
old()helper by @browner12 in #56769
v12.26.0
- [12.x] feat: add native return types to helper functions by @calebdw in #56684
- [12.x] Allow passing enum to
Databaseattribute by @jnoordsij in #56688 - [12.x] Clean up redundant type hints in docblocks by @amirhshokri in #56690
- Add ability to specify a transaction mode for SQLite connection by @panda-madness in #56681
- [12.x] Fix
spliceIntoPositiondocblock to allowstring|intvalues by @amirhshokri in #56698 - [12.x] Use array_first and array_last polyfills by @KIKOmanasijev in #56703
- [12.x] Fix path to Str in exception markdown by @apreiml in #56705
- [12.x] Add
withHeartbeatmethod toLazyCollectionby @JosephSilber in #56477 - [12.x] Add toPrettyJson method by @WendellAdriel in #56697
- [12.x] Use
array_firstandarray_lastby @KIKOmanasijev in #56706 - [12.x] Do not dispatch
MessageLoggedtwice by @cosmastech in #56713 - [12.x] Order classes alphabetically by @AhmedAlaa4611 in #56743
- [12.x] Normalize file path separators for commands on Windows by @AhmedAlaa4611 in #56734
- [12.x] Improve
queue:prune-failedtests coverage by @amirhshokri in #56732 - [12.x] Align trait usage for consistency by @AhmedAlaa4611 in #56727
- [12.x] Fix composer suggests for illuminate/container by @cosmastech in #56722
- Add nullableTimestampsTz method to Blueprint by @mohamedhabibwork in #56720
- Add possibility to override symbol when using currency format by @PhilippeThouvenot in #56749
- [12.x] Revert #56608 by @amirhshokri in #56752
- Revert "Add possibility to override symbol when using currency format" by @taylorotwell in #56753
- [12.x] Support
nullparameter inBusFake::chain()method by @stevebauman in #56750 - [12.x] Remove unnecessary return in ddBody for consistency by @AhmedAlaa4611 in #56759
- [12.x] Make interface accept UnitEnum by @parijke in #56758
- [12.x] Fix concurrency closure invocation: use base64 encoding by @sashko-guz in #56757
- [12.x]
ArrayStore::all()by @cosmastech in #56751 - [12.x] Fix: Add
$forceWrapproperty to JsonResource for consistent API response #56724 by @achrafAa in #56736 - [12.x] Ensures casts objects can be transformed into strings by @DarkGhostHunter in #56687
v12.25.0
- [12.x] Prioritize Current Schema When Resolving the Table Name in
db:tableCommand by @hafezdivandari in #56646 - [12.x] Add
allowedUrlsthroughpreventStrayRequestsby @rabrowne85 in #56645 - [12.x] Add "Copy as Markdown" button to error page by @mpociot in #56657
- [12.x] Indicate that
Context@scope()may throw by @cosmastech in #56655 - [12.x] Remove @throws phpDocs in the TransformToResource trait by @adelf in #56667
- [12.x] Improve docblocks for InteractsWithDatabase by @cosmastech in #56666
- [12.x] Fix prevent group attribute pollution in schedule by @People-Sea in #56677
- Add new
mergeVisible,mergeHiddenandmergeAppendsmethods. by @jonerickson in #56678
v12.24.0
- [8.4] Use PHP 8.4 array helpers in Arr utils by @jnoordsij in #56631
- [12.x] Test Improvements by @crynobone in #56635
- [12.x] Update
orchestra/testbench-coredeps by @crynobone in #56637 - refactor: update cid param name by @cpenned in #56634
- [12.x] Cache Singleton/Scoped attribute checks by @cosmastech in #56633
- [12.x] Add
Arr::push()by @inxilpro in #56632 - [12.x] Add error message for
doesnt_containrule by @apih in #56644
v11.45.2
- [11.x] Fix validation to not throw incompatible validation exception by @crynobone in #55963
- [11.x] Fix
symfony/console:7.4compatibility by @crynobone in #56015 - [11.x] Pass the limiter to the when & report callbacks by @jimmypuckett in #56129
- [11.x] Backport test fixes by @GrahamCampbell in #56183
- Revert "[11.x] Pass the limiter to the when & report callbacks" by @GrahamCampbell in #56184
- [11.x] Correct how base options for missing config files are preloaded by @u01jmg3 in #56216
- [11.x] backport #56235 by @calebdw in #56236
- [11.x] Consistent use of
mb_split()to split strings into words by @GrahamCampbell in #56617 - [11.x]
CacheSchedulingMutexshould use lock connection by @GrahamCampbell in #56614 - [11.x] Test Improvements by @crynobone in #56630
- [11.x] Update
orchestra/testbench-coredeps by @crynobone in #56636
v12.23.1
Update version to v12.23.1
v12.23.0
- [12.x] Prevent unintended sleep on early failure of assertSequence by @xHeaven in #56583
- [12.x] Redis cluster broadcaster by @vadimonus in #56581
- [12.x] Alias Benchmark class by @jackbayliss in #56594
- [12.x] Add support for drop patterns to the
make:migrationcommand'sTableGuesser. by @amirhshokri in #56608 - [12.x] Improve collection return types by @axlon in #56599
- [12.x] Fix collection typo by @axlon in #56597
- Fix return type docblock for resetAttempts method in RateLimiter by @jonagoldman in #56596
- Add 'page' field to paginator links by @compico in #56603
- [12.x] Add support for inline attachments in Resend transport by @jayanratna in #56598
- Fix test failures in PHPUnit 12.3.2 by @KentarouTakeda in #56610
- [12.x] Use new error and exception handler getters by @jnoordsij in #56623
- [12.x] Use PHP 8.4 array helpers by @jnoordsij in #56619
- [12.x] Prefer Symfony PHP polyfills over
function_existscalls by @jnoordsij in #56621 - [12.x]
Bindattribute accepts UnitEnum by @cosmastech in #56616 - [12.x] Add Vitess-specific safe to retry errors by @GrahamCampbell in #56615
- [12.x] Handle null as a falsy condition by @negoziator in #56612
- Added "after" support for morphs and nullableMorphs Blueprint by @marcogermani87 in #56613
- [12.x] Fix usage of
ScopedandSingletonon interfaces by @cosmastech in #56620 - [12.x] Online (concurrently) index creation for PostgreSQL and SqlServer by @vadimonus in #56625
v12.22.1
- [12.x] Improved assertion message by @AhmedAlaa4611 in #56579
- [12.x] Fixed version increment by @dciancu in #56588
- [12.x] Normalize file path separators in
make:migrationcommand on Windows by @amirhshokri in #56591 - Revert "[12.x] Improve PHPDoc blocks for array of arguments in Gate" by @taylorotwell in #56593
v12.22.0
- [12.x] removed usage of useless
ReflectionProperty::setAccessible()by @NickSdot in #56379 - [12.x] Add missing PHPDoc type in
JoinClauseby @FeBe95 in #56378 - [12.x] Make the getTable method public in database failed job providers by @kevinb1989 in #56384
- [12.x] Fix
migrate:freshcommand on SQLite with WAL journal_mode by @crynobone in #56368 - [12.x] Easily run pipelines inside of a transactions with
Pipeline::withinTransaction()by @cosmastech in #56377 - [12.x] fix: Models having inconsistent guarding behaviour by @JimTools in #56381
- Fix incorrect docblock for custom builder resolvers by @LukeTowers in #56392
- [12.x] Fix typehints for
partition()by @cosmastech in #56388 - [12.x] Introduce
#[Bind]attribute by @cosmastech in #56383 - [12.x] Use MissingValue as default to distinguish between omitted and explicit null by @Edvarde in #56394
- Improve job serialization error message with job class name by @alizadeh7091 in #56398
- [12.x] Iterable models assertion by @DarkGhostHunter in #56403
- [12.x] Fix resolving
StreamResponsecallback on Laravel Octane by @crynobone in #56413 - [12.x] Reverts 56310 by @AhmedAlaa4611 in #56408
- [12.x] Clean up redundant type hints in docblocks by @amirhshokri in #56411
- [12.x] Align PHPDoc parameter name with method signature by @AhmedAlaa4611 in #56422
- [12.x] Refine type hinting for condition rules by @michaelnabil230 in #56420
- [12.x] Improve PHPDoc blocks for array of arguments in Gate by @shaedrich in #56426
- Trim whitespace when validating required arguments in console commands by @eslam-dev in #56427
- [12.x] Revert "Trim whitespace when validating required arguments in console commands" by @GrahamCampbell in #56431
- [12.x] Clean up redundant PHPDoc by @AhmedAlaa4611 in #56430
- Revert "[12.x] Clean up redundant PHPDoc" by @taylorotwell in #56432
- [12.x] Clear repository when extending Env by @riasvdv in #56438
- [12.x] Partially reverts 56398 by @AhmedAlaa4611 in #56436
- [12.x] Align PHPDoc parameter with method signature by @AhmedAlaa4611 in #56435
- Add missing parameters to isUrl and isUuid by @brufdev in #56453
- [12.x] Use
getContainer()to avoid fatal error inPipelinewith transactions by @xurshudyan in #56447 - Improve PHPDoc block parameter typing in Exceptions::dontReportWhen() by @shaedrich in #56439
- [12.x] Enhancement: the beforeCommit method will now work even if using the ShouldQueueAfterCommit contract by @ahmad-cit22 in #56445
- [12.x] Fix typehint for
VerifyEmail::toMailUsing()by @xurshudyan in #56454 - Add softDeleteResources method in Router by @jrd-lewis in #56440
- [12.x] Add types to the
\Illuminate\Database\Connectionclass by @shaedrich in #56459 - Update
queue:workto handleSIGINTsignal by @ziadoz in #56458 - [12.x] Add
withScopedSingletonstoApplicationBuilderby @ALameLlama in #56460 - Add NTLM authentication support to Http Client by @cesargb in #56475
- [12.x]: Add 'doesntContain' validation rule by @KIKOmanasijev in #56467
- [12.x] Add
InteractsWithDatatrait toComponentAttributeBagby @KennedyTedesco in #56452 - Add doesntContainStrict() for Collection & LazyCollection by @Rahul-Mac in #56522
- Add actingAsGuest method for clearing actingAs calls by @fritz-c in #56517
- [12.x] Add
BootandInitializeModel attributes by @inxilpro in #56518 - [12.x] Redirect intent in maintenance mode by @gpibarra in #56514
- [12.x] Allow creating additional components when model already exists by @mechelon in #56513
- [12.x] Allow strict integer validation by @zll600 in #56503
- [12.x] Add
to_actionhelper method by @laserhybiz in #56496 - Prevent contextual bindings from following stale aliases by @BernieSumption in #56495
- [12.x] Add
exceptmethod to Eloquent Builder by @achyutkneupane in #56442 - Fix incorrect quote escaping in env writer. Closes #56480 by @artengin in #56498
- [12.x] LostConnectionDetector and ConcurrencyErrorDetector by @vadimonus in #56493
- [12.x] CacheSchedulingMutex should use lock connection by @juliusvdijk in #56472
- [12.x] Fix assertion in
testSendToOthersOnlymethod by @xurshudyan in #56538 - Fix parameters order in PHPUnit assertion by @nicolus in #56537
- [Docblock] Add return type to defer() helper by @tushar-nain in #56534
- [12.x] Fixes wrong docblock in email rule by @bram-pkg in #56531
- [12.x] Add Arr::some() and Arr::every() by @shaedrich in #56526
- [12.x] - add
dispatchedOncemethods by @lioneaglesolutions in #56494 - [12.x] Add ability to
prepend()andappend()toPendingChainby @stevebauman in #56536 - [12.x] Reduce repeated inserts in
EloquentCursorPaginateTestby @cosmastech in #56543 - [12.x] Allow passing command class instances directly to
Schedule::command()andArtisan::call()by @amirhshokri in #56530 - [12.x] Feat: ability to explicitly exclude factory relationships by @Lakshan-Madushanka in #56396
- [12.x] - Improved assertion message for
dispatchedTimesmethods by @lioneaglesolutions in #56544 - [12.x] Add ability to deduplicate multiple characters with a single Str::deduplicate call by @WendellAdriel in #56548
- [12.x] Handle Enum::cases() for enum column type by @iamgergo in #56565
- [12.x] Updated the PHPDoc to accurately reflect the behavior by @AhmedAlaa4611 in #56562
- [12.x] Add missing "nil" option to union type for
Str::isUuid()$versionparameter by @shaedrich in #56557 - [12.x] Add DatabaseStore::setConnection(), fix docblock for setLockConnection() by @stancl in #56554
- Add inspirational quotes from prominent African leaders to Inspiring.php by @AngeArsene in #56551
- [12.x] Deferred Events by @dbpolito in #56556
- [12.x] Pipeline::withinTransaction() accepts connection by @cosmastech in #56550
- [12.x] Adding support for specific events to Event::defer() by @dbpolito in #56566
- [12.x] Make
Pipelinemacroable by @ryangjchandler in #56567 - [12.x] Fixed an issue when calling
hasNestedwith a first relationship of typemorphTo. by @nicDamours in #56512 - Fix return type in Support/Benchmark by @mtlukaszczyk in #56575