spatie/laravel-package-tools minimum to ^1.93 to guarantee Illuminate 13 compatibility.orchestra/testbench support to 9.*|10.*|11.* to match the CI matrix for Laravel 11/12/13.FilterDependencyInjectionTest.php to improve coverage, including a query assertion and more consistent request setup.FilterableServiceProvider.php to use a consistent pattern when wiring filters through the container.Filter instances resolved from the dependency injection container always receive the current HTTP request.config/filterable.php) now seed feature toggles, runtime options, and cache TTLs automatically during filter construction.FilterApplying, FilterApplied, FilterFailed) fire around apply() so listeners can plug into telemetry, metrics, or alerts without overriding the base class.stream(), streamGenerator()) expose LazyCollection and generator pipelines for truly memory-safe traversal.forUser()), reducing collisions across shared IPs.get() when enabled.apply() before invocation.Full Changelog: https://github.com/Thavarshan/filterable/compare/2.0.1...2.1.0
Full Changelog: https://github.com/Thavarshan/filterable/compare/2.0.0...2.0.1
HandlesUserScope trait for easily filtering by authenticated userHandlesRateLimiting trait to prevent abuse via complex queriesValidatesFilterInput trait for input validationMonitorsPerformance trait for tracking and analyzing filter performanceTransformsFilterValues trait for transforming input valuesSupportsFilterChaining trait for fluent API method chainingInteractsWithLogging trait for improved debugging and auditingOptimizesQueries trait for better query performanceManagesMemory trait for handling large datasets efficientlyHandlesPreFilters traitmake:filter) with support for model-specific filters^12FilterableServiceProvider to register the MakeFilterCommand.Filterable interface to define the contract for the Filterable trait.Filter interface to define the contract for the Filter class.Filterable trait to ensure compatibility with PHP 8.4.Filter class with better type hinting and method documentation.FilterableTest to include the necessary setup for bootstrapping the Laravel application.config class was not available during tests by bootstrapping the Laravel application in the test setup.apply method is called correctly in the filter_throws_exception_when_filter_application_fails test.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.brick/math requirement from PHP ^8.0 to ^8.1 to embrace the latest PHP features and improvements.brick/math from 0.11.0 to 0.12.1: Includes performance optimizations and bug fixes to enhance mathematical operations.laravel/framework from v10.48.5 to v10.48.10: Rolled in new minor features and improvements to the Laravel framework that benefit the stability and security of applications using filterable.symfony/console from v6.4.6 to v6.4.7: Enhanced compatibility with other Symfony components, improving integration and usage within Symfony-based projects.phpunit/phpunit from ^9.0 to ^10.1 for advanced unit testing capabilities.vimeo/psalm from 5.0.0 to 5.16.0 for improved static analysis and code quality checks.filterable package.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
enableLogging() and disableLogging() to toggle logging functionality at runtime, allowing better control over performance and log verbosity depending on the environment.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.setUseCache() in favor of static method enableCaching() for improved consistency and clarity. This change aligns with the existing static property useCache and enhances the discoverability of caching-related functionality. #12useCache instance property to staticsetUseCache instance method to enableCaching static method for use in service provider classesFilterable traitApp\Filters\EventFilter::$filters Must Be Array" (#8)nesbot/carbon dependency version issue (#3)Initial release.
How can I help you explore Laravel packages today?