3.0.0
This release focuses on performance improvements, modern PHP support, and codebase refinement, with the introduction of the new debounce feature to reduce redundant cache regeneration.
✨ New Features
- Debounce support for cache regeneration
- Helps reduce unnecessary database queries and improves overall efficiency.
🐛 Bug Fixes
- Fixed debounce logic to correctly respect cache entity callability during initialization and testing.
- Ensured queueable cache entities properly respect creation rules.
- Prevented negative TTL values with stricter validation.
🔧 Improvements & Refactors
- Migrated custom cache enums to native PHP enums.
- Updated method signatures to use stricter typing and nullable parameters where applicable.
- Replaced mixed types with explicit string types.
- Improved exception messages for clarity and consistency.
- Made internal model properties readonly where applicable.
- Simplified conditional logic and improved overall code readability.
- Cleaned up imports, spacing, and removed redundant docblocks.
- Standardized command signatures and formatting across cache commands.
📦 Compatibility
- Added support for PHP 8.3+
- Updated compatibility for Laravel 12+