release: 3.5.1

Closed
ST
9mo ago
+1549-789

Automated Release PR

3.5.1 (2026-01-29)

Full Changelog: v3.5.0...v3.5.1

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


Summary by cubic

Release 3.5.1 promotes the Python package to stable โ€œstagehandโ€ (now MIT-licensed), streamlines the Sessions API, and updates release tooling to publish wheels with the embedded server. It also adds execute-result caching and a new replay response type.

  • New Features

    • Execute: support should_cache and cacheEntry in responses.
    • Added SessionReplayResponse for session replay data.
    • frame_id is now optional across act/extract/observe/navigate.
    • Added pydoll_tab_example; client supports raw/streaming request bodies.
  • Migration

    • Install from PyPI as stagehand (not stagehand-alpha).
    • Use client.sessions.start(...) instead of client.sessions.create(...).
    • End now takes no body; SessionEndParams and x-sent-at are removed.
    • For act options.model, pass an object like {"model_name": "openai/gpt-5-nano"}.
    • GitHub Releases trigger PyPI publish; wheels bundle the server (no manual binary download).