Skip to content

v2.0.0

Choose a tag to compare

@jasonkarns jasonkarns released this 30 May 13:37
· 147 commits to main since this release

Major Version Auto-Aliasing

With this release, nodenv alias --auto will create aliases for each major version installed (in addition to the previous behavior of aliases for each minor version installed). Major version aliases can also be created individually via nodenv alias 4 --auto. Of course, all major-version aliases will be kept up to date as nodes are installed/uninstalled.

Codename Aliases

With support for major versions, it is now trivial to create aliases for the LTS codenames. These must still be created manually (for the moment; feel free to chime in at #12 for how this might be handled automatically). Example: nodenv alias argon 4 or nodenv alias boron 6.

Pre-release Auto-Aliasing

Also in this release, aliases can automatically be created for pre-release versions. However, due to the flexibility of the pre-release component, auto-aliasing is only supported for pre-releases that follow the node and npm convention of x.y.z-<alpha>.<num>. For instance, given nodes 8.0.0-rc.0, 8.0.0-rc.1 and 8.0.0-rc.2; nodenv alias --auto would create the alias 8.0.0-rc for 8.0.0-rc.0.