Laravel 13.22.0
Laravel 13.22.0 is here - The latest minor release brings a solid batch of fixes, internal improvements, and a handful of new capabilities that make daily Laravel development just a bit smoother.
Feature Flash
- Multi-queue support in queue:clear - The
php artisan queue:clearcommand now supports multiple queues, giving you fine-grained control over which queues get flushed. Passing queue names as arguments clears only those specified, leaving others untouched. - RateLimiter is now Macroable - You can now extend the
RateLimiterfacade with your own macros, opening up custom rate-limiting strategies without reaching for a service provider override. - HTTP fake stream bodies - The HTTP testing layer gains support for stream bodies in fake responses, making it possible to test streaming API responses without actual network calls.
- DNS lookup faking in validation - The validation rules can now fake DNS lookups, enabling offline testing of domain-based validators like
active_url. - Timeout minutes in workflows - You can now set timeout minutes directly in workflow definitions, giving CI pipelines more predictable time boundaries.
Bug Bashes
- Cache::touch() fix - Expiration handling has been corrected so that
Cache::touch()properly extends the cache entry life under all conditions. - Mailer::later() queue name - Fixed a bug where the queue name parameter passed to
Mailer::later()was being ignored in certain configurations. - Arr::last() iterable support - Restored proper iterable support, which was silently broken in a previous refactor.
- Arr::every() and Arr::some() - Iterable support also restored for these utility methods, closing a regression that affected non-array iterables.
Internal Polish
- String helpers optimized -
Str::ucfirst()andStr::lcfirst()now use native PHP 8.4 functions under the hood for a small but measurable speed boost. - New Stringable usage - The framework internally adopts
new Stringable(...)instead ofStr::of()/str(), paving the way for more consistent string handling. - Rector rules enabled - Additional Rector rules have been enabled in the codebase, signaling the teams commitment to automated code quality tooling.
- Credential marking - HTTP testing credentials are now marked as sensitive, preventing accidental leaks in test output and logs.
Upgrade at Your Own Pace
Laravel 13.22.0 is a minor release with zero breaking changes. Run composer update laravel/framework and your tests should stay green. The new features are opt-in, so nothing will break on update.
Full changelog available on GitHub.