nvm v0.35.0 Release Notes

Release Date: 2019-10-02 // over 4 years ago
  • πŸ†• 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 newline
    • install: 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.2
    • install: 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 helpful
    • nvm ls: ensure nvm 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

    • 🐳 install shellcheck v0.6.0 in Dockerfile (#1836)
    • βž• add libssl-dev to Docker image (#1835)

    Meta

    • βž• add copyright line to license file
    • ⚑️ update repo links to point to org