ترقية appium-geckodriver من 3.x إلى 4.x
مقارنة الواجهة العامة لـ appium-geckodriver بين 3.0.18 و4.0.0، محسوبة تلقائيًا من أنواع TypeScript. التوقيع المعدّل تغيير محتمل غير متوافق، وليس أمرًا مؤكدًا.
الملخص
| مسارات الاستيراد المحذوفة | 0 |
|---|---|
| الصادرات المحذوفة | 1 |
| التوقيعات المعدّلة | 0 |
| أعضاء الأصناف أو الواجهات المحذوفة | 0 |
| أعضاء الأصناف أو الواجهات المعدّلة | 2 |
| موقوفة حديثًا | 0 |
| تغييرات المتطلبات (engines واعتماديات peer) | 2 |
| صادرات جديدة | 0 |
الصادرات المحذوفة
| import | export | kind | قبل |
|---|---|---|---|
appium-geckodriver | default | class | class |
التوقيعات المعدّلة
لم يُكتشف شيء.
أعضاء الأصناف أو الواجهات المحذوفة
لم يُكتشف شيء.
أعضاء الأصناف أو الواجهات المعدّلة
| member | قبل | بعد |
|---|---|---|
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… |
موقوفة حديثًا
لم يُكتشف شيء.
تغييرات المتطلبات (engines واعتماديات peer)
| قبل | بعد | |
|---|---|---|
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 |
سجل التغييرات بين هذين الإصدارين
نص نشره مؤلفو الحزمة، معروض كما هو.
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))زوّد وكيل الذكاء الاصطناعي بهذه البيانات
Vigia خادم MCP مجاني: يتحقق وكيل البرمجة لديك من الإصدارات والتغييرات غير المتوافقة والثغرات قبل أن يكتب الشيفرة. بلا تسجيل ولا مفتاح API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
أضِف إلى Cursorأضِف إلى VS Code★ نجمة على GitHub
أي عميل MCP آخر
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }مهارة للوكلاء (SKILL.md): تخبر الوكيل متى يستخدم Vigia · GitHub Action لطلبات السحب
الأسئلة الشائعة
ما التغييرات غير المتوافقة عند ترقية appium-geckodriver من 3 إلى 4؟
بين appium-geckodriver 3.0.18 و4.0.0 وجد Vigia عدد 1 من الصادرات المحذوفة، و0 من التوقيعات المعدّلة، و2 من أعضاء الأصناف أو الواجهات المحذوفة أو المعدّلة.
ما الذي أصبح موقوفًا في appium-geckodriver 4؟
عُلِّم 0 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في appium-geckodriver 4.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/appium-geckodriver/upgrade?from=3.0.18&to=4.0.0