Skip to content

Latest commit

 

History

History
1459 lines (1122 loc) · 145 KB

CHANGELOG.md

File metadata and controls

1459 lines (1122 loc) · 145 KB

Release Notes for 10.x

v10.48.23 - 2024-11-12

v10.48.22 - 2024-09-12

v10.48.20 - 2024-08-09

  • [10.x] fix: prevent casting empty string to array from triggering json error by @calebdw in #52415

v10.48.19 - 2024-08-06

  • Add compatible query type to Model::resolveRouteBindingQuery by @sebj54 in #52339
  • [10.x] Fix Factory::afterCreating callable argument type by @villfa in #52335
  • [10.x] backport #52204 by @calebdw in #52389
  • [10.x] In MySQL, harvest last insert ID immediately after query is executed by @piurafunk in #52390

v10.48.18 - 2024-07-30

v10.48.17 - 2024-07-23

v10.48.16 - 2024-07-09

  • [10.x] Fix Http::retry so that throw is respected for call signature Http::retry([1,2], throw: false) by @paulyoungnb in #52002
  • [10.x] Set application_name and character set as PostgreSQL DSN string by @sunaoka in #51985

v10.48.15 - 2024-07-02

v10.48.14 - 2024-06-21

  • [10.x] Fixes unable to call another command as a initialized instance of Command class by @crynobone in #51824
  • [10.x] fix handle shift() on an empty collection by @Treggats in #51841
  • [10.x] Ensureschema:dump will dump the migrations table only if it exists by @NickSdot in #51827

v10.48.13 - 2024-06-18

  • [10.x] Fix typo in return comment of createSesTransport method by @zds-s in #51688
  • [10.x] Fix collection shift less than one item by @faissaloux in #51686
  • [10.x] Turn Enumerable unless() $callback parameter optional by @faissaloux in #51701
  • Revert "[10.x] Turn Enumerable unless() $callback parameter optional" by @taylorotwell in #51707

v10.48.12 - 2024-05-28

v10.48.11 - 2024-05-21

