-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
doc, module: change stability of async customization hooks to experimental #60302
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There is ongoing work to replace async customization hooks by a synchronous variant. As a result bugs/design flaws or the async variant (thread leak, overhead) are not addressed. Adapt stability index to avoid wrong assumptions they might move to stable. Refs: nodejs/loaders#201 Refs: nodejs/loaders#198
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -585,6 +585,9 @@ added: v22.8.0 | |||||||||
| <!-- YAML | ||||||||||
| added: v8.8.0 | ||||||||||
| changes: | ||||||||||
| - version: REPLACEME | ||||||||||
| pr-url: https://github.com/nodejs/node/pull/60302 | ||||||||||
| description: Change stability index for async variant from Release candidate to Experimental. | ||||||||||
| - version: | ||||||||||
| - v23.5.0 | ||||||||||
| - v22.15.0 | ||||||||||
|
|
@@ -608,7 +611,7 @@ changes: | |||||||||
|
|
||||||||||
| <!-- type=misc --> | ||||||||||
|
|
||||||||||
| > Stability: 1.2 - Release candidate (asynchronous version) | ||||||||||
| > Stability: 1 - Experimental (asynchronous version) | ||||||||||
|
Member
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. Any stability level 1.x is experimental. See https://nodejs.org/docs/latest/api/documentation.html#stability-index We don’t really have a level for “pending removal” so maybe the most appropriate level is the most experimental one:
Suggested change
Member
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. It's not early development though
Member
Author
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. I think deprecated would be the state for pending removal but that seems too early to me. I selected a similar state/wording as for async_hooks (except the migration hints) because it seems very similar:
Contributor
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. It was decided that "deprecated" was reserved for stable features: Lines 48 to 49 in 38bf955
Member
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. Maybe just create a new stage like
Member
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. If neither I feel that whether/when to remove it would be a different question due to the existing usage, but it somewhat certain that even if it stays, it would have to have changes in order to be really functional - there are too many quirks right now.
Member
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. I agree that
Member
Author
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. I don't think this PR is the right place to change the Additionally I don't want to start the removal discussion as I can't tell if it will ever happen. It's experimental and according to the Reading the |
||||||||||
| > Stability: 1.1 - Active development (synchronous version) | ||||||||||
|
|
||||||||||
| There are two types of module customization hooks that are currently supported: | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.