cacache
21.0.2 · 11 Nov 2026ISC44M / weekRepositoryHomepagenpmAtom feed
111 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x
6.0.1
5 Mar 2017Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
6.0.0
5 Mar 2017- Breaking
cache: index/content directories are now versioned. Previous caches are no longer compatible and cannot be migrated.
- Breaking
util: fix-owner now uses Promises instead of callbacks
- Breaking
index: Previously-generated index entries are no longer compatible and the index must be regenerated.
Bug Fixes
api: keep memo cache mostly-internal
content: use the rest of the string, not the whole string
deps: removed
format-number@2.0.2deps: removed inflight@1.0.6
deps: rimraf@2.6.1
deps: standard@9.0.0
deps: tap@10.3.0
deps: weallcontribute@1.0.8
hashes: change default hashAlgorithm to sha512
hashes: missed a spot for hashAlgorithm defaults
index: add length header before JSON for verification
index: change index filenames to sha1s of keys
index: who cares about race conditions anyway
perf: bulk-read get+read for massive speed
perf: use bulk file reads for index reads
put-stream: remove tmp file on stream insert error
put-stream: robustified and predictibilized
put-stream: use new promise API for moves
readme: updated to reflect new default hashAlgo
Features
api: converted external api
cacache: exported clearMemoized() utility
cache: add versioning to content and index
content: collate content files into subdirs
deps:
@npmcorp/move@1.0.0deps:
bluebird@3.4.7deps:
promise-inflight@1.0.1get: added memoization support for get
get: export hasContent
index: add hashAlgorithm and format insert ret val
index: collate index files into subdirs
index: promisify entry index
memo: added memoization lib
memo: export memoization api
move-file: add move fallback for weird errors
perf: bulk content write api
put: added memoization support to put
read: switched to promises
rm: added memoization support to rm
rm: switched to promises
util: promise-inflight ownership fix requests
util: use promises for api
verify: converted to Promises
Breaking changes
- Breaking
cache: index/content directories are now versioned. Previous caches are no longer compatible and cannot be migrated.
- Breaking
util: fix-owner now uses Promises instead of callbacks
- Breaking
index: Previously-generated index entries are no longer compatible and the index must be regenerated.
- Breaking
index: The index format has changed and previous caches are no longer compatible. Existing caches will need to be regenerated.
- Breaking
hashes: Default hashAlgorithm changed from sha1 to sha512. If you rely on the prior setting, pass
opts.hashAlgorithmin explicitly. - Breaking
content: Previously-generated content directories are no longer compatible and must be regenerated.
- Breaking
verify: API is now promise-based
- Breaking
read: Switches to a Promise-based API and removes callback stuff
- Breaking
rm: Switches to a Promise-based API and removes callback stuff
- Breaking
index: This changes the API to work off promises instead of callbacks
- Breaking
api: This means we are going all in on promises now
- 5.x
- 4.x
4.0.0
28 Jan 2017- 3.x
- 2.x
2.0.0
20 Nov 2016- 1.x
1.0.0
18 Nov 2016
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.