All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.18.0 (2024-05-27)
- 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)
0.16.2 (2024-04-08)
Note: Version bump only for package @appium/types
0.16.1 (2024-02-06)
- types: update dependency type-fest to v4.10 (#19694) (966d305)
- types: update dependency type-fest to v4.10.1 (#19703) (501395c)
0.16.0 (2024-01-03)
- add webdriver bidi support (2b21e66)
- appium,support: Add common shortcuts for doctor checks (#19562) (893b9e1)
- appium: Make doctor extensible (#19542) (a30286b)
0.15.0 (2023-12-18)
- appium: Respect the value of no-perms-check server arg (#19518) (22ca747)
- docutils: remove
@appium/typedoc-plugin-appium
and all other uses oftypedoc
(#19465) (7528fcf) - types: update definitelytyped (#19373) (39ebb34)
- types: update dependency type-fest to v4 (#19104) (8bfa1b5)
0.14.3 (2023-12-04)
- support: update definitelytyped (2c02be4)
0.14.2 (2023-11-14)
- support: update definitelytyped (5ae8df3)
0.14.1 (2023-10-19)
- appium: Make sure type definitions are always in sync across modules (#19323) (de39013)
- support: update definitelytyped (a306ce7)
0.14.0 (2023-10-18)
- 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)
- types: update dependency type-fest to v3.13.1 (fb34ab9)
0.13.2 (2023-07-03)
- 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)
- types: This changes the def of
findElOrEls
andfindElOrElsWithProcessing
inExternalDriver
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
.
- 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)
- 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)
- 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)
- types:
Driver.proxyCommand
now returnsPromise<unknown>
by default. In strict mode, this forces an extension callingthis.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).
- types: driver-specific session data now allowed (91abd5b)
0.10.4 (2023-04-10)
- types: update dependency type-fest to v3.8.0 (d6c42e9)
0.10.3 (2023-04-03)
- types: make getContext & getContexts generic (296c29a)
- types: update dependency type-fest to v3.7.2 (5580539)
0.10.2 (2023-03-28)
- 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)
- 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)
- 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)
- types: add orientation type; add optional ELEMENT prop of Element (ab5b285)
0.9.1 (2023-02-09)
- 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)
- types: update dependency type-fest to v3.5.2 (64fd8ce)
- types: update dependency type-fest to v3.5.3 (6c4ba8c)
- 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)
- 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)
- base-driver: deprecate non-standard routes (7055a0b)
- typedoc-appium-plugin: implement cross-referencing of methods (8b33414)
0.7.0 (2022-12-21)
- add 'webSocketUrl' as standard cap for bidi support (#17936) (0e195ca)
- types: update definitelytyped (172fcb9)
- types: update dependency type-fest to v3.4.0 (37f71c3)
0.6.0 (2022-12-14)
-
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)
- Appium now supports version range
^14.17.0 || ^16.13.0 || >=18.0.0
0.5.0 (2022-10-13)
- types: fix driverForSession declaration (4d7d8e4)
- types: adds types to derive capabilities from constraints (4abe910)
0.4.1 (2022-09-07)
- 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)
- 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)
- 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)
- appium,types: include @appium/types in appium (a0a6166)
- 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)
- 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)
- base-driver: supportedLogTypes does not get overwritten (ab6dfb3), closes #16738
- types: fix declaration for AppiumServer['close'] (b8df5b5)
0.1.1 (2022-04-12)
Note: Version bump only for package @appium/types