appium-uiautomator2-server 11.0.2 → 11.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [11.0.4](https://github.com/appium/appium-android/compare/appium-uiautomator2-server@11.0.3...appium-uiautomator2-server@11.0.4) (2026-11-14)
7
+
8
+ ### Code Refactoring
9
+
10
+ * **uiautomator2-server:** consume the xpath2-processor JitPack artifact ([#117](https://github.com/appium/appium-android/issues/117)) ([d234ae8](https://github.com/appium/appium-android/commit/d234ae89e7cb670a2b5a4c632255c89c5e306f9c))
11
+
12
+
13
+ ## [11.0.3](https://github.com/appium/appium-android/compare/appium-uiautomator2-server@11.0.2...appium-uiautomator2-server@11.0.3) (2026-11-13)
14
+
15
+ ### Code Refactoring
16
+
17
+ * extract the vendored XPath2 processor into a shared xpath2-processor package ([#111](https://github.com/appium/appium-android/issues/111)) ([c1da3bb](https://github.com/appium/appium-android/commit/c1da3bb816cac6c0723dbf2c67ba255f06c58334))
18
+
19
+
6
20
  ## [11.0.2](https://github.com/appium/appium-android/compare/appium-uiautomator2-server@11.0.1...appium-uiautomator2-server@11.0.2) (2026-11-13)
7
21
 
8
22
  **Note:** Version bump only for package appium-uiautomator2-server
package/README.md CHANGED
@@ -41,14 +41,13 @@ Note: AUT apk should be installed before executing above command.
41
41
 
42
42
  ## Development tests
43
43
 
44
- Server JVM unit tests (including XPath 2.0 selector coverage) and the vendored PsychoPath processor suite:
44
+ Server JVM unit tests, including XPath 2.0 selector coverage:
45
45
 
46
46
  ```bash
47
- npm run test:android # rebuilds vendor JAR, runs app unit tests
48
- npm run test:vendor-xpath2 # runs upstream XPath2 processor tests
47
+ npm run test:android
49
48
  ```
50
49
 
51
- The XPath 2.0 engine is vendored from Eclipse WTP; see [`vendor/README.md`](vendor/README.md) for build details, local patches, and troubleshooting.
50
+ The XPath 2.0 engine lives in the shared [`xpath2-processor`](../xpath2-processor/README.md) package, which is consumed as a [JitPack](https://jitpack.io/#appium/appium-android) artifact (pass `-PxpathLocal` to Gradle, or set `XPATH2_LOCAL=1`, to build it from source instead). Its own PsychoPath test suite runs with `npm run test:java --workspace @appium/xpath2-processor`.
52
51
 
53
52
  ## Releases
54
53
 
@@ -57,4 +56,4 @@ Versioned and published by Lerna together with the other monorepo packages (Conv
57
56
  ## Other Sections
58
57
 
59
58
  * [WIKI](https://github.com/appium/appium-uiautomator2-server/wiki)
60
- * [Vendored dependencies](vendor/README.md)
59
+ * [XPath2 processor](../xpath2-processor/README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-server",
3
- "version": "11.0.2",
3
+ "version": "11.0.4",
4
4
  "description": "A netty server with uiautomator2 handlers",
5
5
  "keywords": [
6
6
  "android",
@@ -36,8 +36,7 @@
36
36
  },
37
37
  "scripts": {
38
38
  "bump-gradle-version": "node ./scripts/gradle-version-update.mjs --package-version=${npm_package_version} && git add gradle.properties",
39
- "build-vendor-jar": "./gradlew :vendor-xpath2:jar",
40
- "build": "npm run build-vendor-jar && ./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && npm run sign-apk",
39
+ "build": "./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && npm run sign-apk",
41
40
  "sign-apk": "node ./scripts/sign-apk.mjs",
42
41
  "lint:java": "./gradlew lint",
43
42
  "move-server": "cp app/build/outputs/apk/server/debug/appium-uiautomator2-server-v${npm_package_version}.apk ./apks",
@@ -45,9 +44,8 @@
45
44
  "move-apks": "rm -rf apks && mkdir -p apks && npm run move-server && npm run move-test",
46
45
  "version": "npm run bump-gradle-version",
47
46
  "clean-device": "adb uninstall io.appium.uiautomator2.server && adb uninstall io.appium.uiautomator2.server.test",
48
- "test:vendor-xpath2": "./gradlew :vendor-xpath2:test",
49
47
  "test:e2e": "./scripts/e2e.sh",
50
- "test:android": "npm run build-vendor-jar && ./gradlew testServerDebugUnitTest",
48
+ "test:android": "./gradlew testServerDebugUnitTest",
51
49
  "prepublishOnly": "npm run build"
52
50
  },
53
51
  "devDependencies": {
@@ -59,5 +57,5 @@
59
57
  "node": "^22.22.2 || ^24.15.0 || >=26.0.0",
60
58
  "npm": ">=10"
61
59
  },
62
- "gitHead": "aac10c9dcf69ae45d712bab5066505536a041b22"
60
+ "gitHead": "82a1b766bb1dc088cf99e48cbc3055ebc683fae9"
63
61
  }