Passer de appium-safari-driver 5.x à 6.x
Comparaison de l’API publique de appium-safari-driver 5.0.11 et 6.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.
Résumé
| Chemins d’importation supprimés | 0 |
|---|---|
| Exports supprimés | 1 |
| Signatures modifiées | 0 |
| Membres de classes ou d’interfaces supprimés | 0 |
| Membres de classes ou d’interfaces modifiés | 5 |
| Nouvelles dépréciations | 0 |
| Changements d’exigences (engines, dépendances peer) | 2 |
| Nouveaux exports | 0 |
Exports supprimés
| import | export | kind | Avant |
|---|---|---|---|
appium-safari-driver | default | class | class |
Signatures modifiées
Aucun détecté.
Membres de classes ou d’interfaces supprimés
Aucun détecté.
Membres de classes ou d’interfaces modifiés
| member | Avant | Après |
|---|---|---|
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> |
Nouvelles dépréciations
Aucun détecté.
Changements d’exigences (engines, dépendances peer)
| Avant | Après | |
|---|---|---|
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 entre ces versions
Texte publié par les auteurs du paquet, affiché tel quel.
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))Donnez ces données à votre agent IA
Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub
Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests
Questions fréquentes
Quels sont les changements incompatibles en passant de appium-safari-driver 5 à 6 ?
Entre appium-safari-driver 5.0.11 et 6.0.0, Vigia a trouvé 1 exports supprimés, 0 signatures modifiées et 5 membres de classes ou d’interfaces supprimés ou modifiés.
Qu’est-ce qui a été déprécié dans appium-safari-driver 6 ?
0 exports ou membres sont désormais marqués comme dépréciés dans appium-safari-driver 6.0.0.
Pour les agents
GET https://vigia.coredls.cloud/v1/packages/npm/appium-safari-driver/upgrade?from=5.0.11&to=6.0.0