Skip to content

5.0.0

Compare
Choose a tag to compare
@kartikk221 kartikk221 released this 12 Sep 21:05
· 25 commits to main since this release

What's Changed

  • Implemented CachedLookup.clear() method to clear all cached values.
  • Implemented CacahedLookup.promises property which is a Map of in flight Promise instances.
  • Migrated CachedLookup.cached property to CachedLookup.cache which is a Map of cached values.
  • Implemented automatic cache cleanup internally for cached values after the greatest max_age value over the lifetime of a instance.
  • Improved JS Docs & Types.

Full Changelog: 4.0.4...5.0.0