Releases: laravel/framework
Releases · laravel/framework
v12.8.1
v12.8.0
- [12.x] only check for soft deletes once when mass-pruning by @cosmastech in #55274
- [12.x] Add createMany mass-assignment variants to
HasOneOrMany
relation by @onlime in #55262 - cosmetic: include is_array() case in match construct of getArrayableItems by @epic-64 in #55275
- Add tests for InvokeSerializedClosureCommand by @Amirhf1 in #55281
- [12.x] Temporarily prevents PHPUnit 12.1 by @crynobone in #55297
- [12.x] Test Improvements by @crynobone in #55306
- Bump vite from 5.4.12 to 5.4.17 in /src/Illuminate/Foundation/resources/exceptions/renderer by @dependabot in #55301
- [12.x] Test Improvements by @crynobone in #55307
- [12.x] add generics to array types for Schema Grammars by @taka-oyama in #55314
- [12.x] fix missing nullable for Query/Grammar::compileInsertGetId by @taka-oyama in #55311
- [12.x] Adds
fromJson()
to Collection by @DarkGhostHunter in #55310 - [12.x] Fix
illuminate/database
usage as standalone package by @crynobone in #55309 - Correct array key in InteractsWithInput by @AJenbo in #55287
- [12.x] Fix support for adding custom observable events from traits by @willrowe in #55286
- [12.x] Added Automatic Relation Loading (Eager Loading) Feature by @litvinchuk in #53655
- [12.x] Modify PHPDoc for Collection::chunkWhile functions to support preserving keys by @jsvdvis in #55324
- [12.x] Introduce Rule::anyOf() for Validating Against Multiple Rule Sets by @brianferri in #55191
v12.7.2
Update version to v12.7.2
v12.7.1
Update version to v12.7.1
v12.7.0
- [12.x]
AbstractPaginator
should implementCanBeEscapedWhenCastToString
by @gdebrauwer in #55256 - [12.x] Add
whereAttachedTo()
Eloquent builder method by @bakerkretzmar in #55245 - Make Illuminate\Support\Uri Macroable by @riesjart in #55260
- [12.x] Add resource helper functions to Model/Collections by @TimKunze96 in #55107
- [12.x]: Use char(36) for uuid type on MariaDB < 10.7.0 by @boedah in #55197
- [12.x] Introducing
toArray
toComponentAttributeBag
class by @devajmeireles in #55258
v12.6.0
- [12.x] Dont stop pruning if pruning one model fails by @gdebrauwer in #55237
- [12.x] Update Date Facade Docblocks by @fdalcin in #55235
- Make
db:seed
command prohibitable by @spawnia in #55238 - [12.x] Introducing
Rules\Password::appliedRules
Method by @devajmeireles in #55206 - [12.x] Allowing merging model attributes before insert via
Model::fillAndInsert()
by @cosmastech in #55038 - [12.x] Fix type hints for DateTimeZone and DateTimeInterface on DateFactory by @AndrewMast in #55243
- [12.x] Fix DateFactory docblock type hints by @AndrewMast in #55244
- List missing
migrate:rollback
in DB::prohibitDestructiveCommands PhpDoc by @spawnia in #55252 - [12.x] Add
Http::requestException()
by @cosmastech in #55241 - New: Uri
pathSegments()
helper method by @chester-sykes in #55250 - [12.x] Do not require returning a Builder instance from a local scope method by @cosmastech in #55246
v12.5.0
- Correct misspellings by @szepeviktor in #55218
- [12.x] Add ability to flush state on Vite helper by @timacdonald in #55228
- [12.x] Support taggeable store flushed cache events by @erikn69 in #55223
- Revert "[12.x] Support taggeable store flushed cache events" by @taylorotwell in #55232
- [12.x] Allow configuration of retry period for RoundRobin and Failover mail transports by @jnoordsij in #55222
- [12.x] Add --json option to EventListCommand by @hotsaucejake in #55207
v12.4.1
- [12.x] Add
Expression
type to param$value
ofQueryBuilder
orHaving()
method by @faissaloux in #55202 - [12.x] Fix URL generation with optional parameters (regression in #54811) by @stancl in #55213
- [12.x] Fix failing tests on windows OS by @imanghafoori1 in #55210
v12.4.0
- [12.x] Reset PHP’s peak memory usage when resetting scope for queue worker by @TimWolla in #55069
- [12.x] Add
AsHtmlString
cast by @ralphjsmit in #55071 - [12.x] Add
Arr::sole()
method by @ralphjsmit in #55070 - Improve warning message in
ApiInstallCommand
by @sajjadhossainshohag in #55081 - [12.x] use already determined
related
property by @browner12 in #55075 - [12.x] use "class-string" where appropriate in relations by @browner12 in #55074
- [12.x]
QueueFake::listenersPushed()
by @cosmastech in #55063 - [12.x] Added except() method to Model class for excluding attributes by @vishal2931 in #55072
- [12.x] fix: add TPivotModel default and define pivot property in {Belongs,Morph}ToMany by @calebdw in #55086
- [12.x] remove
@return
docblocks on constructors by @browner12 in #55076 - [12.x] Add NamedScope attribute by @shaedrich in #54450
- [12.x] Improve syntax highlighting for stub type files by @kayw-geek in #55094
- [12.x] Prefer
new Collection
overCollection::make
by @AhmedAlaa4611 in #55091 - [12.x] Fix except() method to support casted values by @vishal2931 in #55124
- [12.x] Add testcase for findSole method by @mrvipchien in #55115
- [12.x] Types: PasswordBroker::reset by @liamduckett in #55109
- [12.x] assertThrowsNothing by @gdebrauwer in #55100
- [12.x] Fix type nullability on PasswordBroker.events property by @jnoordsij in #55097
- [12.x] Fix return type annotation in decrementPendingJobs method by @shane-zeng in #55133
- [12.x] Fix return type annotation in compile method by @shane-zeng in #55132
- [12.x] feat: Add
whereNull
andwhereNotNull
toAssertablejson
by @faissaloux in #55131 - [12.x] fix: use contextual bindings in class dependency resolution by @calebdw in #55090
- Better return types for
Illuminate\Queue\Jobs\Job::getJobId()
andIlluminate\Queue\Jobs\DatabaseJob::getJobId()
methods by @petrknap in #55138 - Remove remaining @return tags from constructors by @mohammadrasoulasghari in #55136
- [12.x] Various URL generation bugfixes by @stancl in #54811
- Add an optional
shouldRun
method to migrations. by @danmatthews in #55011 - [12.x]
Uri
prevent empty query string by @rojtjo in #55146 - [12.x] Only call the ob_flush function if there is active buffer in eventStream by @tonysm in #55141
- [12.x] Add CacheFlushed Event by @tech-wolf-tw in #55142
- [12.x] Update DateFactory method annotations for Carbon v3 compatibility by @kayw-geek in #55151
- [12.x] Improve docblocks for file related methods of InteractsWithInput by @SanderMuller in #55156
- [12.x] Enhance
FileViewFinder
doc-blocks by @imanghafoori1 in #55183 - Support using null-safe operator with
null
value by @willrowe in #55175 - [12.x] Fix: Make Paginated Queries Consistent Across Pages by @tomchkk in #55176
- [12.x] Add
pipe
method query builders by @timacdonald in #55171 - [12.x] fix: one of many subquery constraints by @calebdw in #55168
- [12.x] fix(postgres): missing parentheses in whereDate/whereTime for json columns by @saibotk in #55159
- Fix factory creation through attributes by @davidstoker in #55190
- [12.x] Fix Concurrency::run to preserve callback result order by @chaker2710 in #55161
- [12.x] Log: Add optional keys parameter to
Log::withoutContext
to remove selected context from future logs by @mattroylloyd in #55181 - [12.x] Add
Expression
type to param$value
ofQueryBuilder
having()
method by @faissaloux in #55200 - [12.x] Add flag to disable where clauses for
withAttributes
method on Eloquent Builder by @AndrewMast in #55199
v12.3.0
- [12.x] fixes laravel/octane#1010 by @mihaileu in #55008
- Added the missing 'trashed' event to getObservablesEvents() by @duemti in #55004
- [12.x] Enhance PHPDoc for Manager classes with
@param-closure-this
by @kayw-geek in #55002 - [12.x] Fix
PendingRequest
typehints forpost
,patch
,put
,delete
by @cosmastech in #54998 - [12.x] Add test for untested methods in LazyCollection by @mohammadrasoulasghari in #54996
- [12.x] fix indentation by @browner12 in #54995
- [12.x] apply final Pint fixes by @browner12 in #55014
- Enhance validation tests: Add test for connection name detection in Unique rule by @alikhosravidev in #54993
- [12.x] Add json:unicode cast to support JSON_UNESCAPED_UNICODE encoding by @fuwasegu in #54992
- [12.x] Add “Storage Linked” to the
about
command by @adampatterson in #54949 - [12.x] Add support for native JSON/JSONB column types in SQLite Schema builder by @fuwasegu in #54991
- [12.x] Fix
LogManager::configurationFor()
typehint by @cosmastech in #55016 - [12.x] Add missing tests for LazyCollection methods by @mohammadrasoulasghari in #55022
- [12.x] Refactor: Structural improvement for clarity by @AhmedAlaa4611 in #55018
- Improve
toKilobytes
to handle spaces and case-insensitive units by @alikhosravidev in #55019 - [12.x] Fix mistake in
asJson
call inHasAttributes.php
that was recently introduced by @AndrewMast in #55017 - [12.x] reapply Pint style changes by @browner12 in #55015
- Add validation test for forEach with null and empty array values by @alikhosravidev in #55047
- [12.x] Types: EnumeratesValues Sum by @liamduckett in #55044
- [12.x] Ensure Consistent Formatting in Generated Invokable Classes by @AhmedAlaa4611 in #55034
- Add element type to return array in Filesystem by @AJenbo in #55031
- [12.x] Add support for PostgreSQL "unique nulls not distinct" by @thierry2015 in #55025
- [12.x] standardize multiline ternaries by @browner12 in #55056
- [12.x] improved readability for
aliasedPivotColumns
by @browner12 in #55055 - [12.x] remove progress bar from PHPStan output by @browner12 in #55054
- [12.x] Fixes how the fluent Date rule builder handles
date_format
by @AndrewMast in #55052 - Adding SSL encryption and support for MySQL connection by @mdiktushar in #55048
- Revert "Adding SSL encryption and support for MySQL connection" by @taylorotwell in #55057
- Ensure queue property is nullable by @timacdonald in #55058
- [12.x] return
$this
for chaining by @browner12 in #55060 - [12.x] prefer
new Collection
overcollect()
by @browner12 in #55059 - [12.x] use "class-string" type for
using
pivot model by @browner12 in #55053 - [12.x] multiline chaining on Collections by @browner12 in #55061