Releases: nvm-sh/nvm
Releases · nvm-sh/nvm
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 newlineinstall
: 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.2install
: 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 helpfulnvm ls
: ensurenvm 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
Meta
- add copyright line to license file
- update repo links to point to org
v0.34.0
New Stuff
- Support
--no-progress
fornvm 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 forZSH_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
: ensureshwordsplit
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
v0.33.10
v0.33.9
New Stuff
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 ofecho
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
tonvm --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
v0.33.8
v0.33.7
v0.33.6
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 throughnvm_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)