This project adheres to Semantic Versioning.
- Make displaying the selected Node.js version in shell prompt faster in
contrib/set-prompt.sh
v0.4.2 - 2022-10-07
- Fix not attempting to populate the
CHNODE_NODES
shell array variable when theCHNODE_NODES_DIR
contains just dotfiles.
- Readme: more details about how to install Node.js versions
- Readme: instruct configuring the prefix path for
npm
v0.4.1 - 2022-05-29
- Change parsing of the
.node-version
file in thechnode_auto
function to be more forgiving (allow missing trailing newline, allow Windows style line endings, trim the leadingv
character if followed by a digit). Issue #5 by John Gee (@shadowspawn).
v0.4.0 - 2021-05-03
- Introduce the
CHNODE_AUTO_VERSION_FILENAME
shell variable to change the name the files used in detecting automatic version switching. The default value of the variable is.node-version
.
- Fix ignoring a
.node-version
file containing just a newline. Document file format specification in the readme.
v0.3.1 - 2019-11-10
- Ensure using external utility for
ls
when checking the non-emptiness ofCHNODE_NODES_DIR
(avoid calling function or alias forls
).
v0.3.0 - 2019-08-28
- Add support for automatic Node.js version switching by detecting
.node-version
file and switching to the version specified in the file automatically. Implemented as an optional add-on by sourcingauto.sh
and installing a hook into shell. Pull Request #2 by James Buckley (@donquxiote).
v0.2.0 - 2018-10-07
- Add
chnode -R
to reload chnode, allowing detecting new and removed Node.js versions inCHNODE_NODES_DIR
.
- Breaking: rename
chnode reset
tochnode -r
. Rationale: disallow word commands in order to avoid clashes with Node.js versions, selectable withchnode NODE_VERSION
. - Code refactor.
v0.1.0 - 2018-09-30
- First release.