Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.10.0"
".": "1.11.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 23
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-466614a040e7f31307530bd6ba443e714b6303eaa141904e7d32e6641d5ec55f.yml
openapi_spec_hash: 2d06680e7c17847e4fbcac35124d2456
config_hash: 40fbac80e24faaa0dc19e93368bcd821
configured_endpoints: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-3032c74460ad9c1c4b0a1b2d9107c556f292974a8ce12d525660a9cf31f10bc1.yml
openapi_spec_hash: 8ac1c673ce4e72b88bbbf30100b95e8f
config_hash: cf04ecfb8dad5fbd8b85be25d6e9ec55
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.11.0 (2026-05-19)

Full Changelog: [v1.10.0...v1.11.0](https://github.com/browserbase/sdk-python/compare/v1.10.0...v1.11.0)

### Features

* [AI-1972] - Move fetch v2 handler into /v1/fetch ([de76605](https://github.com/browserbase/sdk-python/commit/de766051f87c90c307b93f0614b2df48fd4d4ee9))
* [AI-1993] - Surface structured JSON content on /v2/fetch ([97f1c02](https://github.com/browserbase/sdk-python/commit/97f1c02a520d433abe467b11a04f7fbab85fd3f3))

## 1.10.0 (2026-05-13)

Full Changelog: [v1.9.0...v1.10.0](https://github.com/browserbase/sdk-python/compare/v1.9.0...v1.10.0)
Expand Down
13 changes: 0 additions & 13 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,3 @@ from browserbase.types.sessions import UploadCreateResponse
Methods:

- <code title="post /v1/sessions/{id}/uploads">client.sessions.uploads.<a href="./src/browserbase/resources/sessions/uploads.py">create</a>(id, \*\*<a href="src/browserbase/types/sessions/upload_create_params.py">params</a>) -> <a href="./src/browserbase/types/sessions/upload_create_response.py">UploadCreateResponse</a></code>

## Replays

Types:

```python
from browserbase.types.sessions import ReplayRetrieveResponse
```

Methods:

- <code title="get /v1/sessions/{id}/replays">client.sessions.replays.<a href="./src/browserbase/resources/sessions/replays.py">retrieve</a>(id) -> <a href="./src/browserbase/types/sessions/replay_retrieve_response.py">ReplayRetrieveResponse</a></code>
- <code title="get /v1/sessions/{id}/replays/{pageId}">client.sessions.replays.<a href="./src/browserbase/resources/sessions/replays.py">retrieve_page</a>(page_id, \*, id) -> BinaryAPIResponse</code>
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "browserbase"
version = "1.10.0"
version = "1.11.0"
description = "The official Python library for the Browserbase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/browserbase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "browserbase"
__version__ = "1.10.0" # x-release-please-version
__version__ = "1.11.0" # x-release-please-version
25 changes: 25 additions & 0 deletions src/browserbase/resources/fetch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

from __future__ import annotations

from typing import Dict
from typing_extensions import Literal

import httpx

from ..types import fetch_api_create_params
Expand Down Expand Up @@ -47,7 +50,9 @@ def create(
url: str,
allow_insecure_ssl: bool | Omit = omit,
allow_redirects: bool | Omit = omit,
format: Literal["raw", "json", "markdown"] | Omit = omit,
proxies: bool | Omit = omit,
schema: Dict[str, object] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -65,8 +70,15 @@ def create(

allow_redirects: Whether to follow HTTP redirects

format: Output format for the response content. `raw` (default) returns the response
body unchanged; `json` returns structured data (requires `schema`); `markdown`
returns the page as markdown.

proxies: Whether to enable proxy support for the request

schema: JSON Schema describing the desired structure of the response. Only used when
`format` is `json`.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -82,7 +94,9 @@ def create(
"url": url,
"allow_insecure_ssl": allow_insecure_ssl,
"allow_redirects": allow_redirects,
"format": format,
"proxies": proxies,
"schema": schema,
},
fetch_api_create_params.FetchAPICreateParams,
),
Expand Down Expand Up @@ -119,7 +133,9 @@ async def create(
url: str,
allow_insecure_ssl: bool | Omit = omit,
allow_redirects: bool | Omit = omit,
format: Literal["raw", "json", "markdown"] | Omit = omit,
proxies: bool | Omit = omit,
schema: Dict[str, object] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -137,8 +153,15 @@ async def create(

allow_redirects: Whether to follow HTTP redirects

format: Output format for the response content. `raw` (default) returns the response
body unchanged; `json` returns structured data (requires `schema`); `markdown`
returns the page as markdown.

proxies: Whether to enable proxy support for the request

schema: JSON Schema describing the desired structure of the response. Only used when
`format` is `json`.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -154,7 +177,9 @@ async def create(
"url": url,
"allow_insecure_ssl": allow_insecure_ssl,
"allow_redirects": allow_redirects,
"format": format,
"proxies": proxies,
"schema": schema,
},
fetch_api_create_params.FetchAPICreateParams,
),
Expand Down
14 changes: 0 additions & 14 deletions src/browserbase/resources/sessions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
LogsResourceWithStreamingResponse,
AsyncLogsResourceWithStreamingResponse,
)
from .replays import (
ReplaysResource,
AsyncReplaysResource,
ReplaysResourceWithRawResponse,
AsyncReplaysResourceWithRawResponse,
ReplaysResourceWithStreamingResponse,
AsyncReplaysResourceWithStreamingResponse,
)
from .uploads import (
UploadsResource,
AsyncUploadsResource,
Expand Down Expand Up @@ -74,12 +66,6 @@
"AsyncUploadsResourceWithRawResponse",
"UploadsResourceWithStreamingResponse",
"AsyncUploadsResourceWithStreamingResponse",
"ReplaysResource",
"AsyncReplaysResource",
"ReplaysResourceWithRawResponse",
"AsyncReplaysResourceWithRawResponse",
"ReplaysResourceWithStreamingResponse",
"AsyncReplaysResourceWithStreamingResponse",
"SessionsResource",
"AsyncSessionsResource",
"SessionsResourceWithRawResponse",
Expand Down
Loading