FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stream: deprecate asIndexedPairs by atlowChemi · Pull Request #48102 · nodejs/node · GitHub

/ node Public

stream: deprecate asIndexedPairs - #48102

Merged
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
atlowChemi:runtime-deprecate-asIndexedPairs
May 24, 2023
Merged

stream: deprecate asIndexedPairs#48102
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
atlowChemi:runtime-deprecate-asIndexedPairs

Conversation

atlowChemi commented May 21, 2023
edited
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/streams

nodejs-github-bot added the needs-ci PRs that need a full CI run. label May 21, 2023
atlowChemi marked this pull request as ready for review May 21, 2023 11:09
atlowChemi force-pushed the runtime-deprecate-asIndexedPairs branch from a63bb8a to 217c203 Compare May 21, 2023 11:17

aduh95 commented May 21, 2023

Copy link
Copy Markdown
Contributor

It think this should ref tc39/proposal-iterator-helpers@63567bb.

benjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label May 21, 2023

Copy link
Copy Markdown
Member

@aduh95 there was a future change removing it entirely rather than renaming it

github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 21, 2023

Copy link
Copy Markdown
Collaborator

Comment thread doc/api/deprecations.md Outdated

aduh95 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I don’t think we have a precedent for deprecating an experimental feature – and I don’t think we should set one. What I suggest we do instead is to add a runtime warning (and possibly backport it on all non-EOL release lines), then remove it entirely in a follow up PR with the dont-land-on-20.x label.

Copy link
Copy Markdown
Member Author

I don’t think we have a precedent for deprecating an experimental feature – and I don’t think we should set one. What I suggest we do instead is to add a runtime warning (and possibly backport it on all non-EOL release lines), then remove it entirely in a follow up PR with the dont-land-on-20.x label.

I think #47740 which added DEP0173 had deprecated an experimental feature https://github.com/nodejs/node/pull/47740/files#diff-a1dd65347b3a99f8969799e35dc0c324dfaa28865a0706671183aca7aeebea97R231

Comment thread lib/internal/streams/operators.js Outdated
atlowChemi force-pushed the runtime-deprecate-asIndexedPairs branch from 217c203 to bbbdff5 Compare May 21, 2023 16:35

aduh95 commented May 21, 2023

Copy link
Copy Markdown
Contributor

I think #47740 which added DEP0173 had deprecated an experimental feature

I still think it's a wrong move (it's too bad I missed #47740), using the deprecation cycle for an experimental feature gives the wrong message, there should be no guarantee for experimental features. I won't block this if others feel differently, count ma as -0.5.

Copy link
Copy Markdown
Member

@aduh95 how would you like this removal to look, ideally?

aduh95 commented May 21, 2023

Copy link
Copy Markdown
Contributor

What I've written in #48102 (review):

What I suggest we do instead is to add a runtime warning (and possibly backport it on all non-EOL release lines), then remove it entirely in a follow up PR with the dont-land-on-20.x label.

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I concur with @aduh95

Copy link
Copy Markdown
Member

@atlowChemi @aduh95 's suggestion seems reasonable to me, WDYT?

benjamingr added the blocked PRs that are blocked by other issues or PRs. label May 22, 2023

Copy link
Copy Markdown
Member

Added "blocked" since this has a green review (by me) but we're still discussing how this removal should happen

Copy link
Copy Markdown
Member Author

@atlowChemi @aduh95 's suggestion seems reasonable to me, WDYT?

Yeah, makes sense 🙂

atlowChemi force-pushed the runtime-deprecate-asIndexedPairs branch from bbbdff5 to 90c4cc6 Compare May 23, 2023 04:58
atlowChemi requested review from aduh95 and benjamingr May 23, 2023 05:00
Comment thread doc/api/stream.md Outdated
Comment thread doc/api/stream.md Outdated

Copy link
Copy Markdown
Collaborator

aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels May 24, 2023
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 24, 2023
nodejs-github-bot merged commit c462147 into nodejs:main May 24, 2023

Copy link
Copy Markdown
Collaborator

Landed in c462147

