Releases: laravel/framework
Releases Β· laravel/framework
v11.23.3
- [11.x] Fixed attempt to call
Application::routesAreCached()
when application doesn't implementsCachesRoutes
contract. by @crynobone in #52761 - [11.x] Fix PHP and Artisan binary by @hafezdivandari in #52744
- [11.x] fix: PHPDoc for loading nested relations by @calebdw in #52762
- Update facade dockblocks by @timacdonald in #52750
- Fix: Unreachable action buttons in notification template when using "align" prop with "left" or "right". by @lpheller in #52758
v10.48.22
Update version to v10.48.22
v10.48.21
- [10.x] Fixes
whereDate
,whereDay
,whereMonth
,whereTime
,whereYear
andwhereJsonLength
to ignore invalid$operator
by @crynobone in #52704 - Fix arguments passed to artisan commands that start with 'env' by @willrowe in #52748
v11.23.2
Update version to v11.23.2
v11.23.1
Update version to v11.23.1
v11.23.0
- [11.x] Fix $fail closure type in docblocks for validation rules by @bastien-phi in #52644
- [11.x] Add MSSQL 2017 and PGSQL 10 builds by @driesvints in #52631
- Update
everyThirtyMinutes
cron expression by @SamuelNitsche in #52662 - Bump micromatch from 4.0.5 to 4.0.8 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #52664
- [11.x] apply excludeUnvalidatedArrayKeys to list validation by @lorenzolosa in #52658
- [11.x] Adding minRatio & maxRatio rules on Dimension validation ruleset by @CamKem in #52482
- [11.x] Add BackedEnum support to Authorize middleware by @diaafares in #52679
- [11.x] Add BackedEnum support to Gate methods by @diaafares in #52677
- [11.x] Suggest serializable-closure by @driesvints in #52673
- [11.x] Fix alter table expressions on SQLite by @hafezdivandari in #52678
- [11.x] Add Exceptions\Handler::mapLogLevel(...) so the logic can be easily overridden by @taka-oyama in #52666
- [11.x] Bugfix for calling pluck() on chaperoned relations. by @samlev in #52680
- [11.x] Fix build failures due to enum collide After adding BackedEnum support to Gate by @diaafares in #52683
- Fixing Str::trim to remove the default trim/ltrim/rtim characters " \n\r\t\v\0" by @mathiasgrimm in #52684
- [11.x] Add
Skip
middleware for Queue Jobs by @KennedyTedesco in #52645 - [11.x] Fix etag headers for binary file responses by @wouterrutgers in #52705
- [11.x] add
withoutDelay()
to PendingDispatch by @KennedyTedesco in #52696 - [11.x] Refactor
Container::getInstance()
to use null coalescing assignment by @xurshudyan in #52693 - [11.x] Removed unnecessary call to setAccessible(true) by @xurshudyan in #52691
- [11.x] Add
Eloquent\Collection::findOrFail
by @stevebauman in #52690 - [11.x] PHPStan Improvements by @crynobone in #52712
- [11.x] Fix Collection PHPDoc by @staudenmeir in #52724
- [11.x] Add optional parameter for
confirmed
validator rule by @jwpage in #52722 - [11.x] Test Improvements by @crynobone in #52718
- [11.x] Fix incorrect variable-length argument
$guards
from array to string by @kayw-geek in #52719 - Allow testing of relative signed routes by @shealavington in #52726
- [11.x] fix: Builder::with closure types by @calebdw in #52729
- Laracon 2024 by @taylorotwell in #52710
- Add
Tag
attribute by @TijmenWierenga in #52743 - [11.x] Adds BackedEnum to PendingDispatch's phpDoc for onQueue, allOnQueue, onConnection, allOnConnection methods by @sethsandaru in #52739
- New when() helper. by @danmatthews in #52665
- [11.x] Add
fromUrl()
to Attachment by @KennedyTedesco in #52688
v11.22.0
- [11.x] Fix FoundationServiceProvider docblock by @seriquynh in #52542
- [11.x] Fix ReflectionParameter @param type on Util::getContextualAttributeFromDependency() by @samsonasik in #52541
- [11.x] More specific parameter type in CastsInboundAttributes by @lorenzolosa in #52536
- [11.x] Unify prefetch API by @timacdonald in #52550
- [11.x] Add PDO subclass support for PHP 8.4 by @ju5t in #52538
- [11.x] Handle circular references in model serialization by @samlev in #52461
- [11.x] Eloquent inverse relations by @samlev in #51582
- [11.x] Feature/whereany closures by @liamduckett in #52555
- [11.x] Update remaining workflows to run on latest possible ubuntu version by @Jubeki in #52566
- Correct comments to better represent the updated method functionality by @dropweb in #52564
- [11.x] Support CSP nonce by @timacdonald in #52558
- [11.x] Allow enums to be passed to routes by @NickSdot in #52561
- [11.x] SORT_NATURAL on Collection no longer throws warning for nulls by @Chaplinski in #52557
- [11.x] Allow prefetch to start on custom event by @timacdonald in #52574
- [11.x] Fix regression in database assertions with custom model connections by @devfrey in #52581
- [11] Update DetectsLostConnections.php by @webartisan10 in #52614
- Fix docblock for
Model::getEventDispatcher()
by @inmula in #52602 - [11.x] Restore Request::HEADER_X_FORWARDED_PREFIX in TrustProxies by @taka-oyama in #52598
- [11.x] Accepts BackedEnum for onQueue, onConnection, allOnQueue, and allOnConnection methods in the Queueable trait by @sethsandaru in #52604
- [11.x] Use the same parameter type for 'throwUnless' as used for 'throwIf' by @pataar in #52626
- [11.x] Pass iterable keys to
withProgressBar
in InteractsWithIO by @robinmoisson in #52623 - [11.x] Fix docblock for Filesystem::hash() by @sunaoka in #52630
- Fix Apostrophe Handling in SeeInOrder.php and Enhance Test Coverage by @nomitoor in #52627
- [11.x] SQLite Error: "General error: 1 no such table" after adding a foreign key when using a table prefix. by @incrize in #52578
v11.21.0
- [11.x] Test Improvements by @crynobone in #52402
- [11.x] Fix docblock for the event dispatcher by @seriquynh in #52411
- [11.x] fix: Update text email template by @tranvanhieu01012002 in #52417
- [11.x] Make
expectsChoice
assertion more intuitive with associative arrays. by @jessarcher in #52408 - [11.x] Add
resource()
method to Illuminate\Http\Client\Response by @einar-hansen in #52412 - [10.x] fix: prevent casting empty string to array from triggering json error by @calebdw in #52415
- [11.x] Add ResponseInterface mixin to
Illuminate\Http\Client\Response
by @einar-hansen in #52410 - [11.x] Don't touch BelongsTo relationship when it doesn't exist by @patrickomeara in #52407
- [11.x] Fix
Factory::afterCreating
callable argument type by @villfa in #52424 - [11.x] Auto-secure cookies by @fabricecw in #52422
- fix: add missing phpdoc types for Model::$table and Model::$dateFormat by @taka-oyama in #52425
- [11.x] Add
withoutHeaders
method by @milwad-dev in #52435 - Checking availability before calling Log::flushSharedContext() method by @ajaxray in #52470
- [11.x] MessageBag errors out when custom rules are created and the class is left out of the message array by @DanteB918 in #52451
- Create Notification make command markdown name placeholder from Notif⦠by @hosseinakbari-liefermia in #52465
- [11.x] Add
forceDestroy
toSoftDeletes
by @jasonmccreary in #52432 - Make SQLiteProcessor cope with '/' in column names by @vroomfondle in #52490
- [11.x] Improve Cookie Testing Coverage by @saMahmoudzadeh in #52472
- [11.x] Fix for #52436 artisan schema:dump infinite recursion by @rust17 in #52492
- Run prepareNestedBatches on append/prependToChain & chain by @SabatinoMasala in #52486
- [11.x] Enhance DB inspection commands by @hafezdivandari in #52501
- [11.x] Constrain key when asserting database has a model by @patrickomeara in #52464
- Add
between
toAssertableJson
by @rudashi in #52479 - [11.x] Eager asset prefetching strategies for Vite by @timacdonald in #52462
- [11.x] Support attributes in
app()->call()
by @innocenzi in #52428 - [11.x] Applying
value
Function into the$default
value oftransform
helper by @devajmeireles in #52510 - [11.x] Enhanced typing for
HigherOrderCollectionProxy
by @Voltra in #52484 - [11.x] Add
expectsSearch()
assertion for testing prompts that usesearch()
andmultisearch()
functions by @JayBizzle in #51669 - [11.x] revert #52510 which added a unneeded function call by @rodrigopedra in #52526
v10.48.20
v11.20.0
- Update testcase for
whereNone
method by @einar-hansen in #52351 - Improve
Lock->block
method by @RedmarBakker in #52349 - [11.x] Use correct pluralization rules in trans_choice for fallback strings by @stefanvdlugt in #52343
- [11.x] Replace dead link in Security Policy by @Jubeki in #52338
- Add compatible query type to
Model::resolveRouteBindingQuery
by @sebj54 in #52339 - [10.x] Fix
Factory::afterCreating
callable argument type by @villfa in #52335 - [11.x] Remove undefined class PreventRequestsDuringMaintenance by @seriquynh in #52322
- [11.x] Add middleware before sending request and dispatching events by @eduance in #52323
- Add
collapseWithKeys
toCollection
by @jasonmccreary in #52347 - [11.x] Inverse Fake Queue Interactions:
assertNotDeleted
,assertNotFailed
, andassertNotReleased
by @gdebrauwer in #52320 - Add
deduplicate
to strings by @jasonmccreary in #52350 - [11.x] feat: make
Facade::isFake()
public by @calebdw in #52357 - [11.x] Ask about markdown template for notification command with no initial input by @christophrumpel in #52355
- [11.x] allow custom view path when making components by @browner12 in #52219
- [11.x] chore: update to PHPStan Level 1 by @calebdw in #51956
- [11.x] Support passing default as named parameter in whenLoaded, whenAggregated, whenCounted by @hn-seoai in #51342
- Declare exceptions unreportable using the ShouldntReport interface by @chrispage1 in #52337
- [11.x] Enable extension of connection inspection methods by @GromNaN in #52231
- [11.x] Add
whenExistsLoaded
method to conditionally include relationship existence attribute by @CodeWithKyrian in #52295 - [11.x] Add
in()
andinHidden()
functions to Context Stacks by @lessevv in #52346 - [11.x] Use Command::fail() method for single error messages by @seriquynh in #52387
- [11.x] Rework
Context::stackContains
with Closures. by @timacdonald in #52381 - [11.x] Allow enums to be passed to AssertableJson where methods by @patrickomeara in #52360
- [11.x] Made
list
validation rule as array for "size rules" in validation messages by @siarheipashkevich in #52385 - [11.x] Add contextual attributes to resolve drivers by @ziadoz in #52265
- [11.x] Fix docblocks for where(All|Any|None) query methods by @einar-hansen in #52388
- [10.x] backport #52204 by @calebdw in #52389
- [11.x] Fix Http Client Pool requests that have no response by @andrewbroberg in #52393
- [11.x] Introduce MixFileNotFoundException for handling missing Mix files by @Ex10Dios in #52400
- [10.x] In MySQL, harvest last insert ID immediately after query is executed by @piurafunk in #52390