Actualizar appium-geckodriver de 3.x a 4.x
Comparación de la API pública de appium-geckodriver 3.0.18 y 4.0.0, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.
Resumen
| Rutas de importación eliminadas | 0 |
|---|---|
| Exports eliminados | 1 |
| Firmas modificadas | 0 |
| Miembros de clases o interfaces eliminados | 0 |
| Miembros de clases o interfaces modificados | 2 |
| Nuevas deprecaciones | 0 |
| Cambios de requisitos (engines, dependencias peer) | 2 |
| Exports nuevos | 0 |
Exports eliminados
| import | export | kind | Antes |
|---|---|---|---|
appium-geckodriver | default | class | class |
Firmas modificadas
No se detectaron.
Miembros de clases o interfaces eliminados
No se detectaron.
Miembros de clases o interfaces modificados
| member | Antes | Después |
|---|---|---|
GeckoDriver.findElOrEls | (this: GeckoDriver, strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any> | (strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any> |
GeckoDriver.createSession | (w3cCaps1: W3CDriverCaps<{ readonly browserName: { readonly isString: true; }; readonly browserVersion: { readonly isString: true; }; readonly acceptInsecureCerts: { readonly isBoolean: true; }; readonly pageLoadStrategy: { readonly isString: true; }; readonly proxy: { readonly isObject: true; }; re… | (w3cCapabilities: W3CDriverCaps<{ readonly browserName: { readonly isString: true; }; readonly browserVersion: { readonly isString: true; }; readonly acceptInsecureCerts: { readonly isBoolean: true; }; readonly pageLoadStrategy: { readonly isString: true; }; readonly proxy: { readonly isObject: true… |
Nuevas deprecaciones
No se detectaron.
Cambios de requisitos (engines, dependencias peer)
| Antes | Despué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 estas versiones
Texto publicado por los autores del paquete, mostrado tal cual.
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 {GeckoDriver} from 'appium-geckodriver'.
* Command methods live on the prototype: findElOrEls is attached to GeckoDriver.prototype (with declare module typings) rather than being an instance field, so subclasses can call super for it.
### Features
* add Appium 4 support ([#209](https://github.com/appium/appium-geckodriver/issues/209)) ([ad588cf](https://github.com/appium/appium-geckodriver/commit/ad588cffe4be2219ef57f602cf06978286772581))
### Code Refactoring
* use ConditionUnmetError instead of message matching ([#208](https://github.com/appium/appium-geckodriver/issues/208)) ([05bc271](https://github.com/appium/appium-geckodriver/commit/05bc271eb6f559087ed34260f12b981119db2451))Dale estos datos a tu agente de IA
Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Agregar a CursorAgregar a VS Code★ Estrella en GitHub
Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests
Preguntas frecuentes
¿Cuáles son los cambios incompatibles al actualizar appium-geckodriver de 3 a 4?
Entre appium-geckodriver 3.0.18 y 4.0.0, Vigia encontró 1 exports eliminados, 0 firmas modificadas y 2 miembros de clases o interfaces eliminados o modificados.
¿Qué quedó deprecado en appium-geckodriver 4?
0 exports o miembros quedaron marcados como deprecados en appium-geckodriver 4.0.0.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/appium-geckodriver/upgrade?from=3.0.18&to=4.0.0