Skip to content

Conversation

@Kylejeong2
Copy link
Member

what

updating to latest version of stagehand

@Kylejeong2 Kylejeong2 requested a review from shrey150 January 22, 2026 22:42
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 22, 2026

Greptile Summary

Updates @browserbasehq/stagehand dependency from version 3.0.3 to 3.0.8, a minor version bump within the same major version.

Key changes:

  • Stagehand version updated from ^3.0.3 to ^3.0.8 in package.json:49
  • Lockfile updated with new transitive dependencies including enhanced Google Vertex AI support (@ai-sdk/google-vertex@3.0.97), updated Anthropic SDK, and new auth libraries
  • New peer dependency constraint for zod updated to ^3.25.76 || ^4.2.0 (was 3.25.67)
  • Removes bufferutil peer dependency from stagehand (now optional)
  • Adds UUID package to stagehand's direct dependencies

This is a routine dependency update that brings bug fixes and improvements from the upstream stagehand library. No source code changes are required, indicating the update maintains backward compatibility.

Confidence Score: 5/5

  • Safe to merge - routine dependency update with no breaking changes
  • This is a straightforward minor version bump (3.0.3 → 3.0.8) within the same major version, maintaining semantic versioning compatibility. No source code changes were needed, confirming backward compatibility. The lockfile changes only add new optional AI provider packages and update transitive dependencies, with no removals of critical dependencies. The peer dependency changes are relaxations (expanding zod support), not restrictions.
  • No files require special attention

Important Files Changed

Filename Overview
package.json Updated @browserbasehq/stagehand from ^3.0.3 to ^3.0.8 to get latest features and fixes
pnpm-lock.yaml Lockfile updated with stagehand 3.0.8 dependencies including new AI SDK packages and Google Vertex support

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Pkg as package.json
    participant Lock as pnpm-lock.yaml
    participant Reg as npm Registry
    participant Stage as @browserbasehq/stagehand
    
    Dev->>Pkg: Update stagehand: ^3.0.3 → ^3.0.8
    Dev->>Lock: Run pnpm install
    Lock->>Reg: Resolve @browserbasehq/stagehand@^3.0.8
    Reg-->>Lock: Return v3.0.8 with dependencies
    Lock->>Reg: Resolve new AI SDK packages
    Note over Lock,Reg: - @ai-sdk/google-vertex@3.0.97<br/>- @ai-sdk/anthropic@2.0.57<br/>- google-auth-library@10.5.0<br/>- Additional transitive deps
    Reg-->>Lock: Return all dependencies
    Lock-->>Dev: Lockfile updated with 417 new lines
    Note over Stage: Now includes enhanced<br/>Google Vertex AI support
Loading

@Kylejeong2 Kylejeong2 merged commit 6f01e8a into main Jan 22, 2026
1 of 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.

3 participants