Wrap native HTTP requests with RFC compliant cache support
MIT License
Bot releases are hidden (Show)
Published by jaredwray about 1 year ago
We have now moved to a mono repo and also launched a new website https://cacheable.org. Our plan is now to build out cacheable request version with HTTP 2 support as a new module in addition other caching libraries. 🎉
Full Changelog: https://github.com/jaredwray/cacheable/compare/v10.2.12...2023-07-26
Published by jaredwray over 1 year ago
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.11...v10.2.12
Published by jaredwray over 1 year ago
getStreamAsBuffer
NOTE: testing has started with Nodejs version 20 and there is an issue that we are working to resolve in the next month https://github.com/jaredwray/cacheable-request/issues/251
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.10...v10.2.11
Published by zzau13 over 1 year ago
Published by zzau13 over 1 year ago
Published by jaredwray over 1 year ago
In this release there were minor code clean up with how we identified undefined
values. Nothing major.
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.8...v10.2.10
Published by zzau13 over 1 year ago
Published by zzau13 over 1 year ago
Published by jaredwray over 1 year ago
Updated body-parser to 1.20.2 - release notes here https://github.com/expressjs/body-parser/releases/tag/1.20.2
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.6...v10.2.8
Published by zzau13 over 1 year ago
Published by zzau13 over 1 year ago
Published by zzau13 over 1 year ago
Published by jaredwray over 1 year ago
The listener was not being removed on response
and just error but new handlers were being added causing a memory leak.
line 220 in src/index.ts was modified to remove the listener on response also
if (this.cache instanceof Keyv) {
const cachek = this.cache;
cachek.once('error', errorHandler);
ee.on('error', () => cachek.removeListener('error', errorHandler));
ee.on('response', () => cachek.removeListener('error', errorHandler));
}
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.5...v10.2.6
Published by jaredwray almost 2 years ago
Types definition issue with http-cache-sematics as that type definition needs to be in dependencies. Thanks @Maxim-Mazurok
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.4...v10.2.5
Published by jaredwray almost 2 years ago
Minor updates with one exception is that we removed @types/http-cache-semantics
from the main dependencies as it does not look to be needed.
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.3...v10.2.4
Published by zzau13 almost 2 years ago
Published by jaredwray almost 2 years ago
Upgrading core modules in the system such as keyv and also a minor fix to an uncaught exception that we were seeing referenced here: https://github.com/sindresorhus/got/issues/1925
Additional update is moving normalize-url
to 8.0.0
which after testing it looks to not affect anything but will post the release notes here: https://github.com/sindresorhus/normalize-url/releases/tag/v8.0.0
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.2...v10.2.3
Published by zzau13 almost 2 years ago
Published by zzau13 almost 2 years ago
Published by jaredwray about 2 years ago
This is a monthly maintenance release which focused mostly on development toolset and should not have any big changes. The only package that was updated is normalize-url
with a version bump to 7.2.0
.
Full Changelog: https://github.com/jaredwray/cacheable-request/compare/v10.2.1...v10.2.2