The following are lists of the notable changes included with each release. This is intended to help keep people informed about notable changes between versions, as well as provide a rough history.
- Changed logging interface from class based to instance based
- Added logging support to BackgroundRefreshRepository and Repository
- Changed: Documentation for open sourcing
- Added:
BackgroundRefreshRepository
module - Changed: Extract cache management into separate module
- Added: fingerprint, last_modified, and updated_at
- Changed: driver interface to receive a
Hitnmiss::Entity
- Fixed: Correct typo in UnregisteredDriver
- Changed: Extract key generation concerns into separate module
- Changed: Extract
Fetcher
interface into separate module
- Changed version to 1.0 since the api is stable
- Changed
InMemoryDriver
to returnHitnmiss::Driver::Hit
andHitnmiss::Driver::Miss
instances. - Changed driver interface to require
<#driver instance>.get
method to return aHitnmiss::Driver::Hit
instance or aHitnmiss::Driver::Miss
instance - Added
Hitnmiss::Driver::Miss
class - Added
Hitnmiss::Driver::Hit
class - Changed private methods
get
,get_all
tofetch
&fetch_all
- Changed public API method
fetch(*args)
toget(*args)
- Changed class style interface to object style interface
- Fixed
InMemoryDriver#all
to return values not hash of value & expiration - Added return values to Public API Documentation examples
- Changed
Repository.prime_cache
toRepository.prime
- Added
Repository.prime_all
to prime entire repository - Changed
Repository.perform
toRepository.get
- Added
Repository.get_all
forRepository.prime_all
- Added
Repository.all
to get all cached values - Added
Repository.delete
to delete a cached value - Added
Repository.clear
to clear all cached values - Added
Driver#all
interface to get all cached values - Added
Driver#delete
interface to delete a cached value - Added
Driver#clear
interface to clear all cached values - Changed
InMemoryDriver
to implement#all
,#delete
, and#clear
- Fixed fetching cached boolean
false
value
- Changed the InMemoryDriver to be threadsafe
- Added driver registry to centrally manage instantiated drivers
- Added initial Minimum Viable Product version of the library