Skip to content

Latest commit

 

History

History
195 lines (126 loc) · 10.1 KB

CHANGELOG.md

File metadata and controls

195 lines (126 loc) · 10.1 KB

Changelog

[0.8.0]

Breaking

  • Rename active version alias from default to active #89

If you are upgrading from an older version, snm will not recognize the running version. To fix this just run the use command with a version of your choice.

Changes

  • Rename prune command to purge but retain prune as an alias #82
# Now both are valid
snm prune # just an alias to purge
snm purge
  • Add --all flag to purge command to also remove the active version #82
snm purge --all
  • Update clap to v3.0.0-beta.2 #84

  • Make <version> argument optional in snm which #86

  • Prevent uninstalling the active version by default #93

[0.7.0] - 2021-08-09

I finally rewrote the whole program to be more idiomatic. Removing any unnecessary code, making the codebase more readable and maintainable. Sadly, in doing so I've to introduce some breaking change. I've listed the major changes below:

PR: #79

Breaking

  • Previously, installation directories were all prefixed with the v character, now it is gone.
# before
$SNM_DIR/releases/v14.17.4

# now
$SNM_DIR/releases/14.17.4
  • From this version ownwards, MSRV will be 1.54.0

Changes

  • Previously, releases were downloaded into memory because of the progress bar implementation. Now they all are downloaded temporarily inside the $SNM_DIR/downloads and when the installation is finished, the downloads will be automatically deleted. Keep in mind, it will not delete automatically if the command is terminated by CTRL-C and friends.
  • prune command now also deletes $SNM_DIR/downloads if it is not empty.
  • Better progress bar implementation. Now the lag is gone, at least in the unix environment.
  • Removed spinner from snm ls-remote command
  • Replaced colored with console for terminal color output, as console was already used with indicatif.
  • Added concrete types for user alias, release/alias/download dir, etc.
  • Fixed some bugs that I found along the way.

Misc

  • Bump semver to v1 #78
  • Fix clippy lint errors 74f16c2

v0.6.0 (2021-05-15)

Full Changelog

Merged pull requests:

  • feat: added spinner in snm {install,lts,latest} #66 (numToStr)
  • fix: prevent downloading of same version again #64 (numToStr)
  • breaking: rename flag --download-only to --no-use #63 (numToStr)
  • chore: refactor downloader #62 (numToStr)
  • feat: added spinner in snm ls-remote #61 (numToStr)

v0.5.2 (2021-05-09)

Full Changelog

Merged pull requests:

v0.5.1 (2021-05-07)

Full Changelog

Merged pull requests:

v0.5.0 (2021-05-07)

Full Changelog

Merged pull requests:

v0.4.1 (2021-02-11)

Full Changelog

Closed issues:

  • snm exec refuse more than 1 argument #43

Merged pull requests:

v0.3.0 (2021-01-13)

Full Changelog

Closed issues:

  • Support engines key from package.json #38

Merged pull requests:

  • Support package.json in snm use #40 (numToStr)
  • Improved perf of snm use when reading .nvmrc or .node-version #39 (numToStr)

v0.2.0 (2021-01-05)

Full Changelog

Closed issues:

  • Add tj/n style version help in snm --help #37
  • Add a as an alias to alias command #36

Merged pull requests:

v0.1.9 (2021-01-03)

Full Changelog

Merged pull requests:

v0.1.8 (2021-01-02)

Full Changelog

Closed issues:

  • Release 0.1.0 #25
  • lts/* pattern in snm unalias #16
  • Allow alias and lts* in snm uninstall #15
  • Add README #14
  • snm unalias #13
  • Make some defaults aliases #12
  • Allow aliases in snm use #10
  • Support .nvmrc and .node-version #9
  • Allow lts-* and lts/* installations #8
  • Bubble up the errors #6
  • GHA for release #5
  • Windows support? #4
  • Colorful output #2
  • Tests #1

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator