feat: Drop legacy APIs#1137
Open
mykola-mokhnach wants to merge 3 commits into
Open
Conversation
KazuCocoa
approved these changes
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes device uninstall logic, deprecated session teardown helpers, dead code paths, and the
appium-ios-devicedependency from the TypeScript driver layer. WDA lifecycle is now limited to quit (stop processes) and cache-or-skip (reuse an existing instance when compatible).Breaking changes
quitAndUninstall()removed — usequit()only. App uninstall is out of scope for this module.uninstall()removed — WDA must not be uninstalled from this package; callers (e.g. xcuitest-driver) should own that if needed.setupCaching()no longer uninstalls WDA — on bundle-id or version mismatch it logs and skips caching instead of removing apps from the device. Also, it now returns the cached url on success.appium-ios-devicedependency removed — preinstalled WDA on real devices always launches viadevicectl(no iOS < 17Xctestfallback).parseBundleId,fetchWDABundle,isRunning.Other changes
WDA_RUNNER_APPfrom the package entry point (lib/index.ts).lib/appium-ios-device.d.ts(no longer needed).quit()forusePreinstalledWDA: always usessimctl.terminateApp.Migration
await wda.quitAndUninstall()await wda.quit()await wda.uninstall()(if used via cast)setupCaching()to remove mismatched WDAXctestdevice.devicectl(iOS 17+ style launch path)