diff --git a/.changeset/eval-frame-snapshot-maps.md b/.changeset/eval-frame-snapshot-maps.md deleted file mode 100644 index ebc35be0a..000000000 --- a/.changeset/eval-frame-snapshot-maps.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@browserbasehq/stagehand-extension": patch -"@browserbasehq/stagehand-go": patch ---- - -Snapshot references remain valid across same-origin and out-of-process frame captures diff --git a/.changeset/eval-session-ownership.md b/.changeset/eval-session-ownership.md deleted file mode 100644 index a1e259450..000000000 --- a/.changeset/eval-session-ownership.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@browserbasehq/stagehand": patch ---- - -Release a newly created Browserbase session when initial attachment fails, and support upload retries diff --git a/.changeset/iframe-locator-world-readiness.md b/.changeset/iframe-locator-world-readiness.md deleted file mode 100644 index b863f3b91..000000000 --- a/.changeset/iframe-locator-world-readiness.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@browserbasehq/stagehand-extension": patch -"@browserbasehq/stagehand": patch -"@browserbasehq/stagehand-python": patch -"@browserbasehq/stagehand-go": patch ---- - -Fix locator failures when entering loading iframes, and correctly target iframe elements when an XPath ends at the iframe. diff --git a/.changeset/wild-loops-lay.md b/.changeset/wild-loops-lay.md deleted file mode 100644 index 890a2c1dc..000000000 --- a/.changeset/wild-loops-lay.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@browserbasehq/stagehand-python": minor -"@browserbasehq/stagehand-extension": minor -"@browserbasehq/stagehand-protocol": minor -"@browserbasehq/stagehand-go": minor -"@browserbasehq/stagehand": minor ---- - -add page level hooks for webmcp tools added and webmcp tools removed events. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d1228565..b1e721571 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,58 @@ This changelog covers the public Stagehand TypeScript and Python SDKs. Entries before 4.0.0 describe the TypeScript SDK. +## TypeScript SDK 4.2.0 + +### Minor Changes + +- [#2916](https://github.com/browserbase/stagehand/pull/2916) [`476658b`](https://github.com/browserbase/stagehand/commit/476658b595b51f8bfbf5d31dc91f4a65c10ddad6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - add page level hooks for webmcp tools added and webmcp tools removed events. + +### Patch Changes + +- [#2892](https://github.com/browserbase/stagehand/pull/2892) [`0210688`](https://github.com/browserbase/stagehand/commit/02106888668925aedbbf354f22b3ddaceb9c1027) Thanks [@miguelg719](https://github.com/miguelg719)! - Release a newly created Browserbase session when initial attachment fails, and support upload retries + +- [#2978](https://github.com/browserbase/stagehand/pull/2978) [`f3543d3`](https://github.com/browserbase/stagehand/commit/f3543d321e6c0edc800d9e73c79dd9d47f622189) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Fix locator failures when entering loading iframes, and correctly target iframe elements when an XPath ends at the iframe. + +## Python SDK 4.2.0 + +### Minor Changes + +- [#2916](https://github.com/browserbase/stagehand/pull/2916) [`476658b`](https://github.com/browserbase/stagehand/commit/476658b595b51f8bfbf5d31dc91f4a65c10ddad6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - add page level hooks for webmcp tools added and webmcp tools removed events. + +### Patch Changes + +- [#2978](https://github.com/browserbase/stagehand/pull/2978) [`f3543d3`](https://github.com/browserbase/stagehand/commit/f3543d321e6c0edc800d9e73c79dd9d47f622189) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Fix locator failures when entering loading iframes, and correctly target iframe elements when an XPath ends at the iframe. + +## Extension Runtime 1.1.0 + +### Minor Changes + +- [#2916](https://github.com/browserbase/stagehand/pull/2916) [`476658b`](https://github.com/browserbase/stagehand/commit/476658b595b51f8bfbf5d31dc91f4a65c10ddad6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - add page level hooks for webmcp tools added and webmcp tools removed events. + +### Patch Changes + +- [#2896](https://github.com/browserbase/stagehand/pull/2896) [`7919934`](https://github.com/browserbase/stagehand/commit/7919934c24170482dcfab19b882b557c65d8eb61) Thanks [@miguelg719](https://github.com/miguelg719)! - Snapshot references remain valid across same-origin and out-of-process frame captures + +- [#2978](https://github.com/browserbase/stagehand/pull/2978) [`f3543d3`](https://github.com/browserbase/stagehand/commit/f3543d321e6c0edc800d9e73c79dd9d47f622189) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Fix locator failures when entering loading iframes, and correctly target iframe elements when an XPath ends at the iframe. + +## Go SDK 4.2.0 + +### Minor Changes + +- [#2916](https://github.com/browserbase/stagehand/pull/2916) [`476658b`](https://github.com/browserbase/stagehand/commit/476658b595b51f8bfbf5d31dc91f4a65c10ddad6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - add page level hooks for webmcp tools added and webmcp tools removed events. + +### Patch Changes + +- [#2896](https://github.com/browserbase/stagehand/pull/2896) [`7919934`](https://github.com/browserbase/stagehand/commit/7919934c24170482dcfab19b882b557c65d8eb61) Thanks [@miguelg719](https://github.com/miguelg719)! - Snapshot references remain valid across same-origin and out-of-process frame captures + +- [#2978](https://github.com/browserbase/stagehand/pull/2978) [`f3543d3`](https://github.com/browserbase/stagehand/commit/f3543d321e6c0edc800d9e73c79dd9d47f622189) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Fix locator failures when entering loading iframes, and correctly target iframe elements when an XPath ends at the iframe. + +## Protocol 2.1.0 + +### Minor Changes + +- [#2916](https://github.com/browserbase/stagehand/pull/2916) [`476658b`](https://github.com/browserbase/stagehand/commit/476658b595b51f8bfbf5d31dc91f4a65c10ddad6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - add page level hooks for webmcp tools added and webmcp tools removed events. + ## TypeScript SDK 4.1.0 ### Minor Changes diff --git a/packages/extension/package.json b/packages/extension/package.json index 9c0cbc59c..0ab386f35 100644 --- a/packages/extension/package.json +++ b/packages/extension/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-extension", - "version": "1.0.2", + "version": "1.1.0", "private": true, "type": "module", "scripts": { diff --git a/packages/integrations/claude-agent-sdk/package.json b/packages/integrations/claude-agent-sdk/package.json index 56419c0ce..d636570b1 100644 --- a/packages/integrations/claude-agent-sdk/package.json +++ b/packages/integrations/claude-agent-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-claude-agent-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "Claude Agent SDK harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/claude-code/package.json b/packages/integrations/claude-code/package.json index ade0cbee0..419dae8fb 100644 --- a/packages/integrations/claude-code/package.json +++ b/packages/integrations/claude-code/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-example-claude-code-facade", - "version": "4.0.3", + "version": "4.0.4", "private": true, "type": "module", "scripts": { diff --git a/packages/integrations/codex-sdk/package.json b/packages/integrations/codex-sdk/package.json index 66d6ce23f..f3fea6f6e 100644 --- a/packages/integrations/codex-sdk/package.json +++ b/packages/integrations/codex-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-codex-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "Codex SDK harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/codex/package.json b/packages/integrations/codex/package.json index 6095f9d0b..c2672a3a2 100644 --- a/packages/integrations/codex/package.json +++ b/packages/integrations/codex/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-example-codex-facade", - "version": "4.0.3", + "version": "4.0.4", "private": true, "type": "module", "scripts": { diff --git a/packages/integrations/core/package.json b/packages/integrations/core/package.json index d17505aad..e86551240 100644 --- a/packages/integrations/core/package.json +++ b/packages/integrations/core/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations", - "version": "4.0.3", + "version": "4.0.4", "private": true, "description": "Shared integration surfaces for Stagehand V4", "bin": { diff --git a/packages/integrations/cursor-sdk/package.json b/packages/integrations/cursor-sdk/package.json index 36ce32f3c..1fca9843a 100644 --- a/packages/integrations/cursor-sdk/package.json +++ b/packages/integrations/cursor-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-cursor-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "Cursor agent CLI harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/deepagents-sdk/package.json b/packages/integrations/deepagents-sdk/package.json index af7e088a3..bf145ff79 100644 --- a/packages/integrations/deepagents-sdk/package.json +++ b/packages/integrations/deepagents-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-deepagents-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "Deep Agents (LangChain) harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/eve-sdk/package.json b/packages/integrations/eve-sdk/package.json index d6a7f43d5..bfce99f02 100644 --- a/packages/integrations/eve-sdk/package.json +++ b/packages/integrations/eve-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-eve-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "Eve (Vercel) harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/eve/package.json b/packages/integrations/eve/package.json index 221af8927..5a31fa6e1 100644 --- a/packages/integrations/eve/package.json +++ b/packages/integrations/eve/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-example-eve-facade", - "version": "4.0.3", + "version": "4.0.4", "private": true, "type": "module", "scripts": { diff --git a/packages/integrations/fx-sdk/package.json b/packages/integrations/fx-sdk/package.json index bf3640f0d..0a6e7fae9 100644 --- a/packages/integrations/fx-sdk/package.json +++ b/packages/integrations/fx-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-fx-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "fx CLI harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/mastra-sdk/package.json b/packages/integrations/mastra-sdk/package.json index f6ab3e583..c8af5cce8 100644 --- a/packages/integrations/mastra-sdk/package.json +++ b/packages/integrations/mastra-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-mastra-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "Mastra harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/mastra/package.json b/packages/integrations/mastra/package.json index 83bbe40e0..39b2ff78c 100644 --- a/packages/integrations/mastra/package.json +++ b/packages/integrations/mastra/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-example-mastra-facade", - "version": "4.0.3", + "version": "4.0.4", "private": true, "type": "module", "scripts": { diff --git a/packages/integrations/pi-sdk/package.json b/packages/integrations/pi-sdk/package.json index 1d6c8ba15..79ae12b18 100644 --- a/packages/integrations/pi-sdk/package.json +++ b/packages/integrations/pi-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-pi-sdk", - "version": "4.0.2", + "version": "4.0.3", "private": true, "description": "pi (pi-coding-agent) SDK harness adapter for Stagehand integrations", "files": [ diff --git a/packages/integrations/pi/package.json b/packages/integrations/pi/package.json index f2b0afb60..eeab7bd73 100644 --- a/packages/integrations/pi/package.json +++ b/packages/integrations/pi/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-example-pi-facade", - "version": "4.0.3", + "version": "4.0.4", "private": true, "keywords": [ "pi-package" diff --git a/packages/integrations/vercel-ai/package.json b/packages/integrations/vercel-ai/package.json index d5bbc44ba..068bd9229 100644 --- a/packages/integrations/vercel-ai/package.json +++ b/packages/integrations/vercel-ai/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-integrations-example-vercel-ai-facade", - "version": "4.0.3", + "version": "4.0.4", "private": true, "type": "module", "scripts": { diff --git a/packages/protocol/package.json b/packages/protocol/package.json index c5928aa2c..0926965d2 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-protocol", - "version": "2.0.0", + "version": "2.1.0", "private": true, "type": "module", "exports": { diff --git a/packages/sdk-go/internal/extensionassets/stagehand-extension.zip b/packages/sdk-go/internal/extensionassets/stagehand-extension.zip index 71b059db7..40e2bddfb 100644 Binary files a/packages/sdk-go/internal/extensionassets/stagehand-extension.zip and b/packages/sdk-go/internal/extensionassets/stagehand-extension.zip differ diff --git a/packages/sdk-go/package.json b/packages/sdk-go/package.json index 01c45c541..f85895e21 100644 --- a/packages/sdk-go/package.json +++ b/packages/sdk-go/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-go", - "version": "4.1.0", + "version": "4.2.0", "private": true, "description": "Changesets version proxy for the Stagehand Go SDK" } diff --git a/packages/sdk-go/protocol_version.gen.go b/packages/sdk-go/protocol_version.gen.go index 6a66c18cb..919dd15cf 100644 --- a/packages/sdk-go/protocol_version.gen.go +++ b/packages/sdk-go/protocol_version.gen.go @@ -2,4 +2,4 @@ package stagehand -const stagehandProtocolVersion = "2.0.0" +const stagehandProtocolVersion = "2.1.0" diff --git a/packages/sdk-go/sdk_version.gen.go b/packages/sdk-go/sdk_version.gen.go index b9e2bcf64..83b584bdc 100644 --- a/packages/sdk-go/sdk_version.gen.go +++ b/packages/sdk-go/sdk_version.gen.go @@ -2,4 +2,4 @@ package stagehand -const stagehandSDKVersion = "4.1.0" +const stagehandSDKVersion = "4.2.0" diff --git a/packages/sdk-python/package.json b/packages/sdk-python/package.json index 90556d6d0..6bedfd875 100644 --- a/packages/sdk-python/package.json +++ b/packages/sdk-python/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand-python", - "version": "4.1.0", + "version": "4.2.0", "private": true, "description": "Changesets version proxy for the Stagehand Python SDK" } diff --git a/packages/sdk-python/pyproject.toml b/packages/sdk-python/pyproject.toml index 09b2206a1..459c2da92 100644 --- a/packages/sdk-python/pyproject.toml +++ b/packages/sdk-python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stagehand" -version = "4.1.0" +version = "4.2.0" description = "Browserbase's SDK for building browser agents" readme = "README.md" requires-python = ">=3.11" diff --git a/packages/sdk-python/src/stagehand/_generated/protocol_version.py b/packages/sdk-python/src/stagehand/_generated/protocol_version.py index 1c46b1275..61a31f7be 100644 --- a/packages/sdk-python/src/stagehand/_generated/protocol_version.py +++ b/packages/sdk-python/src/stagehand/_generated/protocol_version.py @@ -1,4 +1,4 @@ """Generated from packages/protocol/package.json. Do not edit.""" PROTOCOL_SEMVER_PATTERN = '^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$' -STAGEHAND_PROTOCOL_VERSION = '2.0.0' +STAGEHAND_PROTOCOL_VERSION = '2.1.0' diff --git a/packages/sdk-python/uv.lock b/packages/sdk-python/uv.lock index 32ba0367b..fead5cb29 100644 --- a/packages/sdk-python/uv.lock +++ b/packages/sdk-python/uv.lock @@ -772,7 +772,7 @@ wheels = [ [[package]] name = "stagehand" -version = "4.1.0" +version = "4.2.0" source = { editable = "." } dependencies = [ { name = "browserbase" }, diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index a2e1bf60b..825aeaf28 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,6 +1,6 @@ { "name": "@browserbasehq/stagehand", - "version": "4.1.0", + "version": "4.2.0", "description": "Browserbase's SDK for building browser agents", "keywords": [ "ai",