-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
doc,lib: remove deprecated domain module #45839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -717,24 +717,6 @@ Type: Documentation-only | |
The [`ecdh.setPublicKey()`][] method is now deprecated as its inclusion in the | ||
API is not useful. | ||
|
||
### DEP0032: `node:domain` module | ||
|
||
<!-- YAML | ||
changes: | ||
- version: | ||
- v6.12.0 | ||
- v4.8.6 | ||
pr-url: https://github.com/nodejs/node/pull/10116 | ||
description: A deprecation code has been assigned. | ||
- version: v1.4.2 | ||
pr-url: https://github.com/nodejs/node/pull/943 | ||
description: Documentation-only deprecation. | ||
--> | ||
|
||
Type: Documentation-only | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to first runtime deprecate it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note my "draft PR to check citgm" remark (which is inconclusive so far - citgm seems to be in bad shape) That said... the domain module has basically always been deprecated0. Standard procedures are nice but sometimes it makes no sense to follow them. 0 it was added in v0.10.0 and deprecated in v1.0.0. We'll not talk about the brown paper bag releases that were v0.12.x. |
||
|
||
The [`domain`][] module is deprecated and should not be used. | ||
|
||
### DEP0033: `EventEmitter.listenerCount()` | ||
|
||
<!-- YAML | ||
|
@@ -1945,21 +1927,6 @@ Type: Runtime | |
`timers.unenroll()` is deprecated. Please use the publicly documented | ||
[`clearTimeout()`][] or [`clearInterval()`][] instead. | ||
|
||
### DEP0097: `MakeCallback` with `domain` property | ||
|
||
<!-- YAML | ||
changes: | ||
- version: v10.0.0 | ||
pr-url: https://github.com/nodejs/node/pull/17417 | ||
description: Runtime deprecation. | ||
--> | ||
|
||
Type: Runtime | ||
|
||
Users of `MakeCallback` that add the `domain` property to carry context, | ||
should start using the `async_context` variant of `MakeCallback` or | ||
`CallbackScope`, or the high-level `AsyncResource` class. | ||
|
||
### DEP0098: AsyncHooks embedder `AsyncResource.emitBefore` and `AsyncResource.emitAfter` APIs | ||
|
||
<!-- YAML | ||
|
@@ -3381,7 +3348,6 @@ In a future version of Node.js, [`message.headers`][], | |
[`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage | ||
[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback | ||
[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options | ||
[`domain`]: domain.md | ||
[`ecdh.setPublicKey()`]: crypto.md#ecdhsetpublickeypublickey-encoding | ||
[`emitter.listenerCount(eventName)`]: events.md#emitterlistenercounteventname | ||
[`events.listenerCount(emitter, eventName)`]: events.md#eventslistenercountemitter-eventname | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want to keep this entry, it should say
Type: End-of-Life
, e.g. seenode/doc/api/deprecations.md
Lines 44 to 64 in 4712d60