appium-webdriveragent 16.7.0 → 16.7.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,9 @@
1
+ ## [16.7.1](https://github.com/appium/WebDriverAgent/compare/v16.7.0...v16.7.1) (2026-08-23)
2
+
3
+ ### Bug Fixes
4
+
5
+ * return W3C-compliant JSON error for unmatched routes ([#1223](https://github.com/appium/WebDriverAgent/issues/1223)) ([c951a91](https://github.com/appium/WebDriverAgent/commit/c951a91c8202d3c875db04dd633d37b409c80e43))
6
+
1
7
  ## [16.7.0](https://github.com/appium/WebDriverAgent/compare/v16.6.0...v16.7.0) (2026-08-22)
2
8
 
3
9
  ### Features
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>FMWK</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>16.7.0</string>
18
+ <string>16.7.1</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>16.7.0</string>
22
+ <string>16.7.1</string>
23
23
  <key>NSPrincipalClass</key>
24
24
  <string/>
25
25
  </dict>
@@ -8,7 +8,9 @@
8
8
 
9
9
  #import "FBHTTPServer.h"
10
10
 
11
+ #import "FBCommandStatus.h"
11
12
  #import "FBConfiguration.h"
13
+ #import "FBResponsePayload.h"
12
14
  #import "FBTCPSocket.h"
13
15
 
14
16
  static NSData *FBCRLFCRLFData(void)
@@ -318,8 +320,9 @@ static NSData * _Nonnull FBUTF8Data(NSString *string)
318
320
  }
319
321
 
320
322
  RouteResponse *notFound = [RouteResponse new];
321
- notFound.statusCode = kHTTPStatusCodeNotFound;
322
- [notFound respondWithString:@"Not Found"];
323
+ FBCommandStatus *status = [FBCommandStatus unknownCommandErrorWithMessage:nil
324
+ traceback:nil];
325
+ [FBResponseWithStatus(status) dispatchWithResponse:notFound];
323
326
  [self writeResponse:notFound toClient:client];
324
327
  }
325
328
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "16.7.0",
3
+ "version": "16.7.1",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "keywords": [
6
6
  "Appium",