Releases: nvm-sh/nvm
Releases · nvm-sh/nvm
v0.31.4
v0.31.3
New Stuff
- Add remote LTS support (#1070)
nvm install: Improve error messages for missing versions- Install node upon installing if NODE_VERSION is set (#549)
Fixes
- remove the need for
sed -E(#1126) - install script: Don’t attempt to
cdtwice (#1137) - install should not exit after successful git clone (#1146, #1147)
- use Solaris-compatible tail options (#1148)
- ensure proper checking of the “shwordsplit” zsh option
Refactors
- [install script] Refactors NVM_DIR; adds tests (#566)
- use git options instead of cd in install script (#1144)
- create
nvm_grepand remove standaloneGREP_OPTIONSline. - use "case" instead of if/else in install (#898)
Tests
v0.31.2
Fixes
nvm ls: avoid use ofmaxdepthwhich is not on Solaris/SmartOS (#1121)- do not print help text on sourcing when an empty .nvmrc file is found (#1113)
nvm install -s: when “core id” doesn’t appear in /proc/cpuinfo, fall back to counting “processor” lines (#1115)- On aarch64 use arm64 packages (#1104)
- ensure
unameis unaliased (#1105) set -u: is variable set test (#1100)dashdoes not support string substitution- [shellcheck] remove use of
expr - [shellcheck] clean up unquoted args etc
- [shellcheck] add shellcheck override comments
Docs
- [help] Add
nvm ls-remote <version>(#1094) - Slightly elaborated the instruction for manual install (#1114)
- Add info WRT installing on Alpine Linux / Busybox (#1106)
- add some OS X notes to the README (#1101)
- readme cleanups (#1097, #1109)
Tests
- Run
nodeandio.jsinstallation test suites separately - swap order of slow + sourcing tests
v0.31.1
New Stuff
nvm uninstall: Check installation dir permissions before uninstalling; display "fix" commands (#847)nvm alias: colorize output to matchnvm lsnvm alias: colorize output when creating aliasesnvm ls/nvm alias/nvm ls-remote: only colorize when colors are supported
Fixes
- don’t use bash
==in conditionals nvm run: pass through--silenton barenvm runnvm exec: show “io.js” for io.js versionsset -e: ensurenvm_versionreturning 3, andnvm_aliasreturning 2, doesn’t terminate the processnvm alias: explicitly forbid user aliases in subdirsreadexits 1 when.nvmrclacks a trailing newline; avoid thatset -x: avoid an unbound variabledeactivate: unset$NVM_BINand$NVM_PATH(#1033)
Performance
nvm alias: slightly speed up alias resolution- Use
awkto improve version comparison performance
Robustness
- add a missing
commandto asedcall
Misc
- Various README tweaks
- Various testing improvements
- Prefer
nvm --helpovernvm help
v0.31.0
New Stuff
install: After installing, ensure that a default is set.install: added optional sha256 support (#981)
Fixes
nvm-exec: properly exit when failing; improve error messages, suppressnvm use --helpoutput (#997)- internal
nvm_format_versionshould only return 3 version groups - Use env bash instead of
/bin/bashin a few places (#1004) - Do not modify args of sourcing script when parsing
--install/--no-usearg (#1011, #976)
Docs
- Document how to reload nvm after upgrading (#1007)
v0.30.2
New Stuff
- Support the
--no-useargument when sourcing, on shells that support that (#972)
Fixes
- handle unbound shell variables (#868)
install.sh: honor PROFILE var (#957, #888, #830)nvm debugwas printing a red herring error message in non-zsh
Docs
- Add manual upgrade instructions to README.markdown (#968)
v0.30.1
v0.30.0
New Stuff
nvm install -snow uses more CPUs, and supports a-joption to override the default (#752)
Fixes
- Check
$#before trying to check$1. Avoids failure due tonounsetbash option (#868, #873) - Ensure that
npmdoesn't print out excess data, regardless of the user's log level (#881) - Fix
npmversion output fornvm runandnvm exec - Add prompt when there is no binary for node version greater than v1.0.0 (#899)
nvm unalias: Provide a restore command when unaliasing (#916)nvm install: incorrect check for"$NVM_DIR/nvm.sh"(#887)- Fix
nvm-execfor commands including spaces (#950, #903)
Refactors
- Use
nvm_ls_remote_index_tabfor listing nodejs.org versions (unblocks #870) - Replace backticks with $() command substitution (#875)
- improved bootstrap time (#860, #927)
Tests
- Print out
curlandwgetversions insidetravis-ci - temporarily disable WITHOUT_CURL tests. (nodejs/build#233)
- update nodejs.org-dist-index.tab and related test (#945)
- Add workaround for Travis CI environment issue (travis-ci/travis-ci#5363)
Docs
- Note compatibility issue with
set -e(#865) - README: Add link to a dedicated nvm wrapper for fish shell (#876)
- stable → node (#892)
- update version numbers in the readme; add default alias info
- improve manual install instructions
- Add
nodist, another Windows alternative (#908) - remove
nvmw(#938) - remove note about "global install", since
nvmis not intended for multiuser installs. - talk about FreeBSD support (#901)
- inform OSX users that XCode doesn't need to be installed (#921, #925)
v0.29.0
Fixes
- Protect against
catclobbering innvm alias(#858) - Fix
nvm lswhen$NVM_DIRhas spaces in it (#861) - Make sure
nvm debugdoesn't use an overriddensed - nvm exec: don't fall back to
.nvmrcwhen the provided version is not installed
Enhancements
- Ensure
nvm useoutput shows up afterprefixcheck passes - [installing] echo the URL that the tarball is being downloaded from
- nvm run: use common code path for "ensure version installed"
- Use
xztarballs if available (#823)- This saves ~25% bandwidth while downloading node installers for
io.jsv2.3.2and later, andnodev4.0and later.
- This saves ~25% bandwidth while downloading node installers for
Documentation
- indicate that the install script is also for updating (#859)