Skip to content
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

domain: EoL deprecate MakeCallback with domain property #55034

Closed
wants to merge 1 commit into from

Conversation

avivkeller
Copy link
Member

@avivkeller avivkeller commented Sep 20, 2024

The domain module is runtime deprecated, and is already discouraged (Quote "Most developers should not have cause to use this module"). So, I move to EoL deprecate the only-left item from this module that is runtime deprecated.

This way, users will be encouraged to move to non-deprecated APIs, one deprecation at a time.

CC @nodejs/tsc per nodejs/Release#1034

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp

@nodejs-github-bot nodejs-github-bot added domain Issues and PRs related to the domain subsystem. needs-ci PRs that need a full CI run. labels Sep 20, 2024
@avivkeller avivkeller force-pushed the eol-domain-makecallback branch from 78e083d to 646c5d4 Compare September 20, 2024 22:02
@avivkeller avivkeller added semver-major PRs that contain breaking changes and should be released in the next major version. deprecations Issues and PRs related to deprecations. labels Sep 20, 2024
@avivkeller avivkeller force-pushed the eol-domain-makecallback branch from 646c5d4 to c966a22 Compare September 20, 2024 22:10
@avivkeller avivkeller added the wip Issues and PRs that are still a work in progress. label Sep 20, 2024
@avivkeller avivkeller marked this pull request as draft September 20, 2024 22:26
@avivkeller avivkeller closed this Sep 20, 2024
@avivkeller
Copy link
Member Author

😅 I didn't realize how integrated this function was into the domain module... sorry for the noise

Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.22%. Comparing base (8b8fc53) to head (c966a22).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55034      +/-   ##
==========================================
- Coverage   88.23%   88.22%   -0.02%     
==========================================
  Files         652      652              
  Lines      183855   183838      -17     
  Branches    35856    35847       -9     
==========================================
- Hits       162227   162193      -34     
- Misses      14909    14911       +2     
- Partials     6719     6734      +15     
Files with missing lines Coverage Δ
lib/domain.js 98.33% <ø> (-0.06%) ⬇️

... and 21 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecations Issues and PRs related to deprecations. domain Issues and PRs related to the domain subsystem. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version. wip Issues and PRs that are still a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants