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

[v16.x-backport] doc: deprecate (doc-only) .aborted property and 'abort', 'aborted' event in http #40321

Closed

Conversation

dr-js
Copy link
Contributor

@dr-js dr-js commented Oct 5, 2021

Backport of #36670

GeoffreyBooth and others added 5 commits October 4, 2021 20:31
PR-URL: nodejs#40226
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
`resolve` does not return a `source` property

PR-URL: nodejs#40234
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Fixes: nodejs#40246

PR-URL: nodejs#40251
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
_subpath_ is not defined in this context. This is pretty clearly meant
to be _packageSubpath_, which is the second argument to
`PACKAGE_SELF_RESOLVE`

PR-URL: nodejs#40273
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: nodejs#37468

PR-URL: nodejs#40275
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. v16.x labels Oct 5, 2021
@aduh95
Copy link
Contributor

aduh95 commented Oct 5, 2021

Can you cherry-pick 4b030d0 (or at least use the same commit message)? The commit message in this PR is missing the PR-URL line. Also the target branch should be v16.x-staging, not v16.x.

@aduh95 aduh95 changed the base branch from v16.x to v16.x-staging October 5, 2021 12:31
Refs: nodejs#36641
Refs: nodejs#36617 (comment)

Documentation-only deprecate `.aborted` property and `'abort'`,
`'aborted'` event in `http`, and suggest using the corresponding
Stream API instead.

Co-authored-by: Michaël Zasso <targos@protonmail.com>
Co-authored-by: Rich Trott <rtrott@gmail.com>
Co-authored-by: Robert Nagy <ronagy@icloud.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

PR-URL: nodejs#36670
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@dr-js dr-js force-pushed the deprecate-http-abort-related-v16 branch from 9a035e1 to 8c76fa5 Compare October 5, 2021 14:41
@dr-js
Copy link
Contributor Author

dr-js commented Oct 5, 2021

@aduh95 Thanks for helping me see the issue!

I changed the commit message to be the same as commit 4b030d0,
and rebased new commit onto v16.x-staging branch.

Ping me if more change is needed.

@aduh95
Copy link
Contributor

aduh95 commented Oct 5, 2021

Can you please also cherry-pick 0d2b6ac? I think it makes sense to backport both of them at once.

Refs: nodejs#36670

PR-URL: nodejs#40324
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
@targos
Copy link
Member

targos commented Oct 9, 2021

@dr-js I'm sorry about the additional work that we made you do. I just landed the original commit cleanly on top of #39304: 4da1318

@targos targos closed this Oct 9, 2021
@dr-js dr-js deleted the deprecate-http-abort-related-v16 branch October 9, 2021 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants