Releases: laravel/framework
Releases Β· laravel/framework
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
v12.45.0
- [12.x] JSON:API Resource by @crynobone in #57571
- [12.x] Add static constructor to guest middleware by @rodrigopedra in #58204
- [12.x] Include JsonResource in
ModelInspectorresult by @cosmastech in #58205 - [12.x] Add queue paused / resume events by @jackbayliss in #58202
- [12.x] Add attachment helper method to add attachment from cloud storage by @PhiloNL in #58201
- [12.x] Normalize APP_URL when generating filesystem URLs by @congkv in #58210
- [12.x] Adjust AuthDatabaseTokenRepositoryTest by @jackbayliss in #58206
- [12.x] Refactor
queuePausedlogic by @amirhshokri in #58215 - Fix queue:listen timeout false positives after system sleep/wake by @ranjith67 in #58216
- Change the remember cookie to store a MAC of the users password hash instead of their real password hash by @Synchro in #58107
- Add connection details to QueryException error messages by @mathiasgrimm in #58218
- [12.x] Adjust README test status badge by @jackbayliss in #58222
- [12.x] Use constant for session ID length by @miladev95 in #58224
- [12.x] Add type tests for PendingRequest.php by @shaedrich in #58232
- feat: fire JobAttempted for sync jobs too by @veeshpath in #58228
- [12.x] Adjust getEventDispatcher docblock to allow null return by @jackbayliss in #58242
- [12.x] Extract
JobAttemptedevent dispatch to a separate method inSyncQueueby @amirhshokri in #58240 - [12.x] ValidationException: update redirectTo property definition to include null by @cheack in #58238
- [12.x] Add BackedEnum support for session keys by @ahinkle in #58241
- [12.x] Update
upload-artifactaction by @jackbayliss in #58250 - [12.x] Allow BackedEnum for Cache keys by @jackbayliss in #58246
- [12.x] Add CommandFailed event and listenForFailures() for Redis connections by @miladev95 in #58251
- [12.x] Fix: Change BackedEnum to UnitEnum in Authorizable trait by @webard in #58258
- [12.x]Refactor: remove if and replace ? by @alipowerful7 in #58256
- [12.x]Feat(MustVerifyEmail): add markEmailAsNotVerified() by @alipowerful7 in #58255
- [12.x] Feat: add havingNotBetween && orHavingBetween && orHavingNotBetween by @alipowerful7 in #58259
- [12.x] Formatting by @amirhshokri in #58266
- [12.x] Refactor: add |null in dock block by @alipowerful7 in #58268
- Add type guard for ChainedBatch/Queueable chained property before array_shift by @cyppe in #58264
- [12.x] Add lang attributes to mail layout by @DBawazir2002 in #58274
- [12.x] Clean up
Builderdocblocks by @amirhshokri in #58270 - [12.x] Run Mockery cleanup via PHPUnit subscriber instead of explicit
m::close()calls by @lucasmichot in #58278 - [12.x] Fix delayed Redis queue jobs with phpredis serialization enabled by @iazaran in #58235
- [12.x] Add missing return type to Arr::array() by @mischasigtermans in #58280
- [12.x] Add --readable flag to env:encrypt for visible key names by @mathiasgrimm in #58262
- [12.x] Update fake method parameter type for disk by @murilo-plantae in #58285
- [12.x] Fix typo in BelongsToMany::createOrFirst method name by @mischasigtermans in #58284
- [12.x] Fix nth(), split() and splitIn() to throw InvalidArgumentException for invalid parameters by @mischasigtermans in #58283
- [12.x] Fix Str::chopStart() and Str::chopEnd() returning empty string when given empty needle by @mischasigtermans in #58286
- [12.x] Add AsBinary castable class by @plumthedev in #58254
- [12.x] Add enum to
persistentFake()- and add tests by @jackbayliss in #58287 - Update Inspiring Qoute's author name by @kerog in #58292
- [12.x] Fix: add
@throws \InvalidArgumentExceptionto some dock block by @alipowerful7 in #58289 - [12.x] Fix
Validator::sometimes()usage with attributes containing.by @crynobone in #58291 - [12.x] Support "where subquery between values" by @gdebrauwer in #58290
- Capture PDO read / write type for query events by @timacdonald in #58156
v12.44.0
- [12.x] Allow easier opting out of
DatabaseLockprune lottery by @cosmastech in #58152 - [12.x] Specify that the query builder returns instances of
stdClassby @axlon in #58150 - [12.x] feat: add now methods to Date rule by @calebdw in #58059
- [12.x] Add ability to run callbacks after building an Http response by @cosmastech in #58088
- Fix docblocks by @timacdonald in #58157
- [12.x] Fix Password::required() missing value validation and nullable empty β¦ by @faisuc in #58158
- [12.x] Fixup Eloquent
Collection(param) docblocks by @jnoordsij in #58170 - [12.x] add MigrationSkipped event by @jackbayliss in #58167
- [12.x] Simplify
LazyCollectionpassthrucalls and docblocks by @jnoordsij in #58180 - [12.x] Add BusBatchable tests by @miladev95 in #58175
- Add previous locale to LocaleUpdated event by @OutlawPlz in #58179
- [12.x] Fix inline mail embed replacement by Content-ID by @dxnter in #58173
- [12.x] Fix multibyte string handling in chopStart and chopEnd by @mdariftiens in #58183
- [12.x] Improve
Collectiondocblock types by @jnoordsij in #58176 - [12.x] Fix unable to disable
created_atorupdated_atcolumn when attaching models by @crynobone in #58164 - Remove unused variables from destructured arrays by @rolfvandekrol in #58187
- [12.x] use process to trigger package uninstall event by @cosmastech in #58177
- [12.x] Fix null array key deprecation in HasOneOrMany relation matching by @serhiilabs in #58191
- [12.x] Fix
Password::required()andPassword::sometimes()usage as array by @crynobone in #58188 - [12.x] Add TestResponse::assertHeaderContains assertion and tests by @miladev95 in #58200
- [12.x] Update setup-node action to v6 by @jackbayliss in #58196
v12.43.1
- [12.x] Only exclude Command ending with
Testisn't an instance ofCommandby @crynobone in #58147
v12.43.0
- [12.x] Add PHPDoc callable types for BusFake methods by @alies-dev in #58070
- Improve type annotations of
$batchIdinBatchabletrait by @markieo1 in #58069 - [12.x] Fix deadlock in cache_locks on cleanup by @jackbayliss in #58071
- feat: implement 'assertFailedDependency' response assertion by @artengin in #58061
- [12.x] Fix using
nullcache store triggering PHP 8.5 deprecation by @jnoordsij in #58074 - [12.x] Fix deprecated usage of passing
nulltoarray_key_existsinAsPivotclass by @jnoordsij in #58073 - [12.x] Simplify clearing resolved instances for
Facadeclasses by @jnoordsij in #58072 - [12.x] Add PHP 8.5 with Herd to passthrough variables in ServeCommand by @bashgeek in #58080
- [12.x] Update actions/checkout v4 to v6 by @jackbayliss in #58078
- [12.x] Let Storage::fake() accept enum as disk name by @bbredewold in #58076
- Improve PHPDoc return type for synchronous HTTP Client methods by @khaled-sadek in #58090
- [12.x] Adjust testCanRetrieveAllFailedJobs by @jackbayliss in #58096
- [12.x] Allow Factory connection method to accept null by @jackbayliss in #58108
- [12.x] Make PendingDispatch::afterResponse conditional by @kenneth-saey in #58099
- [12.x] Add
mergeHiddenandmergeVisiblemethods to Collection class by @mahmoudmohamedramadan in #58110 - Added "SSL error: unexpected eof" message to LostConnectionDetector by @GuidoHendriks in #58113
- [12.x] Update git-auto-commit action by @jackbayliss in #58118
- [12.x] Add tests for Support Uri class by @miladev95 in #58114
- [12.x] Make the Client Response class tappable by @kevinb1989 in #58115
- [12.x] Add missing docblock param in FailedOver event docblocks by @jackbayliss in #58123
- [12.x] Clean up DynamoDbStore by @cosmastech in #58116
- [12.x] Fix: Handle
ParseErrorinhasEvenNumberOfParentheseswhen Xdebug is active by @crynobone in #58128 - [12.x] Fix Password::required() to fail when value is missing by @faisuc in #58125
- [12.x] Add HigherOrderProxy tests (Collection & Tap) by @miladev95 in #58138
- [12.x] Run
ConnectionEstablishedevent on database reconnection by @crynobone in #58136
v12.42.0
- [12.x] Improve
Context::scope()return type by @cosmastech in #58012 - [12.x] Allow float values in duration helpers for CarbonInterval by @SanderMuller in #58006
- Add whenTableHasIndex and whenTableDoesntHaveIndex to Builder by @jackbayliss in #58005
- [12.x] Add commandFileFinder method and exclude test files from command discovery by @davidhemphill in #58017
- [12.x] Fix Cache spy not working with memoized cache by @faisuc in #57996
- Respect --quiet and --silent in queue:work command by @MatusBoa in #58024
- [12.x] Improve Blueprint docblocks with concrete value ranges for integer and text columns by @nguyentranchung in #58019
- [12.x] Modernize typecasting by @cosmastech in #58037
- [12.x] Fix
requiredandsometimesvalidation ofPasswordrule by @mrvipchien in #58034 - [12.x] Add support as a depdency for container by @adrum in #58026
- fix autoloading StringableObjectStub class in tests/Support/SupportStringableTest.php by @angus-mcritchie in #58030
- [12.x] Remove calls to
optional()by @cosmastech in #58027 - [12.x] Add
newRequest()to Pool and Batch by @cosmastech in #58038 - [12.x] Align Listener docblock and add unit test for query shape by @miladev95 in #58040
- [12.x] feat: add pre-migration hook when setting up databases in parallel tests by @philipheimboeck in #58011
- [12.x] Supports PHPUnit 12.5 by @crynobone in #58042
- [12.x] Add support for Enums in Translator replacements by @hosni in #58048
- [12.x] Fix
PendingRequest@pool()&&batch()concurrency by @cosmastech in #57973 - [12.x] New
illuminate/reflectionscomponent fromilluminate/supportby @crynobone in #58052 - Make queue commands' option descriptions more consistent by @jasonlbeggs in #58058
- [12.x] Add LICENSE, auto close for PRs and
.gitattributestoilluminate/reflectionby @crynobone in #58055 - [12.x]
PendingRequest@withRequestContext()by @cosmastech in #58054
v12.41.1
Update version to v12.41.1