Skip to content

Tags: anchnk/nvm

Tags

v0.31.4

Toggle v0.31.4's commit message
v0.31.4

Fixes
 - fix "find: warning: Unix filenames usually don't contain slashes" warning (nvm-sh#871)
 - Fix nvm on SmartOS setups using 64 bits pkgsrc repository (nvm-sh#1182)

Install Script
 - Clean up messaging; don't source entire profile (nvm-sh#1178)

Documentation
 - Improve installation and upgrade instructions (nvm-sh#1179)
 - Document required git version (nvm-sh#1181)

v0.31.3

Toggle v0.31.3's commit message
v0.31.3

New Stuff
 - Add remote LTS support (nvm-sh#1070)
 - `nvm install`: Improve error messages for missing versions
 - Install node upon installing if NODE_VERSION is set (nvm-sh#549)

Fixes
 - remove the need for `sed -E` (nvm-sh#1126)
 - install script: Don’t attempt to `cd` twice (nvm-sh#1137)
 - install should not exit after successful git clone (nvm-sh#1146, nvm-sh#1147)
 - use Solaris-compatible tail options (nvm-sh#1148)
 - ensure proper checking of the “shwordsplit” zsh option

Refactors
 - [install script] Refactors NVM_DIR; adds tests (nvm-sh#566)
 - use git options instead of cd in install script (nvm-sh#1144)
 - create `nvm_grep` and remove standalone `GREP_OPTIONS` line.
 - use "case" instead of if/else in install (nvm-sh#898)

Tests
 - update test mocks (nvm-sh#1140)
 - use `$NVM_DIR` instead of relative paths
 - set x option in update mock to better locate failures
 - make “nvm use iojs” test actually test that thing
 - use `-ex` option during tests when possible (nvm-sh#1130)
 - avoid accidental command execution in test failure message

Verified

This commit was signed with the committer’s verified signature.
ljharb Jordan Harband

v0.31.1

Toggle v0.31.1's commit message
v0.31.1 Changelog

New Stuff:
 - `nvm uninstall`: Check installation dir permissions before uninstalling; display "fix" commands (nvm-sh#847)
 - `nvm alias`: colorize output to match `nvm ls`
 - `nvm alias`: colorize output when creating aliases
 - `nvm ls`/`nvm alias`/`nvm ls-remote`: only colorize when colors are supported

Fixes:
 - don’t use bash `==` in conditionals
 - `nvm run`: pass through `--silent` on bare `nvm run`
 - `nvm exec`: show “io.js” for io.js versions
 - `set -e`: ensure `nvm_version` returning 3, and `nvm_alias` returning 2, doesn’t terminate the process
 - `nvm alias`: explicitly forbid user aliases in subdirs
 - `read` exits 1 when `.nvmrc` lacks a trailing newline; avoid that
 - `set -x`: avoid an unbound variable
 - `deactivate`: unset `$NVM_BIN` and `$NVM_PATH` (nvm-sh#1033)

Performance:
 - `nvm alias`: slightly speed up alias resolution
 - Use `awk` to improve version comparison performance

Robustness:
 - add a missing `command` to a `sed` call

Misc:
 - Various README tweaks
 - Various testing improvements
 - Prefer `nvm --help` over `nvm help`