v3.0.0
Cachex v3.0.0 contains many breaking changes to make way to make improvements and new features to the library. Please see the migration guide for a list of all breaking changes.
Fixes:
- Corrected an issue ignoring invalid Hooks
- Corrected an issue with timeouts being ignored on asynchronous hooks
- Corrected several issues with statistics gathering
- Corrected several documentation issues
Improvements:
- Added a new amount argument to the
incr/4anddecr/4signatures - Added a new explicit
fetch/4signature - Added a new
put_many/3signature to allow batch writes - Added a new parent spec module to control global functions
- Added the ability to whitelist actions to listen on inside Hooks
- Enabled complex cache streaming using match specifications
- Integrated @unsafe to remove internal macros
- Introduced synchronized fallbacks to optimize reactive caches
- Janitors are now enabled by default
- Migrated Hook options into the module behaviour
- Migrated
set/4toput/4and deprecatedset/4 - Normalized statistics gathered by
Cachex.Stats - Proactive cache warming via
Cachex.Warmer - Replaced internal state with records rather than maps
- Replaced options with easier to understand counterparts
- Restructured to a new internal services tree
- Surfaced all documentation in the generated docs
- Updated all dependencies to their latest versions
Please make sure to file any issues found and they'll be addressed as soon as possible!