appium-uiautomator2-server 10.1.1 → 10.2.1

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
@@ -1,3 +1,15 @@
1
+ ## [10.2.1](https://github.com/appium/appium-uiautomator2-server/compare/v10.2.0...v10.2.1) (2026-05-24)
2
+
3
+ ### Bug Fixes
4
+
5
+ * XPath2 lookup with following/preceding axes ([#769](https://github.com/appium/appium-uiautomator2-server/issues/769)) ([0003d66](https://github.com/appium/appium-uiautomator2-server/commit/0003d66113b0efd3768062e89797961b8816a7d0))
6
+
7
+ ## [10.2.0](https://github.com/appium/appium-uiautomator2-server/compare/v10.1.1...v10.2.0) (2026-05-23)
8
+
9
+ ### Features
10
+
11
+ * Vendor org.eclipse.wst.xml.xpath2.processor lib ([#767](https://github.com/appium/appium-uiautomator2-server/issues/767)) ([4b10e12](https://github.com/appium/appium-uiautomator2-server/commit/4b10e1267ebe4de5bdcdc70ee23860dc3f900e07))
12
+
1
13
  ## [10.1.1](https://github.com/appium/appium-uiautomator2-server/compare/v10.1.0...v10.1.1) (2026-05-22)
2
14
 
3
15
  ### Bug Fixes
package/README.md CHANGED
@@ -39,7 +39,19 @@ you can also invoke the test using below command
39
39
 
40
40
  Note: AUT apk should be installed before executing above command.
41
41
 
42
+ ## Development tests
43
+
44
+ Server JVM unit tests (including XPath 2.0 selector coverage) and the vendored PsychoPath processor suite:
45
+
46
+ ```bash
47
+ npm run test # rebuilds vendor JAR, runs app unit tests
48
+ npm run test:vendor-xpath2 # runs upstream XPath2 processor tests
49
+ ```
50
+
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.
52
+
42
53
  ## Other Sections
43
54
 
44
55
  * [WIKI](https://github.com/appium/appium-uiautomator2-server/wiki)
45
56
  * [Version Release](https://github.com/appium/appium-uiautomator2-server/blob/master/doc/release.md)
57
+ * [Vendored dependencies](vendor/README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-server",
3
- "version": "10.1.1",
3
+ "version": "10.2.1",
4
4
  "description": "A netty server with uiautomator2 handlers",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
@@ -39,7 +39,8 @@
39
39
  "homepage": "https://github.com/appium/appium-uiautomator2-server",
40
40
  "scripts": {
41
41
  "bump-gradle-version": "node ./scripts/gradle-version-update.mjs --package-version=${npm_package_version} && git add gradle.properties",
42
- "build": "./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && npm run sign-apk",
42
+ "build-vendor-jar": "./gradlew :vendor-xpath2:jar",
43
+ "build": "npm run build-vendor-jar && ./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && npm run sign-apk",
43
44
  "sign-apk": "node ./scripts/sign-apk.mjs",
44
45
  "lint:java": "./gradlew lint",
45
46
  "lint": "eslint .",
@@ -49,7 +50,8 @@
49
50
  "move-apks": "rm -rf apks && mkdir -p apks && npm run move-server && npm run move-test",
50
51
  "version": "npm run bump-gradle-version && npm run build",
51
52
  "clean-device": "adb uninstall io.appium.uiautomator2.server && adb uninstall io.appium.uiautomator2.server.test",
52
- "test": "./gradlew testServerDebugUnitTest"
53
+ "test:vendor-xpath2": "./gradlew :vendor-xpath2:test",
54
+ "test": "npm run build-vendor-jar && ./gradlew testServerDebugUnitTest"
53
55
  },
54
56
  "devDependencies": {
55
57
  "@appium/eslint-config-appium-ts": "^3.0.0",