Memperbarui appium-chromium-driver dari 3.x ke 4.x
Perbandingan API publik appium-chromium-driver 3.2.0 dan 4.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.
Ringkasan
| Jalur impor yang dihapus | 0 |
|---|---|
| Ekspor yang dihapus | 1 |
| Tanda tangan yang berubah | 0 |
| Anggota kelas atau antarmuka yang dihapus | 0 |
| Anggota kelas atau antarmuka yang berubah | 2 |
| Baru ditandai usang | 0 |
| Perubahan persyaratan (engines, dependensi peer) | 2 |
| Ekspor baru | 0 |
Ekspor yang dihapus
| import | export | kind | Sebelum |
|---|---|---|---|
appium-chromium-driver | default | class | class |
Tanda tangan yang berubah
Tidak ada yang terdeteksi.
Anggota kelas atau antarmuka yang dihapus
Tidak ada yang terdeteksi.
Anggota kelas atau antarmuka yang berubah
| member | Sebelum | Sesudah |
|---|---|---|
ChromiumDriver.findElOrEls | (this: ChromiumDriver, strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any> | (strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any> |
ChromiumDriver.createSession | (jsonwpDesiredCapabilities: W3CDriverCaps<{ readonly chromedriverPort: { readonly isNumber: true; }; readonly useSystemExecutable: { readonly isBoolean: true; }; readonly executable: { readonly isString: true; }; readonly executableDir: { readonly isString: true; }; readonly verbose: { readonly isBo… | (w3cCapabilities: W3CDriverCaps<{ readonly chromedriverPort: { readonly isNumber: true; }; readonly useSystemExecutable: { readonly isBoolean: true; }; readonly executable: { readonly isString: true; }; readonly executableDir: { readonly isString: true; }; readonly verbose: { readonly isBoolean: tru… |
Baru ditandai usang
Tidak ada yang terdeteksi.
Perubahan persyaratan (engines, dependensi peer)
| Sebelum | Sesudah | |
|---|---|---|
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 di antara versi ini
Teks yang diterbitkan oleh penulis paket, ditampilkan apa adanya.
4.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 {ChromiumDriver} from 'appium-chromium-driver'.
* Command methods live on the prototype: findElOrEls is attached to ChromiumDriver.prototype (with declare module typings) rather than being an instance field, so subclasses can call super for it.
### Features
* add Appium 4 support ([#481](https://github.com/appium/appium-chromium-driver/issues/481)) ([6dad41b](https://github.com/appium/appium-chromium-driver/commit/6dad41b85ff61db22579157c3357653a2adba810))Berikan fakta ini ke agen AI Anda
Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub
Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request
Pertanyaan umum
Apa saja perubahan tidak kompatibel saat memperbarui appium-chromium-driver dari 3 ke 4?
Antara appium-chromium-driver 3.2.0 dan 4.0.0, Vigia menemukan 1 ekspor yang dihapus, 0 tanda tangan yang berubah, dan 2 anggota kelas atau antarmuka yang dihapus atau berubah.
Apa yang ditandai usang di appium-chromium-driver 4?
0 ekspor atau anggota baru ditandai usang di appium-chromium-driver 4.0.0.
Untuk agen
GET https://vigia.coredls.cloud/v1/packages/npm/appium-chromium-driver/upgrade?from=3.2.0&to=4.0.0