Skip to content

Commit 279aa9a

Browse files
release: 1.12.0 (#167)
* codegen metadata * codegen metadata * feat: [CORE-2194][apps/api] Add BYOC (cert) CRUD to SDKs * release: 1.12.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent d0a62cc commit 279aa9a

15 files changed

Lines changed: 806 additions & 9 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.11.0"
2+
".": "1.12.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 23
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-b2831c9c836f039762834825afdc20569587a825d29ac5c3748c78b009bf059b.yml
3-
openapi_spec_hash: dd85a934900cb6583f12ebf6117be884
4-
config_hash: 40fbac80e24faaa0dc19e93368bcd821
1+
configured_endpoints: 27
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-9bab373fc62ce19147560ed3ec29fe09ad59d9a5b406d9ed21a22f15a511d9cb.yml
3+
openapi_spec_hash: 518fdefff1eabc4bb8a3b54ddf7fa293
4+
config_hash: d4b0c534eaf7665ea25168e0e824c9d3

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.12.0 (2026-06-05)
4+
5+
Full Changelog: [v1.11.0...v1.12.0](https://github.com/browserbase/sdk-python/compare/v1.11.0...v1.12.0)
6+
7+
### Features
8+
9+
* [CORE-2194][apps/api] Add BYOC (cert) CRUD to SDKs ([5ed9746](https://github.com/browserbase/sdk-python/commit/5ed9746938237ae4eaa78f8652a9b576e6be0e7c))
10+
311
## 1.11.0 (2026-05-20)
412

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ from browserbase import Browserbase
149149

150150
client = Browserbase()
151151

152-
client.extensions.create(
152+
client.certificates.create(
153153
file=Path("/path/to/file"),
154154
)
155155
```

api.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Certificates
2+
3+
Types:
4+
5+
```python
6+
from browserbase.types import Certificate, CertificateListResponse
7+
```
8+
9+
Methods:
10+
11+
- <code title="post /v1/certificates">client.certificates.<a href="./src/browserbase/resources/certificates.py">create</a>(\*\*<a href="src/browserbase/types/certificate_create_params.py">params</a>) -> <a href="./src/browserbase/types/certificate.py">Certificate</a></code>
12+
- <code title="get /v1/certificates/{id}">client.certificates.<a href="./src/browserbase/resources/certificates.py">retrieve</a>(id) -> <a href="./src/browserbase/types/certificate.py">Certificate</a></code>
13+
- <code title="get /v1/certificates">client.certificates.<a href="./src/browserbase/resources/certificates.py">list</a>() -> <a href="./src/browserbase/types/certificate_list_response.py">CertificateListResponse</a></code>
14+
- <code title="delete /v1/certificates/{id}">client.certificates.<a href="./src/browserbase/resources/certificates.py">delete</a>(id) -> None</code>
15+
116
# Contexts
217

318
Types:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "browserbase"
3-
version = "1.11.0"
3+
version = "1.12.0"
44
description = "The official Python library for the Browserbase API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/browserbase/_client.py

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@
3535
)
3636

3737
if TYPE_CHECKING:
38-
from .resources import search, contexts, projects, sessions, fetch_api, extensions
38+
from .resources import search, contexts, projects, sessions, fetch_api, extensions, certificates
3939
from .resources.search import SearchResource, AsyncSearchResource
4040
from .resources.contexts import ContextsResource, AsyncContextsResource
4141
from .resources.projects import ProjectsResource, AsyncProjectsResource
4242
from .resources.fetch_api import FetchAPIResource, AsyncFetchAPIResource
4343
from .resources.extensions import ExtensionsResource, AsyncExtensionsResource
44+
from .resources.certificates import CertificatesResource, AsyncCertificatesResource
4445
from .resources.sessions.sessions import SessionsResource, AsyncSessionsResource
4546

4647
__all__ = [
@@ -119,6 +120,12 @@ def __init__(
119120
_strict_response_validation=_strict_response_validation,
120121
)
121122

123+
@cached_property
124+
def certificates(self) -> CertificatesResource:
125+
from .resources.certificates import CertificatesResource
126+
127+
return CertificatesResource(self)
128+
122129
@cached_property
123130
def contexts(self) -> ContextsResource:
124131
from .resources.contexts import ContextsResource
@@ -332,6 +339,12 @@ def __init__(
332339
_strict_response_validation=_strict_response_validation,
333340
)
334341

342+
@cached_property
343+
def certificates(self) -> AsyncCertificatesResource:
344+
from .resources.certificates import AsyncCertificatesResource
345+
346+
return AsyncCertificatesResource(self)
347+
335348
@cached_property
336349
def contexts(self) -> AsyncContextsResource:
337350
from .resources.contexts import AsyncContextsResource
@@ -487,6 +500,12 @@ class BrowserbaseWithRawResponse:
487500
def __init__(self, client: Browserbase) -> None:
488501
self._client = client
489502

503+
@cached_property
504+
def certificates(self) -> certificates.CertificatesResourceWithRawResponse:
505+
from .resources.certificates import CertificatesResourceWithRawResponse
506+
507+
return CertificatesResourceWithRawResponse(self._client.certificates)
508+
490509
@cached_property
491510
def contexts(self) -> contexts.ContextsResourceWithRawResponse:
492511
from .resources.contexts import ContextsResourceWithRawResponse
@@ -530,6 +549,12 @@ class AsyncBrowserbaseWithRawResponse:
530549
def __init__(self, client: AsyncBrowserbase) -> None:
531550
self._client = client
532551

552+
@cached_property
553+
def certificates(self) -> certificates.AsyncCertificatesResourceWithRawResponse:
554+
from .resources.certificates import AsyncCertificatesResourceWithRawResponse
555+
556+
return AsyncCertificatesResourceWithRawResponse(self._client.certificates)
557+
533558
@cached_property
534559
def contexts(self) -> contexts.AsyncContextsResourceWithRawResponse:
535560
from .resources.contexts import AsyncContextsResourceWithRawResponse
@@ -573,6 +598,12 @@ class BrowserbaseWithStreamedResponse:
573598
def __init__(self, client: Browserbase) -> None:
574599
self._client = client
575600

601+
@cached_property
602+
def certificates(self) -> certificates.CertificatesResourceWithStreamingResponse:
603+
from .resources.certificates import CertificatesResourceWithStreamingResponse
604+
605+
return CertificatesResourceWithStreamingResponse(self._client.certificates)
606+
576607
@cached_property
577608
def contexts(self) -> contexts.ContextsResourceWithStreamingResponse:
578609
from .resources.contexts import ContextsResourceWithStreamingResponse
@@ -616,6 +647,12 @@ class AsyncBrowserbaseWithStreamedResponse:
616647
def __init__(self, client: AsyncBrowserbase) -> None:
617648
self._client = client
618649

650+
@cached_property
651+
def certificates(self) -> certificates.AsyncCertificatesResourceWithStreamingResponse:
652+
from .resources.certificates import AsyncCertificatesResourceWithStreamingResponse
653+
654+
return AsyncCertificatesResourceWithStreamingResponse(self._client.certificates)
655+
619656
@cached_property
620657
def contexts(self) -> contexts.AsyncContextsResourceWithStreamingResponse:
621658
from .resources.contexts import AsyncContextsResourceWithStreamingResponse

src/browserbase/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "browserbase"
4-
__version__ = "1.11.0" # x-release-please-version
4+
__version__ = "1.12.0" # x-release-please-version

src/browserbase/resources/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,22 @@
4848
ExtensionsResourceWithStreamingResponse,
4949
AsyncExtensionsResourceWithStreamingResponse,
5050
)
51+
from .certificates import (
52+
CertificatesResource,
53+
AsyncCertificatesResource,
54+
CertificatesResourceWithRawResponse,
55+
AsyncCertificatesResourceWithRawResponse,
56+
CertificatesResourceWithStreamingResponse,
57+
AsyncCertificatesResourceWithStreamingResponse,
58+
)
5159

5260
__all__ = [
61+
"CertificatesResource",
62+
"AsyncCertificatesResource",
63+
"CertificatesResourceWithRawResponse",
64+
"AsyncCertificatesResourceWithRawResponse",
65+
"CertificatesResourceWithStreamingResponse",
66+
"AsyncCertificatesResourceWithStreamingResponse",
5367
"ContextsResource",
5468
"AsyncContextsResource",
5569
"ContextsResourceWithRawResponse",

0 commit comments

Comments
 (0)