Vigia

Nâng cấp @appium/base-driver từ 10.x lên 11.x

So sánh API công khai của @appium/base-driver 10.8.3 và 11.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa11
Chữ ký thay đổi4
Thành viên lớp hoặc interface bị xóa13
Thành viên lớp hoặc interface thay đổi11
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)1
Export mới15

Export bị xóa

importexportkindTrước
@appium/base-driverserverfunction(opts: ServerOpts): Promise<AppiumServer>
@appium/base-driverJWProxyclassclass
@appium/base-driverdefaultclassclass
@appium/base-driverSTATIC_DIRvariablestring
@appium/base-driverServerOptsinterfaceinterface
@appium/base-driverstatusCodesvariable{ 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-drivererrorFromCodefunction(code: number, value?: string | { message: string; } | undefined): ProtocolError
@appium/base-drivergetSummaryByCodefunction(code: string | number): string
@appium/base-driverdetermineProtocolfunction(createSessionArgs: any[]): "W3C" | "MJSONWP"
@appium/base-drivernormalizeBasePathfunction(basePath: string): string
@appium/base-drivererrorFromMJSONWPStatusCodefunction(code: number, value?: string | { message: string; } | undefined): ProtocolError

Chữ ký thay đổi

exportTrướcSau
@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

Thành viên lớp hoặc interface bị xóa

memberimportTrước
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-driverProtocolConverter
WebDriverProxy.downstreamProtocol@appium/base-driverProtocol | null | undefined
WebDriverProxy._downstreamProtocol@appium/base-driverany
WebDriverProxy.getSessionIdFromUrl@appium/base-driver(url: string): string | null
WebDriverProxy.getProtocolFromResBody@appium/base-driver(resObj: Record<string, unknown>): Protocol | undefined

Thành viên lớp hoặc interface thay đổi

memberTrướcSau
BaseDriver.helperstypeof 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.implicitWaitMsnumberTimeoutValue
BaseDriver.getManagedDrivers(): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[](): Driver[]
DriverCore.helperstypeof import("/pkg/build/lib/basedriver/helpers")typeof import("/pkg/build/lib/basedriver/helpers/index")
DriverCore.getStatus(): Promise<{}>(): Promise<any>
DriverCore.implicitWaitMsnumberTimeoutValue
DriverCore.getManagedDrivers(): Driver<Constraints, StringRecord, StringRecord, any, void, StringRecord>[](): Driver[]
WebDriverProxy.constructor(opts?: any): JWProxy(opts?: any): WebDriverProxy

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
engines.node^20.19.0 || ^22.12.0 || >=24.0.0^22.22.2 || ^24.15.0 || >=26.0.0
Export mới (15)
importexportkind
@appium/base-drivergetProxyReqfunction
@appium/base-drivercalcSignaturefunction
@appium/base-driverJsonParseErrorsclass
@appium/base-driverW3C_TIMEOUTS_MSvariable
@appium/base-driverjsonParseErrorsvariable
@appium/base-driverrunWithProxyReqfunction
@appium/base-driverwithoutProxyReqfunction
@appium/base-driverhandleIdempotencyfunction
@appium/base-driverCheckParamsOptionsinterface
@appium/base-drivermarkResponseEnvelopefunction
@appium/base-driverrunWithCommandTimeoutfunction
@appium/base-driverNEW_COMMAND_TIMEOUT_MSvariable
@appium/base-driverRouteConfiguringFunctiontype
@appium/base-driverisProtocolResponseEnvelopefunction
@appium/base-driverRouteConfiguringFunctionOptsinterface

Cung cấp dữ liệu này cho tác tử AI của bạn

Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.

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

Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub

Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request

Câu hỏi thường gặp

Nâng cấp @appium/base-driver từ 10 lên 11 có những thay đổi không tương thích nào?

Giữa @appium/base-driver 10.8.3 và 11.0.0, Vigia tìm thấy 11 export bị xóa, 4 chữ ký thay đổi và 24 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong @appium/base-driver 11?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong @appium/base-driver 11.0.0.

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/@appium/base-driver/upgrade?from=10.8.3&to=11.0.0