Skip to content

Releases: tj/n

6.0.0

16 Aug 09:21
Compare
Choose a tag to compare

Added

  • version specified using release stream codenames, like argon (#423)
  • version specified using nightly et al (#376)
  • n exec for running arbitrary command with node and npm in PATH (#185)
  • n run with legacy aliases of as and use
  • n lsr for listing matching remote versions, limited to 20 by default (#383)
  • n doctor for displaying diagnostic information
  • n install for people used to other products with this command (#524)
  • --insecure to disable curl/wget certificate checks
  • added npm version to installed message (#210 #484 #574)

Changed

  • Breaking wget now checks certificates (secure by default, same as curl setup). (#475 #509)
  • failure messages go to stderr instead of stdout
  • prefixed N_NODE_MIRROR to eventually replace NODE_MIRROR
  • Breaking n ls now lists local download versions (rather than remote versions)
  • lookup available versions using index.tab rather than screen-scraping (#560)

Fixed

  • download errors display informative message, instead of just Invalid version (#482 #492 et al)
  • improve reliability of downloads from custom node mirrors, including removing broken is_oss_ok (#560)
  • restrict downloads to versions with architecture available (#463)

Removed

  • Breaking support for PROJECT_NAME and PROJECT_URL for custom downloads (#342)

6.0.0-1 Prerelease

12 Aug 09:45
Compare
Choose a tag to compare
6.0.0-1 Prerelease Pre-release
Pre-release

Fixed

  • extra arguments to the new commands introduced in 6.0.0-0 were being further processed, so n ls 8 would list local versions then install 8

6.0.0-0 Prerelease

03 Aug 09:41
Compare
Choose a tag to compare
6.0.0-0 Prerelease Pre-release
Pre-release

(Released as 6.0.0)

5.0.2

02 Aug 09:39
Compare
Choose a tag to compare

Added

  • instructions to bottom of menu version selection

5.0.1

20 Jul 01:48
Compare
Choose a tag to compare

Changed

  • removed reference to prerelease version of v5.0.0 from README

5.0.0

20 Jul 01:28
Compare
Choose a tag to compare

Added

  • log message after install from cache (previously silent)
  • extra logging after install if the active and installed node locations are different
  • support for NO_COLOR and CLICOLOR=0
  • suppress progress and colour if not interactive tty
  • define N_USE_XZ to download .xz compressed archives instead of .gz archives

Changed

  • reinstalling active node version always does reinstall (previously silently did nothing)
  • log message for installing using menu now same format as npm install message
  • updates to GitHub templates and guidelines for contributing et al

5.0.0-next.0

03 Jun 08:51
Compare
Choose a tag to compare
5.0.0-next.0 Pre-release
Pre-release

Added

  • log message after install from cache (previously silent)
  • extra logging after install if the active and installed node locations are different
  • support for NO_COLOR and CLICOLOR=0
  • suppress progress and colour if not interactive tty

Changed

  • reinstalling active node version always does reinstall (previously silently did nothing)
  • log message for installing using menu now same format as npm install message
  • updates to GitHub templates and guidelines for contributing et al

4.1.0

10 May 08:44
Compare
Choose a tag to compare

Added

  • 'n uninstall` to remove node and npm
  • describe NODE_MIRROR in README

Removed

  • PROJECT_NAME and PROJECT_URL from README. First step to deprecating n project. Open an issue if you still need this!

4.0.0

04 May 22:08
Compare
Choose a tag to compare

Only minor functional changes, but technically could break scripts relying on specific behaviour.

Fixed

  • remove trailing space from bin output #456

Added

  • development tests #545

Changed

  • internal: improve shell script based on ShellCheck suggestions, quoting variables use etc #187 #465
  • put single quote marks around parameters to clarify error messages #485
  • update terminology to be more careful with current/latest #522

3.0.2

07 Apr 04:58
Compare
Choose a tag to compare

Added

  • instructions to avoid need for sudo when installing to /usr/local #416 #562

Fixed

  • permission denied errors when running read-only commands without sudo #416