All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
8.0.0 (2019-07-22)
- Add npm version to installed message
7.0.3 (2019-06-06)
- lts version lookup working again after change to
index.tab
format used on node download site
7.0.2 (2019-03-09)
- updated README and package et al with new GitHub username (changed from JohnRGee to shadowspawn)
7.0.1 (2019-02-11)
- example instructions to
chown
rather than usesudo
- dev: detached
nvh
repo from upstreamtj/n
7.0.0 (2019-01-27)
nvh prefix
for scripting and help instructions which work across multiple setups
- use
--compressed
withcurl
for getting remote node version index
6.3.0 (2019-01-12)
NVH_PRESERVE_NPM
to preservenpm
by default for installs--no-preserve
to overrideNVH_PRESERVE_NPM
- check for more proxy settings in
nvh doctor
, includingCURL_HOME
andWGETRC
doc
directory name changed back todocs
(!), because supported by GitHub
- be more conservative determining architecture to reduce possibility install incompatible binary
6.2.0 (2019-01-02)
nvh exec <version> <command> [args]
executes command with PATH modified, allowing running scripts or commands using cached node and npm. (So likenvh run
but more general.)
docs
directory name changed todoc
- dev: make
bats
a dev dependency rather than use global install - dev: major refactor of tests and scripts
- dev: tests more self-contained (and easier to run)
- invalid version error handling for
nvh run
andnvh which
6.1.0 (2018-12-10)
nvh uninstall
to remove installed version of node, npm, et al- background in tj/n#540
- show extra information after install if installed node version is not active version. Resolves #3
6.0.4 (2018-11-13)
No code changes.
- restore relative links in README, now fixed on npmjm README with fresh publish (fingers crossed)
6.0.3 (2018-11-11)
- show
uname
innvh doctor
- improve display of node JavaScript engine by
nvh doctor
- tweak relative links in README for compatibility with npmjs.org
6.0.2 (2018-09-23)
- automated test coverage
- removed references to numeric release streams (e.g. v7.x) from documentation
6.0.1 (2018-09-15)
run
andwhich
always failing
6.0.0 (2018-09-15)
nvh cache clear
remove all downloaded versionsnvh cache prune
remove all downloaded versions except the installed version (replacingnvh prune
)
- using
index.tab
on mirror rather than scraping html page to find remote versions - more accurate and informative error messages for failed
curl
/wget
operations, including- show
curl
errors - show remote url for failed
curl
/wget
operations
- show
- narrowing candidate versions to ones matching platform
- inspired by tj/n#463, and problems with nightly
- change terminology from "stash" to "cache"
nvh prune
(replaced bynvh cache prune
)
- numbered release streams like 'v8.x': instead, use incomplete version like '8'
5.0.0 (2018-08-19)
NVH_USER
andNVH_PASSWORD
: instead, include inNVH_NODE_MIRROR
)NVH_PROXY_USER
andNVH_PROXY_PASSWORD
: instead, include in proxy url or.curlrc
or.wgetrc
4.2.1 (2018-08-18) [YANKED]
(These changes should be in a major version change, will be published on npm in 5.0.0)
NVH_USER
andNVH_PASSWORD
: instead, include inNVH_NODE_MIRROR
)NVH_PROXY_USER
andNVH_PROXY_PASSWORD
: instead, include in proxy url or.curlrc
or.wgetrc
4.2.0 (2018-08-11)
- refactored documentation and extended proxy tips
NVH_USER
andNVH_PASSWORD
: instead, include inNVH_NODE_MIRROR
)NVH_PROXY_USER
andNVH_PROXY_PASSWORD
: instead, include in proxy url or.curlrc
or.wgetrc
4.1.0 (2018-08-04)
- support for NO_COLOR and CLICOLOR=0
- more checks in
nvh doctor
--insecure
option, sometimes needed for working through proxy servers
- suppress ansi colours when stdout is not a terminal
4.0.0 (2018-07-29)
Major changes to install:
- now requiring explicit
install
command likenvh install lts
- install implementation is now using
rsync
- instructions at bottom of
nvh
version selection - allow options after command, as well as before
current
as alias forlatest
- docs for using proxy
- environment variables for proxy username and password
- inspired by tj/n#503
- autodetect whether to show progress based on whether displaying to a terminal
- requiring explicit
nvh install <version>
command, rather than implicitnvh <version>
- switched install implementation to
rsync
. This is a significant change and a new dependency for minimal installs, but allows improving some behaviours in a consistent way. - adopting suggestions of
shellcheck
(ongoing work-in-progress)- inspired by tj/n#465
- changed preflight test before download to remove broken code and reduce calls for mirrors using redirects
- inspired by tj/n#479
--preserve
now works with interactive version selection too- put single speech mark around supplied argument in error messages
- inspired by tj/n#485
- reworked implementation of
curl
andwget
commands
- unimplemented right-arrow from README instructions for interactive version selection
--no-check-certificate
for wget, secure by default, matching curl treatment--quiet
option
3.0.0 (2018-07-15)
Changes from tj/n v2.1.12
- add support for preserving npm+npx during install (
-p | --preserve
) - support for recognition of
arm64
andaarch64
architectures - support more versions
- added logging to install when no download required
- support partial version numbers with
which
andrun
(e.g. 8) - (developer)
.gitignore
.editorconfig
.markdownlint.js
nvh ls-remote [version]
to lookup matching downloadable versionsnvh doctor
to show useful diagnostics
- fix
--lts
for mirrors with multiple versions in release stream folders - changed error message for
which
andrun
to include specified and matching version - removed trailing space from
which
output - fixed partial number lookups so 6.1 matches 6.1.0 (not 6.14.3)
- (internal) share lookups for install/which/run/rm so consistent behaviour (such as partial number lookups)
- remove old iojs support from code and help
- changed environment variable names
N_PREFIX
toNVH_PREFIX
NODE_MIRROR
changed toNVH_NODE_MIRROR
HTTP_USER
changed toNVH_NODE_MIRROR_USER
HTTP_PASSWORD
changed toNVH_NODE_MIRROR_PASSWORD
- changed cache versions directory from
n/versions
tonvh/versions
n use
andn as
changed tonvh run
(as pernvm
andnvs
)nvh ls
lists downloaded versionsnvh ls-remote
replacesn ls
- error messages to STDERR
- limit number of versions listed by ls-remote
- removed support for deprecated
stable
version - removed support for
n project
(andPROJECT_NAME
andPROJECT_VERSION_CHECK
) Makefile
n --latest
replaced bynvh lsr latest
n --lts
replaced bynvh lsr lts
- alias of
bin
forwhich
- alias of
-
forrm
--download
option--arch
option