Laravel 10.29 Released
Published on by Paul Redmond
This week, the Laravel team released v10.29 with the ability to see all middleware in route:list
, CLI dump output updates, and more. This week's release saw a lot of small fixes, added tests, and miscellaneous changes; see the changelog for a complete list of updates.
Expand middleware groups in route:list
@NickSdot contributed expanding the middleware groups when using route:list
with the -vv
flag:
The command already supported listing the middleware group associated with routes via the -v|--verbose
flag. Here's an example of using the verbose flag to see the group:
Move CliDumper source content to the last line
@CalebW contributed a tweak to the output of dd()
and dump()
on the CLI where the source file of the dump is moved from the first line of the dump to the last line. On really long dump output, you'd have to scan to the start/top of the output to find the source file, and now it's conveniently located at the end.
Here's the output you'd see before this weeks release (<10.29
):
And here's the updated output in this week's release v10.29.0
:
Release notes
You can see the complete list of new features and updates below and the diff between 10.28.0 and 10.29.0 on GitHub. The following release notes are directly from the changelog:
v10.29.0
- [10.x] Fixes
Str::password()
does not always generate password with numbers by @crynobone in https://github.com/laravel/framework/pull/48681 - [10.x] Fixes cache:prune-stale-tags preg_match delimiter no escaped by @ame1973 in https://github.com/laravel/framework/pull/48702
- [10.x] Allow route:list to expand middleware groups in 'VeryVerbose' mode by @NickSdot in https://github.com/laravel/framework/pull/48703
- [10.x] Fix model:prune command error with non-class php files by @zlodes in https://github.com/laravel/framework/pull/48708
- [10.x] Show CliDumper source content on last line by @CalebDW in https://github.com/laravel/framework/pull/48707
- [10.x] Revival of the reverted changes in 10.25.0:
firstOrCreate
updateOrCreate
improvement throughcreateOrFirst
+ additional query tests by @mpyw in https://github.com/laravel/framework/pull/48637 - [10.x] allow resolving view from closure by @PH7-Jack in https://github.com/laravel/framework/pull/48719
- [10.x] Allow creation of PSR request with merged data by @timacdonald in https://github.com/laravel/framework/pull/48696
- [10.x] Update DocBlock for
convertCase
Method to Reflect Optional $encoding Parameter by @salehhashemi1992 in https://github.com/laravel/framework/pull/48729 - [10.x] Use ValidationException class from Validator Property by @a-h-abid in https://github.com/laravel/framework/pull/48736
- [10.x] Implement Test Coverage for
Str::convertCase
Method by @salehhashemi1992 in https://github.com/laravel/framework/pull/48730 - [10.x] Extend Test Coverage for
Str::take
Function by @salehhashemi1992 in https://github.com/laravel/framework/pull/48728 - [10.x] Add
replaceMatches
to Str class by @hosmelq in https://github.com/laravel/framework/pull/48727 - [10.x] Fix duplicate conditions on retrying
SELECT
calls undercreateOrFirst()
by @KentarouTakeda in https://github.com/laravel/framework/pull/48725 - [10.x] Uses
stefanzweifel/git-auto-commit-action[@v5](https://github.com/v5)
by @nunomaduro in https://github.com/laravel/framework/pull/48763 - [10.x] fix typo in comment by @vintagesucks in https://github.com/laravel/framework/pull/48770
- [10.x] Require DBAL 3 when installing by @Jubeki in https://github.com/laravel/framework/pull/48769
- [10.x] Escape the delimiter when extracting an excerpt from text by @standaniels in https://github.com/laravel/framework/pull/48765
- [10.x] Fix
replaceMatches
in Str class by @hosmelq in https://github.com/laravel/framework/pull/48760 - [10.x] Moves logger instance creation to a protected method by @rodrigopedra in https://github.com/laravel/framework/pull/48759
- [10.x] Add runningConsoleCommand(...$commands) method by @trevorgehman in https://github.com/laravel/framework/pull/48751
- [10.x] Update annotations in wrap method to accommodate Collection instances by @salehhashemi1992 in https://github.com/laravel/framework/pull/48746
- [10.x] Add Tests for Str::replaceMatches Method by @salehhashemi1992 in https://github.com/laravel/framework/pull/48771
- [10.x] Do not bubble exceptions thrown rendering error view when debug is false (prevent infinite loops) by @simensen in https://github.com/laravel/framework/pull/48732
- [10.x] Correct phpdoc for Grammar::setConnection by @Neol3108 in https://github.com/laravel/framework/pull/48779
- [10.x] Add
displayName
for queued Artisan commands by @jessarcher in https://github.com/laravel/framework/pull/48778 - [10.x] Test Improvements by @crynobone in https://github.com/laravel/framework/pull/48797
- [10.x] Make inherited relations and virtual attributes appear in model:show command by @sebj54 in https://github.com/laravel/framework/pull/48800