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 support for Node.js 16 and 21 #29601

Closed
MikeMcC399 opened this issue Jun 3, 2024 · 3 comments
Closed

Remove support for Node.js 16 and 21 #29601

MikeMcC399 opened this issue Jun 3, 2024 · 3 comments
Assignees
Labels
Cypress 14 Issues scoped for Cypress 14 type: breaking change Requires a new major release version

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Jun 3, 2024

What would you like?

For the next major version of Cypress, support for the following Node.js versions should be removed:

This should be reflected in an update to

cypress/cli/package.json

Lines 125 to 127 in e6b422c

"engines": {
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
},

Changing to the following will enable the setting to stay in place until the planned end-of-life of Node.js 18 (Apr 30, 2025):

  "engines": {
    "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
  },

Why is this needed?

  • Cypress cannot effectively continue support for versions of Node.js which have reached end-of-life status.
  • Users should be assisted in avoiding unsupported Node.js versions by excluding them in the engines section of cli/package.json. Package managers then either warn or prevent installation of Cypress in an unsupported Node.js environment, depending on settings.

Other

The Cypress 13.0.0 changelog has already deprecated Node.js 16

Node 14 support has been removed and Node 16 support has been deprecated. Node 16 may continue to work with Cypress v13, but will not be supported moving forward to closer coincide with Node 16's end-of-life schedule. It is recommended that users update to at least Node 18.

@MikeMcC399
Copy link
Contributor Author

GitHub Actions has announced removal of Node.js 16

https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/

image

@jennifer-shehane
Copy link
Member

This will be released in Cypress 14.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jan 16, 2025

Released in 14.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v14.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Cypress 14 Issues scoped for Cypress 14 type: breaking change Requires a new major release version
Projects
Status: Building
Development

No branches or pull requests

2 participants