v1.5.0

Schniz/fnmv1.5.0Feb 21, 2019by Schniz

AI Summary

This release enhances version management by adding semantic version inference, allowing users to use partial version numbers like `11` to install the latest Node 11 version.

Key Highlights

  • Added semantic version inference (e.g., `fnm install 11` installs latest 11.x)
  • Added `--install-dir` and `--skip-shell` to install script
  • Disabled colors for non-TTY devices
  • Added `--fnm-dir` option to `fnm env`

New Features

  • Semantic version inference
  • Custom installation parameters
  • Non-TTY color disabling

Full Release Notes

## ✨ Highlight ✨ 

Inference of complete semantic version:

In order to download the latest Node 11 version:

```bash
fnm install 11
```

In order to use the latest installed Node 11 version:

```bash
fnm use 11
```

## All contributions 👏 🌮 

#### New Feature 🎉

- [#60](https://github.com/Schniz/fnm/pull/60) Disable colors for non-tty devices ([@Schniz](https://github.com/Schniz))
- [#48](https://github.com/Schniz/fnm/pull/48) Add parameters to the install script, enabling custom installs (`--install-dir` and `--skip-shell`) ([@from-nibly](https://github.com/from-nibly))
- [#54](https://github.com/Schniz/fnm/pull/54) Infer complete semver (`vX.X.X`) out of partial input (`vX`/`vX.X`). ([@Schniz](https://github.com/Schniz))

#### Bugfix 🐛

- [#58](https://github.com/Schniz/fnm/pull/58) Adding check for OSX during writing for bash shell ([@maxknee](https://github.com/maxknee))
- [#56](https://github.com/Schniz/fnm/pull/56) Correct status code on `install` failures ([@ranyitz](https://github.com/ranyitz))

#### Internal 🛠

- [#55](https://github.com/Schniz/fnm/pull/55) Make tests faster by using cnpmjs as Node.js mirror in tests ([@Schniz](https://github.com/Schniz))

#### Documentation 📝

- [#49](https://github.com/Schniz/fnm/pull/49) Add a `--fnm-dir` option to `fnm env` ([@Schniz](https://github.com/Schniz))
- [#50](https://github.com/Schniz/fnm/pull/50) Added CHANGELOG ([@Schniz](https://github.com/Schniz))