Releases: jpodwys/superagent-cache
Releases · jpodwys/superagent-cache
3.1.1
3.1.0
3.0.1
3.0.0
Breaking
This major release consumes cache-service-cache-module#2.0.0
which contains the following breaking change:
.get now returns a clone of, rather than a reference to, cached objects. This means that manipulating responses from .get will no longer manipulate the cache entry.
Non-breaking
Updating dependencies.
2.0.0
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 since2.x
. As a result, theresolve
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)
1.7.2
1.7.1
1.7.0
1.6.0
Adding support for HTTP patch calls. Thanks to @flochtililoch.