0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 11:37:26 +01:00
n/CHANGELOG.md

396 lines
12 KiB
Markdown
Raw Normal View History

2019-03-24 08:23:38 +01:00
# Changelog
All notable changes to this project will be documented in this file.
2020-07-15 10:39:09 +02:00
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2019-03-24 08:23:38 +01:00
<!-- markdownlint-disable MD024 -->
## [7.2.0] (2021-04-18)
### Added
- install native arm64 Node.js on Macs with Apple silicon for Node.js 16 and higher (#664)
2021-03-12 08:13:16 +01:00
2021-03-12 08:05:12 +01:00
## [7.1.0] (2021-03-12)
### Added
- support installs where /usr/local/share/man is a symlink (such as archlinux)
- remove requirement for rsync for --preserve
- avoid install pollution if user installs global packages when using n exec
2021-02-27 00:44:38 +01:00
2021-02-27 00:39:51 +01:00
## [7.0.2] (2021-02-27)
### Fixed
- consistently log to STDOUT ([#654])
2021-01-30 04:56:03 +01:00
2021-01-30 04:53:44 +01:00
## [7.0.1] (2021-01-30)
2020-12-20 05:23:06 +01:00
### Changed
2021-01-30 04:53:44 +01:00
- update bats, and use bats-assert for better unit test failure messages
### Fixed
2021-01-30 04:53:44 +01:00
- fail to display error in some cases for missing both `curl` and `wget` ([#649])
2020-12-20 04:56:24 +01:00
## [7.0.0] (2020-12-20)
2020-12-12 07:36:49 +01:00
2020-12-20 04:56:24 +01:00
### Changed
- `auto` label now scans for `package.json` only if it can not find a version control file ([#644])
### Added
- `engine` label to look for `engines.node` in `package.json` (as used by`auto`) ([#644])
-
2020-12-19 22:17:31 +01:00
### Fixed
- avoid colorized grep output via `GREP_OPTIONS` breaking version lookup ([#643])
## [6.8.0] (2020-12-12)
2020-11-25 10:13:08 +01:00
### Fixed
- suppress unwanted warning during `auto` when using npx with npm 7
- temporary fix for installing on Mac with Apple M1 chip, look for x64 versions of node as arm64 not available yet
2020-11-25 09:49:26 +01:00
## [6.7.1] (2020-11-25)
### Fixed
- detect and handle a failed download of full archive ([#635])
2020-07-25 12:06:13 +02:00
## [6.7.0] (2020-07-25)
### Added
- `auto` support for:
- `.node-version`
- `.nvmrc`
- `engines` field of `package.json`
2020-07-04 05:30:44 +02:00
2020-07-04 05:24:14 +02:00
## [6.6.0] (2020-07-04)
2020-04-11 07:49:23 +02:00
2020-06-24 11:04:25 +02:00
### Added
2020-07-04 05:24:14 +02:00
- labels for node support aliases, such as `lts_latest`
2020-06-24 11:04:25 +02:00
2020-06-24 10:52:25 +02:00
### Fixed
- Enable `xz` support by default for macOS 11+ ([#624])
2020-04-11 07:46:36 +02:00
## [6.5.1] (2020-04-11)
2020-04-11 04:19:39 +02:00
2020-04-11 07:46:36 +02:00
### Added
- specify `auto` to read the target version from a `.n-node-version` file (i.e. change filename)
## [6.5.0] (2020-04-11) [YANKED]
### Added
2020-04-11 07:46:36 +02:00
- specify `auto` to read the target version from a `.node-version` file ([#616])
2020-03-10 08:53:58 +01:00
## [6.4.0] (2020-03-10)
### Added
- treat `armv8l` as `arm64` ([#614])
2020-02-25 09:31:03 +01:00
2020-02-25 09:18:38 +01:00
## [6.3.1] (2020-02-25)
2020-02-25 09:00:33 +01:00
2020-02-25 09:18:38 +01:00
### Fixed
2020-02-25 09:00:33 +01:00
- remove old version of node before copy to avoid firewall issues on macOS ([#394])
## [6.3.0] (2020-02-24)
### Added
- `--preserve` to preserve npm and npx during install of node ([#587])
2020-01-29 10:13:49 +01:00
2020-01-29 10:06:19 +01:00
## [6.2.0] (2020-01-29)
2019-11-23 06:00:50 +01:00
### Added
2020-01-29 10:06:19 +01:00
- Downloads now default to using tarballs compressed by `xz` over `gzip`, if `xz` support detected. ([#606] [#607])
## [6.1.3] (2019-11-23)
### Added
- added How It Works to README
2019-11-16 05:29:38 +01:00
### Changed
- simplified layout for `n doctor` output
2019-11-16 04:26:10 +01:00
## [6.1.2] (2019-11-16)
2019-11-09 23:37:52 +01:00
### Added
- advice to reset command hash when node location changes ([#170] [#381] [#451] [#588])
- in README describe raw download of `n` to bootstrap install of node and npm
2019-11-09 23:34:13 +01:00
## [6.1.1] (2019-11-10)
### Fixed
- Specify `--no-same-owner` for tarball extraction so cache files not owned by unexpected user (when run with sudo) ([#593])
2019-10-25 09:49:58 +02:00
## [6.1.0] (2019-10-25)
### Added
- deletion of cached versions from menu using 'd' ([#590])
2019-08-20 10:54:11 +02:00
2019-08-20 10:50:16 +02:00
## [6.0.1] (2019-08-20)
### Fixed
2019-10-24 10:49:28 +02:00
- allow options to come after commands, especially `n lsr --all`
2019-08-16 11:19:11 +02:00
2019-08-16 11:01:21 +02:00
## [6.0.0] (2019-08-16)
2019-08-03 05:00:56 +02:00
### 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
2019-08-05 08:22:11 +02:00
- `n install` for people used to other products with this command ([#524])
- `--insecure` to disable curl/wget certificate checks
2019-08-03 11:53:24 +02:00
- added npm version to installed message ([#210] [#484] [#574])
2019-08-03 05:00:56 +02:00
### 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])
2019-08-03 05:00:56 +02:00
2019-08-04 01:56:15 +02:00
### Removed
2019-08-03 05:00:56 +02:00
- **Breaking** support for `PROJECT_NAME` and `PROJECT_URL` for custom downloads ([#342])
2019-08-02 11:38:07 +02:00
2019-08-02 11:28:20 +02:00
## [5.0.2] (2019-08-02)
### Added
- instructions to bottom of menu version selection
2019-07-20 03:25:24 +02:00
## [5.0.1] (2019-07-20)
### Changed
- removed reference to prerelease version of v5.0.0 from README
2019-07-20 03:17:16 +02:00
## [5.0.0] (2019-07-20)
2019-05-10 10:42:08 +02:00
### Added
- log message after install from cache (previously silent)
- extra logging after install if the active and installed node locations are different
2020-07-15 10:39:09 +02:00
- support for [NO_COLOR](https://no-color.org) and [CLICOLOR=0](https://bixense.com/clicolors)
- suppress progress and colour if not interactive tty
2019-07-20 03:17:16 +02:00
- define `N_USE_XZ` to download `.xz` compressed archives instead of `.gz` archives
### Changed
2019-06-02 10:55:21 +02:00
- 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
2019-07-20 03:17:16 +02:00
## [4.1.0] (2019-05-10)
2019-05-05 00:06:24 +02:00
### Added
2019-05-09 12:22:17 +02:00
- '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!
2019-07-20 03:17:16 +02:00
## [4.0.0] (2019-05-05)
2019-05-04 10:00:51 +02:00
Only minor functional changes, but technically could break scripts relying on specific behaviour.
2019-04-07 06:57:17 +02:00
2019-04-21 02:14:51 +02:00
### Fixed
- remove trailing space from `bin` output [#456]
2019-05-04 10:00:51 +02:00
### Added
- development tests [#545]
2019-04-20 09:51:19 +02:00
### 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]
2019-04-20 09:51:19 +02:00
2019-04-07 06:43:05 +02:00
## [3.0.2] (2019-04-07)
### Added
- instructions to avoid need for `sudo` when installing to `/usr/local` [#416] [#562]
### Fixed
2019-04-07 06:43:05 +02:00
- permission denied errors when running read-only commands without sudo [#416]
2019-04-05 09:41:28 +02:00
2019-04-05 09:34:11 +02:00
## [3.0.1] (2019-04-05)
2019-03-29 08:25:59 +01:00
### Added
- install instruction using Homebrew (macOS) [#534]
2019-03-31 11:31:00 +02:00
- Table of Contents to README [#466]
2019-03-31 10:34:08 +02:00
### Fixed
- lts lookup on node mirrors which don't purge old versions (e.g. taobao) [#512]
- hide cursor while selecting version from menu [#528]
2019-03-31 10:34:08 +02:00
2019-03-29 09:16:20 +01:00
### Removed
- gitter badge from README, as gitter chatroom inactive
- inactive Core Team from README
- instructions for scripted install of npm from README, which should no longer be needed and not working on Mac [#536]
2019-03-29 09:16:20 +01:00
2019-03-29 08:07:14 +01:00
## [3.0.0] (2019-03-29)
2019-03-24 08:23:38 +01:00
### Added
- detect arm64 architecture [#448][] [#521][]
### Changed
- allow `n rm` of active version of node [#541][] [#169][] [#327][] [#441][]
- show more version examples in README, including partial version number [#548][]
- updated description of interactive version selection [#518][]
- make (old) stable an alias for lts [#467][] [#335][]
2019-03-24 08:36:49 +01:00
- replace use of `which` with more standard `command -v` [#532][]
2019-03-24 08:23:38 +01:00
### Fixed
- error messages when selecting from version menu if active node version not listed [#541][] [#292][] [#367][] [#391][] [#400][]
- removed inappropriate `shift` from prune function [#531][] [#529][]
### Removed
- Remove old io project support [#516][] [#331][]
<!-- reference links for issues and pull requests -->
[#169]: https://github.com/tj/n/issues/169
[#170]: https://github.com/tj/n/issues/170
[#185]: https://github.com/tj/n/issues/185
[#187]: https://github.com/tj/n/issues/187
[#210]: https://github.com/tj/n/issues/210
2019-03-24 08:23:38 +01:00
[#292]: https://github.com/tj/n/issues/292
[#327]: https://github.com/tj/n/issues/327
[#331]: https://github.com/tj/n/issues/331
[#335]: https://github.com/tj/n/issues/335
[#342]: https://github.com/tj/n/issues/342
2019-03-24 08:23:38 +01:00
[#367]: https://github.com/tj/n/issues/367
[#376]: https://github.com/tj/n/issues/376
[#381]: https://github.com/tj/n/issues/381
[#383]: https://github.com/tj/n/issues/383
2019-03-24 08:23:38 +01:00
[#391]: https://github.com/tj/n/issues/391
2020-02-25 09:00:33 +01:00
[#394]: https://github.com/tj/n/issues/394
2019-03-24 08:23:38 +01:00
[#400]: https://github.com/tj/n/issues/400
2019-04-07 06:43:05 +02:00
[#416]: https://github.com/tj/n/issues/416
[#423]: https://github.com/tj/n/issues/423
2019-03-24 08:23:38 +01:00
[#441]: https://github.com/tj/n/issues/441
[#448]: https://github.com/tj/n/issues/448
[#451]: https://github.com/tj/n/issues/451
2019-04-21 02:14:51 +02:00
[#456]: https://github.com/tj/n/issues/456
[#463]: https://github.com/tj/n/issues/463
2019-04-20 09:51:19 +02:00
[#465]: https://github.com/tj/n/issues/465
2019-03-31 11:31:00 +02:00
[#466]: https://github.com/tj/n/issues/466
2019-03-24 08:23:38 +01:00
[#467]: https://github.com/tj/n/issues/467
[#482]: https://github.com/tj/n/issues/482
[#484]: https://github.com/tj/n/issues/484
[#485]: https://github.com/tj/n/issues/485
[#492]: https://github.com/tj/n/issues/492
2019-03-31 10:34:08 +02:00
[#512]: https://github.com/tj/n/issues/512
2019-03-24 08:23:38 +01:00
[#516]: https://github.com/tj/n/issues/516
[#518]: https://github.com/tj/n/issues/518
[#521]: https://github.com/tj/n/issues/521
[#522]: https://github.com/tj/n/issues/522
2019-08-05 08:22:11 +02:00
[#524]: https://github.com/tj/n/issues/524
[#528]: https://github.com/tj/n/issues/528
2019-03-24 08:23:38 +01:00
[#529]: https://github.com/tj/n/issues/529
[#531]: https://github.com/tj/n/issues/531
[#532]: https://github.com/tj/n/issues/532
2019-03-31 11:05:42 +02:00
[#534]: https://github.com/tj/n/issues/534
[#536]: https://github.com/tj/n/issues/536
2019-03-24 08:23:38 +01:00
[#541]: https://github.com/tj/n/issues/541
2019-05-04 10:00:51 +02:00
[#545]: https://github.com/tj/n/issues/545
2019-03-24 08:23:38 +01:00
[#548]: https://github.com/tj/n/issues/548
[#560]: https://github.com/tj/n/issues/560
[#562]: https://github.com/tj/n/issues/562
[#574]: https://github.com/tj/n/issues/574
[#587]: https://github.com/tj/n/issues/587
[#588]: https://github.com/tj/n/issues/588
[#590]: https://github.com/tj/n/issues/590
2019-11-09 23:34:13 +01:00
[#593]: https://github.com/tj/n/issues/593
[#606]: https://github.com/tj/n/issues/606
[#607]: https://github.com/tj/n/issues/607
2020-03-10 08:53:58 +01:00
[#614]: https://github.com/tj/n/issues/614
2020-04-11 04:22:12 +02:00
[#616]: https://github.com/tj/n/issues/616
2020-06-24 10:52:25 +02:00
[#624]: https://github.com/tj/n/issues/624
2020-11-25 09:49:26 +01:00
[#635]: https://github.com/tj/n/pull/635
2020-12-19 22:17:31 +01:00
[#643]: https://github.com/tj/n/pull/643
2020-12-20 04:56:24 +01:00
[#644]: https://github.com/tj/n/pull/644
[#649]: https://github.com/tj/n/issues/649
2021-02-27 00:39:51 +01:00
[#654]: https://github.com/tj/n/issues/654
[#654]: https://github.com/tj/n/pull/664
2019-03-24 08:23:38 +01:00
<!-- reference links for releases -->
2019-03-24 08:36:49 +01:00
[Unreleased]: https://github.com/tj/n/compare/master...develop
[7.2.0]: https://github.com/tj/n/compare/v7.1.0...v7.2.0
2021-03-12 08:05:12 +01:00
[7.1.0]: https://github.com/tj/n/compare/v7.0.2...v7.1.0
2021-02-27 00:39:51 +01:00
[7.0.2]: https://github.com/tj/n/compare/v7.0.1...v7.0.2
2021-01-30 04:53:44 +01:00
[7.0.1]: https://github.com/tj/n/compare/v7.0.0...v7.0.1
2020-12-20 04:56:24 +01:00
[7.0.0]: https://github.com/tj/n/compare/v6.8.0...v7.0.0
[6.8.0]: https://github.com/tj/n/compare/v6.7.1...v6.8.0
2020-11-25 09:49:26 +01:00
[6.7.1]: https://github.com/tj/n/compare/v6.7.0...v6.7.1
2020-07-25 12:06:13 +02:00
[6.7.0]: https://github.com/tj/n/compare/v6.6.0...v6.7.0
2020-07-04 05:30:44 +02:00
[6.6.0]: https://github.com/tj/n/compare/v6.5.1...v6.6.0
2020-04-11 07:46:36 +02:00
[6.5.1]: https://github.com/tj/n/compare/v6.5.0...v6.5.1
2020-04-11 04:22:12 +02:00
[6.5.0]: https://github.com/tj/n/compare/v6.4.0...v6.5.0
2020-03-10 08:53:58 +01:00
[6.4.0]: https://github.com/tj/n/compare/v6.3.1...v6.4.0
2020-02-25 09:18:38 +01:00
[6.3.1]: https://github.com/tj/n/compare/v6.3.0...v6.3.1
[6.3.0]: https://github.com/tj/n/compare/v6.2.0...v6.3.0
2020-01-29 10:06:19 +01:00
[6.2.0]: https://github.com/tj/n/compare/v6.1.3...v6.2.0
[6.1.3]: https://github.com/tj/n/compare/v6.0.2...v6.1.3
2019-11-16 04:26:10 +01:00
[6.1.2]: https://github.com/tj/n/compare/v6.0.1...v6.1.2
2019-11-09 23:34:13 +01:00
[6.1.1]: https://github.com/tj/n/compare/v6.0.0...v6.1.1
[6.1.0]: https://github.com/tj/n/compare/v6.0.1...v6.1.0
2019-08-20 10:50:16 +02:00
[6.0.1]: https://github.com/tj/n/compare/v6.0.0...v6.0.1
[6.0.0]: https://github.com/tj/n/compare/v5.0.2...v6.0.0
2019-08-02 11:33:32 +02:00
[5.0.2]: https://github.com/tj/n/compare/v5.0.1...v5.0.2
[5.0.1]: https://github.com/tj/n/compare/v5.0.0...v5.0.1
2019-07-20 03:26:55 +02:00
[5.0.0]: https://github.com/tj/n/compare/v4.1.0...v5.0.0
2019-05-10 10:38:22 +02:00
[4.1.0]: https://github.com/tj/n/compare/v4.0.0...v4.1.0
2019-05-05 00:02:22 +02:00
[4.0.0]: https://github.com/tj/n/compare/v3.0.2...v4.0.0
2019-04-07 06:43:05 +02:00
[3.0.2]: https://github.com/tj/n/compare/v3.0.1...v3.0.2
2019-04-05 09:34:11 +02:00
[3.0.1]: https://github.com/tj/n/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/tj/n/compare/v2.1.12...v3.0.0