Skip to content

v0.26.0

Compare
Choose a tag to compare
@ljharb ljharb released this 14 Aug 01:16
· 1144 commits to master since this release

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
  • 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.

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 in zsh
  • 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 to nvm use to suppress output (#780)
  • Add nvm version-remote

Performance

  • Speed up nvm_print_npm_version
  • Refactor a nvm use case statement out into an nvm_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 and nvm version-remote in nvm --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 and nvm-fish-wrapper with a link to bass (#802)