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 virtualGarner::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
andGarner.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 declaringGarner.config.rack_context_key_strategies
, per #35 - @fancyremarker. - ๐ Fixed a bug in binding to classes via the
SafeCacheKey
andTouch
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.
- โ Added a