8000 Tags · A1me7n/nvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: A1me7n/nvm

Tags

v0.40.2

Toggle v0.40.2's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.40.2

New Stuff
 - `install.sh`: add `$ZDOTDIR` to zsh search (nvm-sh#3458)

Fixes
 - `reinstall-packages`: do not reinstall corepack (nvm-sh#3544)
 - avoid bash-specific syntax (nvm-sh#3499)
 - `install-latest-npm`: npm v11 is out
 - `nvm_install_latest_npm`: avoid unbound
10000
 variable (nvm-sh#3447)
 - give a more helpful message when `lts` alias is mistakenly used (nvm-sh#3441)
 - `nvm ls`, `nvm alias`, `nvm install`: error when an LTS name is invalid
 - `nvm_normalize_lts`: error when an LTS name is not lowercase (nvm-sh#3417)

Documentation
 - [readme] update link
 - [readme] fix `--no-use` example (nvm-sh#3479)
 - [readme] update copyright notice (nvm-sh#3507)
 - [readme] note zsh-nvm's AUTO_USE option (nvm-sh#2670)
 - [readme] add note about reloading zshrc after editing (nvm-sh#3052)
 - [readme] Update shell profile file install notes (nvm-sh#2241)
 - [readme] add docker tips (nvm-sh#2318)
 - [readme] remove `avn` from readme (nvm-sh#3469)
 - [readme] fnm -> nvm.fish (nvm-sh#2541)

Refactors
 - prefer `case` over if/else chains
 - combine `sed -e` invocations/arguments

Tests
 - `nvm exec`/`nvm run`: add `--silent` tests (nvm-sh#1259)
 - [actions] release test needs git tags
 - migrate `installation_iojs` test suite to GitHub Actions (nvm-sh#3476)
 - Migrate slow test suite from Travis CI (nvm-sh#3470)
 - temporarily skip this failing travis test to unblock progress
 - [actions] TOC: use latest LTS node
 - `install.sh`: clean up `nvm_detect_profile` tests
 - `nvm_detect_profile`: refactor (nvm-sh#3467)
 - run urchin tests on pull requests (nvm-sh#3466)
 - update mocks
 - ensure that unit tests use only mocked LTS names
 - [actions] use `node/install` instead of `node/run`

Meta
 - disable blank issues
 - update issue template
 - add DCO (nvm-sh#3456)
 - Rename .github/ISSUE_TEMPLATE.md to .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md (nvm-sh#3454)

v0.40.1

Toggle v0.40.1's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.40.1

Fixes
 - `nvm_download`: ensure all args are quoted
 - `--save`: avoid a conflict with `set -e`
 - `nvm_has_colors`: avoid an aliased `tput`
 - declare an unbound variable
 - `nvm install -b`: do not attempt to download source on a failed binary download with `-b`
 - `nvm install -b`: when no binary is available, fail and output a clear message

Refactors
 - `--save`: clean up some usage
 - `install.sh`: fix node capitalization

Tests
 - set proper permissions on test files
 - move sourcing suite to GHA
 - fix `nvm ls-remote` unit test

v0.40.0

Toggle v0.40.0's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.40.0

New Stuff
 - `nvm use`/`nvm install`: add `--save` option (nvm-sh#2869)
 - Add support for `NVM_AUTH_HEADER` env var (nvm-sh#3380)
 - allow `.nvmrc` files to support comments

Fixes
 - `nvm_get_default_packages`: use `awk` for more reliable file processing
 - Fix issue where zsh global aliases would break nvm help (nvm-sh#3394)
 - `install-latest-npm`: npm ^8.7 breaks `npm ls` with file: deps

Refactors
 - `nvm_has_colors`: also check the env var

Docs
 - [readme] add OpenJS Ecosystem Sustainability Program partner (nvm-sh#2232)
 - [readme] update CII badge URLs
 - [readme] Fix uninstall instructions (nvm-sh#3286)
 - [readme] Fix typo in WSL section of README (nvm-sh#3295)
 - [Docs] add `nvm unload` to uninstall nvm instructions (nvm-sh#3267)
 - [security] fix typo in threat model

Tests
 - ignore travis-ci env vars; improve debug output
 - [debug] adding logging to makefile
 - only install python 2.7 if not already installed
 - use a better JSON parsing implementation
 - ensure travis can access public repo submodules
 - [actions] improve default action permissions
 - [actions] update vampire/setup-wsl action
 - [actions] finisher tweaks
 - [actions] update action versions to use node 20 (nvm-sh#3299)
 - [Dev Deps] update `markdown-link-check`, `semver`

v0.39.7

Toggle v0.39.7's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.7

Fixes

 - use `\hash` instead of `command hash` for `zsh` (nvm-sh#3239, nvm-sh#3247, nvm-sh#3246)

v0.39.6

Toggle v0.39.6's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.6

New Stuff
 - `nvm_resolve_alias`: only resolve one line of a multiline alias file
 - aliases: skip leading blank lines in alias file

Fixes
 - `nvm_get_mirror`: ensure only a valid URL is allowed
 - avoid overridden `hash`
 - `install.sh`: when `NVM_INSTALL_GITHUB_REPO` is set, issue a warning (nvm-sh#2868)
 - `nvm_get_mirror`: disallow some non-URL characters
 - `nvm_get_arch`: proper value for alpine linux (nvm-sh#3212)
 - `nvm_normalize_lts`: switch from expr to case

Robustness
 - `nvm_list_aliases`: avoid overwritten sort

Performance
 - `nvm_check_file_permissions`: do not traverse into symlinks

Dockerfile
 - Remove apt src disabling, no longer needed (nvm-sh#3199)
 - [Fix] add missing leading slash in path (nvm-sh#3195)

Documentation
 - [readme] fix level of headings (nvm-sh#3230)
 - [readme] add section on bare `nvm install` (nvm-sh#3221)
 - [readme] missing parenthesis (nvm-sh#3215)
 - [readme] update M1 to “Apple Silicon” because of M2 and M3; fix typos (nvm-sh#3242)
 - [readme] rearrange install args (nvm-sh#3222)
 - [readme] reorganize “deeper shell integration” instructions (nvm-sh#1569)
 - [security] add prose explaining OpenSSF CII Best Practices badge results
 - [security] add threat model

Tests
 - temporarily allow  cygwin tests to fail
 - temporarily allow WSL tests to fail
 - ensure windows tests install a node that actually works
 - update test mocks (new LTS, iron)
 - switch cygwin mirror
 - fix filename typo (nvm-sh#3217)

v0.39.5

Toggle v0.39.5's commit message

Verif 10000 ied

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.5

Fixes
 - `nvm_strip_path`: Preserve leading/trailing colons (nvm-sh#3145)
 - allow checksums to pass with a leading backslash
 - `nvm install-latest-npm`: ensure npm 10 does not install on unsupported nodes

Docs
 - [readme] add examples of setting specific versions as default (nvm-sh#3151)

Tests
 - add some `nvm_do_install` tests
 - a cleaner name for the windows tests

v0.39.4

Toggle v0.39.4's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.4

Fixes
 - fix node download link for armv8l (nvm-sh#3102)
 - `nvm exec`: no longer error with '-q: invalid option' for zsh users (nvm-sh#2800)
 - `nvm_print_npm_version`: if `npm` exists but its node crashes, do not print the npm version
 - `nvm_ls_current`: when `node` is present but crashes immediately, echo "none"
 - fix directory traversal when workdir path is not readable (nvm-sh#3080)
 - recognize 32Bit docker container and use x86 arch (nvm-sh#3051)
 - Remove unneeded call to `ls` in `nvm_arch` (nvm-sh#3012)

Perf
 - [Perf] Improve performance of listing aliases (nvm-sh#3060)

Docker
 - [Dockerfile] Update base image from Ubuntu 20.04 to 22.04, cc nvm-sh#2877 (nvm-sh#3078)

Docs
 - [readme] add `nvshim` tool alongside `avn` (nvm-sh#2193)
 - [readme] fix typo in resolv.conf filename (nvm-sh#3135)
 - [readme] Update logo header (nvm-sh#3123)
 - [readme] Add instructions on how to install without editing shell config (nvm-sh#3100)
 - [readme] `cdnvm` function: fix shellcheck errors (nvm-sh#3082)
 - [readme] Update Travis CI badge and link url (nvm-sh#3077)

Miscellaneous
 - [meta] Remove unavailable testing script (nvm-sh#3105)
 - [Dev Deps] update `markdown-link-check`, `semver`
 - [actions] allow nvm to be installed

Tests
 - [add unit tests for `nvm_download_artifact`
 - [`npm bin` has been removed
 - [downgrade python to v2 on travis (nvm-sh#3067)
 - [move install script tests to github actions
 - [improve debug output on failure
 - [force the NVM_DIR to the expected location, for tests
 - [Update urchin repository link (nvm-sh#2989)

v0.39.3

Toggle v0.39.3's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.3

Fixes
 - `nvm install-latest-npm`: npm v6.14.18 can not be installed from npm < v4.4.4
 - ensure this variable is bound
 - `debug`: correct mistaken `-V` to `--version` from nvm-sh#2922
 - `debug`: `awk`: not an option: `--version` (nvm-sh#2922)
 - grep: warning: stray \ before / (nvm-sh#2919)
 - improve backward compatibility for non-gnu awk (nvm-sh#2917)
 - fix `nvm install` error `unknown condition: -ne` (nvm-sh#2915)

Tests
 - update test mocks (nvm-sh#2933)
 - move installation_node tests back to xenial
 - move tests that fail on focal to a separate suite that runs on xenial
 - update travis to use focal
 - [actions] fix `latest-npm` tests so they use this repo’s nvm instead of the last published one
 - fix nvm_list_aliases test to use mocks for LTS aliases

Docs
 - [meta] Improve contributors documentation (nvm-sh#2791)
 - [Docs] added WSL troubleshooting with solution to (6) Could not resolve host: raw.githubusercontent.com (nvm-sh#2961)

Refactors
 - add `nvm_wrap_with_color_code`; allow no color code

v0.39.2

Toggle v0.39.2's commit message

Verified

This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.2

Fixes
 - `--help`: proper default `NVM_COLORS` info
 - `nvm install-latest-npm`: ensure npm 9 does not install on unsupported nodes
 - `install.sh`: support `~/.zprofile` (nvm-sh#2892, nvm-sh#2868, nvm-sh#2232)
 - Don't override Mac M1 architecture for node ^14.17 (nvm-sh#2777)
 - `nvm install`: show proper version in `.nvmrc` install instructions (nvm-sh#2770)
 - `install.sh`: error out if the install instructions are not followed (nvm-sh#2742)
 - `install`: better error message when xcode command line tools are needed
 - avoid OpenBSD `nvm install` error when /sbin/init doesn't exist (nvm-sh#2698)
 - `set -E`: Add test for `node install` on Bash with an ERR trap and `set -E`
 - add missing `local` (handle nonexisting /sbin/init a bit more cleanly) (nvm-sh#2678)
 - Update `nvm_extract_tarball` to support OpenBSD (nvm-sh#2693)

Performance
 - `nvm_print_versions`: re-implement using awk

Robustness
 - avoid a clobbered `ls` (nvm-sh#2727)

Refactors
 - nvm install/`nvm_install_default_packages`: move "get" logic inside helper
 - add `nvm_extract_tarball` to consolidate extraction logic

Docs / Read Me
 - Update Alpine Linux Section (nvm-sh#2896)
 - optimize calling of `nvm version` in zsh (nvm-sh#2874)
 - Fix Ansible Linting Errors (nvm-sh#2861)
 - cdnvm(): handle failed dir change (nvm-sh#2840)
 - Fix Git Install instruction list structure (nvm-sh#2823)
 - add logo
 - minor cleanup
 - Add note about creating .bashrc file *as well as* .bash_profile (nvm-sh#2729)
 - `fish`: send output from `load_nvm` to `/dev/stderr` (nvm-sh#2783)
 - fix fish load_nvm variable interpolations (nvm-sh#2776)
 - Correct typos in "Macs with M1 chip" section (nvm-sh#2760)
 - HTTP => HTTPS (nvm-sh#2735, nvm-sh#2713)
 - clarify instructions for running Node on M1 Mac (nvm-sh#2675)

Dockerfile
Update base image from Ubuntu 18.04 to 20.04, cc nvm-sh#2877 (nvm-sh#2882)

Misc
 - [meta] Update CODE_OF_CONDUCT to current version (nvm-sh#2790)

Tests
 - update test mocks
 - github actions removed homebrew and broke shellcheck (nvm-sh#2907)
 - node 18 no longer builds in travis-ci (nvm-sh#2907)

v0.39.1

Toggle v0.39.1's commit message

Verified

514D
This tag was signed with the committer’s verified signature.
ljharb Jordan Harband
v0.39.1

New Stuff
 - Add OpenBSD support (nvm-sh#1062)

Fixes
 - `ls-remote`/`install`: support `lts/-X` patterns in installs
 - `ls-remote`/`install`: properly handle `lts/x` patterns
 - `nvm alias`/`nvm_list_aliases`: support `lts/` aliases
 - `nvm_get_download_slug`: better architecture selection for M1 Macs
 - `install`: fix method=script install condition (nvm-sh#2668)
 - `install`: properly check for curl/wget
 - install script: Add `--no-pager` option to git branch (nvm-sh#2637)

Refactors
 - create `nvm_normalize_lts` helper
 - [shellcheck] apply v0.8.0 updates

Docs
 - [readme] Balance the if statement in bash example (nvm-sh#2658)
 - [readme] Describe another failure case for installing node versions from source on mac arm64 machines (nvm-sh#2653)

Tests
 - [actions] add step security runner (nvm-sh#2659)
 - [Tests] update test mocks
 - [Tests] `nvm_get_download_slug`: add unit tests (nvm-sh#2657, nvm-sh#2232)
 - [Tests] fix windows WSL tests
 - [Dev Deps] update `doctoc`, `markdown-link-check`
0