atlowChemi deleted the runtime-deprecate-asIndexedPairs branch May 24, 2023 08:22
targos pushed a commit that referenced this pull request May 30, 2023
PR-URL: #48102
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
targos mentioned this pull request Jun 4, 2023
targos added a commit that referenced this pull request Jun 5, 2023
Notable changes:

deps:
  * upgrade to libuv 1.45.0, including significant performance
    improvements to file system operations on Linux (Santiago Gimeno) #48078
doc:
  * add Ruy Adorno to list of TSC members (Michael Dawson) #48172
  * mark Node.js 14 as End-of-Life (Richard Lau) #48023
lib:
  * (SEMVER-MINOR) implement AbortSignal.any() (Chemi Atlow) #47821
module:
  * change default resolver to not throw on unknown scheme (Gil Tayar) #47824
node-api:
  * (SEMVER-MINOR) define version 9 (Chengzhong Wu) #48151
stream:
  * deprecate asIndexedPairs (Chemi Atlow) #48102

PR-URL: #48332
RafaelGSS pushed a commit that referenced this pull request Jun 7, 2023
Notable changes:

deps:
  * upgrade to libuv 1.45.0, including significant performance
    improvements to file system operations on Linux (Santiago Gimeno) #48078
doc:
  * add Ruy Adorno to list of TSC members (Michael Dawson) #48172
  * mark Node.js 14 as End-of-Life (Richard Lau) #48023
lib:
  * (SEMVER-MINOR) implement AbortSignal.any() (Chemi Atlow) #47821
module:
  * change default resolver to not throw on unknown scheme (Gil Tayar) #47824
node-api:
  * (SEMVER-MINOR) define version 9 (Chengzhong Wu) #48151
stream:
  * deprecate asIndexedPairs (Chemi Atlow) #48102

PR-URL: #48332
RafaelGSS pushed a commit that referenced this pull request Jun 8, 2023
Notable changes:

deps:
  * upgrade to libuv 1.45.0, including significant performance
    improvements to file system operations on Linux (Santiago Gimeno) #48078
doc:
  * add Ruy Adorno to list of TSC members (Michael Dawson) #48172
  * mark Node.js 14 as End-of-Life (Richard Lau) #48023
lib:
  * (SEMVER-MINOR) implement AbortSignal.any() (Chemi Atlow) #47821
module:
  * change default resolver to not throw on unknown scheme (Gil Tayar) #47824
node-api:
  * (SEMVER-MINOR) define version 9 (Chengzhong Wu) #48151
stream:
  * deprecate asIndexedPairs (Chemi Atlow) #48102

PR-URL: #48332
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
PR-URL: #48102
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
PR-URL: nodejs#48102
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48102
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
Notable changes:

deps:
  * upgrade to libuv 1.45.0, including significant performance
    improvements to file system operations on Linux (Santiago Gimeno) nodejs#48078
doc:
  * add Ruy Adorno to list of TSC members (Michael Dawson) nodejs#48172
  * mark Node.js 14 as End-of-Life (Richard Lau) nodejs#48023
lib:
  * (SEMVER-MINOR) implement AbortSignal.any() (Chemi Atlow) nodejs#47821
module:
  * change default resolver to not throw on unknown scheme (Gil Tayar) nodejs#47824
node-api:
  * (SEMVER-MINOR) define version 9 (Chengzhong Wu) nodejs#48151
stream:
  * deprecate asIndexedPairs (Chemi Atlow) nodejs#48102

PR-URL: nodejs#48332
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48102
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
Notable changes:

deps:
  * upgrade to libuv 1.45.0, including significant performance
    improvements to file system operations on Linux (Santiago Gimeno) nodejs#48078
doc:
  * add Ruy Adorno to list of TSC members (Michael Dawson) nodejs#48172
  * mark Node.js 14 as End-of-Life (Richard Lau) nodejs#48023
lib:
  * (SEMVER-MINOR) implement AbortSignal.any() (Chemi Atlow) nodejs#47821
module:
  * change default resolver to not throw on unknown scheme (Gil Tayar) nodejs#47824
node-api:
  * (SEMVER-MINOR) define version 9 (Chengzhong Wu) nodejs#48151
stream:
  * deprecate asIndexedPairs (Chemi Atlow) nodejs#48102

PR-URL: nodejs#48332
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL