Releases: laravel/framework
Releases Β· laravel/framework
v11.28.0
- [11.x] Update Authorizable methods with BackedEnum support by @bastien-phi in #53079
- [11.x] Use
null
as default cursor value for PHP Redis by @jayan-blutui in #53095 - [11.x] PHPDoc Improvements by @schulerj89 in #53097
- [11.x] Fix resource not escaped correctly in substituteBindingsIntoRawSql() by @aedart in #53100
- [11.x] feat: add useful defaultLocale and defaultCurrency helpers to Number facade by @sts-ryan-holton in #53101
- [11.x] Fix determining pivot timestamp column name(s) when parent relation missing one or both of timestamps by @daniser in #53103
- [11.x] Add phpstan assertions for last in Collection isEmpty and isNotEmpty by @bastien-phi in #53107
- feat: interactive env:encrypt & env:decrypt by @hhermsen in #53081
- [11.x] PHPDoc Improvements by @schulerj89 in #53109
- [11.x] Feat: remove HasFactory in model when not required by @MrPunyapal in #53104
- [11.x] Add
Illuminate\Support\enum_value
to resolveBackedEnum
orUnitEnum
to scalar by @crynobone in #53096 - [11.x] allow guessing of nested component by @browner12 in #52669
- [11.x] Introduce RouteParameter attribute by @bastien-phi in #53080
- [11.x] Refactored to use enum_value() in castBinding() by @toarupg0318 in #53131
- [11.x] Test Improvements remove code duplication by @toarupg0318 in #53128
- Revert "[11.x] Test Improvements remove code duplication" by @taylorotwell in #53132
- [11.x] Fix HasManyThrough::one() by @staudenmeir in #53119
- [11.x] Console supports Laravel Prompts 0.3+ by @edjw in #53136
- [11.x] PHPDoc Improvements by @xurshudyan in #53139
- fix: make model command with folder path - factory incorrect import path by @JeRabix in #53142
- [11.x] feat: refine return type for
throw_if
andthrow_unless
to reflect actual behavior with "falsey" values by @crishoj in #53154 - [11.x] Ensure
where
with array respects boolean by @timacdonald in #53147 - [11.x] Gracefully handle null passwords when verifying credentials by @gbradley in #53156
- [11.x] feat: restore type-narrowing bahavior for
throw_*
helpers by @crishoj in #53164 - [11.x] Add CollectedBy attribute by @alsterholm in #53122
- [11.x] Add successful and failed methods to
ProcessPoolResults
by @Riley19280 in #53160 - Issue with constrained() method used after foreignIdFor(), instead of table name when $table parameter is not passed uses column name by @granitibrahimi in #53144
v11.27.2
- [11.x] Fixes regression with
queue:work
Command by @crynobone in #53076 - [11.x] Fixes parameter declaration for
ServiceProvider::optimizes()
by @crynobone in #53074
v11.27.1
v11.27.0
- [11.x] feat: narrow types for throw_if and throw_unless by @calebdw in #53005
- [11.x] Prevent calling tries() twice by @themsaid in #53010
- [11.x] Improve PHPDoc by @schulerj89 in #53009
- [11.x] Utilise
Illuminate\Support\php_binary()
by @crynobone in #53008 - [11.x] Set HasAttributes@casts() array generics by @cosmastech in #53024
- [11.x] Improve
Schema::hasTable()
performance by @hafezdivandari in #53006 - [11.x] Always inherit parent attributes by @royduin in #53011
- [11.x] feat: introduce option to change default Number currency by @sts-ryan-holton in #53022
- [11.x] feat: add Str::doesntContain() method and supporting tests by @sts-ryan-holton in #53035
- [11.x] Str: Add extension support for
Str::inlineMarkdown()
by @ryangjchandler in #53033 - Fix: Correct typehint on repository retrieval methods by @liamduckett in #53025
- [11.x] Test for forgetting non-flexible keys for file driver by @timacdonald in #53018
- Add metadata to mailable view data by @TobMoeller in #53042
- [11.x] PHPDoc Improvements by @schulerj89 in #53054
- [11.x] Test Improvements by @toarupg0318 in #53057
- [11.x] PHPDoc Improvements by @seriquynh in #53053
- Add Exception Handling for jsonOptions() Method by @shamimulalam in #53056
- [11.x] Fixes
make:model
for Form Requests by @joshmanders in #53052 - [11.x] Fixes validation using
shouldConvertToBoolean
when parameter uses dot notation by @bytestream in #53048 - [11.x] Add methods to the HTTP kernel to append middleware relative to other middleware by @ollieread in #52897
- [11.x] Add
--json
flag toqueue:work
command for structured logging by @josecl in #52887 - [11.x] Improve performance of Redis queue block_for when a worker has multiple queues to service by @michael-scinocca in #52826
v11.26.0
- [11.x] Fix PHPDoc typo by @LucaRed in #52960
- Add stop() method to Process and Pool by @MiniCodeMonkey in #52959
- [11.x] Improve PHPDoc by @staudenmeir in #52949
- [11.x] Fix crash of method PreventsCircularRecursion::withoutRecursion() on mocked models by @maximetassy in #52943
- [11.x] Document callable types for
Enumerable::implode()
by @devfrey in #52937 - [11.x] Allows Unit & Backed Enums for registering named
RateLimiter
&RateLimited
middleware by @sethsandaru in #52935 - [11.x] Test Improvements by @crynobone in #52933
- [11.x] Fixes trust proxy
REMOTE_ADDR
not working in Swoole by @chuoke in #52889 - [11.x] Fixes function loading conflicts when using
@include('vendor/autoload.php')
via Laravel Envoy by @s-damian in #52974 - [11.x] Support Laravel Prompts 0.3+ by @crynobone in #52993
- Allow mass assignment with mutators when using model::guarded by @Apfelfrisch in #52962
- [11.x] Add
make:job-middleware
artisan command by @dshafik in #52965 - [11.x] Auto discover Events outside app namespace when folder name is in kebab-case by @xizprodev in #52976
- [11.x] Feat: factory generic in make:model command by @MrPunyapal in #52855
v11.25.0
- [11.x] Fix make:listener command by @iamgergo in #52924
- [11.x] Fix incorrect PHPDoc for KeyBy and GroupBy by @kayw-geek in #52918
- [11.x] Fix PHPDoc for TestResponse's
Response
Type to \Symfony\Component\HttpFoundation\Response by @kayw-geek in #52915 - [11.x] Docblock Improvements by @saMahmoudzadeh in #52909
- [11.x] Add vector column support to migrations by @Jim-Webfox in #52884
- [11.x] Revert auto-discovering
routes/console.php
as this will cause breaking change with the defaultwithRouting($console)
by @crynobone in #52942 - [11.x] Fixed docblock on typeVector method in Grammer by @flavio-schoute in #52927
v11.24.1
- [11.x] Fixes
defer()
function return type by @staudenmeir in #52910 - [11.x] Fixes missing
ExecutableFinder
import by @InfinityXTech in #52912 - [11.x] Fix for not automatically registering commands in App\Console\Commands by @SamuelNitsche in #52903
v11.24.0
- [11.x] Fix issue where
$name
variable in non base config file becomes it's key by @rojtjo in #52738 - [11.x] PHPDoc Improvements by @amitmerchant1990 in #52797
- [11.x] Remove a unused import and fix docblock for DeferredCallbackCollection by @seriquynh in #52808
- [11.x] Handle SQLSTATE[HY000] [2002] Operation now in progress in DetectsLostConnection trait #52759 by @webartisan10 in #52805
- [11.x] Add prependLocation method to View Factory by @nshiro in #52806
- [11.x] add nullOnUpdate() method to ForeignKeyDefinition by @gisuNasr in #52798
- [11.x] Allow
BackedEnum
to be passed toRoute::can()
by @Omegadela in #52792 - [11.x] Ensure headers are only attached to illuminate responses by @timacdonald in #52789
- [11.x] feat: improve Collection groupBy, keyBy generics by @calebdw in #52787
- [11.x] Using Correct
Concurrency
Configuration Index Name by @devajmeireles in #52788 - [11.x] Ensure
withoutPretending
method properly resets state after callback execution by @xurshudyan in #52794 - [11.x] delegate
ProcessDriver@defer()
toProcessDriver@run()
method by @rodrigopedra in #52807 - [11.x] Use command string instead of array on
Concurrency\ProcessDriver
by @rodrigopedra in #52813 - [11.x] Allows Laravel Framework to correctly resolve PHP binary when running via Laravel Herd by @crynobone in #52791
- [11.x] Move Defer classes to Support component and add
Illuminate\Support\defer
function by @crynobone in #52801 - [11.x] Suggest
laravel/serializable-closure
on Database component by @crynobone in #52835 - Bump vite from 5.2.10 to 5.2.14 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #52834
- [11.x] Update Concurrency component's composer dependencies by @rodrigopedra in #52836
- Add result shorthands for
Process
fakes by @jasonmccreary in #52840 - Update SerializesCastableAttributes to include array generics by @cosmastech in #52841
- [11.x] CI Improvements by @crynobone in #52850
- [11.x] Supports
laravel/prompts
v0.2 by @crynobone in #52849 - [11.x] Handle allows null parameter instead of requiring default value by @crynobone in #52866
- [11.x] Adds
@throws
section to Concurrency manager doc block by @rnambaale in #52856 - Update stub to remove unused trait imports by @lombervid in #52877
- [11.x] Fix validation rule type hints by @axlon in #52870
- [11.x] Support multiple batch IDs when retrying failed batch jobs by @skegel13 in #52873
- [11.x] Remove unused namespaces from DatabaseInspectionCommand and LocalFileSystemAdapter by @saMahmoudzadeh in #52868
- [11.x] Auto-register commands in
routes/console.php
by @SamuelNitsche in #52867 - [11.x] Prevent infinite recursion on
touchesParents()
for chaperoned models by @samlev in #52883 - Bump rollup from 4.17.1 to 4.22.4 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #52892
- [11.x]
Cache::flexible
improvements by @timacdonald in #52891 - [11.x] Add
\DateTimeInterface
and\DateInterval
to type forCache::flexible()
by @bram-pkg in #52888 - [11.x] CI Improvements by @crynobone in #52851
- [11.x] Do not trigger missing translation key handling when checking existence of translation key by @gdebrauwer in #52895
v11.23.5
- allow recursive Model::withoutTimestamps calls by @m1guelpf in #52768
- [11.x] Fixes out of memory issue running
route:cache
with ServeFile by @crynobone in #52781
v11.23.4
- [10.x] Fixes
whereDate
,whereDay
,whereMonth
,whereTime
,whereYear
andwhereJsonLength
to ignore invalid$operator
by @crynobone in #52704 - [11.x] Fixing Concurrency Facade Docblocks by @devajmeireles in #52764
- [11.x] add lazy default to when helper by @rodrigopedra in #52747
- Fix arguments passed to artisan commands that start with 'env' by @willrowe in #52748