Releases: nvm-sh/nvm
Releases · nvm-sh/nvm
v0.39.1
New Stuff
- Add OpenBSD support (#1062)
Fixes
ls-remote/install: supportlts/-Xpatterns in installsls-remote/install: properly handlelts/xpatternsnvm alias/nvm_list_aliases: supportlts/aliasesnvm_get_download_slug: better architecture selection for M1 Macsinstall: fix method=script install condition (#2668)install: properly check for curl/wget- install script: Add
--no-pageroption to git branch (#2637)
Refactors
- create
nvm_normalize_ltshelper - [shellcheck] apply v0.8.0 updates
Docs
- [readme] Balance the if statement in bash example (#2658)
- [readme] Describe another failure case for installing node versions from source on mac arm64 machines (#2653)
Tests
v0.39.0
New Stuff
- maybe support Windows with WSL, MSYS, Cygwin (#2391)
Fixes
nvm install-latest-npm: ensure npm 8 does not install on unsupported nodesnvm_die_on_prefix: filter prefixed env vars on name only, ignoring values (#2368)set -a: when this option is set, someshshells breakbash_completion: be robust whencdis overridden (#2585)nvm_die_on_prefix: avoid grepping env functions in bash (2dad045, #2606)reinstall-packages: handle global symlink locations properlynvm_ls_remote_index_tab: handle long version lists (#2581)nvm ls/nvm alias/nvm_list_aliases: zsh: when no LTS aliases, no errorinstall: Detect correct profile based on $SHELL var (#2556)nvm_get_arch: suppress error output if/sbindoes not existbash_completion: check ifcompinitis 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
-xwarning 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-npmtests - blacklist expired LetsEncrypt CA (#2623)
- Add
markdown-link-checkscript 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) postcssv7.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/installinstead ofnode/run - [actions] adjust shellcheck/windows tests to9 have a final "done" job
- Add unit tests for
nvm_is_version_installed node-gypv8 breaks a test
New Contributors
- @Botspot made their first contribution in #2469
- @leafac made their first contribution in #2479
- @akefirad made their first contribution in #2490
- @tg90nor made their first contribution in #2556
- @IYaksha made their first contribution in #2573
- @kstolp made their first contribution in #2581
- @varunsh-coder made their first contribution in #2584
- @giladbarnea made their first contribution in #2585
- @donnikitos made their first contribution in #2604
- @GeorgiChochov made their first contribution in #2609
- @svenssonaxel made their first contribution in #2606
- @tim-connolly made their first contribution in #2605
- @strouja made their first contribution in #2517
- @asab-se made their first contribution in #1749
- @alisternorris made their first contribution in #1343
- @umireon made their first contribution in #1360
- @Igot953 made their first contribution in #2624
- @rickbutton made their first contribution in #2623
- @felipear89 made their first contribution in #2620
- @SimonEast made their first contribution in #2502
v0.38.0
New Stuff
install: add parallel build support for openbsd (#2390)install: add-bflag to skip building from source (#2439)- install script: Allow installation from other repository also for git method (#2401)
- install script: Allow installation from other repository (#2394)
Fixes
exec:--should stop argument parsing (#2354)nvm_alias: ensurelts/-1returns the one beforelts/*(#2462)- install script: define
nvm_echo - Fix potential unbound var error on nvm install (#2421)
- avoid parse error with common omz global aliases, in
nvm_print_color_code(#2365) - install script: sync
nvm_downloadimplementation from nvm.sh (#2406) - remove
nvm_supports_source_options(#2402) bash_completion: move compinit before bashcompinit (#2393)- relax
$PREFIXchecking, to accomodatenpm exec - Use local variable when looping over args (#2377)
install: Ignore npm command under $NVM_DIR when checking for global modules (#2348)
Refactors
- add
nvm_install_binary_extract - add
nvm_get_artifact_compression - fix silly shellcheck complaint
Docs
- Add macOS troubleshooting instructions for M1 chip (#2416, #2436, #2232)
- Update source command to include s in zsh (#2466)
- Add
nvsas one of the Windows alternatives (#2454) - add headings to certain sections (#2457)
- add commands to help troubleshoot without closing the current shell (#2202)
- update
cdnvmimplementation (#2442) - add install error tips (#2400)
- quote asterisk in shell command on
--latest-npmexample (#2431) - Updated README.md to include homebrew unsecure dirs warning (#2388)
- source
./nvm.shinstead ofnvm.sh, forzsh(#2205) - add CODE_OF_CONDUCT.md
Tests
- Rename some files to be more cross platform (#2397)
- [actions] update workflows (#2427)
- [Dev Deps] update
dockerfile_lint,doctoc,eclint,replace,semver - ensure
doctocaction fails when it should - update mocks
- Add unit test for nvm_download
- add
nvm_grepto install script, fix tests (#2403 .npmis now cached by default (#2104)release: clobber local tags
v0.37.2
v0.37.1
v0.37.0
Major Performance Enhancement
use/nvm_die_on_prefix: replicate npm config algorithm and removenpm configcall (#2317)
Fixes
nvm ls-remote: accept versions that end with a dot (#2310)nvm_ls: zsh: unsetmarkdirsandlocal_options(#2316)nvm_die_on_prefix: use directory comparison rather than string (#2316)
Docs
Tests
v0.36.0
v0.36.0
New Stuff
- add
nvm -vas an alias fornvm --version(#2270) nvm deactivate/nvm which: add--silent- adding default and alias option to
nvm install(#2274, #1929) nvm_supports_xz: Add Mac/FreeBSD xz platform support checks (#2156)- add
nvm_find_project_dirhelper
Fixes
latest-npm: ensure npm 7 is not installed on node < 10nvm_die_on_prefix: check that the prefix is inside the version dir, not just the nvm dirnvm use: fix--silentwhen version is omitted- ensure
--helpis intercepted on any command (#2277) --help: Add more examples (#2272)install: improved arg parsing around--reinstall-packages-from(#1762)reinstall-packages: do not include unmet peer deps (#1948)--help: explain more clearly that parameter is optional and can be provided by .nvmrc onnvm install,nvm use,nvm exec, andnvm run(#2242)- [Robustness] add
commandtoxargs/rminnvm_get_default_packages(#2281) - [debug] add
whoamioutput - [performance]
nvm_auto: only callnvm_ls_currentinusemode (#2286)
Refactors
- [Refactor] add
nvm_get_checksum_binary; use it innvm debug - [Refactor] remove unused
nvm_checksumfunction - [Refactor] Rename solaris and iojs helper functions to be nvm_ prefixed (#2213)
- [Refactor]
nvm run/nvm exec: useNVM_SILENTconsistently internally (#2279)
Dockerfile
- [dockerfile] Add missing apt package
locales(#2306) - [dockerfile] Remove ShellCheck Segmentation fault workaround (#2305)
- [dockerfile] Update ShellCheck download URL in Dockerfile (#2304, #2232)
- [dockerfile] Update Dockerfile base image to Ubuntu 16.04, cc #2008 (#2187)
Docs
- [readme] fix LTS upgrade command (#2294)
- [readme] update autocompletion output examples
- [readme] Mention problem with windows cmd echo (#2282)
- [readme] Add documentation for LTS updates which reinstall existing packages (#2271)
- [readme] Fix fish load_nvm function (#2252)
- [readme] Update macOS troubleshooting w/ 10.15 zsh default (#2248)
- [readme] Update install instructions troubleshooting (#2225)
- [readme] Syntax highlight for Ansible task example in README.md (#2228)
- [readme] Update README for environment variables (#2159)
- [readme] Stop removing spaces from nvm_path (#2235)
- [readme] include deeper integration instructions for fish (#2208)
- [patch] Update docs and add warning for 'nvm is not compatible with the npm config "prefix" option' edgecase error on Mac OS (#2263)
Tests
- pin postcss to v7
- Source nvm.sh before defining FILE (#2182)
Meta Stuff
- fix TOC action
- add actions: Automatic Rebase for PRs, auto-update-TOC for push
v0.35.3
v0.35.3
New
- add
lts/-1etc, to point to an LTS line relative to "latest" use: setNVM_INCto expose the node include pathuninstall: addNVM_DEBUGto print out a filename as its permissions are checked
Fixes
nvm ls-remote: properly label latest LTS versions instead of just the latest one in the filter
Docs
- [readme] restore broken anchor
- [readme] add nvm intro
- Improve readme clarity and troubleshooting (#2125)
- Fix small typo in README (#2130)
Tests
- update mocks
- fix update mocks script
- update test mocks
- try to make
nvm unloadtest more robust - ensure
nvm unloadunsets env vars too