Skip to content

Version Packages#1714

Merged
seanmcguire12 merged 1 commit intov2from
changeset-release/v2
Feb 19, 2026
Merged

Version Packages#1714
seanmcguire12 merged 1 commit intov2from
changeset-release/v2

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 19, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.

Releases

@browserbasehq/stagehand@2.5.8

Patch Changes

@browserbasehq/stagehand-evals@1.1.8

Patch Changes

  • Updated dependencies [df76207]:
    • @browserbasehq/stagehand@2.5.8

@browserbasehq/stagehand-examples@1.0.17

Patch Changes

  • Updated dependencies [df76207]:
    • @browserbasehq/stagehand@2.5.8

Summary by cubic

Publish Stagehand 2.5.8 with a fix for “target closed” errors when popups are opened and closed quickly, improving stability. Updated evals (1.1.8) and examples (1.0.17) to depend on this patch.

Written for commit fb39851. Summary will update on new commits. Review in cubic

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 19, 2026

Greptile Summary

Automated version bump to 2.5.8 for the main @browserbasehq/stagehand package and its dependent packages (stagehand-evals 1.1.8, stagehand-examples 1.0.17) following the merge of PR #1710.

  • Deleted the consumed changeset file .changeset/humble-terms-wink.md
  • Updated version numbers in package.json files for all three packages
  • Added properly formatted changelog entries documenting the popup error handling fix
  • Maintained correct dependency references across workspace packages

Confidence Score: 5/5

  • This PR is safe to merge with no risk - it's a standard automated version release
  • All changes are automated and follow the standard Changesets release workflow: version numbers are incremented correctly, changelog entries are properly formatted with references to the originating PR, and the consumed changeset file is removed as expected
  • No files require special attention

Important Files Changed

Filename Overview
package.json Version bumped from 2.5.7 to 2.5.8 for main package
CHANGELOG.md Added changelog entry for version 2.5.8 with popup error handling fix
evals/package.json Version bumped from 1.1.7 to 1.1.8 to track dependency update
examples/package.json Version bumped from 1.0.16 to 1.0.17 to track dependency update

Last reviewed commit: fb39851

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant App as Application (Eval/Example)
    participant SH as Stagehand Core (v2.5.8)
    participant Browser as Browser Engine (Playwright)
    participant Target as Popup / New Tab

    Note over App,Target: Runtime flow for handling rapid popup lifecycle

    App->>SH: act() or extract()
    SH->>Browser: Dispatch interaction
    
    Browser-->>Target: Trigger popup creation
    
    opt Rapid Lifecycle Race Condition
        Target-->>Browser: Target closed/destroyed
    end

    SH->>Target: Attempt to wrap/access target
    
    alt Target Valid
        Target-->>SH: Success
        SH->>App: Interaction complete
    else CHANGED: Target Closed Error
        Target-->>SH: "Target closed" exception
        SH->>SH: CHANGED: Catch and handle error gracefully
        SH-->>App: Return stable state/failure without crash
    end

    Note over App,SH: @browserbasehq/stagehand-evals and examples<br/>now consume these updated error handlers.
Loading

@seanmcguire12 seanmcguire12 merged commit 87a1497 into v2 Feb 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant