Skip to content

stream: make async iteration stable - #26989

Closed
mcollina wants to merge 2 commits into
nodejs:masterfrom
mcollina:make-readable-async-iterator-stable
Closed

stream: make async iteration stable#26989
mcollina wants to merge 2 commits into
nodejs:masterfrom
mcollina:make-readable-async-iterator-stable

Conversation

@mcollina

Copy link
Copy Markdown
Member

I think it's about time we make Readable async iteration stable.
It has been around for a while - we have fixed a bunch of bugs so far, and I expect there will still be some. I do not expect major changes.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@mcollinamcollina added stream Issues and PRs related to the stream subsystem. semver-major PRs that contain breaking changes and should be released in the next major version. labels Mar 29, 2019
@mcollina
mcollina requested review from a team and jasnellMarch 29, 2019 16:17
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mcollina Sadly, an error occurred when I tried to trigger a build. :(

Comment threaddoc/api/stream.md Outdated
@vsemozhetbyt

Copy link
Copy Markdown
Contributor

Is it worth to do the same for rl[Symbol.asyncIterator]()?

@vsemozhetbytvsemozhetbyt added the promises Issues and PRs related to ECMAScript promises. label Mar 29, 2019
@targos

Copy link
Copy Markdown
Member

why semver-major?

@mcollina

Copy link
Copy Markdown
MemberAuthor

why semver-major?

I don't know really.

@mcollina

Copy link
Copy Markdown
MemberAuthor

Is it worth to do the same for rlSymbol.asyncIterator?

I'm happy to include that in this PR.

@mcollinamcollina added semver-minor PRs that contain new features and should be released in the next minor version. and removed semver-major PRs that contain breaking changes and should be released in the next major version. labels Mar 29, 2019
Comment threaddoc/api/stream.md Outdated

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.

Suggested change
description: AsyncIterator support is not experimental anymore.
description: AsyncIterator support is no longer experimental.

@BridgeARBridgeAR added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Mar 31, 2019

@benjamingrbenjamingr 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.

🎉

@mcollina
mcollinaforce-pushed the make-readable-async-iterator-stable branch from 9b5ab18 to 8df8328CompareApril 1, 2019 08:09
@mcollina

Copy link
Copy Markdown
MemberAuthor

1 similar comment
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mcollina

Copy link
Copy Markdown
MemberAuthor

I've also marked readline AsyncIterator support stable.

PTAL @vsemozhetbyt@jasnell@addaleax@benjamingr@cjihrig@BridgeAR@shisama

@benjamingrbenjamingr 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.

Still LGTM

BethGriggs pushed a commit that referenced this pull request Apr 9, 2019
PR-URL: #26989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
BethGriggs pushed a commit that referenced this pull request Apr 9, 2019
PR-URL: #26989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Apr 9, 2019
BethGriggs pushed a commit that referenced this pull request Apr 10, 2019
PR-URL: #26989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
BethGriggs pushed a commit that referenced this pull request Apr 10, 2019
PR-URL: #26989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
BethGriggs added a commit that referenced this pull request Apr 10, 2019
Notable changes:
- child_process: doc deprecate ChildProcess.\_channel (cjihrig)
[#26982](#26982)
- deps: update nghttp2 to 1.37.0 (gengjiawen)
[#26990](#26990)
- dns:
- make dns.promises enumerable (cjihrig)
[#26592](#26592)
- remove dns.promises experimental warning (cjihrig)
[#26592](#26592)
- stream: make Symbol.asyncIterator support stable (Matteo Collina)
[#26989](#26989)
- worker: use copy of process.env (Anna Henningsen)
[#26544](#26544)
PR-URL: #27163
BethGriggs added a commit that referenced this pull request Apr 11, 2019
Notable changes:
- child_process: doc deprecate ChildProcess.\_channel (cjihrig)
[#26982](#26982)
- deps: update nghttp2 to 1.37.0 (gengjiawen)
[#26990](#26990)
- dns:
- make dns.promises enumerable (cjihrig)
[#26592](#26592)
- remove dns.promises experimental warning (cjihrig)
[#26592](#26592)
- fs: remove experimental warning for fs.promises (Anna Henningsen)
[#26581] (#26581)
- stream: make Symbol.asyncIterator support stable (Matteo Collina)
[#26989](#26989)
- worker: use copy of process.env (Anna Henningsen)
[#26544](#26544)
PR-URL: #27163
BethGriggs added a commit that referenced this pull request Apr 11, 2019
Notable changes:
- child_process: doc deprecate ChildProcess.\_channel (cjihrig)
[#26982](#26982)
- deps: update nghttp2 to 1.37.0 (gengjiawen)
[#26990](#26990)
- dns:
- make dns.promises enumerable (cjihrig)
[#26592](#26592)
- remove dns.promises experimental warning (cjihrig)
[#26592](#26592)
- fs: remove experimental warning for fs.promises (Anna Henningsen)
[#26581] (#26581)
- stream: make Symbol.asyncIterator support stable (Matteo Collina)
[#26989](#26989)
- worker: use copy of process.env (Anna Henningsen)
[#26544](#26544)
PR-URL: #27163
@mcollina

Copy link
Copy Markdown
MemberAuthor

@nodejs/lts would you mind including this in the next v10 minor?

@vschoener

Copy link
Copy Markdown

That would be awesome :)

@mcollina

Copy link
Copy Markdown
MemberAuthor

@BethGriggs would you mind adding this to the next 10 release?

BethGriggs pushed a commit that referenced this pull request Oct 18, 2019
PR-URL: #26989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
BethGriggs pushed a commit that referenced this pull request Oct 18, 2019
PR-URL: #26989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
BethGriggs added a commit that referenced this pull request Oct 18, 2019
Notable changes:
- **deps**: upgrade openssl sources to 1.1.1d (Sam Roberts)
[#29921](#29921)
- **dns**: remove dns.promises experimental warning (cjihrig)
[#26592](#26592)
- **fs**: remove experimental warning for fs.promises (Anna Henningsen)
[#26581](#26581)
- **n-api**: mark version 5 N-APIs as stable (Gabriel Schulhof)
[#29401](#29401)
- **stream**: make Symbol.asyncIterator support stable (Matteo Collina)
[#26989](#26989)
PR-URL: #29875
@BethGriggsBethGriggs mentioned this pull request Oct 18, 2019
BethGriggs added a commit that referenced this pull request Oct 19, 2019
Notable changes:
- **deps**: update npm to 6.11.3 (claudiahdz)
[#29430](#29430)
- **deps**: upgrade openssl sources to 1.1.1d (Sam Roberts)
[#29921](#29921)
- **dns**: remove dns.promises experimental warning (cjihrig)
[#26592](#26592)
- **fs**: remove experimental warning for fs.promises (Anna Henningsen)
[#26581](#26581)
- **n-api**: mark version 5 N-APIs as stable (Gabriel Schulhof)
[#29401](#29401)
- **stream**: make Symbol.asyncIterator support stable (Matteo Collina)
[#26989](#26989)
PR-URL: #29875
BethGriggs added a commit that referenced this pull request Oct 21, 2019
Notable changes:
- **deps**: update npm to 6.11.3 (claudiahdz)
[#29430](#29430)
- **deps**: upgrade openssl sources to 1.1.1d (Sam Roberts)
[#29921](#29921)
- **dns**: remove dns.promises experimental warning (cjihrig)
[#26592](#26592)
- **fs**: remove experimental warning for fs.promises (Anna Henningsen)
[#26581](#26581)
- **n-api**: mark version 5 N-APIs as stable (Gabriel Schulhof)
[#29401](#29401)
- **stream**: make Symbol.asyncIterator support stable (Matteo Collina)
[#26989](#26989)
PR-URL: #29875
BethGriggs added a commit that referenced this pull request Oct 22, 2019
Notable changes:
* crypto:
* add support for chacha20-poly1305 for AEAD (chux0519)
#24081
* increase maxmem range from 32 to 53 bits (Tobias Nießen)
#28799
* deps:
* update npm to 6.11.3 (claudiahdz)
#29430
* upgrade openssl sources to 1.1.1d (Sam Roberts)
#29921
* dns:
* remove dns.promises experimental warning (cjihrig)
#26592
* fs:
* remove experimental warning for fs.promises (Anna Henningsen)
#26581
* http:
* makes response.writeHead return the response (Mark S. Everitt)
#25974
* http2:
* makes response.writeHead return the response (Mark S. Everitt)
#25974
* n-api:
* make func argument of napi\_create\_threadsafe\_function optional
(legendecas)
#27791
* mark version 5 N-APIs as stable (Gabriel Schulhof)
#29401
* implement date object (Jarrod Connolly)
#25917
* process:
* add --unhandled-rejections flag (Ruben Bridgewater)
#26599
* stream:
* implement Readable.from async iterator utility (Guy Bedford)
#27660
* make Symbol.asyncIterator support stable (Matteo Collina)
#26989
PR-URL: #29875
BethGriggs added a commit that referenced this pull request Oct 22, 2019
Notable changes:
* crypto:
* add support for chacha20-poly1305 for AEAD (chux0519)
#24081
* increase maxmem range from 32 to 53 bits (Tobias Nießen)
#28799
* deps:
* update npm to 6.11.3 (claudiahdz)
#29430
* upgrade openssl sources to 1.1.1d (Sam Roberts)
#29921
* dns:
* remove dns.promises experimental warning (cjihrig)
#26592
* fs:
* remove experimental warning for fs.promises (Anna Henningsen)
#26581
* http:
* makes response.writeHead return the response (Mark S. Everitt)
#25974
* http2:
* makes response.writeHead return the response (Mark S. Everitt)
#25974
* n-api:
* make func argument of napi\_create\_threadsafe\_function optional
(legendecas)
#27791
* mark version 5 N-APIs as stable (Gabriel Schulhof)
#29401
* implement date object (Jarrod Connolly)
#25917
* process:
* add --unhandled-rejections flag (Ruben Bridgewater)
#26599
* stream:
* implement Readable.from async iterator utility (Guy Bedford)
#27660
* make Symbol.asyncIterator support stable (Matteo Collina)
#26989
PR-URL: #29875
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.promisesIssues and PRs related to ECMAScript promises.semver-minorPRs that contain new features and should be released in the next minor version.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

12 participants

@mcollina@nodejs-github-bot@vsemozhetbyt@targos@vschoener@jasnell@addaleax@benjamingr@cjihrig@BridgeAR@shisama@BethGriggs