Tags: xiaoruiguo/nvm
Tags
v0.38.0 New Stuff - `install`: add parallel build support for openbsd (nvm-sh#2390) - `install`: add `-b` flag to skip building from source (nvm-sh#2439) - install script: Allow installation from other repository also for git method (nvm-sh#2401) - install script: Allow installation from other repository (nvm-sh#2394) Fixes - `exec`: `--` should stop argument parsing (nvm-sh#2354) - `nvm_alias`: ensure `lts/-1` returns the one before `lts/*` (nvm-sh#2462) - install script: define `nvm_echo` - Fix potential unbound var error on nvm install (nvm-sh#2421) - avoid parse error with common omz global aliases, in `nvm_print_color_code` (nvm-sh#2365) - install script: sync `nvm_download` implementation from nvm.sh (nvm-sh#2406) - remove `nvm_supports_source_options` (nvm-sh#2402) - `bash_completion`: move compinit before bashcompinit (nvm-sh#2393) - relax `$PREFIX` checking, to accomodate `npm exec` - Use local variable when looping over args (nvm-sh#2377) - `install`: Ignore npm command under $NVM_DIR when checking for global modules (nvm-sh#2348) Refactors - add `nvm_install_binary_extract` - add `nvm_get_artifact_compression` - fix silly shellcheck complaint Docs - Add macOS troubleshooting instructions for M1 chip (nvm-sh#2416, nvm-sh#2436, nvm-sh#2232) - Update source command to include s in zsh (nvm-sh#2466) - Add `nvs` as one of the Windows alternatives (nvm-sh#2454) - add headings to certain sections (nvm-sh#2457) - add commands to help troubleshoot without closing the current shell (nvm-sh#2202) - update `cdnvm` implementation (nvm-sh#2442) - add install error tips (nvm-sh#2400) - quote asterisk in shell command on `--latest-npm` example (nvm-sh#2431) - Updated README.md to include homebrew unsecure dirs warning (nvm-sh#2388) - source `./nvm.sh` instead of `nvm.sh`, for `zsh` (nvm-sh#2205) - add CODE_OF_CONDUCT.md Tests - Rename some files to be more cross platform (nvm-sh#2397) - [actions] update workflows (nvm-sh#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 (nvm-sh#2403 - `.npm` is now cached by default (nvm-sh#2104) - `release`: clobber local tags
v0.37.2 Fixes - Revert "[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name" (nvm-sh#2347, nvm-sh#2360, nvm-sh#2364, nvm-sh#2366)
v0.37.1 New Stuff - Added `set-colors` command (nvm-sh#2291, nvm-sh#2232) Fixes - `nvm_die_on_prefix`: only grep lines starting with env var name (nvm-sh#2347) Tests - Run fast test suite in clean environment (nvm-sh#2336) - partially migrate to Github Actions - Add shellcheck workflow (nvm-sh#2351) - Add release test workflow (nvm-sh#2355) - add "Allow Edits" workflow - switch Automatic Rebase workflow to `pull_request_target` event
v0.37.0 Major Performance Enhancement - `use`/`nvm_die_on_prefix`: replicate npm config algorithm and remove `npm config` call (nvm-sh#2317) Fixes - `nvm ls-remote`: accept versions that end with a dot (nvm-sh#2310) - `nvm_ls`: zsh: unset `markdirs` and `local_options` (nvm-sh#2316) - `nvm_die_on_prefix`: use directory comparison rather than string (nvm-sh#2316) Docs - improve `nvm --help` output (nvm-sh#2301) - [readme] bash shell integration: amend example (nvm-sh#2313) Tests - Fix `nvm_ls_current` fast test (nvm-sh#2322) - Fix nvm unload fast test cleanup (nvm-sh#2332) - Drop deprecated `sudo:` option in TravisCI config (nvm-sh#2307)
v0.36.0 New Stuff - add `nvm -v` as an alias for `nvm --version` (nvm-sh#2270) - `nvm deactivate`/`nvm which`: add `--silent` - adding default and alias option to `nvm install` (nvm-sh#2274, nvm-sh#1929) - `nvm_supports_xz`: Add Mac/FreeBSD xz platform support checks (nvm-sh#2156) - add `nvm_find_project_dir` helper Fixes: - `latest-npm`: ensure npm 7 is not installed on node < 10 - `nvm_die_on_prefix`: check that the prefix is inside the version dir, not just the nvm dir - `nvm use`: fix `--silent` when version is omitted - ensure `--help` is intercepted on any command (nvm-sh#2277) - `--help`: Add more examples (nvm-sh#2272) - `install`: improved arg parsing around `--reinstall-packages-from` (nvm-sh#1762) - `reinstall-packages`: do not include unmet peer deps (nvm-sh#1948) - `--help`: explain more clearly that <version> parameter is optional and can be provided by .nvmrc on `nvm install`, `nvm use`, `nvm exec`, and `nvm run` (nvm-sh#2242) - [Robustness] add `command` to `xargs`/`rm` in `nvm_get_default_packages` (nvm-sh#2281) - [debug] add `whoami` output - [performance] `nvm_auto`: only call `nvm_ls_current` in `use` mode (nvm-sh#2286) Refactors: - [Refactor] add `nvm_get_checksum_binary`; use it in `nvm debug` - [Refactor] remove unused `nvm_checksum` function - [Refactor] Rename solaris and iojs helper functions to be nvm_ prefixed (nvm-sh#2213) - [Refactor] `nvm run`/`nvm exec`: use `NVM_SILENT` consistently internally (nvm-sh#2279) Dockerfile: - [dockerfile] Add missing apt package `locales` (nvm-sh#2306) - [dockerfile] Remove ShellCheck Segmentation fault workaround (nvm-sh#2305) - [dockerfile] Update ShellCheck download URL in Dockerfile (nvm-sh#2304, nvm-sh#2232) - [dockerfile] Update Dockerfile base image to Ubuntu 16.04, cc nvm-sh#2008 (nvm-sh#2187) Docs: - [readme] fix LTS upgrade command (nvm-sh#2294) - [readme] update autocompletion output examples - [readme] Mention problem with windows cmd echo (nvm-sh#2282) - [readme] Add documentation for LTS updates which reinstall existing packages (nvm-sh#2271) - [readme] Fix fish load_nvm function (nvm-sh#2252) - [readme] Update macOS troubleshooting w/ 10.15 zsh default (nvm-sh#2248) - [readme] Update install instructions troubleshooting (nvm-sh#2225) - [readme] Syntax highlight for Ansible task example in README.md (nvm-sh#2228) - [readme] Update README for environment variables (nvm-sh#2159) - [readme] Stop removing spaces from nvm_path (nvm-sh#2235) - [readme] include deeper integration instructions for fish (nvm-sh#2208) - [patch] Update docs and add warning for 'nvm is not compatible with the npm config "prefix" option' edgecase error on Mac OS (nvm-sh#2263) Tests: - pin postcss to v7 - Source nvm.sh before defining FILE (nvm-sh#2182) Meta Stuff: - fix TOC action - add actions: Automatic Rebase for PRs, auto-update-TOC for push
v0.35.3 - [New] add `lts/-1` etc, to point to an LTS line relative to "latest" - [New] `use`: set `NVM_INC` to expose the node include path - `uninstall`: add `NVM_DEBUG` to print out a filename as its permissions are checked - [Fix] `nvm ls-remote`: properly label latest LTS versions instead of just the latest one in the filter - [readme] restore broken anchor - [readme] add nvm intro - [Docs] Improve readme clarity and troubleshooting (nvm-sh#2125) - [Docs] Fix small typo in README (nvm-sh#2130) - [Tests] update mocks - [Tests] fix update mocks script - [Tests] update test mocks - [Tests] try to make `nvm unload` test more robust - [Tests] ensure `nvm unload` unsets env vars too
v0.35.2 - [Fix] if a prefix env var is set (as in npm run), but is correct, do not fail (nvm-sh#2106) - [Fix] allow `nvm unalias x` when `x` is a default alias, but shadowed (nvm-sh#2122) - [Tests] pin `david` to v11 - [readme] Fix a typo (nvm-sh#2121) - [meta] create FUNDING.yml
v0.35.1 Fixes - `install-latest-npm`: `npm` `v6.10` breaks on `node` `v6.0`, `v6.1`, and `v9.0`-`v9.2` - `nvm use`: improve help output with bare `nvm use` and no `.nvmrc` Docs - Add description if instructions don't work; make install instructions more readable (nvm-sh#2112)
v0.35.0 New Stuff - `nvm ls`: add `--no-alias` to suppress alias output Fixes - `set -u`: Add default empty value for `$NVM_NO_ALIAS` (nvm-sh#2054, nvm-sh#2047) - Determine correct sub directory if XDG_CONFIG_HOME is set (nvm-sh#2035) - Set $NVM_DIR to ".nvm" instead of "nvm" (nvm-sh#2069, nvm-sh#2033) - `default_packages`: work when the file lacks a trailing newline - `install`: Add missing io.js installation message (nvm-sh#1989) - Make installation less restrictive when NVM_DIR is set (nvm-sh#1986) - Enhance nvm debug for different environments (nvm-sh#1654) - `nvm_supports_source_options`: work around a bug in bash 3.2 - `install`: error out when an argument has `---` - attempt to fix a bug in bash 3.2, fixed in 4.4, that improperly exits on `-e` in a test. - `nvm ls`: `--no-colors`: `system`: print an asterisk Refactors - add `nvm_stdout_is_terminal` helper (nvm-sh#2012, nvm-sh#2007) - extract “get default packages” logic to `nvm_get_default_packages` - `nvm.sh`: make coding style more consistent (nvm-sh#1819) Docs - Fix bash auto-use nvm command (nvm-sh#2086) - Updated note about Windows (nvm-sh#2037) - sync node release schedule url (nvm-sh#2001) - clarify how to specify default packages (nvm-sh#1981) - clean up formatting in readme (nvm-sh#2038) - clean up a bit (nvm-sh#1627) - Add `--latest-npm` info to Migrating global packages section (nvm-sh#1970) - Set $NVM_DIR to ".nvm" instead of "nvm" (nvm-sh#2069, nvm-sh#2033) - update `bash` `cdnvm` script to properly handle aliases (nvm-sh#2017) - Add note about what version of node new shells run with (nvm-sh#2003) - `--help`: consolidate some help output - README.md: mention --no-colors option (nvm-sh#2004) - `nvm --help`: add `--no-colors` and `--no-alias` - add version number to `nvm —help` output (nvm-sh#1993) - add “update” terminology to installation section - `unalias`: add more specific error message for builtin aliases (nvm-sh#1992) Tests - `jspm` v2 beta started breaking tests; pin to < v2 - use rimraf over `rmdir` in teardowns (nvm-sh#2010) - update dist from trusty to xenial (nvm-sh#2008) - `nvm_command_info`: make error output more helpful - `nvm ls`: ensure `nvm alias` is called - add more checks to make_fake_* helpers - fix fake node versions - Improve syntax in "test/installation_iojs/nvm install v1 works" (nvm-sh#1990) - [shellcheck] remove unnecessary overrides - [shellcheck] add overrides Dockerfile - install shellcheck v0.6.0 in Dockerfile (nvm-sh#1836) - add libssl-dev to Docker image (nvm-sh#1835) Meta - add copyright line to license file - update repo links to point to org
v0.34.0 New Stuff - Support `--no-progress` for `nvm install` (nvm-sh#1422) - `install.sh`: allow user to explicitly opt out of nvm adding the source string (nvm-sh#1804) - Respect previously nvm-loaded node version when sourcing (nvm-sh#1315) - add support for `$XDG_CONFIG_HOME` (nvm-sh#1888) - `bash_completion`: Add support for `ZSH_DISABLE_COMPFIX` flag (nvm-sh#1911) Fixes - Improve .nvmrc reading process (nvm-sh#1740) - `nvm debug`: Fix sed syntax error in nvm_command_info (nvm-sh#1528) - Remove $NVM_DIR trailing slash automatically (nvm-sh#1734) - `install -s`: `zsh`: ensure `shwordsplit` opt is set (nvm-sh#1719) - `ls-remote`: fix issues in zsh when using a mirror with a ton of entries (nvm-sh#1818) - Improve `nvm_is_version_installed` to check for a node executable instead of root dir (nvm-sh#1824) - `use`: Prepend instead of changing if shadowed by system dirs (nvm-sh#1830) - Improve and update Dockerfile (nvm-sh#1861, nvm-sh#1863) - `install.sh`: Print an error and exit the script if $METHOD is set to something unexpected (nvm-sh#1917) - Allow zsh users to have the nomatch option set (nvm-sh#1938) - avoid unbound variable (nvm-sh#1949) Refactors - Speedup nvm_list_aliases (nvm-sh#1517) - `bash_completion`: Improve coding style (nvm-sh#1816) - [shellcheck] use `{ …; }` instead of `(…)` to group test commands (nvm-sh#1825) - [shellcheck] quote variables in for loops to avoid unintentional expansion - [shellcheck] ignore SC2230 errors - [shellcheck] Use `-n/-z` instead of `! -z/! -n` condition (nvm-sh#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 (nvm-sh#1947) - print out shellcheck version - avoid using shopt in zsh Docs - add --tags to git fetch in manual upgrade (nvm-sh#1793) - fix failing if check in autoload script (nvm-sh#1821) - Grammar update (nvm-sh#1822) - fix for .nvmrc script (nvm-sh#1823) - add --no-use option to installation (nvm-sh#1839, nvm-sh#1840, nvm-sh#1862) - add instructions for installing a specific version (nvm-sh#1901) - Added fish nvm (nvm-sh#1926) - Add section on automatic `nvm use` in Bash (nvm-sh#1865) - improve instructions for manual install (nvm-sh#1930) - update README to fix docker run command flag order (nvm-sh#1925) - Improve md file syntax (nvm-sh#1864) - Add Ansible task example (nvm-sh#1964) - Improve indent of output block in GitHub Issue template (nvm-sh#1967) - fixing cdnvm on .bashrc (nvm-sh#1971) - Improve phrasing of 'nvm current' (nvm-sh#1974)
PreviousNext