Skip to content

2.0.0

Compare
Choose a tag to compare
@jpodwys jpodwys released this 15 May 15:50
· 29 commits to master since this release

Now compatible with superagent 2.x and 3.x

Breaking Changes

  • ._end is now ._superagentCache_originalEnd to prevent naming colisions
  • .pruneParams is now .pruneQuery for clarity
  • .pruneOptions is now .pruneHeader for clarity
  • No longer wrapping .then since superagent uses real promises since 2.x. As a result, the resolve function passed to .then no longer exposes the generated cache key like it did when using superagent ^1.3.0 with superagent-cache ^1.5.0 (but using .end does still expose the generated cache key)