Skip to content

v0.39.0

Compare
Choose a tag to compare
@ljharb ljharb released this 07 Oct 17:35
· 197 commits to master since this release
v0.39.0
5b3d188

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, some sh shells break
  • bash_completion: be robust when cd is overridden (#2585)
  • nvm_die_on_prefix: avoid grepping env functions in bash (2dad045, #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 if compinit 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 of node/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