UNPKG

7.59 kBMarkdownView Raw
1# 8.1.0
2
3## Features
4
5- Warn when a new version is available
6
7# 8.0.3
8
9## Bug fixes
10
11- Fix running `npm` or `npx` binaries on Windows
12
13# 8.0.2
14
15## Bug fixes
16
17- Fix global binaries
18 [not working on Windows](https://github.com/ehmicky/nve/issues/14)
19
20# 8.0.1
21
22## Bug fixes
23
24- Fix executing binaries by specifying their file paths on Windows
25
26# 8.0.0
27
28## Breaking changes
29
30- Remove the `--shell` CLI flag. Since `nve` already runs in a shell, this flag
31 is not needed. Shell-specific features (such as variables, globbing, etc.)
32 work as expected since those are performed before `nve` is called.
33
34# 7.3.1
35
36## Bug fixes
37
38- Fix executing `yarn`.
39
40# 7.3.0
41
42## Features
43
44- Improve the internal directory structure used to cache the Node.js binary
45- Cleanup temporary files when Node.js download fails
46
47## Bug fixes
48
49- Executing `npm`, `yarn` and `pnpm` was not working properly, for example when
50 doing global installs (`npm i -g ...`).
51
52# 7.2.0
53
54## Features
55
56- Improve the appearance of the progress bar
57
58# 7.1.0
59
60## Features
61
62- Ensure Node.js binaries are not corrupted by checking their
63 [checksums](https://github.com/nodejs/node#verifying-binaries)
64- Use cache when offline (no network connection)
65
66# 7.0.0
67
68## Breaking changes
69
70- When `nve` is run without any command, it prints the available Node.js
71 version. If you also want to cache the initial Node.js binary download, you
72 must now use `nve VERSION node --version` instead of `nve VERSION`.
73
74## Features
75
76- Make Node.js binary download twice faster on Linux and MacOS
77- Improve error messages
78
79# 6.1.2
80
81## Dependencies
82
83- Reduce the number of dependencies
84
85# 6.1.1
86
87## Dependencies
88
89- Reduce the number of dependencies
90
91# 6.1.0
92
93## Dependencies
94
95- Upgrade `nvexeca` to `1.1.0`
96
97# 6.0.0
98
99## Breaking changes
100
101- The programmatic API has been moved to a separate repository and npm package
102 [`nvexeca`](https://github.com/ehmicky/nvexeca) with fewer dependencies.
103
104# 5.0.0
105
106## Breaking changes
107
108- The programmatic API has been updated. Please refer to its new
109 [documentation](https://github.com/ehmicky/nve/blob/fb764f9c205c0b92c594d406b28386561aec019d/README.md#programmatic).
110
111## Features
112
113- Use a progress bar instead of a spinner with the
114 [`progress` CLI flag](https://github.com/ehmicky/nve/blob/fb764f9c205c0b92c594d406b28386561aec019d/README.md#--progress).
115
116# 4.0.1
117
118## Internal
119
120- Internal changes
121
122# 4.0.0
123
124## Features
125
126- To perform a dry run programatically, `command: undefined` cannot be used with
127 [`runVersion()`](https://github.com/ehmicky/nve/blob/fb764f9c205c0b92c594d406b28386561aec019d/README.md#runversionversionrange-command-args-options)
128 or
129 [`runVersions`](https://github.com/ehmicky/nve/blob/fb764f9c205c0b92c594d406b28386561aec019d/README.md#runversionsversionranges-command-args-options).
130 A new method
131 [`dryRunVersion()`](https://github.com/ehmicky/nve/blob/fb764f9c205c0b92c594d406b28386561aec019d/README.md#dryrunversionversionrange-command-args-options)
132 should be used instead.
133
134# 3.6.0
135
136## Features
137
138- Add the
139 [`--parallel` CLI flag](https://github.com/ehmicky/nve/blob/8dcfbfc68180fcf56ab4af70893b81346de07f0b/README.md#--parallel).
140 This allows running multiple Node versions in parallel (at the same time)
141 which is faster.
142- Improve error messages
143
144# 3.5.0
145
146## Features
147
148- Add the
149 [`--continue` CLI flag](https://github.com/ehmicky/nve/blob/336d50edd7fd5f35c5c15f9b8da9f56d8ce748a9/README.md#--continue).
150 By default, when running multiple Node versions and one of those versions
151 fails, the others are aborted. This flag disables this.
152
153# 3.4.0
154
155## Features
156
157- Show percentage instead of number of megabytes in spinner
158
159# 3.3.0
160
161## Features
162
163- Allow running
164 [multiple versions at once](https://github.com/ehmicky/nve/blob/9441a69a0539caf5245f2b9e67c8031b70b5c5c2/README.md#examples-multiple-versions).
165 For example `nve 12 10 8 npm test` will run tests on Node 8, 10 and 12.
166- Running multiple versions can also be done programmatically using
167 [`runVersions()`](https://github.com/ehmicky/nve/blob/9441a69a0539caf5245f2b9e67c8031b70b5c5c2/README.md#runversionsversionranges-command-args-options)
168- Improve error messages
169
170# 3.2.2
171
172## Bug fixes
173
174- Fix missing dependency
175
176# 3.2.1
177
178## Dependencies
179
180- Remove `npm-run-path` and `filter-obj` as direct production dependencies
181
182# 3.2.0
183
184## Features
185
186- Improve speed
187
188# 3.1.4
189
190## Dependencies
191
192- Remove `path-key` as a direct production dependency
193
194# 3.1.3
195
196## Dependencies
197
198- [Upgrade `execa`](https://github.com/sindresorhus/execa/releases/tag/v3.0.0)
199
200# 3.1.2
201
202## Internal
203
204- Internal changes
205
206# 3.1.1
207
208## Bug fixes
209
210- Make the
211 [`progress` option](https://github.com/ehmicky/nve/blob/master/README.md#progress)
212 default to `false` programmatically.
213
214# 3.1.0
215
216## Features
217
218- It is now possible to
219 [omit the `command`](https://github.com/ehmicky/nve/blob/master/README.md#cli).
220 For example `nve 8` instead of `nve 8 npm test`. This can be used to cache the
221 Node.js binary download without executing any command.
222
223# 3.0.0
224
225## Breaking changes
226
227- `nve VERSION` must now
228 [be followed by `node`](https://github.com/ehmicky/nve/blob/master/README.md#examples).
229 For example `nve 8` should now be `nve 8 node` and `nve 8 file.js` should be
230 `nve 8 node file.js`.
231- The `NVE_PROGRESS` environment variable has been removed. The
232 [`--no-progress` option](https://github.com/ehmicky/nve/blob/master/README.md#--progress)
233 should be used instead.
234- The programmatic usage has changed: please see the new
235 [API](https://github.com/ehmicky/nve/blob/master/README.md#programmatic)
236
237## Features
238
239- Global binaries can now be executed such as `nve 8 npm test`. Keep in mind
240 that the binary must be compatible with the chosen Node.js version. For
241 example `npm` is only compatible with Node `>=6`.
242- Local binaries can be executed as well
243- Add the
244 [`--shell` option](https://github.com/ehmicky/nve/blob/master/README.md#--shell)
245 to run a command inside a shell
246- Add the
247 [`--mirror` option](https://github.com/ehmicky/nve/blob/master/README.md#--mirror)
248 to change the base URL to retrieve Node.js binaries
249- Add the `--help` and `--version` CLI flags
250- [Execa](https://github.com/sindresorhus/execa) is now used under the hood
251 which provides with additional
252 [features](https://github.com/sindresorhus/execa#why) and
253 [options](https://github.com/sindresorhus/execa#options) when run
254 programmatically
255
256## Bug fixes
257
258- If the script spawns child processes, those will now use the correct Node.js
259 version
260- Ensure `nve` does not exit until `stdout` and `stderr` have been flushed
261
262# 2.2.3
263
264## Internal
265
266- Internal changes
267
268# 2.2.2
269
270## Bug fixes
271
272- Improve error messages
273
274# 2.2.1
275
276## Bug fixes
277
278- Fix `CTRL-C` not working
279
280# 2.2.0
281
282## Features
283
284- Improve progress messages on console
285
286# 2.1.0
287
288## Features
289
290- Improve progress messages on console
291- Add alternative names for `NODE_MIRROR`: `NVM_NODEJS_ORG_MIRROR`,
292 `N_NODE_MIRROR` and `NODIST_NODE_MIRROR`
293
294# 2.0.1
295
296## Bug fixes
297
298- Fix cache invalidation bug
299
300# 2.0.0
301
302## Features
303
304- `nve` can now be accessed from
305 [Node.js/programmatically](https://github.com/ehmicky/nve#api-nodejs).
306
307# 1.3.0
308
309## Features
310
311- Retry downloading the Node.js binaries on network errors.
312
313# 1.2.2
314
315## Internal
316
317- Internal changes
318
319# 1.2.1
320
321## Features
322
323- Spinner can now be disabled with the environment variable `NVE_PROGRESS=0`
324
325# 1.2.0
326
327## Features
328
329- A spinner is now shown when a new Node.js version is downloading
330
331# 1.1.5
332
333## Bug fixes
334
335- Fix `EXDEV` error thrown when temporary directory uses a different partition
336 (https://github.com/ehmicky/get-node/issues/1)