Garner v0.4.1 Release Notes

    • โž• Added a rake benchmark task to compare different binding key/invalidation strategy pairs - @fancyremarker.
    • ๐Ÿ‘Œ Improved the performance of the SafeCacheKey strategy on virtual Garner::Mixins::Mongoid::Identity bindings by properly memoizing the corresponding document - @fancyremarker.
    • ๐Ÿ‘Œ Improved the performance of the SafeCacheKey strategy on class bindings by making 1 database call per key application, instead of 3 - @fancyremarker.
    • Removed the Garner.config.mongoid_binding_key_strategy and Garner.config.mongoid_invalidation_key_strategy. Garner now uses just one default key/invalidation strategy pair for all binding types - @fancyremarker.
    • โž• Added an ActiveRecord mixin, Garner::Mixins::ActiveRecord::Base, per #35 - @fancyremarker.
    • Eliminated the need to require "garner/mixins/rack" before declaring Garner.config.rack_context_key_strategies, per #35 - @fancyremarker.
    • ๐Ÿ›  Fixed a bug in binding to classes via the SafeCacheKey and Touch strategy pair, where class-bound results would not be invalidated when an instance of the class was destroyed - @fancyremarker.
    • โž• Added BindingIndex binding key/invalidation strategy pair, which uses a two-level lookup for computing cache keys - @fancyremarker.