Skip to content

Releases: jpodwys/superagent-cache

1.5.0

17 Jun 06:56
Compare
Choose a tag to compare

Added .then() support which exposes the generated cache key to the resolve function as the second param. Did not add the option to bypass .then() like I did with .end() using ._end(). Can do so if requested by users.

1.4.1

24 Mar 15:52
Compare
Choose a tag to compare

Merging #35 (thanks to @Diokuz)

1.4.0

04 Mar 00:05
Compare
Choose a tag to compare

Adding .forceUpdate to optionally force a query even if a cache key exists (thanks to @orhanhenrik)

1.3.6

03 Mar 23:31
Compare
Choose a tag to compare

Updating cache-service-cache-module pin to consume scoped variable fix.

1.3.5

01 Mar 18:06
Compare
Choose a tag to compare
  • Bumping superagent pin from 1.6.1 to 1.7.2
  • Fixing incompatibility with > 1.6.1
  • Updating tests
  • Updating docs

1.3.4

17 Feb 22:30
Compare
Choose a tag to compare
  • Fixing a bug that prevents res.redirects from being populated (thanks to @ariutta)
  • Adding unit tests (thanks to @ariutta)
  • Bumping release

1.3.3

28 Jan 21:20
Compare
Choose a tag to compare
  • Fixed a variable hoisting bug causing superagent-cache to throw an error in firefox
  • Moved private functions to a separate object which makes them more testable

1.3.2

24 Dec 21:56
Compare
Choose a tag to compare

Updating to the latest cacheModule version.

1.3.1

22 Dec 17:31
Compare
Choose a tag to compare

Adding LICENSE.md by user request.

1.3.0

21 Dec 17:19
Compare
Choose a tag to compare
  • Adding the ability to pass a cacheModuleConfig object as the cache constructor param which will then be used with superagent-cache's internal cacheModule instance
  • Pinned to the latest cacheModule release so that superagent-cache can now natively take advantage of localStorage and sessionStorage
  • Updated superagent pin from 1.1.0 to 1.6.1
  • Fixed a bug that prevented superagent-cache from caching anything on the client (thanks to @xrado)
  • Fixed a bug that prevented superagent-cache from including query params and headers in its generated cache keys (thanks to @xrado)
  • Breaking unit tests out into separate files organized by type
  • Updating documentation