Skip to content

Tags: keson9126/nvm

Tags

v0.34.0

Toggle v0.34.0's commit message
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)

v0.33.11

Toggle v0.33.11's commit message
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

Toggle v0.33.10's commit message
v0.33.10

Fixes
 - `install-latest-npm`: npm 6 is out, and requires node 6 or higher

v0.33.9

Toggle v0.33.9's commit message
v0.33.9

New Stuff
 - `nvm debug`: Print $SHLVL, add $PATH (nvm-sh#1655, nvm-sh#1745)

Fixes
 - `install.sh`: detect a defined but nonexistent $NVM_DIR (nvm-sh#1700)
 - `install.sh`: Don't give detached HEAD advice when installing (nvm-sh#1704)
 - Add missing "command" prefixes for few commands (nvm-sh#1735, nvm-sh#1725, nvm-sh#1736)
 - Use `nvm_echo` instead of `echo` directly (nvm-sh#1751)
 - `reinstall-packages`: Prevent install/link when no packages found (nvm-sh#1750)
 - ensure --reinstall-packages-from has a version number (nvm-sh#1760)
 - `bash_completion`: Reduce startup time (nvm-sh#1759)
 - installing with an LTS name should lowercase the name before ensuring a default (nvm-sh#1781)
 - Add autocompletion support to zsh (nvm-sh#1707)
 - `install.sh`: Detect profile with $BASH_VERSION and $ZSH_VERSION (nvm-sh#1780)
 - Turn off wget's output in nvm_get_latest (nvm-sh#1785)
 - `nvm debug`: Improve OS version detection (nvm-sh#1746)

Refactors
 - Various style and shellcheck fixes (nvm-sh#1684, nvm-sh#1724, nvm-sh#1747, nvm-sh#1748)
 - Optimize ShellCheck installation in Docker image (nvm-sh#1729)
 - Remove duplicate code in nvm_npm_global_modules() (nvm-sh#1742)
 - Use grep `-q` parameter instead of redirect to /dev/null (nvm-sh#1741)
 - `install.sh`: Improve install.sh prompt output, add a newline (nvm-sh#1783)

Docs
 - Explain `.nvmrc` better (nvm-sh#1673)
 - Update minimum git version to v1.17.10
 - Add escape sequences (nvm-sh#1701)
 - add `nvm which current` to `nvm --help` output
 - avoid need for future copyright year updates (nvm-sh#1713)
 - Add reminder that NVM_DIR should not contain trailing slash (nvm-sh#1726, nvm-sh#1708)
 - Display FreeBSD and SunOS with correct caps (nvm-sh#1728)
 - Update Docker image build info in README.md (nvm-sh#1733)
 - Various typo fixes (nvm-sh#1756, nvm-sh#1753)
 - removed global install on README.md (nvm-sh#1775, nvm-sh#1773)
 - Add removal instructions to README.md (nvm-sh#1777, nvm-sh#1767)
 - Fix manual install & upgrade guide (nvm-sh#1786, nvm-sh#1772)
 - Add macOS install script note about git (nvm-sh#1787, nvm-sh#1782)

Tests
 - add test for aliased `.` (nvm-sh#1701)
 - fix mirrors in mocks update script, update mocks
 - Add EditorConfig to help maintain part of coding style (nvm-sh#1739)

v0.33.8

Toggle v0.33.8's commit message
v0.33.8

Fixes
  - `nvm install-latest-npm`: fix for node 4.5/4.6

v0.33.7

Toggle v0.33.7's commit message
v0.33.7

Fixes
 - fix unassigned variable (nvm-sh#1665, nvm-sh#1664)
 - Fix for $path used by zsh (nvm-sh#1669)
 - `set -u`: ensure `NVM_USE_OUTPUT` is always set (nvm-sh#1671)
 - `install.sh`: Fix a bug that block that installation of node in install.sh (nvm-sh#1676)
 - `nvm install-latest-npm`: fix node 4-4.6

Documentation
 - Make `nvm cache clear` message less ambiguous (nvm-sh#1644)
 - Added missing piece (nvm-sh#1658)

v0.33.6

Toggle v0.33.6's commit message
v0.33.6

Fixes
  - `install.sh` do not use nonexistent variable (nvm-sh#1605)
  - `install-latest-npm`: `npm` `v5.4`+ breaks on `node` `v4.5` and `v4.6`

Documentation
  - Improve git installation instructions (nvm-sh#1636)
  - Fix typos (nvm-sh#1640)

Tests
 - [Cleanup] Remove ghc related things in .travis.yml (nvm-sh#1639, nvm-sh#1619)

v0.33.5

Toggle v0.33.5's commit message
v0.33.5

New Stuff
 - `debug`: Enhance nvm debug with more tools info (nvm-sh#1613)

Fixes
 - `install-latest-npm`: `io.js` `v1.0.x` has weird behavior with npm v4.6.x.
 - unset `NVM_RC_VERSION` when unloading (nvm-sh#1607)
 - Preserve PATH locations order when changing versions (nvm-sh#1316)
 - ensure all `grep` calls go through `nvm_grep` (nvm-sh#1615)

Documentation
 - Update README.md for Alpine linux reference (nvm-sh#1606)

Tests
 - retry io.js test runs, since iojs.org is flaky
 - Remove the manual ShellCheck install proecss on Travis CI (nvm-sh#1619)

v0.33.4

Toggle v0.33.4's commit message
v0.33.4

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

v0.33.3

Toggle v0.33.3's commit message
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 (nvm-sh#1463)
 - Introduce Docker environment for nvm (nvm-sh#1472, nvm-sh#1575)
 - Print $TERM_PROGRAM in nvm debug if it exists (nvm-sh#1578)
 - `install.sh`: Speedup process to install nvm from git by dropping commit history (nvm-sh#1476)
 - `install.sh`: Add `--auto` to git gc to speed up install & upgrade (nvm-sh#1576)
 - `install.sh`: Clean up git reflog history before git gc (nvm-sh#1579)
 - `install.sh`: install bash_completion via script method (nvm-sh#1588)

Fixes
 - `set -u`: ensure that potentially unbound variables aren’t called unchecked (nvm-sh#1363, nvm-sh#1516)
 - ensure if `npm link` fails, that `$IFS` is not improperly set (nvm-sh#1519)
 - set IFS to default for all nvm commands (nvm-sh#1227, nvm-sh#1244, nvm-sh#1514, nvm-sh#1518)
 - `set -u`: when `ALIAS` is unset, don’t reference an unbound variable (nvm-sh#1526)
 - Fix `--version` help text (nvm-sh#1538)
 - enable curl compression only on curl >=7.21.0 (nvm-sh#1550)
 - `nvm install -s`: properly precompute clang version (nvm-sh#1554)
 - curl should fail if something wrong (nvm-sh#1556, nvm-sh#1557)
 - Adjust $CURL_COMPRESSED_FLAG usage for curl (nvm-sh#1562, nvm-sh#1567)
 - `set -u`: `nvm install`/`nvm use`: fix unbound vars (nvm-sh#1587)
 - [bash completion] add missing `install-latest-npm`; remove undocumented `clear-cache` (nvm-sh#1564)

Documentation
 - move the install script to the top; put the notes in a separate section
 - Install script - Improve installation guide (nvm-sh#1544)
 - bump sample version numbers (nvm-sh#1539)
 - add note about Linux troubleshooting (nvm-sh#1566)
 - updated to reflect current script output (nvm-sh#1574)

Testing
 - Fix cache for WITHOUT_CURL tests in Travis (nvm-sh#1529)