Skip to content

Releases: jpodwys/superagent-cache

1.2.1

11 Dec 02:32
Compare
Choose a tag to compare

Adding parenthesis because bookify's ES6 implementation requires it.

1.2.0

10 Dec 23:40
Compare
Choose a tag to compare
  • Making defaults publicly accessible and writeable via superagent.defaults
  • Merging bug fix PR from @xrado : "automatically invalidate HEAD and GET cache on POST or PUT request"

1.1.1

01 Dec 20:52
Compare
Choose a tag to compare

Removing documentation I missed for a pointless feature I removed before releasing 1.1.0.

1.1.0

01 Dec 20:36
Compare
Choose a tag to compare
  • Making superagent-cache configurable by adding an optional defaults object to the require function
  • Minor code simplifications
  • Adding tests
  • Updating docs

1.0.6

23 Nov 23:08
Compare
Choose a tag to compare

Merging pull request from @orhanhenrik "Fixed bug that made superagent crash after 60s because the request was not aborted".

1.0.5

23 Oct 15:38
Compare
Choose a tag to compare

Making require('superagent-cache')(null, cache) calls made after the initial require('superagent-cache')(null, cache) call overwrite the cache param passed in an earlier calls. This is useful when you have multiple test files that call require('superagent-cache')(null, cache) but your test runner executes each of them from a single parent context such that each superagent-cache instance is not garbage collected before the next one is required.

1.0.4

20 Oct 23:18
Compare
Choose a tag to compare

Fixing a bug that prevented superagent-cache from being required more than once. Thanks @kaspermarstal.

1.0.3

29 Sep 17:53
Compare
Choose a tag to compare

Merging PR from @daf-spr -- "Fix callback execution when request fails"

1.0.2

28 Aug 17:21
Compare
Choose a tag to compare

Updating to the latest release of cacheModule.

1.0.1

28 Aug 14:21
Compare
Choose a tag to compare

Fixing documentation errors. Thanks to @deyhle.