cachex v3.0.0 Release Notes
Release Date: 2018-02-20 // about 6 years ago-
๐ 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/4
anddecr/4
signatures - โ Added a new explicit
fetch/4
signature - โ Added a new
put_many/3
signature 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
- 0๏ธโฃ Janitors are now enabled by default
- Migrated Hook options into the module behaviour
- ๐ Migrated
set/4
toput/4
and 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!