v0.33.0
版本发布时间: 2016-12-30 15:35:35
nvm-sh/nvm最新发布版本:v0.40.1(2024-08-28 04:45:26)
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)