Sha256: d8d4ab76ec854d2e9ceba2e90e98354d48c2b6c9d917e624cae1dc9ecdb76b32

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

# Changelog
All notable changes to this project will be documented in this file.

## [0.3.0] - 2018-10-06
### Added
- support for `ActiveSupport::Cache::DalliStore` client;
- multi-operations: `#read_multi`, `#write_multi`, `#fetch_multi`, `#delete_matched`;
- logging:
  - configuration: `AnyCache.configure { |conf| conf.logger = your_logger_object }`;
  - disable logging: `AnyCache.configure { |conf| conf.logger = nil }`;
  - `::Logger.new(STDOUT)` with `::Logger::INFO` level is used by default (an instance of `AnyCache::Logging::Logger`);
  - log message contains the following information:
    - standard log data (level and time);
    - cache class name;
    - current cache operation (`read`, `write` and etc);
    - cache operation arguments;

## [0.2.0] - 2018-09-03
### Added
- fetching operation `AnyCache#fetch(key, force:, expires_in:, &block)`
  - fetches data from the cache using the given key;
  - if a block has been passed and data with the given key does not exist -
    that block will be called and the return value will be written to the cache;
- existence operation `AnyCache#exist?(key)` - determine if an entry exists or not;
- support for `ActiveSupport::Cache::MemCacheStore`;
- configuration layer `AnyCache.configure`: an ability to choose and configure a necessary cache client
  without any explicit client object instantiation (client object will be instantiated implicitly);

## [0.1.0] - 2018-08-26
- Release :)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
any_cache-0.3.0 CHANGELOG.md