All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Nx support starts at 20.0.0
- Version 20 will be the last supported version of this package, as Nx introduced powerpack, which replaces custom runners.
- Nx support starts at 19.0.0
- Nx support starts at 18.0.0
- Nx issue https://github.com/nrwl/nx/issues/20689 requires us to set
skipLibCheck: true
inside thetsconfig.json
ofnx-remotecache-*
packages.
- Update README.md & CHANGELOG.md
- Nx Tasks are now available in the callback passed to
createCustomRunner
. Fixes #30.
- Prevent call to
getSafeRemoteCacheImplementation
if bothread
andwrite
are disabled. Thanks to Charlie Croom. - Fix filter source implementation to work OS independently. Fixes #31.
- Major versioning is now synced to nx.
- Nx support now starts at
17.0.0
. Thanks to Steven Rathbauer.
- Nx dev/peer dependency switched from
@nx/workspace
tonx
. Fixes #27. Thanks to Steven Rathbauer.
- Fixes #26 (
local cache artifact in "*" was not been generated on this machine
) error.
- Nx support now starts at
16.9.0
(due to breaking internal cache changes).
- No incorrect files are filtered out anymore. Fixes #23.
- Fixed
zlib: unexpected end of file
error for version Node 18. Thanks to stixx200.
- Support for Nx version 16.6.0+ by removing the machine id from stored artifacts. Thanks to MikeFear.
read
andwrite
flags now prioritize environment variables over thenx.json
. Thanks to John98Zakaria.
- Options
read
andwrite
now allow to disable reading and writing from / to the remote cache separately. Thanks to rv2673.
- Nx support now starts at 16.0.0 thanks to gmfun
- Note: packages consuming this package might need to set
declaration: false
in their TSConfig
- Environment variables now start with
NXCACHE_
instead ofNX_CACHE_
to prevent leaking credentials
- Implementation & API is now stream based to reduce memory overhead.
- All file system writes are now fully asynchronous.
- Filenames are now suffixed to prevent incorrect cache hits with older versions.
- Added
name
task runner option andNXCACHE_NAME
env variable to set a custom cache name
- Added
initEnv(options)
function for reading environment variables from.env
- File copying from
.cache
todist
works again
fs/promises
import broken in Node 12 and below
fs/promises
import broken in Node 12 and below
silent
option now correctly mutes all info and success logs
silent
option to mute info and success logs
- Initial implementation of
createCustomRunner