cachex v3.0.0 Release Notes

Release Date: 2018-02-20 // almost 4 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 and decr/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 to put/4 and deprecated set/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!