@ljharb ljharb released this Jan 8, 2019 · 16 commits to master since this release

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)
Assets 2

@ljharb ljharb released this Apr 25, 2018 · 90 commits to master since this release

Fix

  • install-latest-npm: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2
Assets 2

@ljharb ljharb released this Apr 25, 2018 · 92 commits to master since this release

Fix

  • install-latest-npm: npm 6 is out, and requires node 6 or higher
Assets 2

@ljharb ljharb released this Apr 15, 2018 · 94 commits to master since this release

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)
Assets 2

@ljharb ljharb released this Dec 12, 2017 · 144 commits to master since this release

Fix

  • nvm install-latest-npm: fix for node 4.5/4.6
Assets 2

@ljharb ljharb released this Dec 9, 2017 · 147 commits to master since this release

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)
Assets 2

@ljharb ljharb released this Oct 24, 2017 · 164 commits to master since this release

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)
Assets 2

@ljharb ljharb released this Oct 24, 2017 · 173 commits to master since this release

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)
Assets 2

@ljharb ljharb released this Sep 5, 2017 · 183 commits to master since this release

Fixes

  • [Fix] install-latest-npm: io.js v1.0.0 has weird behavior with npm v4.6.x
Assets 2

@ljharb ljharb released this Sep 4, 2017 · 185 commits to master since this release

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)
Assets 2