|
11 | 11 | </tr>
|
12 | 12 | <tr>
|
13 | 13 | <td valign="top">
|
| 14 | +<a href="#12.22.0">12.22.0</a><br/> |
14 | 15 | <a href="#12.21.0">12.21.0</a><br/>
|
15 | 16 | <a href="#12.20.2">12.20.2</a><br/>
|
16 | 17 | <a href="#12.20.1">12.20.1</a><br/>
|
|
69 | 70 | * [io.js](CHANGELOG_IOJS.md)
|
70 | 71 | * [Archive](CHANGELOG_ARCHIVE.md)
|
71 | 72 |
|
| 73 | +<a id="12.22.0"></a> |
| 74 | +## 2021-03-30, Version 12.22.0 'Erbium' (LTS), @richardlau |
| 75 | + |
| 76 | +### Notable changes |
| 77 | + |
| 78 | +#### The legacy HTTP parser is runtime deprecated |
| 79 | + |
| 80 | +The legacy HTTP parser, selected by the `--http-parser=legacy` command line |
| 81 | +option, is deprecated with the pending End-of-Life of Node.js 10.x (where it |
| 82 | +is the only HTTP parser implementation provided) at the end of April 2021. It |
| 83 | +will now warn on use but otherwise continue to function and may be removed in |
| 84 | +a future Node.js 12.x release. |
| 85 | + |
| 86 | +The default HTTP parser based on llhttp is not affected. By default it is |
| 87 | +stricter than the now deprecated legacy HTTP parser. If interoperability with |
| 88 | +HTTP implementations that send invalid HTTP headers is required, the HTTP |
| 89 | +parser can be started in a less secure mode with the |
| 90 | +[`--insecure-http-parser`](https://nodejs.org/docs/latest-v12.x/api/cli.html#cli_insecure_http_parser) |
| 91 | +command line option. |
| 92 | + |
| 93 | +Contributed by Beth Griggs [#37603](https://github.com/nodejs/node/pull/37603). |
| 94 | + |
| 95 | +#### ES Modules |
| 96 | + |
| 97 | +ES Modules are now considered stable. |
| 98 | + |
| 99 | +Contributed by Guy Bedford [#35781](https://github.com/nodejs/node/pull/35781) |
| 100 | + |
| 101 | +#### node-api |
| 102 | + |
| 103 | +Added an experimental API to allow retrieval of the add-on file name. |
| 104 | + |
| 105 | +Contributed by Gabriel Schulhof [#37195](https://github.com/nodejs/node/pull/37195). |
| 106 | + |
| 107 | +#### New API's to control code coverage data collection |
| 108 | + |
| 109 | +`v8.stopCoverage()` and `v8.takeCoverage()` have been added. |
| 110 | + |
| 111 | +Contributed by Joyee Cheung [#33807](https://github.com/nodejs/node/pull/33807). |
| 112 | + |
| 113 | +#### New API to monitor event loop utilization by Worker threads |
| 114 | + |
| 115 | +`worker.performance.eventLoopUtilization()` has been added. |
| 116 | + |
| 117 | +Contributed by Trevor Norris [#35664](https://github.com/nodejs/node/pull/35664). |
| 118 | + |
| 119 | +### Commits |
| 120 | + |
| 121 | +* [[`1872625990`](https://github.com/nodejs/node/commit/1872625990)] - **(SEMVER-MINOR)** **deps**: update to cjs-module-lexer@1.1.0 (Guy Bedford) [#37712](https://github.com/nodejs/node/pull/37712) |
| 122 | +* [[`dfa04d9035`](https://github.com/nodejs/node/commit/dfa04d9035)] - **deps**: V8: cherry-pick beebee4f80ff (Peter Marshall) [#37293](https://github.com/nodejs/node/pull/37293) |
| 123 | +* [[`bf8733fe22`](https://github.com/nodejs/node/commit/bf8733fe22)] - **doc**: mark modules implementation as stable (Guy Bedford) [#35781](https://github.com/nodejs/node/pull/35781) |
| 124 | +* [[`0a35d49f56`](https://github.com/nodejs/node/commit/0a35d49f56)] - ***Revert*** "**embedding**: make Stop() stop Workers" (Anna Henningsen) [#32623](https://github.com/nodejs/node/pull/32623) |
| 125 | +* [[`a0b610450a`](https://github.com/nodejs/node/commit/a0b610450a)] - **(SEMVER-MINOR)** **http**: runtime deprecate legacy HTTP parser (Beth Griggs) [#37603](https://github.com/nodejs/node/pull/37603) |
| 126 | +* [[`f5692093d3`](https://github.com/nodejs/node/commit/f5692093d3)] - **(SEMVER-MINOR)** **node-api**: allow retrieval of add-on file name (Gabriel Schulhof) [#37195](https://github.com/nodejs/node/pull/37195) |
| 127 | +* [[`6cef0e3678`](https://github.com/nodejs/node/commit/6cef0e3678)] - **src,test**: add regression test for nested Worker termination (Anna Henningsen) [#32623](https://github.com/nodejs/node/pull/32623) |
| 128 | +* [[`d7a4ccdf09`](https://github.com/nodejs/node/commit/d7a4ccdf09)] - **test**: correct test-worker-eventlooputil (Gerhard Stoebich) [#35891](https://github.com/nodejs/node/pull/35891) |
| 129 | +* [[`0f6d44500c`](https://github.com/nodejs/node/commit/0f6d44500c)] - **test**: add cpu-profiler-crash test (Santiago Gimeno) [#37293](https://github.com/nodejs/node/pull/37293) |
| 130 | +* [[`86f34ee18c`](https://github.com/nodejs/node/commit/86f34ee18c)] - **(SEMVER-MINOR)** **v8**: implement v8.stopCoverage() (Joyee Cheung) [#33807](https://github.com/nodejs/node/pull/33807) |
| 131 | +* [[`8ddea3f16d`](https://github.com/nodejs/node/commit/8ddea3f16d)] - **(SEMVER-MINOR)** **v8**: implement v8.takeCoverage() (Joyee Cheung) [#33807](https://github.com/nodejs/node/pull/33807) |
| 132 | +* [[`eec7542781`](https://github.com/nodejs/node/commit/eec7542781)] - **(SEMVER-MINOR)** **worker**: add eventLoopUtilization() (Trevor Norris) [#35664](https://github.com/nodejs/node/pull/35664) |
| 133 | + |
72 | 134 | <a id="12.21.0"></a>
|
73 | 135 | ## 2021-02-23, Version 12.21.0 'Erbium' (LTS), @richardlau
|
74 | 136 |
|
|
0 commit comments