Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Releases: shadowspawn/nvh

6.0.3

11 Nov 07:47
Compare
Choose a tag to compare

Added

  • show uname in nvh doctor

Changed

  • improve display of node JavaScript engine by nvh doctor
  • tweak relative links in README for compatibility with npmjs.org

6.0.2

22 Sep 22:58
Compare
Choose a tag to compare

Added

  • automated test coverage

Fixed

  • removed references to numeric release streams (e.g. v7.x) from documentation

6.0.1

15 Sep 10:36
Compare
Choose a tag to compare

Fixed

  • run and which always failing

6.0.0

15 Sep 06:11
Compare
Choose a tag to compare

Added

  • nvh cache clear remove all downloaded versions
  • nvh cache prune remove all downloaded versions except the installed version (replacing nvh prune)

Changed

  • using index.tab on mirror rather than scraping html page to find remote versions
  • more accurate and informative error messages for failed curl/wget operations, including
    • show curl errors
    • show remote url for failed curl/wget operations
  • narrowing candidate versions to ones matching platform
  • change terminology from "stash" to "cache"

Deprecated

  • nvh prune (replaced by nvh cache prune)

Removed

  • numbered release streams like 'v8.x': instead, use incomplete version like '8'

5.0.0

18 Aug 23:01
Compare
Choose a tag to compare

Removed

  • NVH_USER and NVH_PASSWORD: instead, include in NVH_NODE_MIRROR)
  • NVH_PROXY_USER and NVH_PROXY_PASSWORD: instead, include in proxy url or .curlrc or .wgetrc

4.2.1 [YANKED]

18 Aug 08:10
Compare
Choose a tag to compare

(These changes should be in a major version change, will be published on npm in 5.0.0)

Removed

  • NVH_USER and NVH_PASSWORD: instead, include in NVH_NODE_MIRROR)
  • NVH_PROXY_USER and NVH_PROXY_PASSWORD: instead, include in proxy url or .curlrc or .wgetrc

4.2.0

11 Aug 02:03
Compare
Choose a tag to compare

Changed

  • refactored documentation and extended proxy tips

Deprecated

  • NVH_USER and NVH_PASSWORD: instead, include in NVH_NODE_MIRROR)
  • NVH_PROXY_USER and NVH_PROXY_PASSWORD: instead, include in proxy url or .curlrc or .wgetrc

4.1.0

04 Aug 06:59
Compare
Choose a tag to compare

Added

  • support for NO_COLOR and CLICOLOR=0
  • more checks in nvh doctor
  • --insecure option, sometimes needed for working through proxy servers

Changed

  • suppress ansi colours when stdout is not a terminal

4.0.0

29 Jul 07:31
Compare
Choose a tag to compare

Major changes to install:

  • now requiring explicit install command like nvh install lts
  • install implementation is now using rsync

Added

  • instructions at bottom of nvh version selection
  • allow options after command, as well as before
  • current as alias for latest
  • docs for using proxy
  • environment variables for proxy username and password
  • autodetect whether to show progress based on whether displaying to a terminal

Changed

  • requiring explicit nvh install <version> command, rather than implicit nvh <version>
  • switched install implementation to rsync. This is a significant change and a new dependency for minimal installs, but allows improving some behaviours in a consistent way.
  • adopting suggestions of shellcheck (ongoing work-in-progress)
  • changed preflight test before download to remove broken code and reduce calls for mirrors using redirects
  • --preserve now works with interactive version selection too
  • put single speech mark around supplied argument in error messages
  • reworked implementation of curl and wget commands

Removed

  • unimplemented right-arrow from README instructions for interactive version selection
  • --no-check-certificate for wget, secure by default, matching curl treatment
  • --quiet option

3.0.0

15 Jul 01:16
Compare
Choose a tag to compare

Changes from upstream tj/n 2.1.12

Added

  • add support for preserving npm+npx during install (-p | --preserve)
  • support for recognition of arm64 and aarch64 architectures
  • support more versions
  • added logging to install when no download required
  • support partial version numbers with which and run (e.g. 8)
  • (developer) .gitignore .editorconfig .markdownlint.js
  • nvh ls-remote [version] to lookup matching downloadable versions
  • nvh doctor to show useful diagnostics

Changed

  • fix --lts for mirrors with multiple versions in release stream folders
  • changed error message for which and run to include specified and matching version
  • removed trailing space from which output
  • fixed partial number lookups so 6.1 matches 6.1.0 (not 6.14.3)
  • (internal) share lookups for install/which/run/rm so consistent behaviour (such as partial number lookups)
  • remove old iojs support from code and help
  • changed environment variable names
    • N_PREFIX to NVH_PREFIX
    • NODE_MIRROR changed to NVH_NODE_MIRROR
    • HTTP_USER changed to NVH_NODE_MIRROR_USER
    • HTTP_PASSWORD changed to NVH_NODE_MIRROR_PASSWORD
  • changed stash versions directory from n/versions to nvh/versions
  • n use and n as changed to nvh run (as per nvm and nvs)
  • nvh ls lists downloaded versions
  • nvh ls-remote replaces n ls
  • error messages to STDERR
  • limit number of versions listed by ls-remote

Removed

  • removed support for deprecated stable version
  • removed support for n project (and PROJECT_NAME and PROJECT_VERSION_CHECK)
  • Makefile
  • n --latest replaced by nvh lsr latest
  • n --lts replaced by nvh lsr lts
  • alias of bin for which
  • alias of - for rm
  • --download option
  • --arch option