使用标签,可以设置提交历史上的特定点为重要提交
  • v0.40.8
    a885b885 · v0.40.8 ·
    v0.40.8
    
    Bug Fixes
    
     - `nvm_alias`, `nvm_version_path`: reject `..` path components
     - `nvm_get_make_jobs`: count cores on platforms the `case` does not name
     - `nvm-exec`: improve the no-version failure message
     - `nvm use`: do not clobber `man`'s default search path (#3890)
     - `nvm_err`, `nvm_err_with_colors`: do not fail when stderr is closed (#3907)
     - `nvm_hash_reset`: only run `hash -r` where the shell supports it
     - `nvm_alias`: unset zsh's `extendedglob` while reading an alias file (#3891)
     - zsh: restore `nomatch` and `markdirs` rather than clobbering them
     - `nvm --help`: render the set-colors legend in color (#3915)
     - `nvm unload`: drop the undefined `nvm_format_help_message_colors`
     - `nvm_get_mirror`: allow ports, userinfo, IPv6 hosts, and percent-encoding
     - `nvm_sanitize_auth_header`: allow `~`, completing RFC 7235 `token68` (#3751)
    
    Refactors
    
     - `nvm --help`: extract the set-colors legend into `nvm_print_color_legend`
    
    Performance
    
     - Optimize nvm_tree_contains_path with in-memory POSIX parent-walk (#3912)
    
    Docs
    
     - [readme] document platforms with no official node binaries
     - `install.sh`: Fix missing words in bash/zsh completion message (#3887)
     - Remove stray closing HTML tag (#3919)
    
    Misc
    
     - [meta] remove CLAUDE.md symlink in favor of AGENTS.md (#3928)
     - [meta] add `release-notes.sh`, the release notes generator
    
    Tests
    
     - homebrew/actions changed their default branch
     - [actions] WSL: pin every distribution, and test the newest of each line
     - `nvm_print_color_legend`: look up the function with `PATH` emptied
     - `nvm_print_color_legend`: check for the function, not a same-named file
     - `nvm_print_color_legend`: fix the `fast` suite on GNU userlands
     - [actions] `release.yml`: provide `GH_TOKEN` so release-notes PR lookup can run
    
  • v0.40.7
    f0b0c6bb · v0.40.7 ·
    v0.40.7
    
    New Stuff
    
     - `nvm install`: serialize concurrent installs of the same version
     - `nvm install`: add `NVM_NO_SOURCE_FALLBACK` to disable the source fallback
    
    Robustness
    
     - `nvm install`: reject a structurally broken installed version
     - `nvm_install_binary_extract`: replace a broken version dir atomically
     - `install.sh`: `nvm_download`: avoid `eval` so arguments aren't re-parsed by the shell
    
    Docs
    
     - [readme] link every referenced person and project to its canonical page
    
    Misc
    
     - [Dev Deps] update `markdown-link-check`
    
    Tests
    
     - install_nvm_from_git: don't fail when master is at the latest release tag
    
  • v0.40.6
    b6cf55f6 · v0.40.6 ·
    v0.40.6
    
    New Stuff
    
     - `install`: add support for loongarch64 architecture (#3693)
    
    Bug Fixes
    
     - support arm64-musl on Alpine Linux (#3845)
     - `nvm_ls_cached`: include source-cached and io.js artifacts
     - auth header: Add all valid base64 chars to sanitize function (#3846)
     - Parse commented nvmrc content in nvm_ls
     - bypass aliased curl (#2932)
     - `nvm_download`, `nvm_get_latest`, `install`: only select a downloader that exists as an executable
     - use `command` to bypass `curl`/`wget` shell functions and aliases
     - `install`: use darwin-x64 for all binary on mac for node < v16 (#3709)
     - `nvm install`: migrate packages/set alias when target is already installed
     - focused error on missing/invalid args for several subcommands
     - `nvm_rc_version`: clarify error when no version and no .nvmrc
     - `nvm exec`/`nvm run`: warn when no version and no .nvmrc
    
    Refactors
    
     - `nvm_alias`: one-pass trailing whitespace strip
     - `nvm_alias`: use [[:space:]] instead of literal tab
     - `nvm_alias`, `nvm_resolve_alias`: use builtins
    
    Robustness
    
     - reject unsafe LTS alias names from a mirror's index.tab
     - avoid a `set -u` error when `$_` is unset (#3845)
     - `nvm_get_arch`: only apply the Alpine musl suffix when the OS is linux (#3845)
     - `nvm_alias`: explicitly succeed when the alias file is unreadable
    
    Docs
    
     - [readme] Docker: build time is "several" minutes, not 8 (#3875)
     - [readme] Docker: Just say "Ubuntu" (no version) for base image (#3873)
     - document `nvm reinstall-packages` as a standalone command
     - document `current` and clarify .nvmrc fallback in help/README
     - threat model: document the mirror payload/metadata trust boundary
    
    Tests
    
     - [actions] nodejs.org PR: sync the fork before branching, and surface create-ref errors
     - [actions] nodejs.org PR: fix `force` boolean and grab the latest tag on dispatch
     - [actions] fall back to the canonical nvmrc submodule when a fork lacks its own
     - [actions] update workflows
     - [actions] `nvm-install-test`: turn the expected v0.40.0 failures green
     - [actions] add `tests-alpine`: a green fast suite and a musl-binary regression matrix (#3845)
     - make the fast suite pass on Alpine (#3845)
     - `nvm_ls handles hash in pattern`: fix cleanup, isolate NVM_DIR, cover the sed path (#3854)
     - `installation_node`: only match top-level global packages
     - `installation_node`: use a published `is-nan` version
     - run every remaining test file: exec bits, fixes; add `check-exec` to CI (#2232)
     - `nvm_offline_version`: make it executable; pin `nvm_ls_cached` cache visibility
     - `aliases`: cover the regex-metachar cycle fix; clean up fixtures in teardown (#3787)
    
  • v0.40.5
    1889911f · v0.40.5 ·
    v0.40.5
    
    New Stuff
    
     - `nvm install --offline`: install from cache without network access
    
    Bug Fixes
    
     - `nvm_download_artifact`: reject version strings with disallowed characters
     - `nvm_get_checksum`: pass the tarball name to awk as data, not program text
     - `nvm_download`: avoid `eval` so mirror-supplied version strings can't inject commands
     - `nvm_download`: send a well-formed Authorization header on the wget path
     - avoid an unbound variable
     - Add local for sanitized_header (#3837)
     - fix same owner for root when install from binary (#3834)
     - `nvm_normalize_lts`: only reject uppercase for LTS names, not regular aliases
     - `install.sh`: check `mkdir` return codes
     - `install.sh`: fix POSIX compliance, printf format strings, and profile detection
     - `nvm which`: show alias name in infinite loop error message
     - `nvm uninstall`: fix alias cleanup glob expansion
     - `nvm debug`: use default empty values for potentially unset variables
     - `nvm_iojs_version_has_solaris_binary`: fix comparison to detect non-iojs versions
     - `nvm_download_artifact`: fix error propagation from subshells
     - `nvm_install_binary`: return failure when binary download fails with `-b`
     - `nvm_get_arch`: only apply musl suffix on x64 Alpine
     - `nvm_get_arch`: add `command` prefix to `uname` call
     - `nvm_resolve_local_alias`: avoid using variable as printf format string
     - `nvm_get_mirror`: fix awk URL validation to actually reject invalid URLs
     - `nvm_ls_remote_combined`: propagate iojs remote listing failures
     - `nvm install`: fix `nvm err` typo to `nvm_err` for `-s`/`-b` conflict
     - `nvm alias`: fix colors not showing by default
    
    Refactors
     - `nvm_rc_version`: use fd 3 instead of exported env var for multiple return
    
    Docs
     - fix `--offline` help line alignment
     - Clean up wording in docs and shell comments (#3806)
     - fix CONTRIBUTING grammar (#3804)
     - do not use tilde expansion in ENV of Dockerfile (#3821)
     - [readme] use tilde expansion instead of "$HOME" for consistency (#3799)
     - [readme] use "$HOME" instead of hardcoded "/home/user"
     - [readme] Revise Node.js version usage examples (#3802)
    
    Misc
    
     - [meta] Update .gitmodules with relative submodule path (#3839)
     - [meta] Submodule nvmrc update protocol from git to https (#3839)
     - [meta] Align and enhance AGENTS.md instructions (#3774)
    
    Tests
    
     - `install_nvm_from_git`: stop git background gc/maintenance racing with cleanup
     - `install_nvm_from_git`: fix malformed test command (missing space before `]`)
     - reduce CI flakiness from transient Docker registry failures
     - remove double-substitution in assert_ok and assert_not_ok (#3826)
     - fix 4 test failures
     - add `try`/`try_err` helpers; convert tests to use them
     - [actions] add workflow to update nodejs.org nvm version
     - [actions] set per-job permissions in the `nvm install` workflow
     - [actions] allow DockerHub's CloudFront CDN so image pulls aren't blocked
     - [actions] upgrade vampire/setup-wsl (#3775)
    
  • v0.40.4
    62387b8f · v0.40.4 ·
    v0.40.4
    
    Bug Fixes
    
     - sanitize `NVM_AUTH_HEADER` in `wget` path
     - `nvm_has_colors`: also check if stdout is a terminal
     - `nvm_strip_path`: avoid gawk-specific `RT` variable for mawk compatibility
     - `nvm_get_default_packages`: use portable awk patterns
     - `nvm_install_source`: explicitly set SHELL=/bin/sh for make
     - `install.sh`: do not log when user has requested no profile modifications (#2131)
     - `nvm exec`: Do a version check on `nvm-exec` (#3308)
     - Reject bare LTS codenames in nvm install (#3718)
     - prevent sed errors when pattern contains `#`
     - install.sh: Force remote name of cloned repo to be 'origin' (#3654)
     - `sh` lacks `-O`; thanks shellcheck
     - show system Node.js version in nvm ls (#1287)
    
    Docs
    
     - [readme] add missing colon (#3516)
     - [readme] add background on io.js (#3641)
     - [readme] fix typo (#3687)
     - [readme] update installation by docker to v0.40.3 (#3590)
    
    Tests
    
     - [actions] add permissions to GHA workflow
     - Improve uninstall error message for missing versions (#3768)
     - [Tests] add retry logic (#2232)
     - [Tests] add a timeout
     - [actions] add a finisher to lint
     - [actions] migrate Travis CI tests to GitHub Actions
     - [Tests] mock `node` in `nvm_die_on_prefix` test
     - [Tests] clean up .nvmrc after nvm-exec test
     - [Tests] set `$_` before sourcing `nvm.sh` in fast tests
     - [actions] update outdated GitHub Actions versions (#3762)
     - [actions] fix WSL tests: properly handle Debian apt sources issue
     - [actions] fix workflow permissions; add codeQL
     - [actions] temporary fix for WSL issue
     - [actions] add new github asset domain to harden-runner
     - [actions] Fix Cygwin workflow HOME variable and add debug output (#3611)
    
    Misc
     - Migrate GitHub Copilot instructions to AGENTS.md and CLAUDE.md (#3655)
     - [security] add security escalation policy (#3658)
     - [meta] Add comprehensive .github/copilot-instructions.md for better AI code assistance (#3609)
     - [meta] update security policy; add IRP
     - [Dev Deps] update `markdown-link-check`, `semver`
    
  • v0.40.3
    977563e9 · v0.40.3 ·
    v0.40.3
    
    Fixes
     - `nvm_install_latest_npm`: fix node version detection (#3564)
    
  • v0.40.2
    ffec9fec · v0.40.2 ·
    v0.40.2
    
    New Stuff
     - `install.sh`: add `$ZDOTDIR` to zsh search (#3458)
    
    Fixes
     - `reinstall-packages`: do not reinstall corepack (#3544)
     - avoid bash-specific syntax (#3499)
     - `install-latest-npm`: npm v11 is out
     - `nvm_install_latest_npm`: avoid unbound variable (#3447)
     - give a more helpful message when `lts` alias is mistakenly used (#3441)
     - `nvm ls`, `nvm alias`, `nvm install`: error when an LTS name is invalid
     - `nvm_normalize_lts`: error when an LTS name is not lowercase (#3417)
    
    Documentation
     - [readme] update link
     - [readme] fix `--no-use` example (#3479)
     - [readme] update copyright notice (#3507)
     - [readme] note zsh-nvm's AUTO_USE option (#2670)
     - [readme] add note about reloading zshrc after editing (#3052)
     - [readme] Update shell profile file install notes (#2241)
     - [readme] add docker tips (#2318)
     - [readme] remove `avn` from readme (#3469)
     - [readme] fnm -> nvm.fish (#2541)
    
    Refactors
     - prefer `case` over if/else chains
     - combine `sed -e` invocations/arguments
    
    Tests
     - `nvm exec`/`nvm run`: add `--silent` tests (#1259)
     - [actions] release test needs git tags
     - migrate `installation_iojs` test suite to GitHub Actions (#3476)
     - Migrate slow test suite from Travis CI (#3470)
     - temporarily skip this failing travis test to unblock progress
     - [actions] TOC: use latest LTS node
     - `install.sh`: clean up `nvm_detect_profile` tests
     - `nvm_detect_profile`: refactor (#3467)
     - run urchin tests on pull requests (#3466)
     - update mocks
     - ensure that unit tests use only mocked LTS names
     - [actions] use `node/install` instead of `node/run`
    
    Meta
     - disable blank issues
     - update issue template
     - add DCO (#3456)
     - Rename .github/ISSUE_TEMPLATE.md to .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md (#3454)
    
  • v0.40.1
    179d4505 · v0.40.1 ·
    v0.40.1
    
    Fixes
     - `nvm_download`: ensure all args are quoted
     - `--save`: avoid a conflict with `set -e`
     - `nvm_has_colors`: avoid an aliased `tput`
     - declare an unbound variable
     - `nvm install -b`: do not attempt to download source on a failed binary download with `-b`
     - `nvm install -b`: when no binary is available, fail and output a clear message
    
    Refactors
     - `--save`: clean up some usage
     - `install.sh`: fix node capitalization
    
    Tests
     - set proper permissions on test files
     - move sourcing suite to GHA
     - fix `nvm ls-remote` unit test
    
  • v0.40.0
    deac4e09 · v0.40.0 ·
    v0.40.0
    
    New Stuff
     - `nvm use`/`nvm install`: add `--save` option (#2869)
     - Add support for `NVM_AUTH_HEADER` env var (#3380)
     - allow `.nvmrc` files to support comments
    
    Fixes
     - `nvm_get_default_packages`: use `awk` for more reliable file processing
     - Fix issue where zsh global aliases would break nvm help (#3394)
     - `install-latest-npm`: npm ^8.7 breaks `npm ls` with file: deps
    
    Refactors
     - `nvm_has_colors`: also check the env var
    
    Docs
     - [readme] add OpenJS Ecosystem Sustainability Program partner (#2232)
     - [readme] update CII badge URLs
     - [readme] Fix uninstall instructions (#3286)
     - [readme] Fix typo in WSL section of README (#3295)
     - [Docs] add `nvm unload` to uninstall nvm instructions (#3267)
     - [security] fix typo in threat model
    
    Tests
     - ignore travis-ci env vars; improve debug output
     - [debug] adding logging to makefile
     - only install python 2.7 if not already installed
     - use a better JSON parsing implementation
     - ensure travis can access public repo submodules
     - [actions] improve default action permissions
     - [actions] update vampire/setup-wsl action
     - [actions] finisher tweaks
     - [actions] update action versions to use node 20 (#3299)
     - [Dev Deps] update `markdown-link-check`, `semver`
    
  • v0.39.7
    bab86d5d · v0.39.7 ·
    v0.39.7
    
    Fixes
    
     - use `\hash` instead of `command hash` for `zsh` (#3239, #3247, #3246)
    
  • v0.39.6
    c73009f5 · v0.39.6 ·
    v0.39.6
    
    New Stuff
     - `nvm_resolve_alias`: only resolve one line of a multiline alias file
     - aliases: skip leading blank lines in alias file
    
    Fixes
     - `nvm_get_mirror`: ensure only a valid URL is allowed
     - avoid overridden `hash`
     - `install.sh`: when `NVM_INSTALL_GITHUB_REPO` is set, issue a warning (#2868)
     - `nvm_get_mirror`: disallow some non-URL characters
     - `nvm_get_arch`: proper value for alpine linux (#3212)
     - `nvm_normalize_lts`: switch from expr to case
    
    Robustness
     - `nvm_list_aliases`: avoid overwritten sort
    
    Performance
     - `nvm_check_file_permissions`: do not traverse into symlinks
    
    Dockerfile
     - Remove apt src disabling, no longer needed (#3199)
     - [Fix] add missing leading slash in path (#3195)
    
    Documentation
     - [readme] fix level of headings (#3230)
     - [readme] add section on bare `nvm install` (#3221)
     - [readme] missing parenthesis (#3215)
     - [readme] update M1 to “Apple Silicon” because of M2 and M3; fix typos (#3242)
     - [readme] rearrange install args (#3222)
     - [readme] reorganize “deeper shell integration” instructions (#1569)
     - [security] add prose explaining OpenSSF CII Best Practices badge results
     - [security] add threat model
    
    Tests
     - temporarily allow  cygwin tests to fail
     - temporarily allow WSL tests to fail
     - ensure windows tests install a node that actually works
     - update test mocks (new LTS, iron)
     - switch cygwin mirror
     - fix filename typo (#3217)
    
  • v0.39.5
    c92adb3c · v0.39.5 ·
    v0.39.5
    
    Fixes
     - `nvm_strip_path`: Preserve leading/trailing colons (#3145)
     - allow checksums to pass with a leading backslash
     - `nvm install-latest-npm`: ensure npm 10 does not install on unsupported nodes
    
    Docs
     - [readme] add examples of setting specific versions as default (#3151)
    
    Tests
     - add some `nvm_do_install` tests
     - a cleaner name for the windows tests
    
  • v0.39.4
    8fbf8ab6 · v0.39.4 ·
    v0.39.4
    
    Fixes
     - fix node download link for armv8l (#3102)
     - `nvm exec`: no longer error with '-q: invalid option' for zsh users (#2800)
     - `nvm_print_npm_version`: if `npm` exists but its node crashes, do not print the npm version
     - `nvm_ls_current`: when `node` is present but crashes immediately, echo "none"
     - fix directory traversal when workdir path is not readable (#3080)
     - recognize 32Bit docker container and use x86 arch (#3051)
     - Remove unneeded call to `ls` in `nvm_arch` (#3012)
    
    Perf
     - [Perf] Improve performance of listing aliases (#3060)
    
    Docker
     - [Dockerfile] Update base image from Ubuntu 20.04 to 22.04, cc #2877 (#3078)
    
    Docs
     - [readme] add `nvshim` tool alongside `avn` (#2193)
     - [readme] fix typo in resolv.conf filename (#3135)
     - [readme] Update logo header (#3123)
     - [readme] Add instructions on how to install without editing shell config (#3100)
     - [readme] `cdnvm` function: fix shellcheck errors (#3082)
     - [readme] Update Travis CI badge and link url (#3077)
    
    Miscellaneous
     - [meta] Remove unavailable testing script (#3105)
     - [Dev Deps] update `markdown-link-check`, `semver`
     - [actions] allow nvm to be installed
    
    Tests
     - [add unit tests for `nvm_download_artifact`
     - [`npm bin` has been removed
     - [downgrade python to v2 on travis (#3067)
     - [move install script tests to github actions
     - [improve debug output on failure
     - [force the NVM_DIR to the expected location, for tests
     - [Update urchin repository link (#2989)
    
  • v0.39.3
    552db406 · v0.39.3 ·
    v0.39.3
    
    Fixes
     - `nvm install-latest-npm`: npm v6.14.18 can not be installed from npm < v4.4.4
     - ensure this variable is bound
     - `debug`: correct mistaken `-V` to `--version` from #2922
     - `debug`: `awk`: not an option: `--version` (#2922)
     - grep: warning: stray \ before / (#2919)
     - improve backward compatibility for non-gnu awk (#2917)
     - fix `nvm install` error `unknown condition: -ne` (#2915)
    
    Tests
     - update test mocks (#2933)
     - move installation_node tests back to xenial
     - move tests that fail on focal to a separate suite that runs on xenial
     - update travis to use focal
     - [actions] fix `latest-npm` tests so they use this repo’s nvm instead of the last published one
     - fix nvm_list_aliases test to use mocks for LTS aliases
    
    Docs
     - [meta] Improve contributors documentation (#2791)
     - [Docs] added WSL troubleshooting with solution to (6) Could not resolve host: raw.githubusercontent.com (#2961)
    
    Refactors
     - add `nvm_wrap_with_color_code`; allow no color code
    
  • v0.39.2
    0ccd099b · v0.39.2 ·
    v0.39.2
    
    Fixes
     - `--help`: proper default `NVM_COLORS` info
     - `nvm install-latest-npm`: ensure npm 9 does not install on unsupported nodes
     - `install.sh`: support `~/.zprofile` (#2892, #2868, #2232)
     - Don't override Mac M1 architecture for node ^14.17 (#2777)
     - `nvm install`: show proper version in `.nvmrc` install instructions (#2770)
     - `install.sh`: error out if the install instructions are not followed (#2742)
     - `install`: better error message when xcode command line tools are needed
     - avoid OpenBSD `nvm install` error when /sbin/init doesn't exist (#2698)
     - `set -E`: Add test for `node install` on Bash with an ERR trap and `set -E`
     - add missing `local` (handle nonexisting /sbin/init a bit more cleanly) (#2678)
     - Update `nvm_extract_tarball` to support OpenBSD (#2693)
    
    Performance
     - `nvm_print_versions`: re-implement using awk
    
    Robustness
     - avoid a clobbered `ls` (#2727)
    
    Refactors
     - nvm install/`nvm_install_default_packages`: move "get" logic inside helper
     - add `nvm_extract_tarball` to consolidate extraction logic
    
    Docs / Read Me
     - Update Alpine Linux Section (#2896)
     - optimize calling of `nvm version` in zsh (#2874)
     - Fix Ansible Linting Errors (#2861)
     - cdnvm(): handle failed dir change (#2840)
     - Fix Git Install instruction list structure (#2823)
     - add logo
     - minor cleanup
     - Add note about creating .bashrc file *as well as* .bash_profile (#2729)
     - `fish`: send output from `load_nvm` to `/dev/stderr` (#2783)
     - fix fish load_nvm variable interpolations (#2776)
     - Correct typos in "Macs with M1 chip" section (#2760)
     - HTTP => HTTPS (#2735, #2713)
     - clarify instructions for running Node on M1 Mac (#2675)
    
    Dockerfile
    Update base image from Ubuntu 18.04 to 20.04, cc #2877 (#2882)
    
    Misc
     - [meta] Update CODE_OF_CONDUCT to current version (#2790)
    
    Tests
     - update test mocks
     - github actions removed homebrew and broke shellcheck (#2907)
     - node 18 no longer builds in travis-ci (#2907)
    
  • v0.39.1
    9600617c · v0.39.1 ·
    v0.39.1
    
    New Stuff
     - Add OpenBSD support (#1062)
    
    Fixes
     - `ls-remote`/`install`: support `lts/-X` patterns in installs
     - `ls-remote`/`install`: properly handle `lts/x` patterns
     - `nvm alias`/`nvm_list_aliases`: support `lts/` aliases
     - `nvm_get_download_slug`: better architecture selection for M1 Macs
     - `install`: fix method=script install condition (#2668)
     - `install`: properly check for curl/wget
     - install script: Add `--no-pager` option to git branch (#2637)
    
    Refactors
     - create `nvm_normalize_lts` helper
     - [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
     - [actions] add step security runner (#2659)
     - [Tests] update test mocks
     - [Tests] `nvm_get_download_slug`: add unit tests (#2657, #2232)
     - [Tests] fix windows WSL tests
     - [Dev Deps] update `doctoc`, `markdown-link-check`
    
  • v0.39.0
    5b3d188b · v0.39.0 ·
    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 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 (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 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
    
  • v0.38.0
    3fea5493 · v0.38.0 ·
    v0.38.0
    
    New Stuff
     - `install`: add parallel build support for openbsd (#2390)
     - `install`: add `-b` flag 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`: ensure `lts/-1` returns the one before `lts/*` (#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_download` implementation from nvm.sh (#2406)
     - remove `nvm_supports_source_options` (#2402)
     - `bash_completion`: move compinit before bashcompinit (#2393)
     - relax `$PREFIX` checking, to accomodate `npm 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 `nvs` as one of the Windows alternatives (#2454)
     - add headings to certain sections (#2457)
     - add commands to help troubleshoot without closing the current shell (#2202)
     - update `cdnvm` implementation (#2442)
     - add install error tips (#2400)
     - quote asterisk in shell command on `--latest-npm` example (#2431)
     - Updated README.md to include homebrew unsecure dirs warning (#2388)
     - source `./nvm.sh` instead of `nvm.sh`, for `zsh` (#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 `doctoc` action fails when it should
     - update mocks
     - Add unit test for nvm_download
     - add `nvm_grep` to install script, fix tests (#2403
     - `.npm` is now cached by default (#2104)
     - `release`: clobber local tags
    
  • v0.37.2
    4b947ec9 · v0.37.2 ·
    v0.37.2
    
    Fixes
     - Revert "[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name" (#2347, #2360, #2364, #2366)
    
  • v0.37.1
    661a702c · v0.37.1 ·
    v0.37.1
    
    New Stuff
     - Added `set-colors` command (#2291, #2232)
    
    Fixes
     - `nvm_die_on_prefix`: only grep lines starting with env var name (#2347)
    
    Tests
     - Run fast test suite in clean environment (#2336)
     - partially migrate to Github Actions
     - Add shellcheck workflow (#2351)
     - Add release test workflow (#2355)
     - add "Allow Edits" workflow
     - switch Automatic Rebase workflow to `pull_request_target` event