Repository navigation
feat!: add Appium 4 support - #204
Merged
Merged
Conversation
BREAKING CHANGE: requires Appium ^4.0.0-beta.6 and Node ^22.22.2 || ^24.15.0 || >=26.0.0. createSession takes a single w3cCapabilities argument, and the default exports are removed (use the named export).
KazuCocoa
approved these changes
Nov 9, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 9, 2026
## [6.0.0](v5.0.11...v6.0.0) (2026-11-09) ### ⚠ BREAKING CHANGES * Requires Appium ^4.0.0-beta.6 (peer dependency). No longer compatible with Appium 3. * Drops Node 20. The minimum is now ^22.22.2 || ^24.15.0 || >=26.0.0, matching Appium 4's engine range. * Driver API: createSession takes a single w3cCapabilities argument, following the Appium 4 base driver. This only matters to anyone subclassing the driver. * Default exports removed: the package no longer has a default export. Use the named export instead: import {SafariDriver} from 'appium-safari-driver'. * Command methods live on the prototype: deleteCookies, findElOrEls, startRecordingScreen and stopRecordingScreen are attached to SafariDriver.prototype (with declare module typings) rather than being instance fields, so subclasses can call super for them. ### Features * add Appium 4 support ([#204](#204)) ([bff1052](bff1052)) ### Code Refactoring * use ConditionUnmetError instead of message matching ([#203](#203)) ([3206a56](3206a56))
|
🎉 This PR is included in version 6.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Bumps the Appium monorepo packages to the Appium 4 line, the same way appium-mac2-driver did in appium/appium-mac2-driver#442 and appium-espresso-driver in appium/appium-espresso-driver#1248. This triggers a major release.
Breaking changes
^4.0.0-beta.6(peer dependency). No longer compatible with Appium 3.^22.22.2 || ^24.15.0 || >=26.0.0, matching Appium 4's engine range.createSessiontakes a singlew3cCapabilitiesargument, following the Appium 4 base driver. This only matters to anyone subclassing the driver.import {SafariDriver} from 'appium-safari-driver'.loggermodule andsafari.tsnow use named exports (log,SafariDriverServer).deleteCookies,findElOrEls,startRecordingScreenandstopRecordingScreenare attached toSafariDriver.prototype(withdeclare moduletypings) rather than being instance fields, so subclasses can callsuperfor them.Dependency bumps
appium(peer)^4.0.0-beta.6@appium/docutils^4.0.0-beta.5@appium/oxc-config^2.0.0-beta.2@appium/semantic-release-config^2.0.0-beta.1@appium/tsconfig^2.0.0-beta.1@appium/types^2.0.0-beta.5webdriverio(dev)^10.1.0engines.node^22.22.2 || ^24.15.0 || >=26.0.0Other changes
timeoutsoverride is needed, since the commands are proxied to Safari Driver.Testing
tsc -b,npm run lint(no errors) andnpm run format:checkare clean.