Vigia

Aggiornare appium-safari-driver da 5.x a 6.x

Confronto dell’API pubblica di appium-safari-driver 5.0.11 e 6.0.0, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.

Riepilogo

Percorsi di import rimossi0
Export rimossi1
Firme modificate0
Membri di classi o interfacce rimossi0
Membri di classi o interfacce modificati5
Nuove deprecazioni0
Requisiti cambiati (engines, dipendenze peer)2
Nuovi export0

Export rimossi

importexportkindPrima
appium-safari-driverdefaultclassclass

Firme modificate

Nessuna rilevata.

Membri di classi o interfacce rimossi

Nessuna rilevata.

Membri di classi o interfacce modificati

memberPrimaDopo
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>

Nuove deprecazioni

Nessuna rilevata.

Requisiti cambiati (engines, dipendenze peer)

PrimaDopo
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 tra queste versioni

Testo pubblicato dagli autori del pacchetto, mostrato così com’è.

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))

Dai questi dati al tuo agente IA

Vigia è un server MCP gratuito: il tuo agente di programmazione verifica versioni, modifiche incompatibili e vulnerabilità prima di scrivere codice. Senza registrazione né chiave API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Aggiungi a CursorAggiungi a VS Code★ Stella su GitHub

Qualsiasi altro client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill per agenti (SKILL.md): dice all'agente quando usare Vigia · GitHub Action per le pull request

Domande frequenti

Quali sono le modifiche incompatibili aggiornando appium-safari-driver da 5 a 6?

Tra appium-safari-driver 5.0.11 e 6.0.0, Vigia ha trovato 1 export rimossi, 0 firme modificate e 5 membri di classi o interfacce rimossi o modificati.

Cosa è stato deprecato in appium-safari-driver 6?

0 export o membri risultano ora deprecati in appium-safari-driver 6.0.0.

Per gli agenti

GET https://vigia.coredls.cloud/v1/packages/npm/appium-safari-driver/upgrade?from=5.0.11&to=6.0.0