Skip to content

Latest commit

 

History

History
496 lines (218 loc) · 25.4 KB

CHANGELOG.md

File metadata and controls

496 lines (218 loc) · 25.4 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.18.0 (2024-05-27)

Features

  • base-driver: Add the original app link argument to configureApp callbacks (#20035) (3423fd9)

Bug Fixes

  • types: update dependency type-fest to v4.18.2 (#20103) (3b43be1)
  • types: update dependency type-fest to v4.18.3 (#20149) (d5369f8)

0.17.0 (2024-04-21)

Features

  • base-driver: Add onDownload handler to the configureApp helper (#20015) (8cf3efd)

0.16.2 (2024-04-08)

Note: Version bump only for package @appium/types

0.16.1 (2024-02-06)

Bug Fixes

0.16.0 (2024-01-03)

Features

Bug Fixes

0.15.0 (2023-12-18)

Features

  • appium: Load drivers and plugins asynchronously (#19512) (06e7f34)

Bug Fixes

  • appium: Respect the value of no-perms-check server arg (#19518) (22ca747)
  • docutils: remove @appium/typedoc-plugin-appium and all other uses of typedoc (#19465) (7528fcf)
  • types: update definitelytyped (#19373) (39ebb34)
  • types: update dependency type-fest to v4 (#19104) (8bfa1b5)

0.14.3 (2023-12-04)

Bug Fixes

  • support: update definitelytyped (2c02be4)

0.14.2 (2023-11-14)

Bug Fixes

  • support: update definitelytyped (5ae8df3)

0.14.1 (2023-10-19)

Bug Fixes

  • appium: Make sure type definitions are always in sync across modules (#19323) (de39013)
  • support: update definitelytyped (a306ce7)

0.14.0 (2023-10-18)

Features

  • base-driver: Add server support of TLS and SPDY protocols (#19105) (5926919)

Bug Fixes

  • images-plugin: update dependency lru-cache to v10 (#19050) (72a806b)
  • support: update definitelytyped (3b44c7d)
  • support: update definitelytyped (595d460)
  • types: update definitelytyped (96b0a44)

0.13.4 (2023-08-22)

Note: Version bump only for package @appium/types

0.13.3 (2023-08-17)

Bug Fixes

  • types: update dependency type-fest to v3.13.1 (fb34ab9)

0.13.2 (2023-07-03)

Bug Fixes

  • appium: restrict address to ipv6/hostname (#18824) (f09fbb6), closes #18716
  • types,base-driver: remove deviceName from base constraints (01061b2)
  • types: ensure return type of deleteSession can always be void (ee9b2a3)
  • types: fix signature of updateSettings (24e7aec)
  • types: separate the type of opts from initialOpts (d6cca51)
  • types: update some more types to reflect reality (62f4244)

0.13.1 (2023-06-29)

Note: Version bump only for package @appium/types

0.13.0 (2023-06-15)

⚠ BREAKING CHANGES

  • types: This changes the def of findElOrEls and findElOrElsWithProcessing in ExternalDriver in a breaking manner.

So conditional types don't work like how I was using them. They work in capital-T-types (type), but they don't work as return values. Instead, what we should have is an overload. in this case, the function can be called one of two ways, and it returns a different thing depending on those values. unfortunately this is a little hinky to implement, given that overloads are unsupported in object literals. they are supported in function statements or expressions, and they are supported in class definitions, but not object literals. you'll see what needs to happen to make this work in FakeDriver and BaseDriver in subsequent changesets; essentially the function must be defined outside of the object literal and then stuffed in there.

The other change here changes an object type (which does not allow arbitrary properties) to a StringRecord type within the type which converts Constraints to Capabilities. This affects caps for some drivers such as chromedriverArgs in appium-android-driver; anywhere where the constraint has isObject: true.

Bug Fixes

  • types,fake-driver: getLog doesn't necessarily return an array (00ae162)
  • types: use overload instead of broken conditional type in findElOrEls (63a5c22)
  • types: various fixes for reality (81bc527)

0.12.0 (2023-06-14)

Features

  • appium: Allow to provide ipv6 addresses and handle broadcast addresses in logs (#18674) (8f63dab)

Bug Fixes

  • types: update dependency type-fest to v3.11.0 (19277f6)
  • types: update dependency type-fest to v3.11.1 (56499eb)

0.11.1 (2023-05-17)

Bug Fixes

  • types: update dependency type-fest to v3.10.0 (3c4d3ac)
  • types: update dependency type-fest to v3.9.0 (94a207f)

0.11.0 (2023-04-14)

⚠ BREAKING CHANGES

  • types: Driver.proxyCommand now returns Promise<unknown> by default. In strict mode, this forces an extension calling this.proxyCommand() to explicitly type the return value (because it's unknown!).

Otherwise, this concerns the SingularSessionData type and the function which returns it (getSession()). Driver now accepts a type param to add arbitrary properties to the value returned by getSession()--as this is in-line with XCUITestDriver is doing. This param is provided as the new optional second type param to SingularSessionData.

Further, it removes the ISessionCommands interface, because I didn't understand how to write it such that an isolated implementation could use the type parameter from the class it belongs to. This is probably doable, but seems icky, and I didn't want to fight with it. It's easier to just move the implementation into the class itself, which is what will happen in BaseDriver (see next changeset).

Bug Fixes

  • types: driver-specific session data now allowed (91abd5b)

0.10.4 (2023-04-10)

Bug Fixes

  • types: update dependency type-fest to v3.8.0 (d6c42e9)

0.10.3 (2023-04-03)

Bug Fixes

  • types: make getContext & getContexts generic (296c29a)
  • types: update dependency type-fest to v3.7.2 (5580539)

0.10.2 (2023-03-28)

Bug Fixes

  • appium,types,base-driver,fake-driver,driver-test-support: normalize constraint defaults (3c9fa7b)
  • backwards-compatible fixes for TS v5.x (4974403)
  • base-driver,base-plugin,types: update PluginCommand and DriverCommand types (0dcd5fa)
  • base-driver,types: fix websocket-related types on AppiumServer (34891f5)
  • types: fix method map types (5485f0b)
  • types: update dependency type-fest to v3.7.0 (6912fa1)
  • types: update dependency type-fest to v3.7.1 (bc860c7)

0.10.1 (2023-03-08)

Bug Fixes

  • types: callback to implicitWaitForCondition accepts args (5684c4e)
  • types: type fixes & improvements (e2aa3d3)
  • types: update dependency type-fest to v3.6.1 (471a4b5)

0.10.0 (2023-02-24)

Bug Fixes

  • types: base cap webSocketUrl is now a boolean instead of a string. (24fb515)
  • types: update dependency type-fest to v3.5.7 (b4416c5)
  • types: update dependency type-fest to v3.6.0 (08a6f3a)

Features

  • types: add orientation type; add optional ELEMENT prop of Element (ab5b285)

0.9.1 (2023-02-09)

Bug Fixes

  • types: update definitelytyped (172bdae)
  • types: update dependency @types/express to v4.17.16 (644f300)
  • types: update dependency type-fest to v3.5.4 (cfb5297)
  • types: update dependency type-fest to v3.5.5 (9bf320c)
  • types: update dependency type-fest to v3.5.6 (775c990)

0.9.0 (2023-01-23)

Bug Fixes

  • types: update dependency type-fest to v3.5.2 (64fd8ce)
  • types: update dependency type-fest to v3.5.3 (6c4ba8c)

Features

  • base-plugin: add ability for plugins to implement execute methods (84abed9)

0.8.3 (2023-01-13)

Note: Version bump only for package @appium/types

0.8.2 (2023-01-13)

Note: Version bump only for package @appium/types

0.8.1 (2023-01-13)

Note: Version bump only for package @appium/types

0.8.0 (2023-01-13)

Bug Fixes

  • types: update dependency @types/ws to v8.5.4 (6055f16)
  • types: update dependency type-fest to v3.5.0 (8c8bfe8)
  • types: update dependency type-fest to v3.5.1 (4b5ab4d)

Features

  • base-driver: deprecate non-standard routes (7055a0b)
  • typedoc-appium-plugin: implement cross-referencing of methods (8b33414)

0.7.0 (2022-12-21)

Bug Fixes

  • add 'webSocketUrl' as standard cap for bidi support (#17936) (0e195ca)
  • types: update definitelytyped (172fcb9)
  • types: update dependency type-fest to v3.4.0 (37f71c3)

Features

  • base: add get computed role and label in W3C v2 (#17928) (316ecca)

0.6.0 (2022-12-14)

Bug Fixes

  • appium,types: cliArgs is never undefined (e66dbb5)

  • basedriver,types: fix type problems (226cd01)

  • schema: add definition for log filters (09c5901)

  • types: generate constraints via babel (96e30ad)

  • types: update dependency type-fest to v3.2.0 (f5da9f3)

  • types: update dependency type-fest to v3.3.0 (33aef07)

  • types: update webdriverio monorepo to v7.26.0 (2a445ad)

  • chore!: set engines to minimum Node.js v14.17.0 (a1dbe6c)

Features

  • experimental support for typedoc generation (4746080)
  • schema: allow root $schema prop (726a7e1)

BREAKING CHANGES

  • Appium now supports version range ^14.17.0 || ^16.13.0 || >=18.0.0

0.5.0 (2022-10-13)

Bug Fixes

  • types: fix driverForSession declaration (4d7d8e4)

Features

  • types: adds types to derive capabilities from constraints (4abe910)

0.4.1 (2022-09-07)

Bug Fixes

  • types: add inclusionCaseInsensitive to Constraint type (74378cc)
  • types: add missing @types/ws dep (1597037)
  • types: Driver extends ExecuteCommands (#17363) (b594799), closes #17359

0.4.0 (2022-08-10)

Features

  • appium,base-driver,fake-driver,fake-plugin,test-support,types: updateServer receives cliArgs param (d4b9833), closes #17304
  • base-driver,fake-driver,appium: add convenience methods for defining execute script overloads (#17321) (337ec3e)

0.3.1 (2022-08-03)

Bug Fixes

  • appium,base-driver,base-plugin,doctor,docutils,eslint-config-appium,execute-driver-plugin,fake-driver,fake-plugin,gulp-plugins,images-plugin,opencv,relaxed-caps-plugin,schema,support,test-support,types,universal-xml-plugin: update engines (d8d2382)

0.3.0 (2022-07-28)

Bug Fixes

  • appium,types: include @appium/types in appium (a0a6166)

Features

  • appium,base-driver,base-plugin,test-support,types: move test fixtures into test-support (70d88cb)

0.2.5 (2022-05-31)

Note: Version bump only for package @appium/types

0.2.4 (2022-05-31)

Bug Fixes

  • appium: fix extension autoinstall postinstall script (3e2c05d), closes #16924
  • types,base-plugin: fix static prop types for plugins (2289b45)

0.2.3 (2022-05-02)

Note: Version bump only for package @appium/types

0.2.2 (2022-04-20)

Note: Version bump only for package @appium/types

0.2.1 (2022-04-20)

Note: Version bump only for package @appium/types

0.2.0 (2022-04-20)

Bug Fixes

  • base-driver: supportedLogTypes does not get overwritten (ab6dfb3), closes #16738
  • types: fix declaration for AppiumServer['close'] (b8df5b5)

Features

  • base-driver: Add a route for new window creation (#16748) (78a4637)

0.1.1 (2022-04-12)

Note: Version bump only for package @appium/types

0.1.0 (2022-04-07)

Bug Fixes

  • base-driver: Update/simplify the logic for logger prefix (#16683) (a9651d3)
  • types: add method for elementShadowRoot (47b0df0)

Features

  • base-driver: Add more shadow root-related W3C routes (#16700) (d8a9b4d)
  • types: add new @appium/types package (72085ca)