-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[MAINT]: Tracking issue for dropping support for Node v14/v16 and Fetch dispatch breaking changes #2486
Comments
I think @gr2m laid it out pretty well on the dependency graph in the previous discussion. I think there's 2 branches currently that don't interfere with each other with regards to breaking changes:
|
@nickfloyd thank you for putting this together! That's an excellent summary and procedure. |
Looks great! I'll help the best I can! Ping me anytime if my perspective would be helpful |
Many issues are coming up about dropping Node 14/16, and How can we be more explicit that this package (and other Octokit packages) does not support Node 14/16? When it comes to the message logged from
|
Solid call out @wolfy1339. I think the not found wording makes it seem like it's something octokit is supposed to take care of. Perhaps we explicitly call out our lack of support there, something like:
IDK, perhaps something like that? |
Maybe we could add a section to the README and link to it from the error, so we can provide a more thorough explanation and most importantly we can update whenever needed. I'd say the availability of I'd do something like this:
|
I like @gr2m's approach here! @oscard0m you were asking how you might be able to lend a hand in all of this - is this something that you might be interested in picking up? I focusing on the actions libs (thankfully, @gr2m and @wolfy1339 have been incredibly helpful there) and will have to wrap that up before I can get to what they suggest above. |
|
I'm going to close this issue now as all of our breaking changes are rolled out! 🎉 🎉 🎉 Thank you all for driving these changes through. |
Describe the need
We need a clear picture of where things are and what needs to ship when pushing through this breaking change.
Octokit JS Dependency Graph/Breaking Change map
Based on the discussions with @gr2m, @wolfy1339, @kfcampbell, and on the data above, the rough plan would be to:
Step 1:
Based on the data in the doc - find out if any of the repos that do not have beta branches or a PR for dropping node support for v14/v16 should have one. Why: This will give us 100% certainty that all packages (that need to) have been updated so that we can move forward with the Fetch breaking change:
but not testing) (build(deps): updates all node versions in workflows to v18 openapi-types.ts#323) ✅
Step 2
Go through all of the existing repos that have a beta branch and/or PR for dropping node support for v14/v16 and determine if we can merge (most likely, they are the ones blocked by core). Why: This will get all of the remaining change sets that can go out the door in a place where when we ship the change to core we can do it confidently.
Step 3
Remove request.agent option from request.js in a beta breaking change branch.
agent
&timeout
options from RequestRequestOptions.ts | feat: v11 types.ts#561Step 4
Ship the core changes to either beta branches or main for packages that have already shipped node v14/16 - using the sequence detailed in the doc above
Step 5
Fast follow all of this with docs and examples. As @gr2m suggested:
fetch
is not set #2497Reference:
Note: As a group, we should stamp out a reasonably simple to consume dependency graph for all of our JS packages to help ease things like making breaking changes in the future.
The text was updated successfully, but these errors were encountered: