Skip to content

Releases: browserbase/stagehand

stagehand/server-v3 v3.6.1

10 Mar 01:31
a9424ff

Choose a tag to compare

What's Changed

  • [fix]: rm legacy handlePossibleNavigation() by @seanmcguire12 in #1761
  • [docs]: add docs for context.setExtraHTTPHeaders() by @seanmcguire12 in #1762
  • [STG-1458] server cache docs by @sameelarif in #1753
  • chore: remove retired Claude 3.5 and 3.7 Sonnet models by @shrey150 in #1775
  • fix: expose Vertex headers in public model config types by @shrey150 in #1764
  • [STG-1482] Update caching docs: split into Browserbase Cache and Local Cache sections by @derekmeegan in #1770
  • Solve init script race with Debugger.resume at frame init script injection time by @pirate in #1719
  • [feat]: add page.setExtraHTTPHeaders() by @seanmcguire12 in #1774
  • [feat]: add cdpHeaders option for custom CDP connection headers by @shrey150 in #1779
  • fix: evals CLI link and preserve config by @miguelg719 in #1755
  • [fix]: skip CI jobs requiring secrets on fork PRs by @shrey150 in #1780
  • Allow outside contributors to run CI with secrets when approved by @pirate in #1782
  • Revert "Allow outside contributors to run CI with secrets when approved" by @pirate in #1786
  • Revert "[fix]: skip CI jobs requiring secrets on fork PRs" by @pirate in #1787
  • [feat]: add configurable timeout to agent tools by @tkattkat in #1766
  • Add missing cdpHeaders field to v3 server openapi spec by @pirate in #1797
  • [STG-1536] Split packages/stagehand/server into separate server-v3 and server-v4 dirs by @pirate in #1796
  • [feat]: add browse CLI package by @shrey150 in #1793
  • fix(CI): fix changeset reference to stale server package name blocking CI by @pirate in #1801

Full Changelog: stagehand-server/v3.6.1...stagehand-server-v3/v3.6.1

What's Changed

  • [fix]: rm legacy handlePossibleNavigation() by @seanmcguire12 in #1761
  • [docs]: add docs for context.setExtraHTTPHeaders() by @seanmcguire12 in #1762
  • [STG-1458] server cache docs by @sameelarif in #1753
  • chore: remove retired Claude 3.5 and 3.7 Sonnet models by @shrey150 in #1775
  • fix: expose Vertex headers in public model config types by @shrey150 in #1764
  • [STG-1482] Update caching docs: split into Browserbase Cache and Local Cache sections by @derekmeegan in #1770
  • Solve init script race with Debugger.resume at frame init script injection time by @pirate in #1719
  • [feat]: add page.setExtraHTTPHeaders() by @seanmcguire12 in #1774
  • [feat]: add cdpHeaders option for custom CDP connection headers by @shrey150 in #1779
  • fix: evals CLI link and preserve config by @miguelg719 in #1755
  • [fix]: skip CI jobs requiring secrets on fork PRs by @shrey150 in #1780
  • Allow outside contributors to run CI with secrets when approved by @pirate in #1782
  • Revert "Allow outside contributors to run CI with secrets when approved" by @pirate in #1786
  • Revert "[fix]: skip CI jobs requiring secrets on fork PRs" by @pirate in #1787
  • [feat]: add configurable timeout to agent tools by @tkattkat in #1766
  • Add missing cdpHeaders field to v3 server openapi spec by @pirate in #1797
  • [STG-1536] Split packages/stagehand/server into separate server-v3 and server-v4 dirs by @pirate in #1796
  • [feat]: add browse CLI package by @shrey150 in #1793
  • fix(CI): fix changeset reference to stale server package name blocking CI by @pirate in #1801

Full Changelog: stagehand-server/v3.6.1...stagehand-server-v3/v3.6.1

What's Changed

  • [fix]: rm legacy handlePossibleNavigation() by @seanmcguire12 in #1761
  • [docs]: add docs for context.setExtraHTTPHeaders() by @seanmcguire12 in #1762
  • [STG-1458] server cache docs by @sameelarif in #1753
  • chore: remove retired Claude 3.5 and 3.7 Sonnet models by @shrey150 in #1775
  • fix: expose Vertex headers in public model config types by @shrey150 in #1764
  • [STG-1482] Update caching docs: split into Browserbase Cache and Local Cache sections by @derekmeegan in #1770
  • Solve init script race with Debugger.resume at frame init script injection time by @pirate in #1719
  • [feat]: add page.setExtraHTTPHeaders() by @seanmcguire12 in #1774
  • [feat]: add cdpHeaders option for custom CDP connection headers by @shrey150 in #1779
  • fix: evals CLI link and preserve config by @miguelg719 in #1755
  • [fix]: skip CI jobs requiring secrets on fork PRs by @shrey150 in #1780
  • Allow outside contributors to run CI with secrets when approved by @pirate in #1782
  • Revert "Allow outside contributors to run CI with secrets when approved" by @pirate in #1786
  • Revert "[fix]: skip CI jobs requiring secrets on fork PRs" by @pirate in #1787
  • [feat]: add configurable timeout to agent tools by @tkattkat in #1766
  • Add missing cdpHeaders field to v3 server openapi spec by @pirate in #1797
  • [STG-1536] Split packages/stagehand/server into separate server-v3 and server-v4 dirs by @pirate in #1796
  • [feat]: add browse CLI package by @shrey150 in #1793
  • fix(CI): fix changeset reference to stale server package name blocking CI by @pirate in #1801

Full Changelog: stagehand-server/v3.6.1...stagehand-server-v3/v3.6.1

What's Changed

  • [fix]: rm legacy handlePossibleNavigation() by @seanmcguire12 in #1761
  • [docs]: add docs for context.setExtraHTTPHeaders() by @seanmcguire12 in #1762
  • [STG-1458] server cache docs by @sameelarif in #1753
  • chore: remove retired Claude 3.5 and 3.7 Sonnet models by @shrey150 in #1775
  • fix: expose Vertex headers in public model config types by @shrey150 in #1764
  • [STG-1482] Update caching docs: split into Browserbase Cache and Local Cache sections by @derekmeegan in #1770
  • Solve init script race with Debugger.resume at frame init script injection time by @pirate in #1719
  • [feat]: add page.setExtraHTTPHeaders() by @seanmcguire12 in #1774
  • [feat]: add cdpHeaders option for custom CDP connection headers by @shrey150 in #1779
  • fix: evals CLI link and preserve config by @miguelg719 in #1755
  • [fix]: skip CI jobs requiring secrets on fork PRs by @shrey150 in #1780
  • Allow outside contributors to run CI with secrets when approved by @pirate in #1782
  • Revert "Allow outside contributors to run CI with secrets when approved" by @pirate in #1786
  • Revert "[fix]: skip CI jobs requiring secrets on fork PRs" by @pirate in #1787
  • [feat]: add configurable timeout to agent tools by @tkattkat in #1766
  • Add missing cdpHeaders field to v3 server openapi spec by @pirate in #1797
  • [STG-1536] Split packages/stagehand/server into separate server-v3 and server-v4 dirs by @pirate in #1796
  • [feat]: add browse CLI package by @shrey150 in #1793
  • fix(CI): fix changeset reference to s...
Read more

stagehand/server v3.6.1

25 Feb 23:08
505e8c6

Choose a tag to compare

What's Changed

  • [docs]: add docs for cookie handling by @seanmcguire12 in #1748
  • [docs]: add keepAlive docs by @seanmcguire12 in #1747
  • [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in #1749
  • STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in #1757
  • [fix]: Add bedrock to provider enum in Zod schemas and OpenAPI spec by @shrey150 in #1759

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.1.0...stagehand-server/v3.6.1

What's Changed

  • [docs]: add docs for cookie handling by @seanmcguire12 in #1748
  • [docs]: add keepAlive docs by @seanmcguire12 in #1747
  • [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in #1749
  • STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in #1757
  • [fix]: Add bedrock to provider enum in Zod schemas and OpenAPI spec by @shrey150 in #1759

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.1.0...stagehand-server/v3.6.1

What's Changed

  • [docs]: add docs for cookie handling by @seanmcguire12 in #1748
  • [docs]: add keepAlive docs by @seanmcguire12 in #1747
  • [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in #1749
  • STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in #1757
  • [fix]: Add bedrock to provider enum in Zod schemas and OpenAPI spec by @shrey150 in #1759

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.1.0...stagehand-server/v3.6.1

What's Changed

  • [docs]: add docs for cookie handling by @seanmcguire12 in #1748
  • [docs]: add keepAlive docs by @seanmcguire12 in #1747
  • [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in #1749
  • STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in #1757
  • [fix]: Add bedrock to provider enum in Zod schemas and OpenAPI spec by @shrey150 in #1759

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.1.0...stagehand-server/v3.6.1

What's Changed

  • [docs]: add docs for cookie handling by @seanmcguire12 in #1748
  • [docs]: add keepAlive docs by @seanmcguire12 in #1747
  • [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in #1749
  • STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in #1757
  • [fix]: Add bedrock to provider enum in Zod schemas and OpenAPI spec by @shrey150 in #1759

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.1.0...stagehand-server/v3.6.1

What's Changed

  • [docs]: add docs for cookie handling by @seanmcguire12 in #1748
  • [docs]: add keepAlive docs by @seanmcguire12 in #1747
  • [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in #1749
  • STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in #1757
  • [fix]: Add bedrock to provider enum in Zod schemas and OpenAPI spec by @shrey150 in #1759

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.1.0...stagehand-server/v3.6.1

@browserbasehq/stagehand@3.1.0

24 Feb 23:25
73fd672

Choose a tag to compare

Minor Changes

  • #1681 e3db9aa Thanks @tkattkat! - Add cookie management APIs: context.addCookies(), context.clearCookies(), & context.cookies()

  • #1672 b65756e Thanks @seanmcguire12! - add boolean keepAlive parameter to allow for configuring whether the browser should be closed when stagehand.close() is called.

  • #1708 176d420 Thanks @seanmcguire12! - add context.setExtraHTTPHeaders()

  • #1611 8a3c066 Thanks @monadoid! - Using mode enum instead of old cua boolean in openapi spec

  • #1632 afbd08b Thanks @pirate! - Remove automatic .env loading via dotenv.

    If your app relies on .env files, install dotenv and load it explicitly in your code:

    import dotenv from "dotenv";
    dotenv.config({ path: ".env" });

Patch Changes

  • #1683 7584f3e Thanks @seanmcguire12! - fix: include shadow DOM in .count() & .nth() & support xpath predicates

  • #1644 1e1c9c1 Thanks @monadoid! - Fix unhandled CDP detaches by returning the original sendCDP promise

  • #1729 6bef890 Thanks @shrey150! - fix: support Claude 4.6 (Opus and Sonnet) in CUA mode by using the correct computer_20251124 tool version and computer-use-2025-11-24 beta header

  • #1647 ffd4b33 Thanks @tkattkat! - Fix [Agent] - Address bug causing issues with continuing a conversation from past messages in dom mode

  • #1614 677bff5 Thanks @miguelg719! - Enforce - regex validation on act/observe for elementId

  • #1580 65ff464 Thanks @tkattkat! - Add unified variables support across act and agent with a single VariableValue type

  • #1666 101bcf2 Thanks @Kylejeong2! - add support for codex models

  • #1728 0a94301 Thanks @seanmcguire12! - handle potential race condition on .close() when using the Stagehand API

  • #1664 b27c04d Thanks @seanmcguire12! - fixes issue with context.addInitScript() where scripts were not being applied to out of process iframes (OOPIFs), and popup pages with same process iframes (SPIFs)

  • #1624 0e8d569 Thanks @seanmcguire12! - fix issue where screenshot masks were not being applied to dialog elements

  • #1596 ff0f979 Thanks @tkattkat! - Update usage/metrics handling in agent

  • #1631 2d89d2b Thanks @miguelg719! - Add right and middle click support to act and observe

  • #1697 aac9a19 Thanks @shrey150! - fix: support <frame> elements in XPath frame boundary detection so act() works on legacy <frameset> pages

  • #1692 06de50f Thanks @shrey150! - fix: skip piercer injection for chrome-extension:// and other non-HTML targets

  • #1613 aa4d981 Thanks @miguelg719! - SupportedUnderstudyAction Enum validation for 'method' on act/observe inference

  • #1652 18b1e3b Thanks @miguelg719! - Add support for gemini 3 flash and pro in hybrid/cua agent

  • #1706 957d82b Thanks @chrisreadsf! - Add GLM to prompt-based JSON fallback for models without native structured output support

  • #1633 22e371a Thanks @tkattkat! - Add warning when incorrect models are used with agents hybrid mode

  • #1673 d29b91f Thanks @miguelg719! - Add multi-region support for Stagehand API with region-specific endpoints

  • #1695 7b4f817 Thanks @tkattkat! - Fix: zod bug when pinning zod to v3 and using structured output in agent

  • #1609 3f9ca4d Thanks @miguelg719! - Add SupportedUnderstudyActions to observe system prompt

  • #1581 49ead1e Thanks @sameelarif! - Server-side caching is now available.

    When running env: "BROWSERBASE", Stagehand automatically caches act(), extract(), and observe() results server-side — repeated calls with the same inputs return instantly without consuming LLM tokens.

    Caching is enabled by default and can be disabled via serverCache: false on the Stagehand instance or per individual call. Check out the browserbase blog for more details.

  • #1642 3673369 Thanks @seanmcguire12! - fix issue where scripts added via context.addInitScripts() were not being injected into new pages that were opened via popups (eg, clicking a link that opens a new page) and/or calling context.newPage(url)

  • #1735 c465e87 Thanks @monadoid! - Supports request header authentication with connectToMCPServer

  • #1705 ae533e4 Thanks @seanmcguire12! - include error cause in UnderstudyCommandException

  • #1636 ea33052 Thanks [@miguelg719](http...

Read more

@browserbasehq/stagehand@2.5.8

19 Feb 22:39
87a1497

Choose a tag to compare

Patch Changes

stagehand/server v3.6.0

04 Feb 21:26
f09b184

Choose a tag to compare

What's Changed

Full Changelog: stagehand-server/v3.5.1...stagehand-server/v3.6.0

What's Changed

Full Changelog: stagehand-server/v3.5.1...stagehand-server/v3.6.0

What's Changed

Read more

stagehand/server v3.5.1

24 Jan 01:30
22a0502

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.0.8...stagehand-server/v3.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.0.8...stagehand-server/v3.5.1

@browserbasehq/stagehand@3.0.8

22 Jan 03:37
bf5e818

Choose a tag to compare

Patch Changes

@browserbasehq/stagehand@2.5.7

22 Jan 03:32
60eef53

Choose a tag to compare

Patch Changes

stagehand/server v3.4.0

13 Jan 17:28
e87325b

Choose a tag to compare

What's Changed

  • Removed x-language and x-sdk-version from openapi spec by @monadoid in #1515
  • Using provider/model syntax in modelName examples within openapi spec by @monadoid in #1526
  • Update docs for canonical by @tkattkat in #1519
  • Update version number for new 3.4.0 release by @monadoid in #1529

Full Changelog: stagehand-server/v3.3.0...stagehand-server/v3.4.0

stagehand/server v3.3.0

09 Jan 23:50
191663d

Choose a tag to compare

What's Changed

Full Changelog: https://github.com/browserbase/stagehand/compare/@browserbasehq/stagehand@3.0.7...stagehand-server/v3.3.0