@appium/base-driver upgraden van 10.x naar 11.x
Vergelijking van de publieke API van @appium/base-driver 10.8.3 en 11.0.0, automatisch berekend uit hun TypeScript-types. Een gewijzigde signatuur is een mogelijke brekende wijziging, geen zekerheid.
Samenvatting
| Verwijderde importpaden | 0 |
|---|---|
| Verwijderde exports | 11 |
| Gewijzigde signaturen | 4 |
| Verwijderde leden van klassen of interfaces | 13 |
| Gewijzigde leden van klassen of interfaces | 11 |
| Nieuw als verouderd gemarkeerd | 0 |
| Gewijzigde vereisten (engines, peer-afhankelijkheden) | 1 |
| Nieuwe exports | 15 |
Verwijderde exports
| import | export | kind | Voor |
|---|---|---|---|
@appium/base-driver | server | function | (opts: ServerOpts): Promise<AppiumServer> |
@appium/base-driver | JWProxy | class | class |
@appium/base-driver | default | class | class |
@appium/base-driver | STATIC_DIR | variable | string |
@appium/base-driver | ServerOpts | interface | interface |
@appium/base-driver | statusCodes | variable | { readonly Success: { readonly code: 0; readonly summary: "The command executed successfully."; }; readonly NoSuchDriver: { readonly code: 6; readonly summary: "A session is either terminated or not started"; }; readonly NoSuchElement: { readonly code: 7; readonly summary: "An element could not be located on the page using the given search parameters."; }; readonly NoSuchFrame: { readonly code: 8; readonly summary: "A request to switch to a frame could not be satisfied because the frame could not be found."; }; readonly UnknownCommand: { readonly code: 9; readonly summary: "The requested resou… |
@appium/base-driver | errorFromCode | function | (code: number, value?: string | { message: string; } | undefined): ProtocolError |
@appium/base-driver | getSummaryByCode | function | (code: string | number): string |
@appium/base-driver | determineProtocol | function | (createSessionArgs: any[]): "W3C" | "MJSONWP" |
@appium/base-driver | normalizeBasePath | function | (basePath: string): string |
@appium/base-driver | errorFromMJSONWPStatusCode | function | (code: number, value?: string | { message: string; } | undefined): ProtocolError |
Gewijzigde signaturen
| export | Voor | Na |
|---|---|---|
@appium/base-driver · checkParams | (paramSpec: PayloadParams, args: Record<string, any>, protocol?: "W3C" | "MJSONWP" | undefined): Record<string, any> | (paramSpec: PayloadParams, args: Record<string, any>, options?: CheckParamsOptions | undefined): Record<string, any> |
@appium/base-driver · BIDI_COMMANDS | { readonly session: { readonly subscribe: { readonly command: "bidiSubscribe"; readonly params: { readonly required: readonly ["events"]; readonly optional: readonly ["contexts"]; }; }; readonly unsubscribe: { readonly command: "bidiUnsubscribe"; readonly params: { readonly optional: readonly ["events", "contexts", "subscriptions"]; }; }; readonly status: { readonly command: "bidiStatus"; readonly params: {}; }; }; readonly browsingContext: { readonly navigate: { readonly command: "bidiNavigate"; readonly params: { readonly required: readonly ["context", "url"]; readonly optional: readonly ["w… | { readonly session: { readonly status: { readonly command: "bidiStatus"; readonly params: {}; }; readonly new: { readonly command: "bidiSessionNew"; readonly params: { readonly required: readonly ["capabilities"]; }; }; readonly end: { readonly command: "bidiSessionEnd"; readonly params: {}; }; readonly subscribe: { readonly command: "bidiSubscribe"; readonly params: { readonly required: readonly ["events"]; readonly optional: readonly ["contexts", "userContexts"]; }; }; readonly unsubscribe: { readonly command: "bidiUnsubscribe"; readonly params: { readonly required: readonly [readonly ["subs… |
@appium/base-driver · errorFromW3CJsonCode | (signature: string, message: string, stacktrace?: string | undefined): ProtocolError | (signature: string, message: string, stacktrace?: string | undefined, data?: Record<string, unknown> | undefined): ProtocolError |
@appium/base-driver · generateDriverLogPrefix | (obj: object | null, _sessionId?: string | null | undefined): string | (obj: object | null): string |
Verwijderde leden van klassen of interfaces
| member | import | Voor |
|---|---|---|
BaseDriver.reset | @appium/base-driver | (): Promise<void> |
BaseDriver.driverData | @appium/base-driver | {} |
BaseDriver.getSession | @appium/base-driver | (): Promise<SingularSessionData<C, SessionData>> |
BaseDriver.isMjsonwpProtocol | @appium/base-driver | (): boolean |
BaseDriver.setProtocolMJSONWP | @appium/base-driver | (): void |
DriverCore.driverData | @appium/base-driver | {} |
DriverCore.isMjsonwpProtocol | @appium/base-driver | (): boolean |
DriverCore.setProtocolMJSONWP | @appium/base-driver | (): void |
WebDriverProxy.protocolConverter | @appium/base-driver | ProtocolConverter |
WebDriverProxy.downstreamProtocol | @appium/base-driver | Protocol | null | undefined |
WebDriverProxy._downstreamProtocol | @appium/base-driver | any |
WebDriverProxy.getSessionIdFromUrl | @appium/base-driver | (url: string): string | null |
WebDriverProxy.getProtocolFromResBody | @appium/base-driver | (resObj: Record<string, unknown>): Protocol | undefined |
Gewijzigde leden van klassen of interfaces
| member | Voor | Na |
|---|---|---|
BaseDriver.helpers | typeof import("/pkg/build/lib/basedriver/helpers") | typeof import("/pkg/build/lib/basedriver/helpers/index") |
BaseDriver.getStatus | (): Promise<{}> | (): Promise<any> |
BaseDriver.constructor | <const C extends Constraints, CArgs extends StringRecord = StringRecord, Settings extends StringRecord = StringRecord, CreateResult = DefaultCreateSessionResult<C>, DeleteResult = DefaultDeleteSessionResult, SessionData extends StringRecord = StringRecord>(opts: InitialOpts, shouldValidateCaps?: boo… | <const C extends Constraints, CArgs extends StringRecord = StringRecord, Settings extends StringRecord = StringRecord, CreateResult = DefaultCreateSessionResult<C>, DeleteResult = DefaultDeleteSessionResult>(opts?: any, shouldValidateCaps?: boolean | undefined): BaseDriver<C, CArgs, Settings, Create… |
BaseDriver.createSession | (w3cCapabilities: W3CDriverCaps<C>): Promise<CreateResult> | (...legacyArgs: LegacyCreateSessionArgs<C>): Promise<CreateResult> | (w3cCapabilities: W3CDriverCaps<C>): Promise<CreateResult> |
BaseDriver.implicitWaitMs | number | TimeoutValue |
BaseDriver.getManagedDrivers | (): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[] | (): Driver[] |
DriverCore.helpers | typeof import("/pkg/build/lib/basedriver/helpers") | typeof import("/pkg/build/lib/basedriver/helpers/index") |
DriverCore.getStatus | (): Promise<{}> | (): Promise<any> |
DriverCore.implicitWaitMs | number | TimeoutValue |
DriverCore.getManagedDrivers | (): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[] | (): Driver[] |
WebDriverProxy.constructor | (opts?: any): JWProxy | (opts?: any): WebDriverProxy |
Nieuw als verouderd gemarkeerd
Niets gevonden.
Gewijzigde vereisten (engines, peer-afhankelijkheden)
| Voor | Na | |
|---|---|---|
engines.node | ^20.19.0 || ^22.12.0 || >=24.0.0 | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Nieuwe exports (15)
| import | export | kind |
|---|---|---|
@appium/base-driver | getProxyReq | function |
@appium/base-driver | calcSignature | function |
@appium/base-driver | JsonParseErrors | class |
@appium/base-driver | W3C_TIMEOUTS_MS | variable |
@appium/base-driver | jsonParseErrors | variable |
@appium/base-driver | runWithProxyReq | function |
@appium/base-driver | withoutProxyReq | function |
@appium/base-driver | handleIdempotency | function |
@appium/base-driver | CheckParamsOptions | interface |
@appium/base-driver | markResponseEnvelope | function |
@appium/base-driver | runWithCommandTimeout | function |
@appium/base-driver | NEW_COMMAND_TIMEOUT_MS | variable |
@appium/base-driver | RouteConfiguringFunction | type |
@appium/base-driver | isProtocolResponseEnvelope | function |
@appium/base-driver | RouteConfiguringFunctionOpts | interface |
Geef je AI-agent deze feiten
Vigia is een gratis MCP-server: je coding-agent controleert versies, breaking changes en kwetsbaarheden voordat hij code schrijft. Geen account, geen API-sleutel.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Toevoegen aan CursorToevoegen aan VS Code★ Ster op GitHub
Elke andere MCP-client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent-skill (SKILL.md): vertelt de agent wanneer hij Vigia moet gebruiken · GitHub Action voor pull requests
Veelgestelde vragen
Wat zijn de brekende wijzigingen bij het upgraden van @appium/base-driver van 10 naar 11?
Tussen @appium/base-driver 10.8.3 en 11.0.0 vond Vigia 11 verwijderde exports, 4 gewijzigde signaturen en 24 verwijderde of gewijzigde leden van klassen of interfaces.
Wat is verouderd in @appium/base-driver 11?
0 exports of leden zijn in @appium/base-driver 11.0.0 nieuw als verouderd gemarkeerd.
Voor agents
GET https://vigia.coredls.cloud/v1/packages/npm/@appium/base-driver/upgrade?from=10.8.3&to=11.0.0