v0.34.0
版本发布时间: 2019-01-08 16:21:35
nvm-sh/nvm最新发布版本:v0.40.1(2024-08-28 04:45:26)
New Stuff
- Support
--no-progress
fornvm install
(#1422) -
install.sh
: allow user to explicitly opt out of nvm adding the source string (#1804) - Respect previously nvm-loaded node version when sourcing (#1315)
- add support for
$XDG_CONFIG_HOME
(#1888) -
bash_completion
: Add support forZSH_DISABLE_COMPFIX
flag (#1911)
Fixes
- Improve .nvmrc reading process (#1740)
-
nvm debug
: Fix sed syntax error in nvm_command_info (#1528) - Remove $NVM_DIR trailing slash automatically (#1734)
-
install -s
:zsh
: ensureshwordsplit
opt is set (#1719) -
ls-remote
: fix issues in zsh when using a mirror with a ton of entries (#1818) - Improve
nvm_is_version_installed
to check for a node executable instead of root dir (#1824) -
use
: Prepend instead of changing if shadowed by system dirs (#1830) - Improve and update Dockerfile (#1861, #1863)
-
install.sh
: Print an error and exit the script if $METHOD is set to something unexpected (#1917) - Allow zsh users to have the nomatch option set (#1938)
- avoid unbound variable (#1949)
Refactors
- Speedup nvm_list_aliases (#1517)
-
bash_completion
: Improve coding style (#1816) - [shellcheck] use
{ …; }
instead of(…)
to group test commands (#1825) - [shellcheck] quote variables in for loops to avoid unintentional expansion
- [shellcheck] ignore SC2230 errors
- [shellcheck] Use
-n/-z
instead of! -z/! -n
condition (#1955)
Tests
- add
nvm install-latest-npm
tests for all node versions - fix failing tests on master due to npm registry SSL changes
- Enable ccache on Travis CI to speed up compilation (#1947)
- print out shellcheck version
- avoid using shopt in zsh
Docs
- add --tags to git fetch in manual upgrade (#1793)
- fix failing if check in autoload script (#1821)
- Grammar update (#1822)
- fix for .nvmrc script (#1823)
- add --no-use option to installation (#1839, #1840, #1862)
- add instructions for installing a specific version (#1901)
- Added fish nvm (#1926)
- Add section on automatic
nvm use
in Bash (#1865) - improve instructions for manual install (#1930)
- update README to fix docker run command flag order (#1925)
- Improve md file syntax (#1864)
- Add Ansible task example (#1964)
- Improve indent of output block in GitHub Issue template (#1967)
- fixing cdnvm on .bashrc (#1971)
- Improve phrasing of 'nvm current' (#1974)