使用标签,可以设置提交历史上的特定点为重要提交
  • v0.37.0
    4054bd70 · v0.37.0 ·
    v0.37.0
    
    Major Performance Enhancement
     - `use`/`nvm_die_on_prefix`: replicate npm config algorithm and remove `npm config` call (#2317)
    
    Fixes
     - `nvm ls-remote`: accept versions that end with a dot (#2310)
     - `nvm_ls`: zsh: unset `markdirs` and `local_options` (#2316)
     - `nvm_die_on_prefix`: use directory comparison rather than string (#2316)
    
    Docs
     - improve `nvm --help` output (#2301)
     - [readme] bash shell integration: amend example (#2313)
    
    Tests
     - Fix `nvm_ls_current` fast test (#2322)
     - Fix nvm unload fast test cleanup (#2332)
     - Drop deprecated `sudo:` option in TravisCI config (#2307)
    
  • v0.36.0
    8debf39f · v0.36.0 ·
    v0.36.0
    
    New Stuff
     - add `nvm -v` as an alias for `nvm --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_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 (#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 <version> parameter is optional and can be provided by .nvmrc on `nvm install`, `nvm use`, `nvm exec`, and `nvm run` (#2242)
     - [Robustness] add `command` to `xargs`/`rm` in `nvm_get_default_packages` (#2281)
     - [debug] add `whoami` output
     - [performance] `nvm_auto`: only call `nvm_ls_current` in `use` mode (#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 (#2213)
     - [Refactor] `nvm run`/`nvm exec`: use `NVM_SILENT` consistently 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
    258938ef · v0.35.3 ·
    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 (#2125)
     - [Docs] Fix small typo in README (#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
    f355b327 · v0.35.2 ·
    v0.35.2
    
     - [Fix] if a prefix env var is set (as in npm run), but is correct, do not fail (#2106)
     - [Fix] allow `nvm unalias x` when `x` is a default alias, but shadowed (#2122)
     - [Tests] pin `david` to v11
     - [readme] Fix a typo (#2121)
     - [meta] create FUNDING.yml
  • v0.35.1
    28bc2fd9 · v0.35.1 ·
    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 (#2112)
  • v0.35.0
    011810e7 · v0.35.0 ·
    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` (#2054, #2047)
     - Determine correct sub directory if XDG_CONFIG_HOME is set (#2035)
     - Set $NVM_DIR to ".nvm" instead of "nvm" (#2069, #2033)
     - `default_packages`: work when the file lacks a trailing newline
     - `install`: Add missing io.js installation message (#1989)
     - Make installation less restrictive when NVM_DIR is set (#1986)
     - Enhance nvm debug for different environments (#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 (#2012, #2007)
     - extract “get default packages” logic to `nvm_get_default_packages`
     - `nvm.sh`: make coding style more consistent (#1819)
    
    Docs
     - Fix bash auto-use nvm command (#2086)
     - Updated note about Windows (#2037)
     - sync node release schedule url (#2001)
     - clarify how to specify default packages (#1981)
     - clean up formatting in readme (#2038)
     - clean up a bit (#1627)
     - Add `--latest-npm` info to Migrating global packages section (#1970)
     - Set $NVM_DIR to ".nvm" instead of "nvm" (#2069, #2033)
     - update `bash` `cdnvm` script to properly handle aliases (#2017)
     - Add note about what version of node new shells run with (#2003)
     - `--help`: consolidate some help output
     - README.md: mention --no-colors option (#2004)
     - `nvm --help`: add `--no-colors` and `--no-alias`
     - add version number to `nvm —help` output (#1993)
     - add “update” terminology to installation section
     - `unalias`: add more specific error message for builtin aliases (#1992)
    
    Tests
     - `jspm` v2 beta started breaking tests; pin to < v2
     - use rimraf over `rmdir` in teardowns (#2010)
     - update dist from trusty to xenial (#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" (#1990)
     - [shellcheck] remove unnecessary overrides
     - [shellcheck] add overrides
    
    Dockerfile
     - install shellcheck v0.6.0 in Dockerfile (#1836)
     - add libssl-dev to Docker image (#1835)
    
    Meta
     - add copyright line to license file
     - update repo links to point to org
  • v0.34.0
    3d9c31d9 · v0.34.0 ·
    v0.34.0
    
    New Stuff
     - Support `--no-progress` for `nvm install` (#1422)
     - `install.sh`: allow user to explicitly opt out of nvm adding the source string (#1804)
     - Respect previously nvm-loaded node version when sourcing (#1315)
     - add support for `$XDG_CONFIG_HOME` (#1888)
     - `bash_completion`: Add support for `ZSH_DISABLE_COMPFIX` flag (#1911)
    
    Fixes
     - Improve .nvmrc reading process (#1740)
     - `nvm debug`: Fix sed syntax error in nvm_command_info (#1528)
     - Remove $NVM_DIR trailing slash automatically (#1734)
     - `install -s`: `zsh`: ensure `shwordsplit` opt is set (#1719)
     - `ls-remote`: fix issues in zsh when using a mirror with a ton of entries (#1818)
     - Improve `nvm_is_version_installed` to check for a node executable instead of root dir (#1824)
     - `use`: Prepend instead of changing if shadowed by system dirs (#1830)
     - Improve and update Dockerfile (#1861, #1863)
     - `install.sh`: Print an error and exit the script if $METHOD is set to something unexpected (#1917)
     - Allow zsh users to have the nomatch option set (#1938)
     - avoid unbound variable (#1949)
    
    Refactors
     - Speedup nvm_list_aliases (#1517)
     - `bash_completion`: Improve coding style (#1816)
     - [shellcheck] use `{ …; }` instead of `(…)` to group test commands (#1825)
     - [shellcheck] quote variables in for loops to avoid unintentional expansion
     - [shellcheck] ignore SC2230 errors
     - [shellcheck] Use `-n/-z` instead of `! -z/! -n` condition (#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 (#1947)
     - print out shellcheck version
     - avoid using shopt in zsh
    
    Docs
     - add --tags to git fetch in manual upgrade (#1793)
     - fix failing if check in autoload script (#1821)
     - Grammar update (#1822)
     - fix for .nvmrc script (#1823)
     - add --no-use option to installation (#1839, #1840, #1862)
     - add instructions for installing a specific version (#1901)
     - Added fish nvm (#1926)
     - Add section on automatic `nvm use` in Bash (#1865)
     - improve instructions for manual install (#1930)
     - update README to fix docker run command flag order (#1925)
     - Improve md file syntax (#1864)
     - Add Ansible task example (#1964)
     - Improve indent of output block in GitHub Issue template (#1967)
     - fixing cdnvm on .bashrc (#1971)
     - Improve phrasing of 'nvm current' (#1974)
  • v0.33.11
    93990ab7 · v0.33.11 ·
    v0.33.11
    
    Fixes
     - `nvm install-latest-npm`: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2
  • v0.33.10
    177a9673 · v0.33.10 ·
    v0.33.10
    
    Fixes
     - `install-latest-npm`: npm 6 is out, and requires node 6 or higher
  • v0.33.9
    1b14e6b4 · v0.33.9 ·
    v0.33.9
    
    New Stuff
     - `nvm debug`: Print $SHLVL, add $PATH (#1655, #1745)
    
    Fixes
     - `install.sh`: detect a defined but nonexistent $NVM_DIR (#1700)
     - `install.sh`: Don't give detached HEAD advice when installing (#1704)
     - Add missing "command" prefixes for few commands (#1735, #1725, #1736)
     - Use `nvm_echo` instead of `echo` directly (#1751)
     - `reinstall-packages`: Prevent install/link when no packages found (#1750)
     - ensure --reinstall-packages-from has a version number (#1760)
     - `bash_completion`: Reduce startup time (#1759)
     - installing with an LTS name should lowercase the name before ensuring a default (#1781)
     - Add autocompletion support to zsh (#1707)
     - `install.sh`: Detect profile with $BASH_VERSION and $ZSH_VERSION (#1780)
     - Turn off wget's output in nvm_get_latest (#1785)
     - `nvm debug`: Improve OS version detection (#1746)
    
    Refactors
     - Various style and shellcheck fixes (#1684, #1724, #1747, #1748)
     - Optimize ShellCheck installation in Docker image (#1729)
     - Remove duplicate code in nvm_npm_global_modules() (#1742)
     - Use grep `-q` parameter instead of redirect to /dev/null (#1741)
     - `install.sh`: Improve install.sh prompt output, add a newline (#1783)
    
    Docs
     - Explain `.nvmrc` better (#1673)
     - Update minimum git version to v1.17.10
     - Add escape sequences (#1701)
     - add `nvm which current` to `nvm --help` output
     - avoid need for future copyright year updates (#1713)
     - Add reminder that NVM_DIR should not contain trailing slash (#1726, #1708)
     - Display FreeBSD and SunOS with correct caps (#1728)
     - Update Docker image build info in README.md (#1733)
     - Various typo fixes (#1756, #1753)
     - removed global install on README.md (#1775, #1773)
     - Add removal instructions to README.md (#1777, #1767)
     - Fix manual install & upgrade guide (#1786, #1772)
     - Add macOS install script note about git (#1787, #1782)
    
    Tests
     - add test for aliased `.` (#1701)
     - fix mirrors in mocks update script, update mocks
     - Add EditorConfig to help maintain part of coding style (#1739)
  • v0.33.8
    7ad6d98c · v0.33.8 ·
    v0.33.8
    
    Fixes
      - `nvm install-latest-npm`: fix for node 4.5/4.6
  • v0.33.7
    65f0572b · v0.33.7 ·
    v0.33.7
    
    Fixes
     - fix unassigned variable (#1665, #1664)
     - Fix for $path used by zsh (#1669)
     - `set -u`: ensure `NVM_USE_OUTPUT` is always set (#1671)
     - `install.sh`: Fix a bug that block that installation of node in install.sh (#1676)
     - `nvm install-latest-npm`: fix node 4-4.6
    
    Documentation
     - Make `nvm cache clear` message less ambiguous (#1644)
     - Added missing piece (#1658)
  • v0.33.6
    b5464361 · v0.33.6 ·
    v0.33.6
    
    Fixes
      - `install.sh` do not use nonexistent variable (#1605)
      - `install-latest-npm`: `npm` `v5.4`+ breaks on `node` `v4.5` and `v4.6`
    
    Documentation
      - Improve git installation instructions (#1636)
      - Fix typos (#1640)
    
    Tests
     - [Cleanup] Remove ghc related things in .travis.yml (#1639, #1619)
  • v0.33.5
    6597e119 · v0.33.5 ·
    v0.33.5
    
    New Stuff
     - `debug`: Enhance nvm debug with more tools info (#1613)
    
    Fixes
     - `install-latest-npm`: `io.js` `v1.0.x` has weird behavior with npm v4.6.x.
     - unset `NVM_RC_VERSION` when unloading (#1607)
     - Preserve PATH locations order when changing versions (#1316)
     - ensure all `grep` calls go through `nvm_grep` (#1615)
    
    Documentation
     - Update README.md for Alpine linux reference (#1606)
    
    Tests
     - retry io.js test runs, since iojs.org is flaky
     - Remove the manual ShellCheck install proecss on Travis CI (#1619)
  • v0.33.4
    d91b6197 · v0.33.4 ·
    v0.33.4
    
    Fixes
     - [Fix] `install-latest-npm`: `io.js` `v1.0.0` has weird behavior with npm v4.6.x
  • v0.33.3
    6f19babb · v0.33.3 ·
    v0.33.3
    
    New Stuff
     - `nvm install`: add `--latest-npm` option to automatically try to upgrade to the latest working version of `npm`
     - add support for `$NVM_DIR/default-packages` file (#1463)
     - Introduce Docker environment for nvm (#1472, #1575)
     - Print $TERM_PROGRAM in nvm debug if it exists (#1578)
     - `install.sh`: Speedup process to install nvm from git by dropping commit history (#1476)
     - `install.sh`: Add `--auto` to git gc to speed up install & upgrade (#1576)
     - `install.sh`: Clean up git reflog history before git gc (#1579)
     - `install.sh`: install bash_completion via script method (#1588)
    
    Fixes
     - `set -u`: ensure that potentially unbound variables aren’t called unchecked (#1363, #1516)
     - ensure if `npm link` fails, that `$IFS` is not improperly set (#1519)
     - set IFS to default for all nvm commands (#1227, #1244, #1514, #1518)
     - `set -u`: when `ALIAS` is unset, don’t reference an unbound variable (#1526)
     - Fix `--version` help text (#1538)
     - enable curl compression only on curl >=7.21.0 (#1550)
     - `nvm install -s`: properly precompute clang version (#1554)
     - curl should fail if something wrong (#1556, #1557)
     - Adjust $CURL_COMPRESSED_FLAG usage for curl (#1562, #1567)
     - `set -u`: `nvm install`/`nvm use`: fix unbound vars (#1587)
     - [bash completion] add missing `install-latest-npm`; remove undocumented `clear-cache` (#1564)
    
    Documentation
     - move the install script to the top; put the notes in a separate section
     - Install script - Improve installation guide (#1544)
     - bump sample version numbers (#1539)
     - add note about Linux troubleshooting (#1566)
     - updated to reflect current script output (#1574)
    
    Testing
     - Fix cache for WITHOUT_CURL tests in Travis (#1529)
  • v0.33.2
    0a95e770 · v0.33.2 ·
    v0.33.2
    
    New Stuff
     - Enable curl auto compression/decompression (#1437)
     - Supercharge `nvm debug` output (#1453)
     - Add missing commands in bash_completion (#1467)
     - `install.sh`: Parallel script download jobs (#1479)
    
    Fixes
     - ensure MANPATH is not unbound (#1413)
     - checksums: remove libressl command support (#1417)
     - `install.sh`: NVM_PROFILE bash/zsh detection in installation, bash_completion fixes (#1375)
     - stop setting mirror env vars unnecessarily (#1429)
     - Install failed should return correct exit status (#1347, #1348)
     - `nvm install -s`: ensure additional params lack a trailing space
     - declare MANPATH if and only if it's not set (#1430)
     - [completions] Remove nospace in bash_completion (#1456)
     - `nvm install -s`: npm detection
     - `nvm_ensure_version_installed`: add `system` support (#1238)
     - confirm curl exists before detecting curl libz feature (#1487, #1497)
    
    Documentation
     - Introduce doctoc for "Table of Contents" autogeneration (#1408)
     - Various fixes/improvements (#1420, #1427, #1431, #1448, #1452, #1461, #1169, #1464, #1465, #1478, #1485, #1491, #1490, #1500, #1511)
     - README.markdown → README.md (#1492)
    
    Refactors
     - minor refactors (#1421, #1415, #1447, #1449, #1459, #1468, #1481, #1477, #1486)
     - Add `nvm_has_non_aliased` (#1443)
    
    Performance
     - Improve sed/awk usage (#1442, #1441, #1438, #1480)
    
    Tests
     - Add retry on urchin setup which has no built in retry feature (#1439)
     - testing improvements (#1454, #1455, #1424, #1466, #1473, #1494, #1498)
     - Move to Ubuntu 14.04 on Travis CI (#1458, #1470, #1474, #1475)
     - Re-enable WITHOUT_CURL tests (#1489)
  • v0.33.1
    6669e91b · v0.33.1 ·
    v0.33.1
    
     - [Fix] Enable working without tput available (#1403)
     - [Fix] `nvm unload`: run `nvm deactivate` before unsetting everything (#1399)
     - [Fix] unset `NVM_RC_VERSION` env var immediately after it’s no longer needed (#1399)
     - [Fix] `install.sh`: only un-interpolate $HOME for the profile source string (#1384)
     - [Fix] `set -e`: `nvm install lts/something`: call `nvm_ensure_default_set` with the proper value (#1394)
     - [install script] Use `$HOME` variable in `NVM_DIR` (#1381)
     - [debug] include mirrors in `nvm debug` output
     - [Docs] [Fix] zsh autochange: only `nvm install` if we can’t `nvm use` (#1357, #1378)
     - [Docs] Add CII best practices badge (#1397)
  • v0.33.0
    40e40975 · v0.33.0 ·
    v0.33.0
    
    Breaking Changes (probably)
     - remove the unused and broken `$NVM_PATH` (#1353)
    
    New Stuff
     - `install.sh`: Install bash programmble completions automatically (#753)
     - `nvm install -s`: Use clang as C/C++ compiler if detected (#902, #1300)
     - `nvm install`: Add AIX support (#1295)
     - `nvm install`: Print the version that is being installed (#1286)
     - `nvm install`: support external install hook “$NVM_INSTALL_THIRD_PARTY_HOOK” (#1207)
    
    Fixes
     - [reverted] Also run git gc after nvm upgraded (#1274, #1301)
     - bypass aliased `cd` in a few places (#1284)
     - Improve nvm_download_artifact() process (#1291, #1294)
     - allow uninstalls when files are nonwritable but self-owned (#1270)
     - `nvm install`: Handle 'N/A' version instead of asking to install it (#1304, #1305)
     - `nvm install -s`: `aix`: detect number of threads on aix and not just number of processors (#1319)
     - `nvm unload` add missing unloadable functions/vars (#1333, #1335)
     - `nvm install -s`: nvm should respect CC/CXX env var (#1336)
     - `set -u`: ensure that potentially unbound variables aren’t called unchecked (#1363)
    
    Refactors/Robustness/Caching
     - use echo instead of cat in install.sh (#1276)
     - use backslash when sourcing in case of overridden dot (#1278, #1279)
     - fix/retab indent in bash_completion (#1297)
     - add missing "command" prefix call for some commands (#1296)
     - `nvm install`: Do not remove src dir after compilation succeeds (#1299)
     - Add missing backslash for dots (#1322)
     - Rename NVM_CPU_THREADS to NVM_CPU_CORES (#1326)
     - Use "case" instead of multi "if" (#1332)
    
    Tests
     - die() in tests should quote "$@" for echo (#1288)
     - [reverted] Drop manual apt source and package installation (#1311, #1323)
     - switch to use cabal to install shellcheck (#1320)
     - run shellcheck against bash_completion (#1324)
     - run shellcheck against nvm_exec (#1321)
     - cache $HOME/.ghc for cabal (#1327)
     - add test to ensure that `nvm unload` unloads all functions
    
    Docs
     - Link version badge to the release page + cleanup (#1338, #1340)
     - update readme about compile nodejs v0.10+ from src (#1330)
     - update alpine environment installation info (#1330)
     - Auto install not exist version in zsh .nvmrc script (#1306, #1272)
     - Add current version on the top of README (#1309)
     - Bold leading "Note:" in readme for readability (#1275)
  • v0.32.1
    589a9112 · v0.32.1 ·
    v0.32.1
    
    Fixes
     - ensure that `lts/*` points to boron/latest, not argon/earliest (#1268)
     - `nvm uninstall`: work around `nomatch` `zsh` option (#1228)
     - Fix trailing whitespace in `nvm ls-remote``zsh`: when `warncreateglobal` is set, this line warns for some reason. Use `env` to suppress it (#1236)
     - Remove un-local var EXIT_CODE (#1236)
     - `install`: Manually run git gc after nvm installation (#1231, #1226)
    
    Refactors
     - `nvm ls-remote`: make the main ls-remote command call into `nvm_remote_versions` directly
     - `nvm_install_source`, `nvm_install_binary`, `nvm_download_artifact`: ensure a version is provided
     - Use `||:` and `&&:` when appropriate
     - `nvm_ls_remote_index_tab`: clean up to use `nvm_get_mirror`
     - `nvm_install_binary`: remove unused `nvm_get_mirror` call
     - Fix indentation (#1256)
    
    Docs
     - `zsh` auto-use snippet: improve speed (#1264)
     - Fix "Manual upgrade" link in readme (#1247)
     - add a menu for readme for easier readability (#1234)
     - Remove fin from the readme (#1225)
     - Bump to require git v1.7+ and add docs (#1233, #1232)
     - copyedit readme (#1230)
    
    Tests
     - consolidate APT packages (#1260)
     - improve + update test mocks
     - update test mocks (#1248)