Skip to content

Releases: nvm-sh/nvm

v0.33.8

Choose a tag to compare

@ljharb ljharb released this 12 Dec 18:47
7ad6d98

Fix

  • nvm install-latest-npm: fix for node 4.5/4.6

v0.33.7

Choose a tag to compare

@ljharb ljharb released this 09 Dec 17:58
65f0572

Fixes

  • fix unassigned variable (#1665, #1664)
  • Fix for $path used by zsh (#1669)
  • set -u: ensure NVM_USE_OUTPUT is always set (#1671)
  • install.sh: Fix a bug that block that installation of node in install.sh (#1676)
  • nvm install-latest-npm: fix node 4-4.6

Documentation

  • Make nvm cache clear message less ambiguous (#1644)
  • Added missing piece (#1658)

v0.33.6

Choose a tag to compare

@ljharb ljharb released this 24 Oct 06:57
b546436

Fixes

  • install.sh do not use nonexistent variable (#1605)
  • install-latest-npm: npm v5.4+ breaks on node v4.5 and v4.6

Documentation

  • Improve git installation instructions (#1636)
  • Fix typos (#1640)

Tests

  • [Cleanup] Remove ghc related things in .travis.yml (#1639, #1619)

v0.33.5

Choose a tag to compare

@ljharb ljharb released this 24 Oct 06:57
6597e11

New Stuff

  • debug: Enhance nvm debug with more tools info (#1613)

Fixes

  • install-latest-npm: io.js v1.0.x has weird behavior with npm v4.6.x.
  • unset NVM_RC_VERSION when unloading (#1607)
  • Preserve PATH locations order when changing versions (#1316)
  • ensure all grep calls go through nvm_grep (#1615)

Documentation

  • Update README.md for Alpine linux reference (#1606)

Tests

  • retry io.js test runs, since iojs.org is flaky
  • Remove the manual ShellCheck install proecss on Travis CI (#1619)

v0.33.4

Choose a tag to compare

@ljharb ljharb released this 05 Sep 06:00
d91b619

Fixes

  • [Fix] install-latest-npm: io.js v1.0.0 has weird behavior with npm v4.6.x

v0.33.3

Choose a tag to compare

@ljharb ljharb released this 04 Sep 06:22
6f19bab

New Stuff

  • nvm install: add --latest-npm option to automatically try to upgrade to the latest working version of npm
  • add support for $NVM_DIR/default-packages file (#1463)
  • Introduce Docker environment for nvm (#1472, #1575)
  • Print $TERM_PROGRAM in nvm debug if it exists (#1578)
  • install.sh: Speedup process to install nvm from git by dropping commit history (#1476)
  • install.sh: Add --auto to git gc to speed up install & upgrade (#1576)
  • install.sh: Clean up git reflog history before git gc (#1579)
  • install.sh: install bash_completion via script method (#1588)

Fixes

  • set -u: ensure that potentially unbound variables aren’t called unchecked (#1363, #1516)
  • ensure if npm link fails, that $IFS is not improperly set (#1519)
  • set IFS to default for all nvm commands (#1227, #1244, #1514, #1518)
  • set -u: when ALIAS is unset, don’t reference an unbound variable (#1526)
  • Fix --version help text (#1538)
  • enable curl compression only on curl >=7.21.0 (#1550)
  • nvm install -s: properly precompute clang version (#1554)
  • curl should fail if something wrong (#1556, #1557)
  • Adjust $CURL_COMPRESSED_FLAG usage for curl (#1562, #1567)
  • set -u: nvm install/nvm use: fix unbound vars (#1587)
  • [bash completion] add missing install-latest-npm; remove undocumented clear-cache (#1564)

Documentation

  • move the install script to the top; put the notes in a separate section
  • Install script - Improve installation guide (#1544)
  • bump sample version numbers (#1539)
  • add note about Linux troubleshooting (#1566)
  • updated to reflect current script output (#1574)

Testing

  • Fix cache for WITHOUT_CURL tests in Travis (#1529)

v0.33.2

Choose a tag to compare

@ljharb ljharb released this 26 Apr 08:22
0a95e77

New Stuff

  • Enable curl auto compression/decompression (#1437)
  • Supercharge nvm debug output (#1453)
  • Add missing commands in bash_completion (#1467)
  • install.sh: Parallel script download jobs (#1479)

Fixes

  • ensure MANPATH is not unbound (#1413)
  • checksums: remove libressl command support (#1417)
  • install.sh: NVM_PROFILE bash/zsh detection in installation, bash_completion fixes (#1375)
  • stop setting mirror env vars unnecessarily (#1429)
  • Install failed should return correct exit status (#1347, #1348)
  • nvm install -s: ensure additional params lack a trailing space
  • declare MANPATH if and only if it's not set (#1430)
  • [completions] Remove nospace in bash_completion (#1456)
  • nvm install -s: npm detection
  • nvm_ensure_version_installed: add system support (#1238)
  • confirm curl exists before detecting curl libz feature (#1487, #1497)

Documentation

Refactors

Performance

Tests

v0.33.1

Choose a tag to compare

@ljharb ljharb released this 21 Feb 02:30
6669e91

v0.33.1

Fixes

  • Enable working without tput available (#1403)
  • nvm unload: run nvm deactivate before unsetting everything (#1399)
  • unset NVM_RC_VERSION env var immediately after it’s no longer needed (#1399)
  • install.sh: only un-interpolate $HOME for the profile source string (#1384)
  • set -e: nvm install lts/something: call nvm_ensure_default_set with the proper value (#1394)

Install script

  • Use $HOME variable in NVM_DIR (#1381)

nvm debug

  • include mirrors in nvm debug output

Docs

  • [Fix] zsh autochange: only nvm install if we can’t nvm use (#1357, #1378)
  • Add CII best practices badge (#1397)

v0.33.0

Choose a tag to compare

@ljharb ljharb released this 30 Dec 07:35
40e4097

Breaking Changes (probably)

  • remove the unused and broken $NVM_PATH (#1353)

New Stuff

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

Fixes

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

Refactors/Robustness/Caching

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

Tests

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

Docs

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

v0.32.1

Choose a tag to compare

@ljharb ljharb released this 18 Oct 20:18
589a911

Fixes

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

Docs

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

Tests

  • consolidate APT packages (#1260)
  • improve + update test mocks
  • update test mocks (#1248)