|
1 | 1 | # Node.js task lib changes
|
2 | 2 |
|
3 |
| -## 3.x |
| 3 | +## 4.x |
4 | 4 |
|
5 |
| -### 3.3.1 |
| 5 | +### 4.7.0 |
6 | 6 |
|
7 |
| -- Update minimatch to version 3.0.5 to fix vulnerability - [#836](https://github.com/microsoft/azure-pipelines-task-lib/pull/836) |
| 7 | +Replaced mockery - [#989](https://github.com/microsoft/azure-pipelines-task-lib/pull/989) |
8 | 8 |
|
9 |
| -### 3.4.0 |
| 9 | +Note: If you imported mockery directly from the package then you need to replace it with `azure-pipelines-task-lib/lib-mocker`, the rest code may be kept the same. |
10 | 10 |
|
11 |
| -- Updated mockery and mocha dependencies - [#875](https://github.com/microsoft/azure-pipelines-task-lib/pull/875) |
| 11 | +Example: |
12 | 12 |
|
13 |
| -- Include uncought exceptions stack trace to the output logs - [#895](https://github.com/microsoft/azure-pipelines-task-lib/pull/895) |
| 13 | + <table> |
| 14 | + <tr> |
| 15 | + <th>Before</th> |
| 16 | + <th>After</th> |
| 17 | + </tr> |
| 18 | + <tr> |
| 19 | + <td> |
14 | 20 |
|
15 |
| -## 4.x |
| 21 | + ```js |
| 22 | + import * as mockery from 'mockery'; |
| 23 | + ``` |
| 24 | + </td> |
| 25 | + <td> |
| 26 | + |
| 27 | + ```js |
| 28 | + import * as libMocker from 'azure-pipelines-task-lib/lib-mocker'; |
| 29 | + ``` |
| 30 | + </td> |
| 31 | + </tr> |
| 32 | + </table> |
16 | 33 |
|
17 |
| -### 4.0.0-preview |
| 34 | +### 4.6.1 |
18 | 35 |
|
19 |
| -- Introduced support for node 16 task handler - [#844](https://github.com/microsoft/azure-pipelines-task-lib/pull/844) |
| 36 | +- Added `getNodeMajorVersion` [#979](https://github.com/microsoft/azure-pipelines-task-lib/pull/979) |
20 | 37 |
|
21 |
| -### 4.0.1-preview |
| 38 | +### 4.6.0 |
22 | 39 |
|
23 |
| -- Added node16 to task.schema.json - [#852](https://github.com/microsoft/azure-pipelines-task-lib/pull/852) |
24 |
| -- fix ToolRunner - _getSpawnSyncOptions - [#873](https://github.com/microsoft/azure-pipelines-task-lib/pull/873) |
| 40 | +- Replaced deprecated "sync-request" lib and Added new Async methods - [#932](https://github.com/microsoft/azure-pipelines-task-lib/pull/932) |
25 | 41 |
|
26 |
| -### 4.0.2 |
| 42 | +### 4.5.0 |
27 | 43 |
|
28 |
| -- Updated mockery because of vulnerabilities - [#878](https://github.com/microsoft/azure-pipelines-task-lib/pull/878) |
| 44 | +- Added `execAsync` methods that return native promises. Marked `exec` methods that return promises from the Q library as deprecated [#905](https://github.com/microsoft/azure-pipelines-task-lib/pull/905) |
29 | 45 |
|
30 |
| -## 4.1.0 |
| 46 | +### 4.4.0 |
31 | 47 |
|
32 |
| -Backported from ver.`3.4.0`: |
| 48 | +- Add `getBoolFeatureFlag` [#936](https://github.com/microsoft/azure-pipelines-task-lib/pull/936) |
| 49 | + |
| 50 | +### 4.3.1 |
| 51 | + |
| 52 | +- Resolve CVE-2022-24999 in qs 6.9.4 [#924](https://github.com/microsoft/azure-pipelines-task-lib/pull/924) |
| 53 | + |
| 54 | +### 4.3.0 |
| 55 | + |
| 56 | +- Described types for `argIf` - [#920](https://github.com/microsoft/azure-pipelines-task-lib/pull/920) |
33 | 57 |
|
34 |
| -- Include uncought exceptions stack trace to the output logs - [#895](https://github.com/microsoft/azure-pipelines-task-lib/pull/895) |
35 | 58 |
|
36 |
| -## 4.2.0 |
| 59 | +### 4.2.0 |
37 | 60 |
|
38 | 61 | - Added unhandledRejection event - [#912](https://github.com/microsoft/azure-pipelines-task-lib/pull/912)
|
39 | 62 |
|
40 |
| -## 4.3.0 |
| 63 | +### 4.1.0 |
41 | 64 |
|
42 |
| -- Described types for `argIf` - [#920](https://github.com/microsoft/azure-pipelines-task-lib/pull/920) |
| 65 | +Backported from ver.`3.4.0`: |
43 | 66 |
|
44 |
| -## 4.3.1 |
| 67 | +- Include uncought exceptions stack trace to the output logs - [#895](https://github.com/microsoft/azure-pipelines-task-lib/pull/895) |
45 | 68 |
|
46 |
| -- Resolve CVE-2022-24999 in qs 6.9.4 [#924](https://github.com/microsoft/azure-pipelines-task-lib/pull/924) |
| 69 | +### 4.0.2 |
47 | 70 |
|
48 |
| -## 4.4.0 |
| 71 | +- Updated mockery because of vulnerabilities - [#878](https://github.com/microsoft/azure-pipelines-task-lib/pull/878) |
49 | 72 |
|
50 |
| -- Add `getBoolFeatureFlag` [#936](https://github.com/microsoft/azure-pipelines-task-lib/pull/936) |
| 73 | +### 4.0.1-preview |
51 | 74 |
|
| 75 | +- Added node16 to task.schema.json - [#852](https://github.com/microsoft/azure-pipelines-task-lib/pull/852) |
| 76 | +- fix ToolRunner - _getSpawnSyncOptions - [#873](https://github.com/microsoft/azure-pipelines-task-lib/pull/873) |
52 | 77 |
|
53 |
| -## 4.5.0 |
| 78 | +### 4.0.0-preview |
54 | 79 |
|
55 |
| -- Added `execAsync` methods that return native promises. Marked `exec` methods that return promises from the Q library as deprecated [#905](https://github.com/microsoft/azure-pipelines-task-lib/pull/905) |
| 80 | +- Introduced support for node 16 task handler - [#844](https://github.com/microsoft/azure-pipelines-task-lib/pull/844) |
56 | 81 |
|
57 |
| -## 4.6.0 |
| 82 | +## 3.x |
58 | 83 |
|
59 |
| -- Replaced deprecated "sync-request" lib and Added new Async methods - [#932](https://github.com/microsoft/azure-pipelines-task-lib/pull/932) |
| 84 | +### 3.4.0 |
60 | 85 |
|
61 |
| -## 4.6.1 |
| 86 | +- Updated mockery and mocha dependencies - [#875](https://github.com/microsoft/azure-pipelines-task-lib/pull/875) |
| 87 | + |
| 88 | +- Include uncought exceptions stack trace to the output logs - [#895](https://github.com/microsoft/azure-pipelines-task-lib/pull/895) |
| 89 | + |
| 90 | +### 3.3.1 |
62 | 91 |
|
63 |
| -- Added `getNodeMajorVersion` [#979](https://github.com/microsoft/azure-pipelines-task-lib/pull/979) |
| 92 | +- Update minimatch to version 3.0.5 to fix vulnerability - [#836](https://github.com/microsoft/azure-pipelines-task-lib/pull/836) |
0 commit comments