Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Jan 29, 2026

Automated Release PR

3.5.0 (2026-01-29)

Full Changelog: v3.4.8...v3.5.0

Features

  • add auto-bedrock support based on bedrock/provider.model-name (eaded9f)
  • Update stainless.yml for project and publish settings (f90c553)

Bug Fixes

  • docs: fix mcp installation instructions for remote servers (85f8584)

Chores


This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

monadoid and others added 3 commits January 28, 2026 16:11
Removal of x-sent-at from manually maintained helpers, and cleanup of…
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Jan 29, 2026

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/stagehand-python/f90c55378c03c18215d1cdc153f84d587e5048b0/stagehand-3.4.8-py3-none-any.whl'

Expires at: Sat, 28 Feb 2026 19:42:22 GMT
Updated at: Thu, 29 Jan 2026 19:42:22 GMT

Copy link

@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 10 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant User
    participant Client as Stagehand Client
    participant Models as Request Options (FinalRequestOptions)
    participant API as Stagehand API / Local Server
    participant Chrome as Local Chrome Binary

    Note over User, Client: Configuration & Setup
    User->>Client: NEW: copy(local_chrome_path="/path/to/chrome")
    Client->>Client: Instantiate new client with local binary path
    
    Note over User, API: Session Lifecycle
    User->>Client: sessions.start(model={"model_name": "..."})
    
    Client->>Client: Build default headers
    Note right of Client: CHANGED: x-sent-at header removed
    
    Client->>Models: construct(headers, values)
    
    alt Header Processing
        Models->>Models: Iterate provided headers
        Models->>Models: NEW: Preserve 'Omit' values to allow header suppression
        Models->>Models: Strip 'NotGiven' types
    else Other Params
        Models->>Models: strip_not_given(values)
    end
    
    Models-->>Client: FinalRequestOptions
    
    Client->>API: POST /sessions (Structured Model & Updated Headers)
    
    opt Local Execution
        API->>Chrome: Launch using local_chrome_path
    end
    
    API-->>Client: Session Response
    Client-->>User: Session Object

    User->>Client: session.end()
    Client->>API: CHANGED: POST /sessions/{id}/end (x-sent-at removed)
    API-->>Client: SessionEndResponse
    Client-->>User: Success
Loading

@stainless-app stainless-app bot changed the title release: 3.4.9 release: 3.5.0 Jan 29, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 28cf73a to 737e7d3 Compare January 29, 2026 19:42
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 737e7d3 to 53c3585 Compare January 29, 2026 19:42
@stainless-app stainless-app bot merged commit fd7bffe into main Jan 29, 2026
7 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Jan 29, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants