v0.39.0
版本发布时间: 2021-10-08 01:35:50
nvm-sh/nvm最新发布版本:v0.40.1(2024-08-28 04:45:26)
New Stuff
- maybe support Windows with WSL, MSYS, Cygwin (#2391)
Fixes
-
nvm install-latest-npm
: ensure npm 8 does not install on unsupported nodes -
nvm_die_on_prefix
: filter prefixed env vars on name only, ignoring values (#2368) -
set -a
: when this option is set, somesh
shells break -
bash_completion
: be robust whencd
is overridden (#2585) -
nvm_die_on_prefix
: avoid grepping env functions in bash (2dad0455ec61e2842f8d0820bae40114a343ae3b, #2606) -
reinstall-packages
: handle global symlink locations properly -
nvm_ls_remote_index_tab
: handle long version lists (#2581) -
nvm ls
/nvm alias
/nvm_list_aliases
: zsh: when no LTS aliases, no error -
install
: Detect correct profile based on $SHELL var (#2556) -
nvm_get_arch
: suppress error output if/sbin
does not exist -
bash_completion
: check ifcompinit
is called before calling it (#2490) -
nvm_get_arch
: Rasbperry Pi: armv7l with arm64 kernel, get correct arch (#2469) - install script: check the proper version; fetch tags also (#9)
Robustness
- avoid IFS shenanigans: quote arg count/return codes
Refactors
- Use awk for path stripping (#1360)
- [shellcheck] disable additional
-x
warning from v0.7.2 - [shellcheck] update for new warnings in v0.7.2
Dockerfile
- Update dated base image from Ubuntu 16.04 to 18.04 (#2571)
Docs
- [readme] link "Windows WSL" down to the "important notes" section (#2502)
- [readme] Add bash_completion in "manual install" section (#2620)
- [readme] Use absolute URL for #606 in README.md (#1656)
- [readme] Add quick intro to
nvm
(#1343) - [readme] Add info to restart bash if verification not working in verification section (#1749)
- [readme] Avoid infinite loop in cdnvm() (#2605)
- [readme] remove duplicate word 'run' (#2609)
- [readme] updated automatic call script for bash (#2604)
- [readme] fixed small typo afew to a few (#2517)
- [readme] fix typo regarding docker image base in Dockerfile (#2573)
- [readme] move License and Copyright notice sections to the bottom
- [readme] remove redundant "license" section text in favor of LICENSE.md
- [readme] Improve README about Macs with M1 chips (#2479)
Meta Stuff
- add project charter and governance
- add OpenJS Foundation copyright notices/links
- add
SECURITY.md
Tests
- use a matrix on the
nvm install-latest-npm
tests - blacklist expired LetsEncrypt CA (#2623)
- Add
markdown-link-check
script -
nvm install-latest-npm
: node < 0.10 breaks with npm with dropped support for TLS < 1.2 - Print shell version in Travis CI (#1471)
- [actions] restrict permissions for
GITHUB_TOKEN
(#2584) -
postcss
v7.0.36 stopped working on node 0.10; downgrade to v4 - update mocks
- disable
fail-fast
- [actions] fix typo in dockerfile_lint job
- [actions] use
node/install
instead ofnode/run
- [actions] adjust shellcheck/windows tests to9 have a final "done" job
- Add unit tests for
nvm_is_version_installed
-
node-gyp
v8 breaks a test
New Contributors
- @Botspot made their first contribution in https://github.com/nvm-sh/nvm/pull/2469
- @leafac made their first contribution in https://github.com/nvm-sh/nvm/pull/2479
- @akefirad made their first contribution in https://github.com/nvm-sh/nvm/pull/2490
- @tg90nor made their first contribution in https://github.com/nvm-sh/nvm/pull/2556
- @IYaksha made their first contribution in https://github.com/nvm-sh/nvm/pull/2573
- @kstolp made their first contribution in https://github.com/nvm-sh/nvm/pull/2581
- @varunsh-coder made their first contribution in https://github.com/nvm-sh/nvm/pull/2584
- @giladbarnea made their first contribution in https://github.com/nvm-sh/nvm/pull/2585
- @donnikitos made their first contribution in https://github.com/nvm-sh/nvm/pull/2604
- @GeorgiChochov made their first contribution in https://github.com/nvm-sh/nvm/pull/2609
- @svenssonaxel made their first contribution in https://github.com/nvm-sh/nvm/pull/2606
- @tim-connolly made their first contribution in https://github.com/nvm-sh/nvm/pull/2605
- @strouja made their first contribution in https://github.com/nvm-sh/nvm/pull/2517
- @asab-se made their first contribution in https://github.com/nvm-sh/nvm/pull/1749
- @alisternorris made their first contribution in https://github.com/nvm-sh/nvm/pull/1343
- @umireon made their first contribution in https://github.com/nvm-sh/nvm/pull/1360
- @Igot953 made their first contribution in https://github.com/nvm-sh/nvm/pull/2624
- @rickbutton made their first contribution in https://github.com/nvm-sh/nvm/pull/2623
- @felipear89 made their first contribution in https://github.com/nvm-sh/nvm/pull/2620
- @SimonEast made their first contribution in https://github.com/nvm-sh/nvm/pull/2502