v0.33.3
版本发布时间: 2017-09-04 14:22:25
nvm-sh/nvm最新发布版本:v0.40.1(2024-08-28 04:45:26)
New Stuff
-
nvm install
: add--latest-npm
option to automatically try to upgrade to the latest working version ofnpm
- 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
: whenALIAS
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 undocumentedclear-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)