Skip to content

Tags: s2t2/nvm

Tags

v0.33.1

Toggle v0.33.1's commit message
v0.33.1

 - [Fix] Enable working without tput available (nvm-sh#1403)
 - [Fix] `nvm unload`: run `nvm deactivate` before unsetting everything (nvm-sh#1399)
 - [Fix] unset `NVM_RC_VERSION` env var immediately after it’s no longer needed (nvm-sh#1399)
 - [Fix] `install.sh`: only un-interpolate $HOME for the profile source string (nvm-sh#1384)
 - [Fix] `set -e`: `nvm install lts/something`: call `nvm_ensure_default_set` with the proper value (nvm-sh#1394)
 - [install script] Use `$HOME` variable in `NVM_DIR` (nvm-sh#1381)
 - [debug] include mirrors in `nvm debug` output
 - [Docs] [Fix] zsh autochange: only `nvm install` if we can’t `nvm use` (nvm-sh#1357, nvm-sh#1378)
 - [Docs] Add CII best practices badge (nvm-sh#1397)

v0.33.0

Toggle v0.33.0's commit message
v0.33.0

Breaking Changes (probably)
 - remove the unused and broken `$NVM_PATH` (nvm-sh#1353)

New Stuff
 - `install.sh`: Install bash programmble completions automatically (nvm-sh#753)
 - `nvm install -s`: Use clang as C/C++ compiler if detected (nvm-sh#902, nvm-sh#1300)
 - `nvm install`: Add AIX support (nvm-sh#1295)
 - `nvm install`: Print the version that is being installed (nvm-sh#1286)
 - `nvm install`: support external install hook “$NVM_INSTALL_THIRD_PARTY_HOOK” (nvm-sh#1207)

Fixes
 - [reverted] Also run git gc after nvm upgraded (nvm-sh#1274, nvm-sh#1301)
 - bypass aliased `cd` in a few places (nvm-sh#1284)
 - Improve nvm_download_artifact() process (nvm-sh#1291, nvm-sh#1294)
 - allow uninstalls when files are nonwritable but self-owned (nvm-sh#1270)
 - `nvm install`: Handle 'N/A' version instead of asking to install it (nvm-sh#1304, nvm-sh#1305)
 - `nvm install -s`: `aix`: detect number of threads on aix and not just number of processors (nvm-sh#1319)
 - `nvm unload` add missing unloadable functions/vars (nvm-sh#1333, nvm-sh#1335)
 - `nvm install -s`: nvm should respect CC/CXX env var (nvm-sh#1336)
 - `set -u`: ensure that potentially unbound variables aren’t called unchecked (nvm-sh#1363)

Refactors/Robustness/Caching
 - use echo instead of cat in install.sh (nvm-sh#1276)
 - use backslash when sourcing in case of overridden dot (nvm-sh#1278, nvm-sh#1279)
 - fix/retab indent in bash_completion (nvm-sh#1297)
 - add missing "command" prefix call for some commands (nvm-sh#1296)
 - `nvm install`: Do not remove src dir after compilation succeeds (nvm-sh#1299)
 - Add missing backslash for dots (nvm-sh#1322)
 - Rename NVM_CPU_THREADS to NVM_CPU_CORES (nvm-sh#1326)
 - Use "case" instead of multi "if" (nvm-sh#1332)

Tests
 - die() in tests should quote "$@" for echo (nvm-sh#1288)
 - [reverted] Drop manual apt source and package installation (nvm-sh#1311, nvm-sh#1323)
 - switch to use cabal to install shellcheck (nvm-sh#1320)
 - run shellcheck against bash_completion (nvm-sh#1324)
 - run shellcheck against nvm_exec (nvm-sh#1321)
 - cache $HOME/.ghc for cabal (nvm-sh#1327)
 - add test to ensure that `nvm unload` unloads all functions

Docs
 - Link version badge to the release page + cleanup (nvm-sh#1338, nvm-sh#1340)
 - update readme about compile nodejs v0.10+ from src (nvm-sh#1330)
 - update alpine environment installation info (nvm-sh#1330)
 - Auto install not exist version in zsh .nvmrc script (nvm-sh#1306, nvm-sh#1272)
 - Add current version on the top of README (nvm-sh#1309)
 - Bold leading "Note:" in readme for readability (nvm-sh#1275)

v0.32.1

Toggle v0.32.1's commit message
v0.32.1

Fixes
 - ensure that `lts/*` points to boron/latest, not argon/earliest (nvm-sh#1268)
 - `nvm uninstall`: work around `nomatch` `zsh` option (nvm-sh#1228)
 - Fix trailing whitespace in `nvm ls-remote``zsh`: when `warncreateglobal` is set, this line warns for some reason. Use `env` to suppress it (nvm-sh#1236)
 - Remove un-local var EXIT_CODE (nvm-sh#1236)
 - `install`: Manually run git gc after nvm installation (nvm-sh#1231, nvm-sh#1226)

Refactors
 - `nvm ls-remote`: make the main ls-remote command call into `nvm_remote_versions` directly
 - `nvm_install_source`, `nvm_install_binary`, `nvm_download_artifact`: ensure a version is provided
 - Use `||:` and `&&:` when appropriate
 - `nvm_ls_remote_index_tab`: clean up to use `nvm_get_mirror`
 - `nvm_install_binary`: remove unused `nvm_get_mirror` call
 - Fix indentation (nvm-sh#1256)

Docs
 - `zsh` auto-use snippet: improve speed (nvm-sh#1264)
 - Fix "Manual upgrade" link in readme (nvm-sh#1247)
 - add a menu for readme for easier readability (nvm-sh#1234)
 - Remove fin from the readme (nvm-sh#1225)
 - Bump to require git v1.7+ and add docs (nvm-sh#1233, nvm-sh#1232)
 - copyedit readme (nvm-sh#1230)

Tests
 - consolidate APT packages (nvm-sh#1260)
 - improve + update test mocks
 - update test mocks (nvm-sh#1248)

v0.32.0

Toggle v0.32.0's commit message
v0.32.0

New Stuff!
 - HUGE rewrite of installation code path! (nvm-sh#1204) This enables:
   - node 4+ source installs
   - io.js source installs
   - downloaded tarballs are cached and reused if they checksum-match
   - `nvm cache clear` and `nvm cache dir`
 - expand `xz` support to more versions

Tests
 - show `type` output for debugging
 - improve travis-ci test matrix

v0.31.6

Toggle v0.31.6's commit message
v0.31.6

Fix
 - Revert %s-formatting for SOURCE_STR when writing to shell profile (nvm-sh#1210, nvm-sh#1209)

v0.31.5

Toggle v0.31.5's commit message
v0.31.5

Fixes
 - `install.sh`: Fix nvm dir path in install script (nvm-sh#1189, nvm-sh#1190)
 - `install.sh`: Add trailing newline char to $SOURCE_STR (nvm-sh#1191)
 - when not using `xz` on merged node versions, use `z` to extract, not `x`
 - `nvm unload`: ensure all functions are unset

New Stuff
 - Add `lts/foo` support to remote commands (nvm-sh#1208)
 - `nvm ls`/`nvm ls-remote`/`nvm alias`: add `--no-colors`
 - `nvm alias`: add in `--`-based argument support

Performance
 - [Performance] make auto-using faster

Refactoring
 - use curlies with variables
 - `nvm alias`: shift out the “alias”
 - `nvm alias`: use named vars instead of positional args
 - `nvm alias`: reorganize so alias listing is done last
 - create `nvm_list_aliases`
 - always shift first argument to `nvm`
 - `nvm_install_merged_node_binary`: reduce nesting, fix var curlies
 - `nvm install`: remove unused `REINSTALL_PACKAGES_FROM` argument to inner installation helpers
 - Add `nvm_get_checksum_alg`, `nvm_get_mirror`
 - [shellcheck] fix incorrect `A && B || C` usages
 - [shellcheck] properly quote arguments
 - [shellcheck] disable intentional violations via comments
 - [shellcheck] clean up `install.sh`

Documentation
 - add a road map

Tests
 - set -ex options on more tests

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