Skip to content
Merged
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.12.0"
".": "1.13.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-9bab373fc62ce19147560ed3ec29fe09ad59d9a5b406d9ed21a22f15a511d9cb.yml
openapi_spec_hash: 518fdefff1eabc4bb8a3b54ddf7fa293
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-f39b852755134d01a440f7c37701f6c5397f43d13740d9ba08739cae488382a7.yml
openapi_spec_hash: de6c25eebe5026d0fb9a4d7a93ec7718
config_hash: d4b0c534eaf7665ea25168e0e824c9d3
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.13.0 (2026-06-08)

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

### Features

* [AI-2206][apps/api] Surface proxySettings.caCertificates in public SDK & docs ([0cf47ff](https://github.com/browserbase/sdk-python/commit/0cf47fff59d50d3624b7106c3c0cebfe1a4fdde0))

## 1.12.0 (2026-06-05)

Full Changelog: [v1.11.0...v1.12.0](https://github.com/browserbase/sdk-python/compare/v1.11.0...v1.12.0)
Expand Down
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.12.0"
version = "1.13.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.12.0" # x-release-please-version
__version__ = "1.13.0" # x-release-please-version
8 changes: 8 additions & 0 deletions src/browserbase/resources/sessions/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def create(
keep_alive: bool | Omit = omit,
project_id: str | Omit = omit,
proxies: Union[Iterable[session_create_params.ProxiesUnionMember0], bool] | Omit = omit,
proxy_settings: session_create_params.ProxySettings | Omit = omit,
region: Literal["us-west-2", "us-east-1", "eu-central-1", "ap-southeast-1"] | Omit = omit,
api_timeout: int | Omit = omit,
user_metadata: Dict[str, object] | Omit = omit,
Expand Down Expand Up @@ -144,6 +145,8 @@ def create(
proxies: Proxy configuration. Can be true for default proxy, or an array of proxy
configurations.

proxy_settings: Supplementary proxy settings. Optional.

region: The region where the Session should run.

api_timeout: Duration in seconds after which the session will automatically end. Defaults to
Expand All @@ -169,6 +172,7 @@ def create(
"keep_alive": keep_alive,
"project_id": project_id,
"proxies": proxies,
"proxy_settings": proxy_settings,
"region": region,
"api_timeout": api_timeout,
"user_metadata": user_metadata,
Expand Down Expand Up @@ -392,6 +396,7 @@ async def create(
keep_alive: bool | Omit = omit,
project_id: str | Omit = omit,
proxies: Union[Iterable[session_create_params.ProxiesUnionMember0], bool] | Omit = omit,
proxy_settings: session_create_params.ProxySettings | Omit = omit,
region: Literal["us-west-2", "us-east-1", "eu-central-1", "ap-southeast-1"] | Omit = omit,
api_timeout: int | Omit = omit,
user_metadata: Dict[str, object] | Omit = omit,
Expand Down Expand Up @@ -420,6 +425,8 @@ async def create(
proxies: Proxy configuration. Can be true for default proxy, or an array of proxy
configurations.

proxy_settings: Supplementary proxy settings. Optional.

region: The region where the Session should run.

api_timeout: Duration in seconds after which the session will automatically end. Defaults to
Expand All @@ -445,6 +452,7 @@ async def create(
"keep_alive": keep_alive,
"project_id": project_id,
"proxies": proxies,
"proxy_settings": proxy_settings,
"region": region,
"api_timeout": api_timeout,
"user_metadata": user_metadata,
Expand Down
12 changes: 12 additions & 0 deletions src/browserbase/types/session_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import Dict, Union, Iterable
from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict

from .._types import SequenceNotStr
from .._utils import PropertyInfo

__all__ = [
Expand All @@ -17,6 +18,7 @@
"ProxiesUnionMember0BrowserbaseProxyConfigGeolocation",
"ProxiesUnionMember0ExternalProxyConfig",
"ProxiesUnionMember0NoneProxyConfig",
"ProxySettings",
]


Expand Down Expand Up @@ -48,6 +50,9 @@ class SessionCreateParams(TypedDict, total=False):
Can be true for default proxy, or an array of proxy configurations.
"""

proxy_settings: Annotated[ProxySettings, PropertyInfo(alias="proxySettings")]
"""Supplementary proxy settings. Optional."""

region: Literal["us-west-2", "us-east-1", "eu-central-1", "ap-southeast-1"]
"""The region where the Session should run."""

Expand Down Expand Up @@ -201,3 +206,10 @@ class ProxiesUnionMember0NoneProxyConfig(TypedDict, total=False):
ProxiesUnionMember0ExternalProxyConfig,
ProxiesUnionMember0NoneProxyConfig,
]


class ProxySettings(TypedDict, total=False):
"""Supplementary proxy settings. Optional."""

ca_certificates: Annotated[SequenceNotStr[str], PropertyInfo(alias="caCertificates")]
"""The TLS certificate IDs to trust. Optional."""
2 changes: 2 additions & 0 deletions tests/api_resources/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_method_create_with_all_params(self, client: Browserbase) -> None:
},
}
],
proxy_settings={"ca_certificates": ["182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"]},
region="us-west-2",
api_timeout=60,
user_metadata={"foo": "bar"},
Expand Down Expand Up @@ -301,6 +302,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncBrowserbas
},
}
],
proxy_settings={"ca_certificates": ["182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"]},
region="us-west-2",
api_timeout=60,
user_metadata={"foo": "bar"},
Expand Down