- Upgrade
tar-fsdependency
- Improve documentation in
README.md
- Fix vulnerability in
tar-fsdependency by upgrading it
- Minimal supported Node.js version is now
18.18.0
- The version can now be specified as a file path to a
.nvmrc,package.json(engines.nodefield) or similar files.
const { path, version } = await getNode('/path/to/.nvmrc')- Add a
signaloption to cancel
- Minimal supported Node.js version is now
16.17.0
- Upgrade Execa
- Improve tree-shaking support
- Reduce npm package size by 53%
- Reduce npm package size
- Reduce npm package size
- Improve TypeScript types
- Upgrade
node-version-alias
- Minimal supported Node.js version is now
14.18.0
- The
cwdoption can now be afile:URL
- Add TypeScript types.
- Minimal supported Node.js version is now
12.20.0 - This package is now an ES module. It can only be loaded with an
importorimport()statement, notrequire(). See this post for more information.
- Fix issue with
SIGINThandlers
- Fix crash when downloading several Node.js binaries in parallel
- Rename the alias
heretolocal
- Add the alias
globalto target the global Node version, regardless of the current directory
- Rename the alias
nowtohere
- Aliases
candcurrentrenamed tonow - The alias
nownow takes into accountpackage.jsonengines.nodefield and additional files used by other Node.js version managers. - Alias
lremoved: please uselatestinstead
- Added alias
ltsto target the latest LTS version
- Fix aliases shortcuts
landc
- Rename
*alias tolatestorl - Rename
.alias tocurrentorc - Remove
_alias
- Fix removing
core-js
- Add
fetchoption to control caching
- Checksum checks were not working when the
mirroroption was used
- Remove
core-js
- Fix
cwdoption
- Fix
_and.aliases not working
- Can use the
_alias to refer to the current process's Node.js version - Can use the
.alias to refer to the current project's Node.js version using its.nvmrc,.node-versionor.naverc. The current directory can be changed using thecwdoption.
- Fix terminal color changing on Windows
- Fix
archoption
- Add
archoption to specify the CPU architecture.
- Minimal supported Node.js version is now
10.17.0
- Node.js binary download is now 50% faster on Windows
- Fix crash when Node.js binary URL is invalid
- Node.js binary download is now twice faster on Windows
- Fix ARM, PowerPC, S390 support
- Improve the internal directory structure used to cache the Node.js binary
- Cleanup temporary files when Node.js download fails
- Improve the appearance of the progress bar
- Ensure Node.js binaries are not corrupted by checking their checksums
- Use cache when offline (no network connection)
- Make Node.js binary download twice faster on Linux and MacOS
- Improve error messages
- Fix downloading Node.js
0.12and below on Windows
- Reduce the number of dependencies
- Separate the CLI into its own repository and npm package
get-node-clito reduce the number of dependencies.
- Upgrade
fetch-node-websiteto4.0.0 - Upgrade
normalize-node-versionto5.1.0
- Fix progress bar jitter.
- Improve the appearance of the progress bar with the
progressoption.
- The
progressoption now displays a progress bar instead of a spinner.
- Show percentage instead of number of megabytes in spinner
- Improve speed
- Change the
progressoption default value fromtruetofalsewhen called programmatically. The--progressCLI option still defaults totrue.
- Internal changes
- Improve error messages
- Fix
CTRL-Cnot working
- The output directory is now specified as
an
--outputflag instead of a positional argument on the CLI. This meansget-node VERSION OUTPUTshould now beget-node --output=OUTPUT VERSION.
- Add
--helpand--versionCLI flags - Add
--progressCLI flag - Add
--mirroroption - Improve CLI spinner
- Fix error messages not printed correctly (50128cd)
- Improve progress messages on console
- Add alternative names for
NODE_MIRROR:NVM_NODEJS_ORG_MIRROR,N_NODE_MIRRORandNODIST_NODE_MIRROR
- Fix cache invalidation bug
- The output directory now defaults to a global cache directory instead of the current directory.
- The Node.js/programmatic API is now documented and exposed
- Internal changes
- Retry downloading the Node.js binaries on network errors
- A spinner is now shown when a new Node.js version is downloading
