Skip to content

chore(deps-dev): bump @appium/types from 1.7.1 to 2.0.0-beta.0 - #315

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/appium/types-2.0.0-beta.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/appium/types-2.0.0-beta.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 25, 2026

Copy link
Copy Markdown
Contributor

Bumps @appium/types from 1.7.1 to 2.0.0-beta.0.

Release notes

Sourced from @​appium/types's releases.

@​appium/types@​2.0.0-beta.0

2.0.0-beta.0 (2026-09-19)

⚠ BREAKING CHANGES

  • base-driver: align timeouts endpoints closer to W3C standard (#22776)
  • base-driver: PayloadParams['validate'] no longer receives a protocol argument; its signature is now (obj: any) => boolean | string | undefined. No implementation in this repo used the second argument.
  • base-driver: Removed the deprecated sessionId argument from generateDriverLogPrefix helper
  • types for the following commands have been removed: `getGeoLocation`, `setGeoLocation`, `getNetworkConnection`, `setNetworkConnection`. The `Location` type has also been removed.
  • base-driver: @​appium/base-driver's default export (BaseDriver) and @​appium/base-driver's basedriver/helpers.js default export are removed; use the named exports instead. The appium/driver.js and driver.d.ts re-exports of the default are removed accordingly.
  • base-driver: BaseDriver.reset() is removed; it was unused, not part of any protocol route or the Driver interface, and had no callers in this monorepo or any driver package that was checked.
  • base-driver: BaseDriver's constructor is removed in favor of inherited DriverCore construction; opts is no longer a required constructor argument (it now defaults to {}, matching DriverCore).
  • appium: The --allow-cors CLI flag and allow-cors config file property have been removed. Use --allow-insecure=:cors (or --relaxed-security, optionally overridden with --deny-insecure=:cors) instead.
  • base-driver: ISessionHandler.createSession (@​appium/types) and LegacyCreateSessionArgs — overload and type deleted, single-argument signature only.
  • base-driver: BaseDriver.createSession and AppiumDriver.createSession — collapsed to the single-argument mplementation; capability validation now checks the one argument directly instead of scanning three positions for the first W3C-shaped value.
  • base-driver: FakeDriver.createSession (and the base-driver e2e test double) — overrides updated to match.
  • base-driver: RelaxedCapsPlugin.createSession — this plugin existed specifically to normalize capabilities across the (now-gone) three positions; its hook is simplified to a single caps argument.
  • base-driver: POST /session wire route (w3c.ts) — payloadParams.optional no longer sends capabilities three times into the command args.
  • base-driver: BaseDriver.getSession, ISessionHandler.getSession, and the GET /session/:sessionId JSONWP route are gone. Use getAppiumSessionCapabilities to retrieve session capabilities and EventCommands.getLogEvents to retrieve event history instead.
  • base-driver: The appium:eventTimings capability is removed; it only ever controlled whether getSession's response was decorated with event history, which getLogEvents already exposes unconditionally.
  • logger: @​appium/logger and @​appium/support no longer export a default log — import the named log export instead.
  • logger: AppiumLogger#errorAndThrow has been removed; use errorWithException instead.
  • logger: Logger#enableProgress, disableProgress, progressEnabled, enableUnicode, disableUnicode have been removed; they were already permanently disabled no-ops.
  • base-plugin: Plugin#logger has been removed; use Plugin#log instead.
  • base-plugin: @​appium/base-plugin no longer exports BasePlugin as the default export; use the named BasePlugin export.
  • Core.driverData, DriverData, and the driverData parameter on ISessionHandler.createSession/deleteSession are gone. Any driver overriding get driverData() or relying on the umbrella driver passing sibling-session data into createSession/deleteSession needs to migrate off this mechanism.
  • FakeDriver no longer supports the uniqueApp capability.
  • the minimum supported Node.js engine is set to ^22.22.2 || ^24.15.0 || >=26.0.0
  • base-driver: @​appium/base-driver no longer exports statusCodes or getSummaryByCode (the jsonwp-status module was removed).
  • base-driver: errorFromMJSONWPStatusCode (aliased as errorFromCode) has been removed; use errorFromW3CJsonCode for W3C error-signature mapping.
  • base-driver: ProtocolError instances no longer have a jsonwpCode property.
  • base-driver: WebDriverProxy (formerly JWProxy) no longer proxies to or interprets responses from downstream servers speaking the legacy MJSONWP protocol; the ProtocolConverter class, COMMAND_URLS_CONFLICTS, and the downstreamProtocol getter/setter have been removed. Downstream automation servers must speak W3C WebDriver.
  • base-driver: Responses no longer duplicate element references under the legacy ELEMENT key; only the W3C element-6066-11e4-a52e-4f735466cecf key is present. The MJSONWP_ELEMENT_KEY constant has been removed.
  • base-driver: determineProtocol has been removed, and drivers can no longer produce the legacy {sessionId, status, value} response shape; all responses are now W3C-shaped regardless of how the client formatted its createSession capabilities.
  • base-driver: DriverCore#setProtocolMJSONWP() has been removed.
  • base-driver: The deprecated JWProxy export has been removed; use WebDriverProxy instead. Its source also moved from lib/jsonwp-proxy/proxy.js to lib/wd-proxy/proxy.js.
  • base-driver: DriverCore#isMjsonwpProtocol() has been removed.
  • appium: The --nodeconfig server argument and the server.nodeconfig config file property no longer exist. Users who need to register with a Selenium Grid should use the Grid 4 relay feature instead (see the Grid guide).
  • require('@​appium/support') no longer works; consumers must import it instead.
  • require('@​appium/base-driver') no longer works; drivers extending BaseDriver via require must switch to import.
  • require('@​appium/base-plugin') no longer works; plugins extending BasePlugin via require must switch to import.
  • require('appium') no longer works; plugins extending the package via require must switch to import.
  • require('@​appium/fake-plugin') no longer works; consumers must import it instead.
  • require('@​appium/fake-driver') no longer works; consumers must import it instead.
  • require('@​appium/types') no longer works; consumers must import it instead.
  • require('@​appium/logger') no longer works; consumers must import it instead.
  • require('@​appium/schema') no longer works; consumers must import it instead.

Features

... (truncated)

Changelog

Sourced from @​appium/types's changelog.

2.0.0-beta.0 (2026-09-19)

⚠ BREAKING CHANGES

  • base-driver: align timeouts endpoints closer to W3C standard (#22776)
  • base-driver: PayloadParams['validate'] no longer receives a protocol argument; its signature is now (obj: any) => boolean | string | undefined. No implementation in this repo used the second argument.
  • base-driver: Removed the deprecated sessionId argument from generateDriverLogPrefix helper
  • types for the following commands have been removed: `getGeoLocation`, `setGeoLocation`, `getNetworkConnection`, `setNetworkConnection`. The `Location` type has also been removed.
  • base-driver: @​appium/base-driver's default export (BaseDriver) and @​appium/base-driver's basedriver/helpers.js default export are removed; use the named exports instead. The appium/driver.js and driver.d.ts re-exports of the default are removed accordingly.
  • base-driver: BaseDriver.reset() is removed; it was unused, not part of any protocol route or the Driver interface, and had no callers in this monorepo or any driver package that was checked.
  • base-driver: BaseDriver's constructor is removed in favor of inherited DriverCore construction; opts is no longer a required constructor argument (it now defaults to {}, matching DriverCore).
  • appium: The --allow-cors CLI flag and allow-cors config file property have been removed. Use --allow-insecure=:cors (or --relaxed-security, optionally overridden with --deny-insecure=:cors) instead.
  • base-driver: ISessionHandler.createSession (@​appium/types) and LegacyCreateSessionArgs — overload and type deleted, single-argument signature only.
  • base-driver: BaseDriver.createSession and AppiumDriver.createSession — collapsed to the single-argument mplementation; capability validation now checks the one argument directly instead of scanning three positions for the first W3C-shaped value.
  • base-driver: FakeDriver.createSession (and the base-driver e2e test double) — overrides updated to match.
  • base-driver: RelaxedCapsPlugin.createSession — this plugin existed specifically to normalize capabilities across the (now-gone) three positions; its hook is simplified to a single caps argument.
  • base-driver: POST /session wire route (w3c.ts) — payloadParams.optional no longer sends capabilities three times into the command args.
  • base-driver: BaseDriver.getSession, ISessionHandler.getSession, and the GET /session/:sessionId JSONWP route are gone. Use getAppiumSessionCapabilities to retrieve session capabilities and EventCommands.getLogEvents to retrieve event history instead.
  • base-driver: The appium:eventTimings capability is removed; it only ever controlled whether getSession's response was decorated with event history, which getLogEvents already exposes unconditionally.
  • logger: @​appium/logger and @​appium/support no longer export a default log — import the named log export instead.
  • logger: AppiumLogger#errorAndThrow has been removed; use errorWithException instead.
  • logger: Logger#enableProgress, disableProgress, progressEnabled, enableUnicode, disableUnicode have been removed; they were already permanently disabled no-ops.
  • base-plugin: Plugin#logger has been removed; use Plugin#log instead.
  • base-plugin: @​appium/base-plugin no longer exports BasePlugin as the default export; use the named BasePlugin export.
  • Core.driverData, DriverData, and the driverData parameter on ISessionHandler.createSession/deleteSession are gone. Any driver overriding get driverData() or relying on the umbrella driver passing sibling-session data into createSession/deleteSession needs to migrate off this mechanism.
  • FakeDriver no longer supports the uniqueApp capability.
  • the minimum supported Node.js engine is set to ^22.22.2 || ^24.15.0 || >=26.0.0
  • base-driver: @​appium/base-driver no longer exports statusCodes or getSummaryByCode (the jsonwp-status module was removed).
  • base-driver: errorFromMJSONWPStatusCode (aliased as errorFromCode) has been removed; use errorFromW3CJsonCode for W3C error-signature mapping.
  • base-driver: ProtocolError instances no longer have a jsonwpCode property.
  • base-driver: WebDriverProxy (formerly JWProxy) no longer proxies to or interprets responses from downstream servers speaking the legacy MJSONWP protocol; the ProtocolConverter class, COMMAND_URLS_CONFLICTS, and the downstreamProtocol getter/setter have been removed. Downstream automation servers must speak W3C WebDriver.
  • base-driver: Responses no longer duplicate element references under the legacy ELEMENT key; only the W3C element-6066-11e4-a52e-4f735466cecf key is present. The MJSONWP_ELEMENT_KEY constant has been removed.
  • base-driver: determineProtocol has been removed, and drivers can no longer produce the legacy {sessionId, status, value} response shape; all responses are now W3C-shaped regardless of how the client formatted its createSession capabilities.
  • base-driver: DriverCore#setProtocolMJSONWP() has been removed.
  • base-driver: The deprecated JWProxy export has been removed; use WebDriverProxy instead. Its source also moved from lib/jsonwp-proxy/proxy.js to lib/wd-proxy/proxy.js.
  • base-driver: DriverCore#isMjsonwpProtocol() has been removed.
  • appium: The --nodeconfig server argument and the server.nodeconfig config file property no longer exist. Users who need to register with a Selenium Grid should use the Grid 4 relay feature instead (see the Grid guide).
  • require('@​appium/support') no longer works; consumers must import it instead.
  • require('@​appium/base-driver') no longer works; drivers extending BaseDriver via require must switch to import.
  • require('@​appium/base-plugin') no longer works; plugins extending BasePlugin via require must switch to import.
  • require('appium') no longer works; plugins extending the package via require must switch to import.
  • require('@​appium/fake-plugin') no longer works; consumers must import it instead.
  • require('@​appium/fake-driver') no longer works; consumers must import it instead.
  • require('@​appium/types') no longer works; consumers must import it instead.
  • require('@​appium/logger') no longer works; consumers must import it instead.
  • require('@​appium/schema') no longer works; consumers must import it instead.

Features

  • appium: add --app-url-rules server arg to restrict remote app URLs (#22753) (0b104f6)

... (truncated)

Commits
  • e303649 chore: publish
  • 0b104f6 feat(appium): add --app-url-rules server arg to restrict remote app URLs (#22...
  • 93115d1 feat(base-driver)!: align timeouts endpoints closer to W3C standard (#22776)
  • ac01aa8 feat(base-driver): add definitions for all WebDriver BiDi commands (#22770)
  • 0e91fb7 fix(base-driver)!: don't implicitly allow sessionId/id params in bidi command...
  • 33def2c refactor(base-driver)!: split basedriver helpers into a barrel (#22764)
  • b7b09f7 chore!: cleanup remaining code for removed JSONWP/MJSONWP methods (#22765)
  • b25fc20 feat(types): check execute method params against the command signature (#22754)
  • 506bfee refactor(base-driver)!: replace command mixin with explicit named exports (#2...
  • 926a0a5 feat(appium)!: replace --allow-cors flag with --allow-insecure=*:cors (#22731)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@appium/types](https://github.com/appium/appium/tree/HEAD/packages/types) from 1.7.1 to 2.0.0-beta.0.
- [Release notes](https://github.com/appium/appium/releases)
- [Changelog](https://github.com/appium/appium/blob/@appium/types@2.0.0-beta.0/packages/types/CHANGELOG.md)
- [Commits](https://github.com/appium/appium/commits/@appium/types@2.0.0-beta.0/packages/types)

---
updated-dependencies:
- dependency-name: "@appium/types"
  dependency-version: 2.0.0-beta.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants