fs: remove experimental warning for fs.promises by addaleax · Pull Request #26581 · nodejs/node (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation19 Commits3 Checks0 Files changed
Conversation
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
[ Show hidden characters]({{ revealButtonHref }})
This has been warning for long enough, without any API changes
in the last few months.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes- commit message follows commit guidelines
bricss, PazzaVlad, Jessidhia, anton-bot, and tomap reacted with thumbs up emoji lundibundi, nechaido, benjamingr, devsnek, bricss, antsmartian, shisama, yaelhe, aduh95, ZYSzys, and 6 more reacted with hooray emoji anton-bot reacted with heart emoji anton-bot reacted with rocket emoji
we still have the unsolved issue of it needing to be first class accessable to esm
@devsnek Is that a blocker for you for this PR?
@addaleax I think so. would it be unreasonable to move this back to fs/promises or at least add that as an alias?
I think so. would it be unreasonable to move this back to fs/promises or at least add that as an alias?
That is blocked on scoping Node's modules, so it would need to be @nodejs/fs
or something similar. That's why fs/promises
was reverted to begin with.
@benjamingr then it sounds like we should figure out the rest of the scoping
Trott added semver-major
PRs that contain breaking changes and should be released in the next major version.
and removed semver-major
PRs that contain breaking changes and should be released in the next major version.
labels
This leaves it as experimental in the docs. That's intentional? (I'd prefer we make it stable in the docs and label this semver-major but that's just me!)
Perhaps it's time just to take it out of experimental?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@@ -1927,11 +1927,8 @@ Object.defineProperties(fs, { |
---|
configurable: true, |
enumerable: false, |
get() { |
if (promises === null) { |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make this property enumerable: true
now that it's no longer experimental.
It also no longer needs to be a getter.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasnell @Trott I’m also okay with completely moving it out of experimental status, yes.
I’m not sure about the scoping thing. It doesn’t feel to me like we should block features until we’ve figured that out, it’s been a long time and there hasn’t been much movement on it recently.
BridgeAR added the author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
I marked this as author ready
. It seems we can still revise the actual experimental
status in another PR and that should not block the message from being removed.
The tests failed everywhere.
This has been warning for long enough, without any API changes in the last few months.
Trott removed the author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
(Removed author ready
because of failing test, but feel free to re-add, as I suspect the test fix is likely to be something small and straightforward.)
@targos @Trott Yes, thanks – this should be fixed now.
I’ve also aligned this PR with what #26592 did, i.e. moved the API to Stable rather than just removing the warning.
BethGriggs pushed a commit that referenced this pull request
This has been warning for long enough, without any API changes in the last few months.
PR-URL: #26581 Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Benjamin Gruenbaum benjamingr@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Anto Aravinth anto.aravinth.cse@gmail.com Reviewed-By: Yongsheng Zhang zyszys98@gmail.com Reviewed-By: James M Snell jasnell@gmail.com Signed-off-by: Beth Griggs Bethany.Griggs@uk.ibm.com
BethGriggs pushed a commit that referenced this pull request
This has been warning for long enough, without any API changes in the last few months.
PR-URL: #26581 Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Benjamin Gruenbaum benjamingr@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Anto Aravinth anto.aravinth.cse@gmail.com Reviewed-By: Yongsheng Zhang zyszys98@gmail.com Reviewed-By: James M Snell jasnell@gmail.com Signed-off-by: Beth Griggs Bethany.Griggs@uk.ibm.com
BethGriggs added a commit that referenced this pull request
Notable changes:
- child_process: doc deprecate ChildProcess._channel (cjihrig) #26982
- deps: update nghttp2 to 1.37.0 (gengjiawen) #26990
- dns:
- fs: remove experimental warning for fs.promises (Anna Henningsen) [#26581] (#26581)
- stream: make Symbol.asyncIterator support stable (Matteo Collina) #26989
- worker: use copy of process.env (Anna Henningsen) #26544
PR-URL: #27163
BethGriggs added a commit that referenced this pull request
Notable changes:
- child_process: doc deprecate ChildProcess._channel (cjihrig) #26982
- deps: update nghttp2 to 1.37.0 (gengjiawen) #26990
- dns:
- fs: remove experimental warning for fs.promises (Anna Henningsen) [#26581] (#26581)
- stream: make Symbol.asyncIterator support stable (Matteo Collina) #26989
- worker: use copy of process.env (Anna Henningsen) #26544
PR-URL: #27163
BethGriggs pushed a commit that referenced this pull request
This has been warning for long enough, without any API changes in the last few months.
PR-URL: #26581 Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Benjamin Gruenbaum benjamingr@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Anto Aravinth anto.aravinth.cse@gmail.com Reviewed-By: Yongsheng Zhang zyszys98@gmail.com Reviewed-By: James M Snell jasnell@gmail.com
BethGriggs added a commit that referenced this pull request
Notable changes:
- deps: 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
- n-api: mark version 5 N-APIs as stable (Gabriel Schulhof) #29401
- stream: make Symbol.asyncIterator support stable (Matteo Collina) #26989
PR-URL: #29875
BethGriggs added a commit that referenced this pull request
Notable changes:
- deps: update npm to 6.11.3 (claudiahdz) #29430
- deps: 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
- n-api: mark version 5 N-APIs as stable (Gabriel Schulhof) #29401
- stream: make Symbol.asyncIterator support stable (Matteo Collina) #26989
PR-URL: #29875
BethGriggs added a commit that referenced this pull request
Notable changes:
- deps: update npm to 6.11.3 (claudiahdz) #29430
- deps: 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
- n-api: mark version 5 N-APIs as stable (Gabriel Schulhof) #29401
- stream: make Symbol.asyncIterator support stable (Matteo Collina) #26989
PR-URL: #29875
BethGriggs added a commit that referenced this pull request
Notable changes:
- crypto:
- deps:
- 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:
- process:
- add --unhandled-rejections flag (Ruben Bridgewater) #26599
- stream:
PR-URL: #29875
BethGriggs added a commit that referenced this pull request
Notable changes:
- crypto:
- deps:
- 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:
- process:
- add --unhandled-rejections flag (Ruben Bridgewater) #26599
- stream:
PR-URL: #29875
iiroj mentioned this pull request
devtools-bot pushed a commit to ChromeDevTools/devtools-frontend that referenced this pull request
babot pushed a commit to binaryage/dirac that referenced this pull request
Reviewers
jdalton jdalton left review comments
jasnell jasnell approved these changes
antsmartian antsmartian approved these changes
benjamingr benjamingr approved these changes
lpinca lpinca approved these changes
cjihrig cjihrig approved these changes
ZYSzys ZYSzys approved these changes
Labels
PRs that have at least one approval, no pending requests for changes, and a CI started.
Issues and PRs related to the fs subsystem / file system.
PRs that contain new features and should be released in the next minor version.