Never Miss a Laravel Release ๐
This week, the Laravel team released v10.16 with support for BackedEnum in the Collection groupBy method, improvements to the schedule:list output for sub-minute tasks, allow binding of IPv6 addresses in artisan serve, and more:
Improve the display of sub-minute tasks in Artisan
Jess Archer fixed the display of the schedule:list command for sub-minute tasks. This update also includes displaying the repeat frequency where applicable:

Allow binding of IPv6 addresses with artisan serve
@MuriloChianfa contributed adding detection patterns of IPv6 addresses to the artisan serve command:
php artisan serve --host="[::1]:8082"# Server running on [http://[::1]:8082]. php artisan serve --host="[::1]:8082" --port="8083"# Server runntng on [http://[::1]:8083].
Support for BackedEnum in Collection groupBy method
Ostap Brehin contributed support for BackedEnum in the Collection::groupBy method:
$attributesByCategory = Attribute::whereIn('category', [ AttributeCategory::LOREM, AttributeCategory::IPSUM, ]) ->get() ->groupBy('category'); enum AttributeCategory: string{ case LOREM = 'lorem'; case IPSUM = 'ipsum';} class Attribute extends Model{ protected $casts = [ 'category' => AttributeCategory::class, ];}
Check out Pull Request #47823 for more details.
Release notes
You can see the complete list of new features and updates below and the diff between 10.15.0 and 10.16.0 on GitHub. The following release notes are directly from the changelog:
v10.16.0
- [10.x] Improve display of sub-minute tasks in
schedule:listcommand. by @jessarcher in https://github.com/laravel/framework/pull/47720 - [10.x] Add new SQL error message "No connection could be made because the target machine actively refused it" by @magnusvin in https://github.com/laravel/framework/pull/47718
- [10.x] Ignore second in HttpRequestTest date comparison by @kylekatarnls in https://github.com/laravel/framework/pull/47719
- [10.x] Call
renderForAssertionsinassertHasSubjectby @ttrig in https://github.com/laravel/framework/pull/47728 - [10.x] We dont want Symfony to catch pcntl signal by @ChristopheBorcard in https://github.com/laravel/framework/pull/47725
- [10.x] Use atomic locks for command mutex by @Gaitholabi in https://github.com/laravel/framework/pull/47624
- [10.x] Improve typehint for Model::getConnectionResolver() by @LukeTowers in https://github.com/laravel/framework/pull/47749
- [10.x] add getRedisConnection to ThrottleRequestsWithRedis by @snmatsui in https://github.com/laravel/framework/pull/47742
- [10.x] Adjusts for Volt by @nunomaduro in https://github.com/laravel/framework/pull/47757
- [10.x] Fix sql server paging problems by @joelharkes in https://github.com/laravel/framework/pull/47763
- [10.x] Typo type of data by @hungthai1401 in https://github.com/laravel/framework/pull/47775
- [10.x] Add missing tests for the
schedule:listcommand. by @xiCO2k in https://github.com/laravel/framework/pull/47787 - [10.x] Fix
Str::replacereturn type by @datlechin in https://github.com/laravel/framework/pull/47779 - [10.x] Collection::except() with null returns all by @pniaps in https://github.com/laravel/framework/pull/47821
- [10.x] fix issue #47727 with wrong return type by @renky in https://github.com/laravel/framework/pull/47820
- [10.x] Remove unused variable in
VendorPublishCommandby @hungthai1401 in https://github.com/laravel/framework/pull/47817 - [10.x] Remove unused variable in
MigrateCommandby @sangnguyenplus in https://github.com/laravel/framework/pull/47816 - [10.x] Revert 47763 fix sql server by @dunhamjared in https://github.com/laravel/framework/pull/47792
- [10.x] Add test for Message ID, References and Custom Headers for Mailables by @alexbowers in https://github.com/laravel/framework/pull/47791
- [10.x] Add support for
BackedEnumin CollectiongroupBymethod by @osbre in https://github.com/laravel/framework/pull/47823 - [10.x] Support inline disk for scoped driver by @alexbowers in https://github.com/laravel/framework/pull/47776
- [10.x] Allowing bind of IPv6 addresses in development server by @MuriloChianfa in https://github.com/laravel/framework/pull/47804
- [10.x] Add more info to issue template by @driesvints in https://github.com/laravel/framework/pull/47828