Releases: featurit/featurit-sdk-php
Releases · featurit/featurit-sdk-php
Rollback cache key names to make them PSR6 compliant
- Rollback of cache keys for backup_feature_flags and feature_flags to use "_" instead of ":" to make them PSR6 compliant.
- Added the API key in the cache key for analytics to allow multiple environment cache keys to be kept in the same cache.
Improvements on cache injection
- Created the public register() method for Event Tracking.
- Added flexibility to the Cache implementation to allow Redis adapter properly.
- Analytics cache and backup cache now use the same cache implementation as the regular feature flag cache instead of the local filesystem.
Removed automatic person tracking and created a public method to do so manually.
- Automatic person tracking was removed due to problems with some custom UserContextProvider implementations.
- Created a new public method trackPerson() to track the current UserContext manually.
Optimized Event Tracking API calls
- Optimized Event Tracking API calls so no API call is done if no new events or people are tracked.
- Updated documentation with Tracking basic usage examples.
Tracking Module
Added support to Track Events and People using the newly introduced track() method.
String "is contained in" operator
- Added support for the "Is contained in" string operator.
Changed cache engine
- Moved cache logic from laminas-cache to symfony/cache.
Minor fix to remove analytics cache file from repository
Fix to remove analytics cache file from repository * Fixed a problem with git and a cache file that remained in the repository
Feature Usage Analytics Module
- Added the Analytics functionality, allowing users to see the detailed usage of every Feature Flag in their back office on the platform.
Fixed a collision between backup file TTL and cache file TTL
Fixed a collision between backup file TTL and cache file TTL.