module: runtime deprecate module.register()#62401
module: runtime deprecate module.register()#62401GeoffreyBooth wants to merge 1 commit intonodejs:mainfrom
module.register()#62401Conversation
|
Review requested:
|
c5ce15e to
77638cb
Compare
77638cb to
1a08254
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #62401 +/- ##
==========================================
+ Coverage 89.70% 89.77% +0.06%
==========================================
Files 692 692
Lines 214039 214563 +524
Branches 41064 41510 +446
==========================================
+ Hits 192010 192615 +605
+ Misses 14091 14050 -41
+ Partials 7938 7898 -40
🚀 New features to boost your workflow:
|
AugustinMauroy
left a comment
There was a problem hiding this comment.
In general that seem good.
mcollina
left a comment
There was a problem hiding this comment.
lgtm
I think we should aim for 26.x, so we can actually drop in 27
1a08254 to
2124d8a
Compare
2124d8a to
a0e36fb
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
@nodejs/tsc ptal. this should land for v26 |
|
If landing the doc deprecation means that we can’t land the runtime deprecation until 27, drawing out removal until 28, then I’d rather skip the doc deprecation. The goal is to remove the API in 27, while giving users as much warning as possible. I don’t think it’s reasonable to block PRs based on other PRs. I asked the @nodejs/tsc to discuss this in last week’s meeting and reach a consensus so that one or the other of these PRs could be unblocked, and I’m disappointed that that didn’t happen. I’m concerned that this is getting dragged out to the point that nothing will be able to land in time for 26.0.0. |
panva
left a comment
There was a problem hiding this comment.
there is precedent on deprecating experimental features and this needs to get done in time for 26
d61da45 to
a0e36fb
Compare
d61da45 to
a0e36fb
Compare
Building on #62395, this runtime-deprecates
module.register().I’m not sure when we want to land and release this; I think the options are basically either:
module.registerHooks()goes stable, hopefully sometime before 26 goes LTS; module: doc-deprecatemodule.register()#62395 (comment)module.register()#62395 (comment)I’m opening this now in case the team wants to do the second option. cc @nodejs/loaders @nodejs/userland-migrations