From 805e7fbe8305f20ef612e8be03c712c71a24cb15 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Jul 2026 13:28:55 +0000 Subject: [PATCH] Version Packages --- .changeset/fix-webdriverio-peer-to-dep-v8.md | 5 ----- .changeset/port-screenshot-on-failure-v8.md | 5 ----- .../port-v8-missing-monorepo-commits.md | 10 --------- .changeset/take-over-publishing.md | 8 ------- packages/browserstack-service/CHANGELOG.md | 21 +++++++++++++++++++ packages/browserstack-service/package.json | 2 +- 6 files changed, 22 insertions(+), 29 deletions(-) delete mode 100644 .changeset/fix-webdriverio-peer-to-dep-v8.md delete mode 100644 .changeset/port-screenshot-on-failure-v8.md delete mode 100644 .changeset/port-v8-missing-monorepo-commits.md delete mode 100644 .changeset/take-over-publishing.md create mode 100644 packages/browserstack-service/CHANGELOG.md diff --git a/.changeset/fix-webdriverio-peer-to-dep-v8.md b/.changeset/fix-webdriverio-peer-to-dep-v8.md deleted file mode 100644 index cf1fa5d..0000000 --- a/.changeset/fix-webdriverio-peer-to-dep-v8.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wdio/browserstack-service": patch ---- - -Declare `webdriverio` as a dependency instead of a peerDependency, matching the v8 package published from the WebdriverIO monorepo (`@wdio/browserstack-service@8.48.3` keeps `webdriverio` in `dependencies` at `8.46.0`, peering only `@wdio/cli`). The extraction had moved it into `peerDependencies` (`^8.0.0`), which forces the consumer's `webdriverio` and can `npm ERESOLVE` against a dep peering a non-overlapping `webdriverio` range. Restores install parity with the upstream v8 package; no user-facing API change. diff --git a/.changeset/port-screenshot-on-failure-v8.md b/.changeset/port-screenshot-on-failure-v8.md deleted file mode 100644 index 3be9123..0000000 --- a/.changeset/port-screenshot-on-failure-v8.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wdio/browserstack-service": patch ---- - -Port SDK-6277 (upstream webdriverio/webdriverio#15330): in the CLI/binary (v8) flow, forward screenshot-on-failure to the binary over gRPC as a `TEST_SCREENSHOT` log (the binary uploads it via its own authorized testhub session) instead of the direct-HTTP `onScreenshot` path, which 401s under the worker's binary-issued JWT. Also registers the command/result listeners in CLI mode so the user's `saveScreenshot()`/`takeScreenshot()` result is captured, and honors the incoming log `kind` in the mocha CLI framework so screenshots route correctly. Keeps the standalone v8 line at parity with the monorepo. diff --git a/.changeset/port-v8-missing-monorepo-commits.md b/.changeset/port-v8-missing-monorepo-commits.md deleted file mode 100644 index 66f3275..0000000 --- a/.changeset/port-v8-missing-monorepo-commits.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@wdio/browserstack-service": patch ---- - -Port missing upstream monorepo (webdriverio/webdriverio) v8 commits to keep the standalone v8 line at parity: - -- webdriverio/webdriverio#15231 — Test Management: add `testManagementOptions.testPlanId` support (env `BROWSERSTACK_TEST_PLAN_ID` / `--browserstack.testManagementOptions.testPlanId` CLI arg / config), forward `test_management.test_plan_id` in the build-start request, strip CLI-only caps (`NOT_ALLOWED_KEYS_IN_CAPS`, incl. `testManagementOptions`) before hitting the hub, and surface build-start errors. -- webdriverio/webdriverio#15217 — gRPC: raise the send/receive message size limit to 20 MB to accommodate large extension payloads. -- webdriverio/webdriverio#15146 — Exit handling: terminate the CLI process with `SIGINT` instead of `SIGKILL` on Unix. -- webdriverio/webdriverio#15200 — Logging: redact credentials (username/accesskey/user/key) from CLI log output before writing to file and console. diff --git a/.changeset/take-over-publishing.md b/.changeset/take-over-publishing.md deleted file mode 100644 index a7b8de6..0000000 --- a/.changeset/take-over-publishing.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@wdio/browserstack-service": minor ---- - -BrowserStack now publishes `@wdio/browserstack-service` from its own repository -(`browserstack/wdio-browserstack-service`) on an independent release cadence, using npm OIDC -trusted publishing. No change for end users — same package name and the same -`services: ['browserstack']` configuration continue to work unchanged. diff --git a/packages/browserstack-service/CHANGELOG.md b/packages/browserstack-service/CHANGELOG.md new file mode 100644 index 0000000..30e11b1 --- /dev/null +++ b/packages/browserstack-service/CHANGELOG.md @@ -0,0 +1,21 @@ +# @wdio/browserstack-service + +## 8.49.0 + +### Minor Changes + +- 46ee119: BrowserStack now publishes `@wdio/browserstack-service` from its own repository + (`browserstack/wdio-browserstack-service`) on an independent release cadence, using npm OIDC + trusted publishing. No change for end users — same package name and the same + `services: ['browserstack']` configuration continue to work unchanged. + +### Patch Changes + +- f78d091: Declare `webdriverio` as a dependency instead of a peerDependency, matching the v8 package published from the WebdriverIO monorepo (`@wdio/browserstack-service@8.48.3` keeps `webdriverio` in `dependencies` at `8.46.0`, peering only `@wdio/cli`). The extraction had moved it into `peerDependencies` (`^8.0.0`), which forces the consumer's `webdriverio` and can `npm ERESOLVE` against a dep peering a non-overlapping `webdriverio` range. Restores install parity with the upstream v8 package; no user-facing API change. +- 29be3ed: Port SDK-6277 (upstream webdriverio/webdriverio#15330): in the CLI/binary (v8) flow, forward screenshot-on-failure to the binary over gRPC as a `TEST_SCREENSHOT` log (the binary uploads it via its own authorized testhub session) instead of the direct-HTTP `onScreenshot` path, which 401s under the worker's binary-issued JWT. Also registers the command/result listeners in CLI mode so the user's `saveScreenshot()`/`takeScreenshot()` result is captured, and honors the incoming log `kind` in the mocha CLI framework so screenshots route correctly. Keeps the standalone v8 line at parity with the monorepo. +- cc229fe: Port missing upstream monorepo (webdriverio/webdriverio) v8 commits to keep the standalone v8 line at parity: + + - webdriverio/webdriverio#15231 — Test Management: add `testManagementOptions.testPlanId` support (env `BROWSERSTACK_TEST_PLAN_ID` / `--browserstack.testManagementOptions.testPlanId` CLI arg / config), forward `test_management.test_plan_id` in the build-start request, strip CLI-only caps (`NOT_ALLOWED_KEYS_IN_CAPS`, incl. `testManagementOptions`) before hitting the hub, and surface build-start errors. + - webdriverio/webdriverio#15217 — gRPC: raise the send/receive message size limit to 20 MB to accommodate large extension payloads. + - webdriverio/webdriverio#15146 — Exit handling: terminate the CLI process with `SIGINT` instead of `SIGKILL` on Unix. + - webdriverio/webdriverio#15200 — Logging: redact credentials (username/accesskey/user/key) from CLI log output before writing to file and console. diff --git a/packages/browserstack-service/package.json b/packages/browserstack-service/package.json index bac3449..d31bf6a 100644 --- a/packages/browserstack-service/package.json +++ b/packages/browserstack-service/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/browserstack-service", - "version": "8.48.0", + "version": "8.49.0", "description": "WebdriverIO service for better Browserstack integration", "author": "BrowserStack ", "homepage": "https://github.com/browserstack/wdio-browserstack-service/tree/v8/packages/browserstack-service",