- Rename active version alias from
default
toactive
#89
If you are upgrading from an older version,
snm
will not recognize the running version. To fix this just run theuse
command with a version of your choice.
- Rename
prune
command topurge
but retainprune
as an alias #82
# Now both are valid
snm prune # just an alias to purge
snm purge
- Add
--all
flag topurge
command to also remove the active version #82
snm purge --all
-
Update
clap
tov3.0.0-beta.2
#84 -
Make
<version>
argument optional insnm which
#86 -
Prevent uninstalling the active version by default #93
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
- 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
- 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 byCTRL-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
withconsole
for terminal color output, as console was already used withindicatif
. - Added concrete types for user alias, release/alias/download dir, etc.
- Fixed some bugs that I found along the way.
v0.6.0 (2021-05-15)
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)
Merged pull requests:
- fix:
--download-only
doc string #59 (numToStr) - chore: fix clippy lint errors #58 (numToStr)
- chore: improved install message #57 (numToStr)
v0.5.1 (2021-05-07)
Merged pull requests:
- fix: revert
armv7
toarm
target #56 (numToStr) - chore: separate crates by targets #55 (numToStr)
- build(deps): bump url from 2.2.0 to 2.2.2 #54 (dependabot[bot])
- build(deps): bump anyhow from 1.0.38 to 1.0.40 #53 (dependabot[bot])
- build(deps): bump serde_json from 1.0.62 to 1.0.64 #52 (dependabot[bot])
- build(deps): bump zip from 0.5.9 to 0.5.12 #51 (dependabot[bot])
- build(deps): bump tar from 0.4.32 to 0.4.33 #50 (dependabot[bot])
- build(deps): bump ureq from 2.0.1 to 2.1.1 #48 (dependabot[bot])
- build(deps): bump serde from 1.0.123 to 1.0.125 #47 (dependabot[bot])
v0.5.0 (2021-05-07)
Merged pull requests:
v0.4.1 (2021-02-11)
Closed issues:
- snm exec refuse more than 1 argument #43
Merged pull requests:
- chore: package updates #44 (numToStr)
- fix shell examples in readme #42 (ScottLNorvell)
v0.3.0 (2021-01-13)
Closed issues:
- Support
engines
key frompackage.json
#38
Merged pull requests:
- Support
package.json
insnm use
#40 (numToStr) - Improved perf of
snm use
when reading.nvmrc
or.node-version
#39 (numToStr)
v0.2.0 (2021-01-05)
Closed issues:
Merged pull requests:
- improved help and added missing doc comments #35 (numToStr)
- Upgrade ureq to v2 #34 (numToStr)
- Added bash install script for Linux and macOS #33 (numToStr)
v0.1.9 (2021-01-03)
Merged pull requests:
- pull_request workflow file #30 (numToStr)
- Revert "Added workflow on pull request" #29 (numToStr)
- fixed windows binary not working #28 (numToStr)
- Added workflow on pull request #27 (numToStr)
v0.1.8 (2021-01-02)
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:
- Added mod tests #26 (numToStr)
- Towards 0.1.0 release #24 (numToStr)
- Windows support #11 (numToStr)
- Error bubbles #7 (numToStr)
* This Changelog was automatically generated by github_changelog_generator