appium-safari-driver を 5.x から 6.x へアップグレード
appium-safari-driver 5.0.11 と 6.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 1 |
| 変更されたシグネチャ | 0 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 5 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 2 |
| 新しいエクスポート | 0 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
appium-safari-driver | default | class | class |
変更されたシグネチャ
検出されませんでした。
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
SafariDriver.findElOrEls | (this: SafariDriver, strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any> | (strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any> |
SafariDriver.createSession | (w3cCaps1: W3CDriverCaps<{ readonly browserName: { readonly isString: true; }; readonly browserVersion: { readonly isString: true; }; readonly acceptInsecureCerts: { readonly isBoolean: true; }; readonly 'safari:platformVersion': { readonly isString: true; }; readonly 'safari:platformBuildVersion': … | (w3cCapabilities: W3CDriverCaps<{ readonly browserName: { readonly isString: true; }; readonly browserVersion: { readonly isString: true; }; readonly acceptInsecureCerts: { readonly isBoolean: true; }; readonly 'safari:platformVersion': { readonly isString: true; }; readonly 'safari:platformBuildVer… |
SafariDriver.deleteCookies | (this: SafariDriver): Promise<any> | (): Promise<any> |
SafariDriver.stopRecordingScreen | (this: SafariDriver, options?: StopRecordingOptions | undefined): Promise<string> | (options?: StopRecordingOptions | undefined): Promise<string> |
SafariDriver.startRecordingScreen | (this: SafariDriver, options?: StartRecordingOptions | undefined): Promise<void> | (options?: StartRecordingOptions | undefined): Promise<void> |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
| 変更前 | 変更後 | |
|---|---|---|
engines.node | ^20.19.0 || ^22.12.0 || >=24.0.0 | ^22.22.2 || ^24.15.0 || >=26.0.0 |
peerDependencies.appium | ^3.0.0-rc.2 | ^4.0.0-beta.6 |
これらのバージョン間の changelog
パッケージ作者が公開したテキストをそのまま表示しています。
6.0.0
### ⚠ 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](https://github.com/appium/appium-safari-driver/issues/204)) ([bff1052](https://github.com/appium/appium-safari-driver/commit/bff1052803c0f1bb0903f9830d43260c8f4fcd6e))
### Code Refactoring
* use ConditionUnmetError instead of message matching ([#203](https://github.com/appium/appium-safari-driver/issues/203)) ([3206a56](https://github.com/appium/appium-safari-driver/commit/3206a569c00841887159eddf3c3dfcce1f1a4712))このデータを AI エージェントに渡す
Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor に追加VS Code に追加★ GitHub でスターを付ける
その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action
よくある質問
appium-safari-driver を 5 から 6 にアップグレードする際の破壊的変更は?
appium-safari-driver 5.0.11 と 6.0.0 の間で、Vigia は削除されたエクスポートを 1 件、変更されたシグネチャを 0 件、削除または変更されたクラス/インターフェースのメンバーを 5 件検出しました。
appium-safari-driver 6 で非推奨になったものは?
appium-safari-driver 6.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/appium-safari-driver/upgrade?from=5.0.11&to=6.0.0