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

Remove Node version 10 from .github/workflows/test.yml #299

Closed
oscard0m opened this issue Jun 25, 2022 · 10 comments
Closed

Remove Node version 10 from .github/workflows/test.yml #299

oscard0m opened this issue Jun 25, 2022 · 10 comments
Assignees
Labels
Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects

Comments

@oscard0m
Copy link
Member

Description

Node v10 has been deprecated so there is no need to keep giving support to it in our CI.

Context

You can find more details here

@oscard0m oscard0m added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Jun 25, 2022
@oscard0m oscard0m self-assigned this Jun 25, 2022
@ghost ghost added this to Maintenance in JS Jun 25, 2022
@timrogers
Copy link

👋 I am in favour of making this change across the JS repos, but I think we might want to release the change as a major version, given that we will no longer guarantee Node 10.x comparability. What do you think?

@oscard0m
Copy link
Member Author

👋 I am in favour of making this change across the JS repos, but I think we might want to release the change as a major version, given that we will no longer guarantee Node 10.x comparability. What do you think?

👋🏽 @timrogers!

I'm not sure about making it a major version.

Since the published code is not changing (we only stop checking if it works with Node 10), technically people can safely upgrade with no change in their applications, right?

On the other hand, there is this intention to stop giving support to Node 10 so I'm not sure what is the proper approach in this case.

@timrogers
Copy link

timrogers commented Jun 25, 2022

I definitely agree that this is a tricky case. The code is not changing, but I still think it is significant.

Right now, our CI checks guarantee that Node 10 will work. With this change, we provide no guarantees. Node 10 could break at any time and we'd have no way of knowing or communicating that.

My preference is to "play it safe" and go for a major version to avoid surprises. People will see the release notes and will know if Node 10 matters to them.

If it matters, they can take action - either sticking with their current version or upgrading Node.

If it doesn't matter, they can just ignore it and upgrade.

If we don't do this, it's very likely that there will be a future release which does break Node 10 and surprises people.

@gr2m @nickfloyd What do you think? ❤️

@timrogers
Copy link

@oscard0m And, of course, I'm interested to hear what you think too! ✨

@wolfy1339
Copy link
Member

When stopping support for a node version, it's definitely a major change.

See this comment on a PR I made to drop support for NodeJS v10 octokit/webhooks.js#555 (comment)

@oscard0m
Copy link
Member Author

oscard0m commented Jun 25, 2022

@oscard0m And, of course, I'm interested to hear what you think too! ✨

I'm up for releasing a major version.

I was thinking, for NodeJS 12 we would do a different major version or do we want to drop support for both in the same breaking changes?

@timrogers
Copy link

@oscard0m And, of course, I'm interested to hear what you think too! ✨

I'm up for releasing a major version.

I was thinking, for NodeJS 12 we would do a different major version or do we want to drop support for both in the same breaking changes?

If we want to drop support for deprecated Node versions, I think we should do multiple together in one go.

It's the same logical change: dropping support for end-of-life Node releases.

@wolfy1339
Copy link
Member

I have started an octoherd script to deal with the required changes: wolfy1339/octoherd-script-remove-eol-node-versions#1

@gr2m
Copy link
Contributor

gr2m commented Jun 27, 2022

I'd prefer to release breaking versions, too.

@oscard0m
Copy link
Member Author

oscard0m commented Jul 7, 2022

Done via #302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects
No open projects
JS
  
Done
Development

No branches or pull requests

4 participants