v1.1.6 - 2024-09-25
- Extend compatibility to PHP 8.3
- Laravel 9 compatibility issues
v1.1.5 - 2024-09-24
- Minor dependency updates for security
v1.1.4 - 2024-08-25
- Minor dependency updates for security
v1.1.3 - 2024-07-14
- Updated dependencies
v1.1.2 - 2024-05-16
- Modified the buildCacheKey method to sort and normalise
filterables
before generating the cache key. This change reduces the number of unique keys and helps mitigate cache pollution issues. (See PR #18) Caching has now been changed to be disabled by default. This change provides more control over when caching is used, helping to prevent unnecessary cache pollution.
- Fixed cache pollution issues caused by the generation of too many unique keys. This was achieved by limiting the number of unique filter combinations that can be cached. (See issue #17 and PR #18)
v1.1.1 - 2024-05-01
- Compatibility support for newer PHP versions: Updated
brick/math
requirement from PHP^8.0
to^8.1
to embrace the latest PHP features and improvements.
- Updated
brick/math
from0.11.0
to0.12.1
: Includes performance optimizations and bug fixes to enhance mathematical operations. - Updated
laravel/framework
fromv10.48.5
tov10.48.10
: Rolled in new minor features and improvements to the Laravel framework that benefit the stability and security of applications usingfilterable
. - Updated
symfony/console
fromv6.4.6
tov6.4.7
: Enhanced compatibility with other Symfony components, improving integration and usage within Symfony-based projects. - Updated development dependencies:
phpunit/phpunit
from^9.0
to^10.1
for advanced unit testing capabilities.vimeo/psalm
from5.0.0
to5.16.0
for improved static analysis and code quality checks.
- Security patches and minor bugs: All updated dependencies include patches for known vulnerabilities and fixes for various minor bugs, enhancing the security and reliability of the
filterable
package.
v1.1.0 - 2024-04-23
- Logging Support in Filter Class: Introduced comprehensive logging capabilities to enhance debugging and operational monitoring within the
Filter
class. This update allows developers to trace the application of filters more effectively and can be critical for both development and production debugging scenarios. #12- Dynamic Logging Controls: Added methods
enableLogging()
anddisableLogging()
to toggle logging functionality at runtime, allowing better control over performance and log verbosity depending on the environment. - Integration with
Psr\Log\LoggerInterface
: Ensured flexibility in logging implementations by integrating with the standard PSR-3 logger interface. Developers can now inject any compatible logging library that adheres to this standard, facilitating customized logging strategies. - Conditional Log Statements: Added conditional logging throughout the filter application process to provide granular insights into key actions and decisions. This feature is designed to help in pinpointing issues and understanding filter behavior under various conditions.
- Unit Tests for Logging: Extended the test suite to include tests verifying that logging behaves as expected under different configurations, ensuring that the new functionality is robust and reliable.
- Dynamic Logging Controls: Added methods
- Deprecated instance method
setUseCache()
in favor of static methodenableCaching()
for improved consistency and clarity. This change aligns with the existing static propertyuseCache
and enhances the discoverability of caching-related functionality. #12
- Minor bug fixes and performance optimizations to enhance stability and efficiency.
1.0.6 - 2024-04-14
- Refactor
useCache
instance property to static - Refactor
setUseCache
instance method toenableCaching
static method for use in service provider classes
v1.0.5 - 2024-04-10
- Implement filter scope for Eloquent Models to use with
Filterable
trait
v1.0.4 - 2024-04-10
- Fix "Fatal Error: Type of
App\Filters\EventFilter::$filters
Must Be Array" (#8)
v1.0.3 - 2024-04-10
- Fix for Argument Acceptance in
make:filter
Command #6
v1.0.2 - 2024-04-10
- Fix Service Provider Namespace in
composer.json
#5
v1.0.1 - 2024-04-10
- Fix
nesbot/carbon
dependency version issue #3
Initial release.