Skip to content

release: 3.20.0#341

Open
stainless-app[bot] wants to merge 3 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 3.20.0#341
stainless-app[bot] wants to merge 3 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Apr 8, 2026

Automated Release PR

3.20.0 (2026-04-08)

Full Changelog: v3.19.5...v3.20.0

Features

  • Bedrock auth passthrough (9463fa4)

Bug Fixes

  • client: preserve hardcoded query params when merging with user params (feac39d)

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

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Apr 8, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/stagehand-python/9463fa49cb839abbb2c6a1adb0d053e5006216a7/stagehand-3.19.5-py3-none-any.whl'

Expires at: Fri, 08 May 2026 18:23:44 GMT
Updated at: Wed, 08 Apr 2026 18:23:44 GMT

Copy link
Copy Markdown

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

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant User as User/Service
    participant Client as Stagehand Client
    participant Build as _build_request()
    participant HTTPX as httpx.Request

    Note over User,HTTPX: Request Preparation Flow

    User->>Client: call_api(url="/path?fixed=1", params={"user": "2"})
    Client->>Build: Initialize request construction
    
    Build->>Build: _prepare_url(options.url)
    
    alt NEW: Both URL query and params dictionary exist
        Note right of Build: Merging logic to prevent parameter loss
        Build->>Build: CHANGED: Extract params from URL string
        Build->>Build: CHANGED: Merge URL params with user params dict
        Build->>Build: CHANGED: Strip query from raw_path (prevent duplication)
    else Only URL query or only params dict
        Build->>Build: Use standard httpx parameter handling
    end

    Build->>HTTPX: Create Request object
    HTTPX-->>Build: request (with merged query string)
    Build-->>Client: Prepared request
    Client->>User: Execute and return response
Loading

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2120746 to b089641 Compare April 8, 2026 18:23
@stainless-app stainless-app bot changed the title release: 3.19.6 release: 3.20.0 Apr 8, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b089641 to df7d0c4 Compare April 8, 2026 18:23
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.

0 participants