Skip to content

Releases: spautz/limited-cache

v2.2.0

12 Feb 19:14
a79f7bd
Compare
Choose a tag to compare

What's Changed

  • Update devDependencies and build system (#68) (05da16b)
  • Add support for "bundler" moduleResolution (#68) (05da16b)

Full Changelog: https://github.com/spautz/limited-cache/compare/v2.1.1...limited-cache@v2.2.0

v2.1.1

09 May 02:08
ff4ddd8
Compare
Choose a tag to compare
  • Add .js extensions to imports, to satisfy nodenext moduleResolution (#60) (2f2f679)

Full changelog: https://github.com/spautz/limited-cache/blob/main/packages/limited-cache/CHANGELOG.md

v2.1.0

30 Apr 21:24
9f84f9f
Compare
Choose a tag to compare
  • Add NPM provenance via Github actions (#56) (5f210a6)
  • Confirm support for Node 20 (#56) (5f210a6)
  • Update and modernize package build (#56) (5f210a6)

Full changelog: https://github.com/spautz/limited-cache/blob/main/packages/limited-cache/CHANGELOG.md#210

v2.0.0

23 Oct 16:59
v2.0.0
f3f9bcc
Compare
Choose a tag to compare
  • Add getCacheMetaFromObject for accessing the cacheMeta of a LimitedCacheObject: see docs
  • Internal package updates
  • Confirm support for Node 17

BREAKING CHANGES

  • Drop support for Node 10

Full Changelog: https://github.com/spautz/limited-cache/blob/main/CHANGELOG.md#200-2021-10-23

v1.1.1

23 Oct 17:33
v1.1.1
d2952d9
Compare
Choose a tag to compare

1.1.1 (2021-06-21)

  • Minor updates to build system and scripts

v1.1.0

23 Oct 17:33
v1.1.0
8e69b13
Compare
Choose a tag to compare

1.1.0 (2021-05-24)

  • Publish multiple typesVersions for different versions of typescript

v1.0.1

23 Oct 17:33
v1.0.1
c7348ed
Compare
Choose a tag to compare

1.0.1 (2020-10-25)

  • Minor updates to build system and devDependencies

v1.0.0

23 Oct 17:33
v1.0.0
0049352
Compare
Choose a tag to compare

1.0.0 (2020-08-10)

Version 1.0 redesigns the internal cacheMeta structure. This should scale better, and make it possible to build future
features and additional options.

There is now a new build system. As part of this, the React hooks and the react entry point have been removed.
The code for useLimitedCache and useLimitedCacheObject is here
if you want to reimplement them yourself. For most cases, a useMemo(() => LimitedCache(), [])) should be enough.

Other than the React hooks, there are no breaking changes to the public API or options. If you've used any undocumented
internal features, however, then they may not work the same in v1.0.

A limited-cache instance from v0.x isn't compatible with v1.x, so if you persist cacheMeta in storage then it will be
reset to an empty state on next load.

BREAKING CHANGES

  • Migrate to TSDX and drop React hooks (#27) (b1d46f2)
  • Refactor timestamp tracking (#29) (1c18b24)
  • Update cacheMeta shape, increment storage version (#28) (429a2bc)
  • Refactor timestamp tracking to support future options (#30) (264d715)

v0.5.1

23 Oct 17:33
v0.5.1
2120e6b
Compare
Choose a tag to compare

0.5.1 (2020-08-01)

Update devDependencies for security, update configs for dev tools

  • No changes expected in limited-cache itself

v0.5.0

23 Oct 17:33
v0.5.0
37d7b71
Compare
Choose a tag to compare

0.5.0 (2020-06-14)

Features

  • Typescript: Add generic typings for all cache types (#22) (55cf158)

BREAKING CHANGES

  • Use getAll to get the entire cache: get without a cacheKey is no longer supported (#22) (55cf158)