Draft
Conversation
BREAKING CHANGE: WebdriverIO v10 now requires Node.js v22 or later. Support for Node.js v18 and v20 has been dropped. Changes: - Update engines.node to ">=22" across all packages - Update CI matrices to test Node.js 22, 24, and 26 - Update create-wdio runtime version check from >=18.18.0 to >=22 - Update UNSUPPORTED_NODE_VERSION message to reference Node.js v22 - Simplify launcher.ts by always using --import flag (available in all supported Node.js versions) - Remove unused nodeVersion() utility function - Update @types/node to ^22.0.0 - Update devcontainer to use Node.js 22 base image - Add engines.node field to wdio-protocols package Co-authored-by: Christian Bromann <christian-bromann@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
|
2 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
This PR updates WebdriverIO to exclusively support Node.js v22, v24, and v26 for the upcoming v10 major release.
Key changes include:
engines.nodeto>=22across allpackage.jsonfiles.@types/nodeto^22.0.0where applicable.test-smoke.yml,test-unit.yml,test-component.yml) to['22', '24', '26'].create-wdio.wdio-cli/src/launcher.tsby removing legacy--loaderchecks and the unusednodeVersionutility, as Node.js 22+ natively supports--import..devcontainer/Dockerfilebase image tonode:0-22.Types of changes
Checklist
Backport Request
v9and doesn't need to be back-ported#XXXXXFurther comments
Reviewers: @webdriverio/project-committers