Skip to content

Releases: Tirke/node-cache-manager-stores

@tirke/[email protected]

07 Jun 14:45
03ad990
Compare
Choose a tag to compare

Minor Changes

  • Generate provenance status (d3686c0)

@tirke/[email protected]

26 Mar 11:16
9d6a256
Compare
Choose a tag to compare

Minor Changes

  • Publish mongodb package with ESM and CJS files (5a6ff50)

@tirke/[email protected]

31 Jan 09:54
84ffaea
Compare
Choose a tag to compare

Minor Changes

  • Fix published package of ioredis (802b538)

@tirke/[email protected]

31 Jan 09:42
fe72c54
Compare
Choose a tag to compare

Minor Changes

  • IoRedis package is now bundled with ESM and CJS compatibility (#145)

@tirke/[email protected]

04 Nov 13:57
2f59500
Compare
Choose a tag to compare

Patch Changes

  • 64805e9 Thanks @Tirke! - Correct package.json github repo links

@tirke/[email protected]

04 Nov 10:36
20be375
Compare
Choose a tag to compare

Major Changes

  • 8d86bae Thanks @Tirke! - This is the first release of a cache-manager store for MongoDB

@tirke/[email protected]

04 Nov 13:57
2f59500
Compare
Choose a tag to compare

Patch Changes

  • 64805e9 Thanks @Tirke! - Correct package.json github repo links

@tirke/[email protected]

21 Oct 09:39
97048e3
Compare
Choose a tag to compare

Major Changes

  • 40f233d Thanks @Tirke! - node-cache-manager-ioredis is now compatible with new cache-manager@5 major version

    The new major version of cache-manager introduced breaking changes around the API to create a cache manager instance.
    I also had to rewrite most code because cache-manager is now based on promises everywhere so I could ditch the callbacks.
    Examples in the README have been updated to reflect the changes.

    For a before / after example:

    // Before
    
    import { IoRedisStore } from '@tirke/node-cache-manager-ioredis'
    import { caching } from 'cache-manager'
    
    const redisCache = caching({
      store: IoRedisStore,
      host: 'localhost', // default value
      port: 6379, // default value
      password: 'XXXXX',
      ttl: 600,
    })
    // After
    
    import { ioRedisStore, RedisCache } from '@tirke/node-cache-manager-ioredis'
    import { caching } from 'cache-manager'
    
    const redisCache: RedisCache = caching(ioRedisStore, {
      host: 'localhost', // default value
      port: 6379, // default value
      password: 'XXXXX',
      ttl: 600,
    })

@tirke/[email protected]

25 Aug 07:24
2fe2f06
Compare
Choose a tag to compare

Minor Changes

  • 91269b6 Thanks @Tirke! - README example was not working because the root params where not passed to the created IORedis instance.
    This should now work. README now also contains intended ways to instantiate the cache-manager.

@tirke/[email protected]

22 Aug 14:19
7aa4bd2
Compare
Choose a tag to compare

Patch Changes

  • 44b0b2e Thanks @Tirke! - Put the correct package names in the READMEs