Releases: nvm-sh/nvm
Releases · nvm-sh/nvm
v0.26.0
Breaking Changes
- Remove
$NVM_IOJS_ORG_VERSION_LISTING
env var.- you probably weren't using this for anything anyways. Now the version listing is just
$NVM_IOJS_ORG_MIRROR/index.tab
- you probably weren't using this for anything anyways. Now the version listing is just
nvm reinstall-packages
should install the same version it had before.- Previously,
reinstall-packages
would just reinstall the same packages, but at the latest version. Now, it attempts to preserve the version number you had it at before.
- Previously,
Installation
- Source the nvm.sh file automatically upon install (#775)
- Better profile detection: detect shell type from $SHELL variable instead of .$SHELLrc files (#765)
Fixes
- Fix "reinstall" output wording (#778)
- Fix
nvm debug
output inzsh
- Redirect stderr output from
npm ls -g
to /dev/null (#756)
New things
- Automatically add
--without-snapshot
build parameter when installing from source on ARM (#766) - Add
--silent
option tonvm use
to suppress output (#780) - Add
nvm version-remote
Performance
- Speed up
nvm_print_npm_version
- Refactor a
nvm use
case
statement out into annvm_match_version
function - Make
nvm_ensure_version_installed
slightly more efficient
Refactoring
- Factor out global installs/links into
nvm_npm_global_modules
function - Some refactoring to clear up the path to
io.js
release candidate support (related to #779)
Dev Dependencies
- Update
semver
Documentation
- Updated usage instructions to include --reinstall-packages-from syntax and example (#795)
- document
nvm version
andnvm version-remote
innvm --help
output - Add usage string for --reinstall-packages-from (#797)
- Add explanatory note to
--help
output for<version>
- Clean up grammar in readme (#799)
- Replace links to
nvm-fish
andnvm-fish-wrapper
with a link tobass
(#802)
v0.25.4
v0.25.3
v0.24.2
v0.25.2
Fixes
- Fix
curl
installation instructions - Make sure that
nvm reinstall-packages system
has the right std output. - nvm reinstall-packages: On systems where
npm ls -g --depth=0
does not includenpm
for some reason, make sure to filter out(empty)
.
Enhancements (not worth a minor bump)
- Add wrapping curly braces to ensure that the entire scripts are downloaded. If the closing curly brace isn't present, the script will error out.
- Add undocumented
nvm debug
to print out helpful debugging info.
v0.25.1
Enhancement slash fixes
- Make sure to ignore any
curl
settings in~/.curlrc
, if it exists. - Actually try to install from source when the error message says "binary failed, trying source".
- Use
uname -m
instead ofuname -a
to detect installation architecture (#744) - Improve the error message when the binary tarball URL 404s. (#743)
Testing
- Only test the install script in bash, since it only runs in bash.
v0.25.0
Bugfixes
- install.sh: Ensure that the
--quiet
option is available before trying to use it. (#738, #657) - When no arguments are passed to
nvm run X
, usenvm exec
to open a REPL (#625, #717) - Adding .gitattributes to force unix line endings (#728, #741)
New features
- Include
npm
version when displaying the results ofnvm use
(#722) - adding architecture detection for Raspberry Pi 2/
armv71
(#742)
Performance
- Consolidate and avoid sed/cut calls, clean up pattern matches (#718)
Misc
v0.24.1
- Bugfixes
- Performance
- Improve startup performance. (#703, #705)
- Combine
sed
andgrep
commands innvm ls
code (#710) - Consolidate faster default alias lookup, and use that explicit version to avoid a second default alias lookup in
nvm use default
. - Remove some external calls using parameter filtering and case statements. (relates to #709)
- Cache a few function calls; clean up some logic.
- Testing
- Make sure
npm run test/fast
passes whether there's a system node installed or not. - Use
ksh
/zsh
travis-ci
addons to avoid the need forsudo apt-get install
.
- Make sure
v0.24.0
- Installation:
- fixed return code of 1 when updating from git (#686)
- Attempt to fix script install - no shadowing
$NVM_SOURCE
; nvm-exec and nvm.sh should not both use$NVM_SOURCE
since they're different URLs. (#654) - Add
armv6
andarmv7
support forio.js
(#680, #678, #227) - Use
nvm_ensure_version_installed
to consistently check if a version is installed. (#675) - Make sure checksum commands are not aliases. (#659, #420, #640)
- Prevent
VERSION=''
output caused by double local declaration. (#644)
- Referencing versions:
- Fix bare
nvm use
whennvm_ls_current
is "none" (#684) - Add support for
node
andiojs
implicit aliases.
- Fix bare
- Listing versions:
- Add bash_completion for
nvm exec
- Notify the user when they're losing access to global modules (#631)
- README: Point fish users in the right direction (relates to #303, #648)
- Make sure multiple
nvm run
arguments get passed through to node/iojs properly. (#641)