Skip to content

Releases: jmdobry/CacheFactory

3.0.0

26 Feb 23:39
Compare
Choose a tag to compare
3.0.0 - 26 February 2017
Breaking changes
  • #29 by @Delagen - TypeScript definitions have been rewritten, and the CacheFactory constructor function is now a named export of the module.

    Before:

    import CacheFactory from 'cachefactory';
    

    After:

    import { CacheFactory } from 'cachefactory';
    

2.0.0

18 Jan 00:18
Compare
Choose a tag to compare
2.0.0 - 17 September 2016
Breaking changes
  • #20 - The CacheFactory function is now a contructor function that produces instances of CacheFactory when invoked with new
  • CacheFactory#createCache is now the only way to create a cache
  • CacheFactory#get now throws an error if the specified cache does not exist
    • You can use `CacheFactory#exists to check if a cache exists
  • Switched from Cache#disabled to Cache#enabled
Backwards compatible changes
  • Upgraded some dependencies
  • Added CacheFactory#exists
  • #9 - Added JSDoc comments and API Reference Documentation

1.4.0

22 Jan 01:16
Compare
Choose a tag to compare
1.4.0 - 21 January 2016
Backwards compatible API changes
  • Add a values() method to cache instances
Bug fixes
  • Fixed "expires" sometimes getting set to null
  • Fixed cache not re-initializing properly from localStorage
  • #3 - Initialization resets access timestamps

1.3.0

30 Dec 19:26
Compare
Choose a tag to compare
1.3.0 - 30 December 2015
Bug fixes
  • #1 - Really fixed this time

1.2.0

12 Oct 20:59
Compare
Choose a tag to compare
1.2.0 - 12 October 2015
Backwards compatible API changes
  • #2 - Specify MaxAge on put
Bug fixes
  • #1 - After reinitializing a cache from localStorage, info().size returns 0

1.1.0

10 Jul 16:34
Compare
Choose a tag to compare
1.1.0 - 10 July 2015

Upgraded dependencies

1.0.2

08 Jul 15:53
Compare
Choose a tag to compare
1.0.2 - 06 July 2015

Fix for promises

1.0.1

07 Jul 03:38
Compare
Choose a tag to compare
1.0.1 - 06 July 2015

Stable Version 1.0.1

1.0.0

07 Jul 03:38
Compare
Choose a tag to compare

Initial Release