Skip to content

Commit 23f4433

Browse files
AndreasMadsenMylesBorins
authored andcommitted
async_hooks: deprecate undocumented API
PR-URL: #16972 Refs: #14328 Refs: #15572 Reviewed-By: Anna Henningsen <[email protected]>
1 parent 6bd0aff commit 23f4433

14 files changed

+496
-363
lines changed

doc/api/deprecations.md

+18
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,24 @@ be set to `false` to disable ECDH entirely on the server only. This mode is
749749
deprecated in preparation for migrating to OpenSSL 1.1.0 and consistency with
750750
the client. Use the `ciphers` parameter instead.
751751
752+
<a id="DEP0085"></a>
753+
### DEP0085: AsyncHooks Sensitive API
754+
755+
Type: Runtime
756+
757+
The AsyncHooks Sensitive API was never documented and had various of minor
758+
issues, see https://github.com/nodejs/node/issues/15572. Use the `AsyncResource`
759+
API instead.
760+
761+
762+
<a id="DEP0086"></a>
763+
### DEP0086: Remove runInAsyncIdScope
764+
765+
Type: Runtime
766+
767+
`runInAsyncIdScope` doesn't emit the `before` or `after` event and can thus
768+
cause a lot of issues. See https://github.com/nodejs/node/issues/14328 for more
769+
details.
752770
753771
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
754772
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array

0 commit comments

Comments
 (0)