v10.48.10 - 2024-04-30

  • [10.x] Fix typo in signed URL tampering tests by @Krisell in #51238
  • [10.x] Add "Server has gone away" to DetectsLostConnection by @Jubeki in #51241
  • [10.x] Fix support for the LARAVEL_STORAGE_PATH env var (#51238) by @dunglas in #51243

v10.48.9 - 2024-04-23

  • [10.x] Binding order is incorrect when using cursor paginate with multiple unions with a where by @thijsvdanker in #50884
  • [10.x] Fix cursor paginate with union and column alias by @thijsvdanker in #50882
  • [10.x] Address Null Parameter Deprecations in UrlGenerator by @aldobarr in #51148

v10.48.8 - 2024-04-17

  • [10.x] Fix error when using orderByRaw() in query before using cursorPaginate() by @axlon in #51023
  • [10.x] Database layer fixes by @saadsidqui in #49787

v10.48.7 - 2024-04-10

v10.48.6 - 2024-04-10

  • [10.x] Added eachById and chunkByIdDesc to BelongsToMany by @lonnylot in #50991

v10.48.5 - 2024-04-09

  • [10.x] Prevent Redis connection error report flood on queue worker by @kasus in #50812
  • [10.x] Laravel 10x optional withSize for hasTable by @apspan in #50888
  • [10.x] Add serializeAndRestore() to NotificationFake by @dbpolito in #50935

v10.48.4 - 2024-03-21

  • [10.x] Fix Collection::concat() return type by @axlon in #50669
  • [10.x] Fix command alias registration and usage by @crynobone in #50695

v10.48.3 - 2024-03-15

  • Re-tag version

v10.48.2 - 2024-03-12

v10.48.1 - 2024-03-12

v10.48.0 - 2024-03-12

v10.47.0 - 2024-03-05

v10.46.0 - 2024-02-27

v10.45.1 - 2024-02-21

v10.45.0 - 2024-02-20

v10.44.0 - 2024-02-13

  • [10.x] Fix empty request for HTTP connection exception by @driesvints in #49924
  • [10.x] Add Collection::select() method by @morrislaptop in #49845
  • [10.x] Refactor getPreviousUrlFromSession method in UrlGenerator by @milwad-dev in #49944
  • [10.x] Add POSIX compliant cleanup to artisan serve by @Tofandel in #49943
  • [10.x] Fix infinite loop when global scopes query contains aggregates by @mateusjunges in #49972
  • [10.x] Adds PHPUnit 11 as conflict by @nunomaduro in #49957
  • Revert "[10.x] fix Before/After validation rules" by @taylorotwell in #50013
  • [10.x] Fix the phpdoc for replaceMatches in Str and Stringable helpers by @joke2k in #49990
  • [10.x] Added setAbly() method for AblyBroadcaster by @Rijoanul-Shanto in #49981
  • [10.x] Fix in appendExceptionToException method exception type check by @t1nkl in #49958
  • [10.x] DB command: add sqlcmd -C flag when 'trust_server_certificate' is set by @hulkur in #49952
  • Allows Setup and Teardown actions to be reused in alternative TestCase for Laravel by @crynobone in #49973
  • [10.x] Add toBase64() and fromBase64() methods to Stringable and Str classes by @mtownsend5512 in #49984
  • [10.x] Allows to defer resolving pcntl only if it's available by @crynobone in #50024
  • [10.x] Fixes missing Throwable import and handle if originalExceptionHandler or originalDeprecationHandler property isn't used by alternative TestCase by @crynobone in #50021
  • [10.x] Type hinting for conditional validation rules by @lorenzolosa in #50017
  • [10.x] Introduce new Arr::take() helper by @ryangjchandler in #50015
  • [10.x] Improved Handling of Empty Component Slots with HTML Comments or Line Breaks by @comes in #49966
  • [10.x] Introduce Observe attribute for models by @emargareten in #49843
  • [10.x] Add ScopedBy attribute for models by @emargareten in #50034
  • [10.x] Update reserved names in GeneratorCommand by @xurshudyan in #50043
  • [10.x] fix Validator::validated get nullable array by @helitik in #50056
  • [10.x] Pass Herd specific env variables to "artisan serve" by @mpociot in #50069
  • Remove regex case insensitivity modifier in UUID detection to speed it up slightly by @maximal in #50067
  • [10.x] HTTP retry method can accept array as first param by @me-shaon in #50064
  • [10.x] Fix DB::afterCommit() broken in tests using DatabaseTransactions by @oprypkhantc in #50068

v10.43.0 - 2024-01-30

v10.42.0 - 2024-01-23

v10.41.0 - 2024-01-16

v10.40.0 - 2024-01-09

v10.39.0 - 2023-12-27

v10.38.2 - 2023-12-22

v10.38.1 - 2023-12-20

  • [10.x] Adds support for parse callbacks from anonymous classes by @nunomaduro in #49432
  • Revert "[10.x] Drop the primary key if it exists when adding a new primary key" by @taylorotwell in #49448
  • [10.x] Fix installing DBAL on a fresh app by @timacdonald in #49438
  • [10.x] Add method to create request by @dododedodonl in #49446
  • [10.x] Move Illuminate\Foundation\Application::joinPaths() to Illuminate\Filesystem\join_paths() by @crynobone in #49433

v10.38.0 - 2023-12-19

v10.37.3 - 2023-12-13

v10.37.2 - 2023-12-13

v10.37.1 - 2023-12-12

v10.37.0 - 2023-12-12

v10.35.0 - 2023-12-05

v10.34.2 - 2023-11-28

  • [v10.x] Add missing methods to newly extended fake Vite instance by @stevebauman in #49165

v10.34.1 - 2023-11-28

v10.34.0 - 2023-11-28

v10.33.0 - 2023-11-21

v10.32.1 - 2023-11-14

  • [10.x] Add [@pushElseIf](https://github.com/pushElseIf) and [@pushElse](https://github.com/pushElse) by @jasonmccreary in #48990

v10.32.0 - 2023-11-14

  • Update PendingRequest.php by @mattkingshott in #48939
  • [10.x] Change array_key_exists with null coalescing assignment operator in FilesystemAdapter by @miladev95 in #48943
  • [10.x] Use container to resolve email validator class by @orkhanahmadov in #48942
  • [10.x] Added getGlobalMiddleware method to HTTP Client Factory by @pascalbaljet in #48950
  • [10.x] Detect MySQL read-only mode error as a lost connection by @cosmastech in #48937
  • [10.x] Adds more implicit validation rules for present based on other fields by @diamondobama in #48908
  • [10.x] Refactor set_error_handler callback to use arrow function in InteractsWithDeprecationHandling by @miladev95 in #48954
  • [10.x] Test Improvements by @crynobone in #48962
  • Fix issue that prevents BladeCompiler to raise an exception when temporal compiled blade template is not found. by @juanparati in #48957
  • [10.x] Fix how nested transaction callbacks are handled by @mateusjatenee in #48859
  • [10.x] Fixes Batch Callbacks not triggering if job timeout while in transaction by @crynobone in #48961
  • [10.x] expressions in migration computations fail by @tpetry in #48976
  • [10.x] Fixes Exception: Cannot traverse an already closed generator when running Arr::first with an empty generator and no callback by @moshe-autoleadstar in #48979
  • fixes issue with stderr when there was "]" character. by @nikopeikrishvili in #48975
  • [10.x] Fix Postgres cache store failed to put exist cache in transaction by @xdevor in #48968

v10.31.0 - 2023-11-07

  • [10.x] Allow Sleep::until() to be passed a timestamp as a string by @jameshulse in #48883
  • [10.x] Fix whereHasMorph() with nullable morphs by @MarkKremer in #48903
  • [10.x] Handle class_parents returning false in class_uses_recursive by @RoflCopter24 in #48902
  • [10.x] Enable default retrieval of all fragments in fragments() and fragmentsIf() methods by @tabuna in #48894
  • [10.x] Allow placing a batch on a chain by @khepin in #48633
  • [10.x] Dispatch 'connection failed' event in async http client request by @gdebrauwer in #48900
  • authenticate method refactored to use null coalescing operator by @miladev95 in #48917
  • [10.x] Add support for Sec-Purpose header by @nanos in #48925
  • [10.x] Allow setting retain_visibility config option on Flysystem filesystems by @jnoordsij in #48935
  • [10.x] Escape forward slashes when exploding wildcard rules by @matt-farrugia in #48936

v10.30.1 - 2023-11-01

  • [10.x] Fix postgreSQL reserved word column names w/ guarded attributes broken in native column attributes implementation by @hafezdivandari in #48877

v10.30.0 - 2023-10-31

  • [10.x] Test Improvements by @crynobone in #48815
  • [10.x] Verify hash config by @timacdonald in #48814
  • [10.x] Fix the issue of using the now function within the ArrayCache in Lumen by @cxlblm in #48826
  • [10.x] Match service provider after resolved by @timacdonald in #48824
  • [10.x] Fix type error registering PSR Request by @kpicaza in #48823
  • [10.x] Ability to configure default session block timeouts by @bytestream in #48795
  • [10.x] Improvements for artisan migrate --pretend command 🚀 by @NickSdot in #48768
  • [10.x] Add support for getting native columns' attributes by @hafezdivandari in #48357
  • fix(Eloquent/Builder): calling the methods on passthru base object should be case-insensitive by @luka-papez in #48852
  • [10.x] Fix QueriesRelationships[@getRelationHashedColumn](https://github.com/getRelationHashedColumn)() typehint by @cosmastech in #48847
  • [10.x] Remember the job on the exception by @timacdonald in #48830
  • fix bug for always throwing exception when we pass a callable to throwUnlessStatus method [test included] by @mhfereydouni in #48844
  • [10.x] Dispatch events based on a DB transaction result by @mateusjatenee in #48705
  • [10.x] Reset ShouldDispatchAfterCommitEventTest objects properties by @mateusjatenee in #48858
  • [10.x] Throw exception when trying to escape array for database connection by @sidneyprins in #48836
  • [10.x] Fix Stringable objects not converted to string in HTTP facade Query parameters and Body by @LasseRafn in #48849

v10.29.0 - 2023-10-24

  • [10.x] Fixes Str::password() does not always generate password with numbers by @crynobone in #48681
  • [10.x] Fixes cache:prune-stale-tags preg_match delimiter no escaped by @ame1973 in #48702
  • [10.x] Allow route:list to expand middleware groups in 'VeryVerbose' mode by @NickSdot in #48703
  • [10.x] Fix model:prune command error with non-class php files by @zlodes in #48708
  • [10.x] Show CliDumper source content on last line by @CalebDW in #48707
  • [10.x] Revival of the reverted changes in 10.25.0: firstOrCreate updateOrCreate improvement through createOrFirst + additional query tests by @mpyw in #48637
  • [10.x] allow resolving view from closure by @PH7-Jack in #48719
  • [10.x] Allow creation of PSR request with merged data by @timacdonald in #48696
  • [10.x] Update DocBlock for convertCase Method to Reflect Optional $encoding Parameter by @salehhashemi1992 in #48729
  • [10.x] Use ValidationException class from Validator Property by @a-h-abid in #48736
  • [10.x] Implement Test Coverage for Str::convertCase Method by @salehhashemi1992 in #48730
  • [10.x] Extend Test Coverage for Str::take Function by @salehhashemi1992 in #48728
  • [10.x] Add replaceMatches to Str class by @hosmelq in #48727
  • [10.x] Fix duplicate conditions on retrying SELECT calls under createOrFirst() by @KentarouTakeda in #48725
  • [10.x] Uses stefanzweifel/git-auto-commit-action[@v5](https://github.com/v5) by @nunomaduro in #48763
  • [10.x] fix typo in comment by @vintagesucks in #48770
  • [10.x] Require DBAL 3 when installing by @Jubeki in #48769
  • [10.x] Escape the delimiter when extracting an excerpt from text by @standaniels in #48765
  • [10.x] Fix replaceMatches in Str class by @hosmelq in #48760
  • [10.x] Moves logger instance creation to a protected method by @rodrigopedra in #48759
  • [10.x] Add runningConsoleCommand(...$commands) method by @trevorgehman in #48751
  • [10.x] Update annotations in wrap method to accommodate Collection instances by @salehhashemi1992 in #48746
  • [10.x] Add Tests for Str::replaceMatches Method by @salehhashemi1992 in #48771
  • [10.x] Do not bubble exceptions thrown rendering error view when debug is false (prevent infinite loops) by @simensen in #48732
  • [10.x] Correct phpdoc for Grammar::setConnection by @Neol3108 in #48779
  • [10.x] Add displayName for queued Artisan commands by @jessarcher in #48778
  • [10.x] Test Improvements by @crynobone in #48797
  • [10.x] Make inherited relations and virtual attributes appear in model:show command by @sebj54 in #48800

v10.28.0 - 2023-10-10

  • [10.x] Fixed issue: Added a call to the getValue method by @lozobojan in #48652
  • [10.x] Add an example for queue retry range option by @pionl in #48691
  • [10.x] Add percentage to be used as High Order Messages by @WendellAdriel in #48689
  • [10.x] Optimize exists validation for empty array input by @mtawil in #48684

v10.27.0 - 2023-10-09

v10.26.2 - 2023-10-03

  • Revert "Hint query builder closures (#48562)" by @taylorotwell in #48620

v10.26.1 - 2023-10-03

v10.26.0 - 2023-10-03

  • [10.x] Convert Expression to string for from in having subqueries by @ikari7789 in #48525
  • [10.x] Allow searching on vendor:publish prompt by @jessarcher in #48586
  • [10.x] Enhance Test Coverage for Macroable Trait by @salehhashemi1992 in #48583
  • [10.x] Add new SQL error messages by @magnusvin in #48601
  • [10.x] Ensure array cache considers milliseconds by @timacdonald in #48573
  • [10.x] Prevent session:table command from creating duplicates by @jessarcher in #48602
  • [10.x] Handle expiration in seconds by @timacdonald in #48600
  • [10.x] Avoid duplicate code for create table commands by extending new Illuminate\Console\MigrationGeneratorCommand by @crynobone in #48603
  • [10.x] Add Closure Type Hinting for Query Builders by @AJenbo in #48562

v10.25.2 - 2023-09-28

v10.25.1 - 2023-09-27

  • [10.x] Correct parameter type on MakesHttpRequests:followRedirects() by @AJenbo in #48557
  • [10.x] Fix firstOrNew on HasManyThrough relations by @tonysm in #48542
  • [10.x] Fix "after commit" callbacks not running on nested transactions using RefreshDatabase or DatabaseMigrations by @crynobone in #48523
  • [10.x] Use the dedicated key getters in BelongsTo by @iamgergo in #48509
  • [10.x] Fix undefined constant STDIN error with Artisan::call during a request by @jessarcher in #48559

v10.25.0 - 2023-09-26

v10.24.0 - 2023-09-19

v10.23.1 - 2023-09-13

v10.23.0 - 2023-09-12

v10.22.0 - 2023-09-05

v10.21.1 - 2023-09-04

  • [10.x] HotFix: throw captured UniqueConstraintViolationException if there are no matching records on SELECT retry by @mpyw in #48234
  • [10.x] Adds testing helpers for Precognition by @peterfox in #48151
  • [10.x] GeneratorCommand - Sorting possible models and events by @TWithers in #48249
  • [10.x] Add Enum Support to the In and NotIn Validation Rules by @geisi in #48247
  • PHP 8.3 Support by @driesvints in #48265
  • [10.x] Call renderForAssertions in all Mailable assertions by @jamsch in #48254
  • [10.x] Introduce requireEnv helper by @lucasmichot in #48261
  • [10.x] Combine prefix with table for compileDropPrimary PostgreSQL by @dyriavin in #48268
  • [10.x] BelongsToMany Docblock Improvements by @crynobone in #48282

v10.21.0 - 2023-08-29

  • [10.x] Add broadcastAs function at BroadcastNotificationCreated by @raphaelcangucu in #48136
  • [10.x] Fix createOrFirst on transactions by @tonysm in #48144
  • [10.x] Improve PendingRequest::pool() return type by @axlon in #48150
  • [10.x] Adds start and end string replacement helpers by @joedixon in #48025
  • [10.x] Fix flaky test using microtime by @tonysm in #48156
  • [10.x] Allow failed job providers to be countable by @timacdonald in #48177
  • [10.x] Change the return type of getPublicToken function by @fahamjv in #48173
  • [10.x] Fix flakey HttpClientTest test by @joshbonnick in #48166
  • [10.x] Give access to job UUID in the job queued event by @timacdonald in #48179
  • [10.x] Add serializeAndRestore() to QueueFake andBusFake by @cosmastech in #48131
  • Add visibility Support for Scoped Disk Configurations by @okaufmann in #48186
  • [10.x] Ensuring Primary Reference on Retry in createOrFirst() by @mpyw in #48161
  • [10.x] Make the firstOrCreate methods in relations use createOrFirst behind the scenes by @tonysm in #48192
  • [10.x] Enhancing updateOrCreate() to Use firstOrCreate() by @mpyw in #48160
  • [10.x] Introduce short-hand "false" syntax for Blade component props by @ryangjchandler in #48084
  • [10.x] Fix validation of attributes that depend on previous excluded attribute by @hans-thomas in #48122
  • [10.x] Remove unused catch exception variables by @osbre in #48209
  • Revert "feature: introduce short hand false syntax for component prop… by @driesvints in #48220
  • [10.x] Return from maintenance middleware early if URL is excluded by @axlon in #48218
  • [10.x] Array to string conversion error exception by @hans-thomas in #48219
  • [10.x] Migrate to laravel/facade-documenter repository by @timacdonald in #48223
  • Remove unneeded Return type in Docblock of Illuminate\Database\Eloquent\Builder.php by @FrazerFlanagan in #48228
  • [10.x] Fix issues with updated_at by @driesvints in #48230
  • [10.x] Use Symfony Response in exception handler by @thomasschiet in #48226
  • [10.x] Allow failed jobs to be counted by "connection" and "queue" by @timacdonald in #48216
  • [10.x] Add method Str::convertCase by @rmunate in #48224
  • [10.x] Make the updateOrCreate methods in relations use firstOrCreate behind the scenes by @mpyw in #48213

v10.20.0 - 2023-08-22

  • [10.x] Allow default values when merging values into a resource by @axlon in #48073
  • [10.x] Adds a createOrFirst method to Eloquent by @tonysm in #47973
  • [10.x] Allow utilising withTrashed(), withoutTrashed() and onlyTrashed() on MorphTo relationship even without SoftDeletes Model by @crynobone in #47880
  • [10.x] Mark Request JSON data to be InputBag in docblocks by @jnoordsij in #48085
  • [10.x] Markdown Mailables: Allow omitting Footer and Header when customising components by @jorisnoo in #48080
  • [10.x] Update EmailVerificationRequest return docblock by @ahmedash95 in #48087
  • [10.x] Add commonly reusable Composer related commands from 1st party packages by @crynobone in #48096
  • [10.x] Add ability to measure a single callable and get result by @timacdonald in #48077
  • [10.x] Fixes incorrect method visibility and add unit tests for Illuminate\Support\Composer by @crynobone in #48104
  • [10.x] Skip convert empty string to null test by @hungthai1401 in #48105
  • [10.x] Using complete insert for mysqldump when appending migration dump to schema file by @emulgeator in #48126
  • [10.x] Add hasPackage method to Composer class by @emargareten in #48124
  • [10.x] Add assertJsonPathCanonicalizing method by @gdebrauwer in #48117
  • [10.x] Configurable storage path via environment variable by @sl0wik in #48115
  • [10.x] Support providing subquery as value to where builder method by @gdebrauwer in #48116
  • [10.x] Minor Tweaks by @utsavsomaiya in #48138

v10.19.0 - 2023-08-15

  • [10.x] Fix typo in update HasUniqueIds by @iamcarlos94 in #47994
  • [10.x] Gracefully handle scientific notation by @timacdonald in #48002
  • [10.x] Fix docblocks for throw_if and throw_unless by @AbdelElrafa in #48003
  • [10.x] Add wordWrap to Str by @joshbonnick in #48012
  • [10.x] Fix RetryBatchCommand overlapping of failed jobs when run concurrently with the same Batch ID using isolatableId by @rybakihor in #48000
  • [10.x] Fix assertRedirectToRoute when route uri is empty by @khernik93 in #48023
  • [10.x] Fix empty table displayed when using the --pending option but there are no pending migrations by @TheBlckbird in #48019
  • [10.x] Fix forced use of write DB connection by @oleksiikhr in #48015
  • [10.x] Use model cast when builder created updated at value by @timacdonald in #47942
  • [10.x] Fix Collection::search and LazyCollection::search return type by @bastien-phi in #48030
  • [10.x] Add ability to customize class resolution in event discovery by @bastien-phi in #48031
  • [10.x] Add percentage method to Collections by @WendellAdriel in #48034
  • [10.x] Fix parsing error in console when parameter description contains -- by @rxrw in #48021
  • [10.x] Allow Listeners to dynamically specify delay using withDelay by @CalebDW in #48026
  • [10.x] Add dynamic return types to rescue helper by @axlon in #48062
  • [10.x] createMany & createManyQuietly add count argument by @JHWelch in #48048
  • [10.x] Attributes support on default component slot by @royduin in #48039
  • [10.x] Add WithoutRelations attribute for model serialization by @Neol3108 in #47989
  • [10.x] Can apply WithoutRelations to entire class by @cosmastech in #48068
  • [10.x] createMany & createManyQuietly make argument optional by @JHWelch in #48070

v10.18.0 - 2023-08-08

v10.17.1 - 2023-08-02

  • [9.x] Back porting #47838 by @timacdonald in #47840
  • [9.x] Normalise predis command argument where it maybe an object. by @crynobone in #47902
  • [9.x] Migrate JSON data to shared InputBag by @ImJustToNy in #47919
  • [10.x] Fix docblocks of the dispatchable trait by @imanghafoori1 in #47921
  • [9.x] Circumvent PHP 8.2.9 date format bug that makes artisan serve crash by @levu42 in #47931
  • [10.x] Fix prompt and console component spacing when calling another command by @jessarcher in #47928
  • [10.x] Fix prompt rendering after callSilent by @jessarcher in #47929
  • [10.x] Update ensure() collection method to correctly work with Interfaces and object inheritance by @karpilin in #47934

v10.17.0 - 2023-08-01

v10.16.1 - 2023-07-26

v10.16.0 - 2023-07-25

v10.15.0 - 2023-07-11

v10.14.1 - 2023-06-28

  • [10.x] Fix Dispatcher::until return type by @Neol3108 in #47585
  • [10.x] Add Collection::wrap to add method on BatchFake by @schonhoff in #47589
  • [10.x] Fixes grammar in FoundationServiceProvider by @adampatterson in #47593
  • [10.x] Ensure duration is present by @timacdonald in #47596

v10.14.0 - 2023-06-27

  • [10.x] Add test for withCookies method in RedirectResponse by @milwad-dev in #47383
  • [10.x] Add new error message "SSL: Handshake timed out" handling to PDO Dete… by @yehorherasymchuk in #47392
  • [10.x] Add new error messages for detecting lost connections by @mfn in #47398
  • [10.x] Update phpdoc except method in Middleware by @milwad-dev in #47408
  • [10.x] Fix inconsistent type hint for $passwordTimeoutSeconds by @devfrey in #47414
  • Change visibility of path method in FileStore.php by @foremtehan in #47413
  • [10.x] Fix return type of buildException method by @milwad-dev in #47422
  • [10.x] Allow serialization of NotificationSent by @cosmastech in #47375
  • [10.x] Incorrect comment in PredisConnector and PhpRedisConnector by @hungthai1401 in #47438
  • [10.x] Can set custom Response for denial within Gate@inspect() by @cosmastech in #47436
  • [10.x] Remove unnecessary param in addSingletonUpdate by @milwad-dev in #47446
  • [10.x] Fix return type of prefixedResource & prefixedResource by @milwad-dev in #47445
  • [10.x] Add Factory::getNamespace() by @tylernathanreed in #47463
  • [10.x] Add whenAggregated method to ConditionallyLoadsAttributes trait by @akr4m in #47417
  • [10.x] Add PendingRequest withHeader() method by @ralphjsmit in #47474
  • [10.x] Fix $exceptTables to allow an array of table names by @cwilby in #47477
  • [10.x] Fix eachById on HasManyThrough relation by @cristiancalara in #47479
  • [10.x] Allow object caching to be disabled for custom class casters by @CalebDW in #47423
  • [10.x] "Can" validation rule by @stevebauman in #47371
  • [10.x] refactor(Parser.php): Removing the extra "else" statement by @saMahmoudzadeh in #47483
  • [10.x] Add UncompromisedVerifier::class to provides() in ValidationServiceProvider by @xurshudyan in #47500
  • [9.x] Fix SES V2 Transport "reply to" addresses by @jacobmllr95 in #47522
  • [10.x] Reindex appends attributes by @hungthai1401 in #47519
  • [10.x] Fix ListenerMakeCommand deprecations by @dammy001 in #47517
  • [10.x] Add HandlesPotentiallyTranslatedString trait by @xurshudyan in #47488
  • [10.x] update [JsonResponse]: using match expression instead of if-elseif-else by @saMahmoudzadeh in #47524
  • [10.x] Add withQueryParameters to the HTTP client by @mnapoli in #47297
  • [10.x] Allow % symbol in component attribute names by @JayBizzle in #47533
  • [10.x] Fix Http client pool return type by @srdante in #47530
  • [10.x] Use match expression in resolveSynchronousFake by @osbre in #47540
  • [10.x] Use match expression in compileHaving by @osbre in #47548
  • [10.x] Use match expression in getArrayableItems by @osbre in #47549
  • [10.x] Fix return type in SessionGuard by @PerryvanderMeer in #47553
  • [10.x] Fix return type in DatabaseQueue by @PerryvanderMeer in #47552
  • [10.x] Fix return type in DumpCommand by @PerryvanderMeer in #47556
  • [10.x] Fix return type in MigrateMakeCommand by @PerryvanderMeer in #47557
  • [10.x] Add missing return to Factory by @PerryvanderMeer in #47559
  • [10.x] Update doc in Eloquent model by @alirezasalehizadeh in #47562
  • [10.x] Fix return types by @PerryvanderMeer in #47561
  • [10.x] Fix PHPDoc throw type by @fernandokbs in #47566
  • [10.x] Add hasAny function to ComponentAttributeBag, Allow multiple keys in has function by @indykoning in #47569
  • [10.x] Ensure captured time is in configured timezone by @timacdonald in #47567
  • [10.x] Add Method to Report only logged exceptions by @joelharkes in #47554
  • [10.x] Add global middleware to Http client by @timacdonald in #47525
  • [9.x] Fixes unable to use trans()->has() on JSON language files. by @crynobone in #47582

v10.13.5 - 2023-06-08

  • Revert "[10.x] Update Kernel::load() to use same classFromFile logic as events" by @taylorotwell in #47382

v10.13.3 - 2023-06-08

What's Changed

  • Narrow down array type for $attributes in CastsAttributes by @devfrey in #47365
  • Add test for assertViewHasAll method by @milwad-dev in #47366
  • Fix schedule:list to display named Jobs by @liamkeily in #47367
  • Support ConditionalRules within NestedRules by @cosmastech in #47344
  • Small test fixes by @stevebauman in #47369
  • Pluralisation typo in queue:clear command output by @sebsobseb in #47376
  • Add getForeignKeyFrom method by @iamgergo in #47378
  • Add shouldHashKeys to ThrottleRequests middleware by @fosron in #47368

Added

  • Added Illuminate/Http/Client/PendingRequest::replaceHeaders() (#47335)
  • Added Illuminate/Notifications/Messages/MailMessage::attachMany() (#47345)

Reverted

  • Revert "[10.x] Remove session on authenticatable deletion v2" (#47354)

Fixed

  • Fixes usage of Redis::many() with empty array (#47307)
  • Fix mapped renderable exception handling (#47347)
  • Avoid duplicates in fillable/guarded on merge in Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php (#47351)

Changed

  • Update Kernel::load() to use same classFromFile logic as events (#47327)
  • Remove redundant 'setAccessible' methods (#47348)

Added

  • Added Illuminate\Contracts\Database\Query\ConditionExpression interface and functional for this (#47210)
  • Added return type for Illuminate/Notifications/Channels/MailChannel::send() (#47310)

Reverted

  • Revert "[10.x] Fix inconsistency between report and render methods" (#47326)

Changed

  • Display queue runtime in human readable format (#47227)

Added

  • Added Illuminate/Hashing/HashManager::isHashed() (#47197)
  • Escaping functionality within the Grammar (#46558)
  • Provide testing hooks in Illuminate/Support/Sleep.php (#47228)
  • Added missing methods to AssertsStatusCodes (#47277)
  • Wrap response preparation in events (#47229)

Fixed

  • Fixed bug when function wrapped around definition of related factory (#47168)
  • Fixed inconsistency between report and render methods (#47201)
  • Fixes Model::isDirty() when AsCollection or AsEncryptedCollection have arguments (#47235)
  • Fixed escaped String for JSON_CONTAINS (#47244)
  • Fixes missing output on ProcessFailedException exception (#47285)

Changed

  • Remove useless else statements (#47186)
  • RedisStore improvement - don't open transaction unless all values are serialaizable (#47193)
  • Use carbon::now() to get current timestamp in takeUntilTimeout lazycollection-method (#47200)
  • Avoid duplicates in visible/hidden on merge (#47264)
  • Add a missing semicolon to CompilesClasses (#47280)
  • Send along value to InvalidPayloadException (#47223)

Added

  • Added Illuminate/Queue/Events/JobTimedOut.php (#47068)
  • Added when() and unless() methods to Illuminate/Support/Sleep (#47114)
  • Adds inline attachments support for markdown mailables (#47140)
  • Added Illuminate/Testing/Concerns/AssertsStatusCodes::assertMethodNotAllowed() (#47169)
  • Added forceCreateQuietly method (#47162)
  • Added parameters to timezone validation rule (#47171)

Fixed

  • Fixes singleton and api singletons creatable|destryoable|only|except combinations (#47098)
  • Don't use empty key or secret for DynamoDBClient (#47144)

Changed

  • Remove session on authenticatable deletion (#47141)
  • Added error handling and ensure re-enabling of foreign key constraints in Illuminate/Database/Schema/Builder::withoutForeignKeyConstraints() (#47182)

Refactoring

  • Remove useless else statements (#47161)

Added

  • Added the ability to extend the generic types for DatabaseNotificationCollection (#47048)
  • Added /Illuminate/Support/Carbon::createFromId() (#47046)
  • Added Name attributes on slots (#47065)
  • Added Precognition-Success header (#47081)
  • Added Macroable trait to Sleep class (#47099)

Fixed

  • Fixed Illuminate/Database/Console/ShowModelCommand::getPolicy() (#47043)

Changed

  • Remove return from channelRoutes method (#47059)
  • Bug in Illuminate/Database/Migrations/Migrator::reset() with string path (#47047)
  • Unify logic around cursor paginate (#47094)
  • Clears resolved instance of Vite when using withoutVite (#47091)
  • Remove workarounds for old Guzzle versions (#47084)

Added

  • Added /Illuminate/Collections/Arr::mapWithKeys() (#47000)
  • Added dd and dump methods to Illuminate/Support/Carbon.php (#47002)
  • Added Illuminate/Queue/Failed/FileFailedJobProvider (#47007)
  • Added arguments to the signed middleware to ignore properties (#46987)

Fixed

  • Added keys length check to prevent mget error in Illuminate/Cache/RedisStore::many() (#46998)
  • 'hashed' cast - do not rehash already hashed value (#47029)

Changed

  • Used Carbon::now() instead of now() (#47017)
  • Use file locks when writing failed jobs to disk (b822d28)
  • Raise visibility of Mailable prepareMailableForDelivery() (#47031)

Added

  • Added $isolated and isolatedExitCode properties to Illuminate/Console/Command (#46925)
  • Added ability to restore/set Global Scopes (#46922)
  • Added Illuminate/Collections/Arr::sortRecursiveDesc() (#46945)
  • Added Illuminate/Support/Sleep (#46904, #46963)
  • Added Illuminate/Database/Eloquent/Concerns/HasAttributes::castAttributeAsHashedString() ([#46947]#46947)
  • Added url support for mail config (#46964)

Fixed

  • Fixed replace missing_unless (89ac58a)
  • Gracefully handle invalid code points in e() (#46914)
  • HasCasts returning false instead of true (#46992)

Changed

  • Use method on UploadedFile to validate image dimensions (#46912)
  • Expose Js::json() helper (#46935)
  • Respect parents on middleware priority (#46972)
  • Do reconnect when redis throws connection lost error (#46989)
  • Throw timeoutException instead of maxAttemptsExceededException when a job times out (#46968)

Added

  • Add new HTTP status assertions (#46841)
  • Allow pruning all cancelled and unfinished queue batches (#46833)
  • Added IGNITION_LOCAL_SITES_PATH to $passthroughVariables in ServeCommand.php (#46857)
  • Added named static methods for middleware (#46362)

Fixed

  • Fix date_format rule throw ValueError (#46824)

Changed

  • Allow separate directory for locks on filestore (#46811)
  • Allow to whereMorphedTo work with null model (#46821)
  • Use pivot model fromDateTime instead of assuming Carbon in Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable::addTimestampsToAttachment() (#46822)
  • Make rules method in FormRequest optional (#46846)
  • Throw LogicException when calling FileFactory@image() if mimetype is not supported (#46859)
  • Improve job release method to accept date instance (#46854)
  • Use foreignUlid if model uses HasUlids trait when call foreignIdFor (#46876)

Added

  • Added syntax sugar to the Process::pipe method (#46745)
  • Allow specifying index name when calling ForeignIdColumnDefinition@constrained() (#46746)
  • Allow to customise redirect URL in AuthenticateSession Middleware (#46752)
  • Added Class based after validation rules (#46757)
  • Added max exceptions to broadcast event (#46800)

Fixed

  • Fixed compiled view file ends with .php (#46755)
  • Fix validation rule names (#46768)
  • Fixed validateDecimal() (#46809)

Changed

  • Add headers to exception in Illuminate/Foundation/Application::abourd() (#46780)
  • Minor skeleton slimming (framework edition) (#46786)
  • Release lock for job implementing ShouldBeUnique that is dispatched afterResponse() (#46806)

Changed

  • Changed Illuminate/Process/Factory::pipe() method. It will be run pipes immediately (e34ab39)

Added

  • Allow Illuminate/Foundation/Testing/WithFaker to be used when app is not bound (#46529)
  • Allow Event::assertListening to check for invokable event listeners (#46683)
  • Added Illuminate/Process/Factory::pipe() (#46527)
  • Added Illuminate/Validation/Validator::setValue (#46716)

Fixed

  • PHP 8.0 fix for Closure jobs (#46505)
  • Fix preg_split error when there is a slash in the attribute in Illuminate/Validation/ValidationData (#46549)
  • Fixed Cache::spy incompatibility with Cache::get (#46689)
  • server command: Fixed server Closing output on invalid $requestPort (#46726)
  • Fix nested join when not JoinClause instance (#46712)
  • Fix query builder whereBetween method with carbon date period (#46720)

Changed

  • Removes unnecessary parameters in creatable() / destroyable() methods in Illuminate/Routing/PendingSingletonResourceRegistration (#46677)
  • Return non-zero exit code for uncaught exceptions (#46541)

Added

  • Added trait Illuminate/Foundation/Testing/WithConsoleEvents (#46694)

Changed

  • Added missing ignored methods to Illuminate/View/Component (#46692)
  • console.stub: remove void return type from handle (#46697)

Reverted

Added

  • Added ability to set a custom class for the AsCollection and AsEncryptedCollection casts (#46619)

Changed

  • Set container instance on session manager (#46621)
  • Added empty string definition to Str::squish function (#46660)
  • Allow $sleepMilliseconds parameter receive a Closure in retry method from PendingRequest (#46653)
  • Support contextual binding on first class callables (de8d515, e511a3b)

Added

  • Added methods to determine if API resource has pivot loaded (#46555)
  • Added caseSensitive flag to Stringable replace function (#46578)
  • Allow insert..select (insertUsing()) to have empty $columns (#46605, 399bff9)
  • Added Illuminate/Database/Connection::selectResultSets() (#46592)

Changed

  • Make sure pivot model has previously defined values (#46559)
  • Move SetUniqueIds to run before the creating event (#46622)

Added

  • Added Illuminate/Cache/CacheManager::setApplication() (#46594)

Fixed

  • Fix infinite loading on batches list on Horizon (#46536)
  • Fix whereNull queries with raw expressions for the MySql grammar (#46538)
  • Fix getDirty method when using AsEnumArrayObject / AsEnumCollection (#46561)

Changed

  • Skip Illuminate/Support/Reflector::isParameterBackedEnumWithStringBackingType for non ReflectionNamedType (#46511)
  • Replace Deprecated DBAL Comparator creation with schema aware Comparator (#46517)
  • Added Storage::json() method to read and decode a json file (#46548)
  • Force cast json decoded failed_job_ids to array in DatabaseBatchRepository (#46581)
  • Handle empty arrays for DynamoDbStore multi-key operations (#46579)
  • Stop adding constraints twice on *Many to *One relationships via one() (#46575)
  • allow override of the Builder paginate() total (#46415)
  • Add a possibility to set a custom on_stats function for the Http Facade (#46569)

Changed

  • Move Symfony events dispatcher registration to Console\Kernel (#46508)

Added

  • Added Illuminate/Testing/Concerns/AssertsStatusCodes::assertUnsupportedMediaType() (#46426)
  • Added curl_error_code: 77 to DetectsLostConnections (#46429)
  • Allow for converting a HasMany to HasOne && MorphMany to MorphOne (#46443)
  • Add option to create macroable method for paginationInformation (#46461)
  • Added Illuminate/Filesystem/Filesystem::json() (#46481)

Fixed

  • Fix parsed input arguments for command events using dispatcher rerouting (#46442)
  • Fix enums uses with optional implicit parameters (#46483)
  • Fix deprecations for embedded images in symfony mailer (#46488)

Changed

  • Added alternative database port in Postgres DSN (#46403)
  • Allow calling getControllerClass on closure-based routes (#46411)
  • Remove obsolete method_exists(ReflectionClass::class, 'isEnum') call (#46445)
  • Convert eloquent builder to base builder in whereExists (#46460)
  • Refactor shared static methodExcludedByOptions method to trait (#46498)

Reverted

Reverted

Fixed

  • Fixes Expression no longer implements Stringable (#46395)

Reverted

Added

  • Adding Pipeline Facade (#46271)
  • Add Support for SaveQuietly and Upsert with UUID/ULID Primary Keys (#46161)
  • Add charAt method to both Str and Stringable (#46349, dfb59bc2)
  • Adds Countable to the InvokedProcessPool class (#46346)
  • Add processors to logging (placeholders) (#46344)

Fixed

  • Fixed Illuminate/Mail/Mailable::buildMarkdownView() (791f8ea7)
  • FIX on CanBeOneOfMany trait giving erroneous results (#46309)

Changed

  • Use fallback when previous URL is the same as the current in Illuminate/Routing/UrlGenerator::previous() (#46234)
  • Allow override of the Builder paginate() total (#46336)

Added

  • Adding Conditionable train to Logger (#46259)
  • Added "dot" method to Illuminate\Support\Collection class (#46265)
  • Added a "channel:list" command (#46248)
  • Added JobPopping and JobPopped events (#46220)
  • Add isMatch method to Str and Stringable helpers (#46303)
  • Add ArrayAccess to Stringable (#46279)

Reverted

  • Revert "[10.x] Fix custom themes not resetting on Markdown renderer" (#46328)

Fixed

  • Fix typo in function createMissingSqliteDatbase name in src/Illuminate/Database/Console/Migrations/MigrateCommand.php (#46326)

Changed

  • Generate default command name based on class name in ConsoleMakeCommand (#46256)
  • Do not mutate underlying values on redirect (#46281)
  • Do not use null to initialise $lastExecutionStartedAt in ScheduleWorkCommand (#46285)
  • Remove obsolete function_exists('enum_exists') calls (#46319)
  • Cast json decoded failed_job_ids to array in DatabaseBatchRepository::toBatch (#46329)

Fixed

  • Fixed Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase::expectsDatabaseQueryCount() $connection parameter (#46228)
  • Fixed Facade Fake (#46257)

Changed

  • Remove autoload dumping from make:migration (#46215)

Changed

Added

  • Added protected method Illuminate/Http/Resources/Json/JsonResource::newCollection() for simplifies collection customisation (#46217)

Fixed

  • Fixes constructable migrations (#46223)

Changes

  • Accept time when generating ULID in Str::ulid() (#46201)

Reverted

  • Revert changes from Arr::random() (cf3eb90)

Added

  • Add the ability to re-resolve cache drivers (#46203)

Fixed

  • Fixed Illuminate/Collections/Arr::shuffle() for empty array (0c6cae0)

Fixed

  • Fixing issue where 0 is discarded as a valid timestamp (#46158)
  • Fix custom themes not resetting on Markdown renderer (#46200)

Changed

  • Use secure randomness in Arr:random and Arr:shuffle (#46105)
  • Use mixed return type on controller stubs (#46166)
  • Use InteractsWithDictionary in Eloquent collection (#46196)

Added

  • Added missing expression support for pluck in Builder (#46146)

Added

  • Register policies automatically to the gate (#46132)

Added

  • Standard Input can be applied to PendingProcess (#46119)

Fixed

  • Fix Expression string casting (#46137)

Changed

  • Add AddQueuedCookiesToResponse to middlewarePriority so it is handled in the right place (#46130)
  • Show queue connection in MonitorCommand (#46122)

Please consult the upgrade guide and release notes in the official Laravel documentation.