Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: Deprecate obsolete endpoints #1955

Merged
merged 3 commits into from
Sep 5, 2023

Conversation

mykola-mokhnach
Copy link
Contributor

@mykola-mokhnach mykola-mokhnach commented Sep 2, 2023

BREAKING CHANGE: The includeDeviceCapsToSessionInfo capability has no effect now
BREAKING CHANGE: The obsolete getSession API does not return any extra driver-specific data anymore (e.g. statBarHeight, pixelRatio, viewportRect)
BREAKING CHANGE: Obsolete reset, launchApp and closeApp APIs now throw errors on invocation
BREAKING CHANGE: The minimum node version changed to 16

Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, will see later again

* This is a library command but needs to call 'super' so can't be on
* a helper object
*/
async getSession() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, we should still keep the endpoint itself as inspector usage, but no need to return WDA specific, afaik

@mykola-mokhnach mykola-mokhnach merged commit 047a4f0 into appium:master Sep 5, 2023
16 of 18 checks passed
@mykola-mokhnach mykola-mokhnach deleted the info_ret branch September 5, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants