Laravel released versions 12.45.1, 12.45.2, and 12.46.0 on January 7, 2026. Version 12.46.0 introduces new array helpers `Arr::onlyValues()` and `Arr::exceptValues()` for value-based filtering with optional strict type comparison, plus a `Collection::containsManyItems()` method for checking multiple items efficiently. Version 12.45.2 adds `UnitEnum` support to Gate's `has()` method for type-safe authorization checks. The releases also include bug fixes for ResourceCollections, validator rule appending, database connection table prefix cloning, and MySQL DDL locking options. All updates are backward compatible.

5m read timeFrom laravel-news.com
Post cover image
Table of contents
# What's New# Miscellaneous Fixes and Improvements# Upgrade Notes# References

Sort: