Skip to content

Latest commit

 

History

History
60 lines (34 loc) · 1.74 KB

CHANGELOG.md

File metadata and controls

60 lines (34 loc) · 1.74 KB

Changelog

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[6.0.0-beta.5] - 2020-08-26

Added

  • Allow objects with potentially undefined fields to be used as CacheKey values. Any fields containing undefined will be omitted during serialization.

[6.0.0-beta.4] - 2020-08-25

Changed

  • Do not die when trying to cache errors with circular dependencies. However, we also no longer preserve custom properties on errors, because we don't know if they're safe to serialize.

[6.0.0-beta.3] - 2020-08-25

Added

  • Added support for JSON objects as hash keys using json-stable-stringify.

[6.0.0-beta.2] - 2020-08-24

Changed

  • Update to latest Redis client library.

[6.0.0-beta.1] - 2020-08-23

Changed

  • Updated to TypeScript 4.
  • Tests can now be run using npm test.

[6.0.0-alpha.8] - 2020-08-19

Added

  • Full native TypeScript support.
  • Linting using eslint.
  • Code formatting using prettier.

Changed

  • The cache-manager library has been removed, and replaced with direct access to Redis and an LRU cache.
  • Cache construction options have changed, if you choose to construct a cache manually (which is no longer encouraged).
  • You should use cache.wrap and cache.get to acccess the cache.
  • Locking has been totally rewritten.
  • The test suite has been replaced with the excellent 4.x test suite, ported to mocha.

Fixed

  • Quite a few minor bugs have been fixed. Some new ones have probably been added.

Removed

  • A subtantial number of implementation details have been removed from the public API.