diff options
author | Richard Lau <rlau@redhat.com> | 2021-03-18 19:52:00 +0300 |
---|---|---|
committer | Richard Lau <rlau@redhat.com> | 2021-03-30 17:09:15 +0300 |
commit | 30fe4ed8c4d1ded5ce5e9bb42395b6ebb1740159 (patch) | |
tree | 9b621b2965b10ac9d252c8e9a3b1b8a216e6a73e /doc/api/n-api.md | |
parent | 504ed7ceeade65d53ff1943ba00846664da338d6 (diff) |
2021-03-30, Version 12.22.0 'Erbium' (LTS)
Notable changes
The legacy HTTP parser is runtime deprecated:
- The legacy HTTP parser, selected by the `--http-parser=legacy` command line
option, is deprecated with the pending End-of-Life of Node.js 10.x (where it
is the only HTTP parser implementation provided) at the end of April 2021. It
will now warn on use but otherwise continue to function and may be removed in
a future Node.js 12.x release.
- The default HTTP parser based on llhttp is not affected. By default it is
stricter than the now deprecated legacy HTTP parser. If interoperability with
HTTP implementations that send invalid HTTP headers is required, the HTTP
parser can be started in a less secure mode with the `--insecure-http-parser`
command line option.
ES Modules:
- ES Modules are now considered stable.
node-api:
- Updated to node-api version 8 and added an experimental API to allow
retrieval of the add-on file name.
New API's to control code coverage data collection:
- `v8.stopCoverage()` and `v8.takeCoverage()` have been added.
New API to monitor event loop utilization by Worker threads
- `worker.performance.eventLoopUtilization()` has been added.
PR-URL: https://github.com/nodejs/node/pull/37797
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r-- | doc/api/n-api.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md index ad96dcae760..01e365ac050 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -5957,7 +5957,9 @@ This API may only be called from the main thread. ## node_api_get_module_file_name <!-- YAML -added: v15.9.0 +added: + - v15.9.0 + - v12.22.0 --> > Stability: 1 - Experimental |