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 @@
{
".": "0.60.0"
".": "0.61.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: 117
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-3a1db7f11a92b28681929255ada59d2317ee4db98b5ff5aa6ce142a0664058b3.yml
openapi_spec_hash: b3064eaa589ae2a84993686ad1a3ee43
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-33e46e6a0095c2ec39a51860ee4e133c5a21a80a90cbe9e52953c07e5e0295de.yml
openapi_spec_hash: 4aa466b9af39768b65a44b68ae0d1f6e
config_hash: ede72e4ae65cc5a6d6927938b3455c46
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.61.0 (2026-06-03)

Full Changelog: [v0.60.0...v0.61.0](https://github.com/kernel/kernel-python-sdk/compare/v0.60.0...v0.61.0)

### Features

* Add record_audio option to browser replay recording API ([7d357c2](https://github.com/kernel/kernel-python-sdk/commit/7d357c27c32315ba3a7fcaddac0f6563aab91849))

## 0.60.0 (2026-06-03)

Full Changelog: [v0.59.0...v0.60.0](https://github.com/kernel/kernel-python-sdk/compare/v0.59.0...v0.60.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 = "kernel"
version = "0.60.0"
version = "0.61.0"
description = "The official Python library for the kernel API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/kernel/_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__ = "kernel"
__version__ = "0.60.0" # x-release-please-version
__version__ = "0.61.0" # x-release-please-version
10 changes: 10 additions & 0 deletions src/kernel/resources/browsers/replays.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def start(
*,
framerate: int | Omit = omit,
max_duration_in_seconds: int | Omit = omit,
record_audio: bool | 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 @@ -144,6 +145,9 @@ def start(

max_duration_in_seconds: Maximum recording duration in seconds.

record_audio: Record audio in addition to video. When false (the default), the recording is
video-only.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -160,6 +164,7 @@ def start(
{
"framerate": framerate,
"max_duration_in_seconds": max_duration_in_seconds,
"record_audio": record_audio,
},
replay_start_params.ReplayStartParams,
),
Expand Down Expand Up @@ -305,6 +310,7 @@ async def start(
*,
framerate: int | Omit = omit,
max_duration_in_seconds: int | Omit = omit,
record_audio: bool | 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 @@ -321,6 +327,9 @@ async def start(

max_duration_in_seconds: Maximum recording duration in seconds.

record_audio: Record audio in addition to video. When false (the default), the recording is
video-only.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -337,6 +346,7 @@ async def start(
{
"framerate": framerate,
"max_duration_in_seconds": max_duration_in_seconds,
"record_audio": record_audio,
},
replay_start_params.ReplayStartParams,
),
Expand Down
6 changes: 6 additions & 0 deletions src/kernel/types/browsers/replay_start_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ class ReplayStartParams(TypedDict, total=False):

max_duration_in_seconds: int
"""Maximum recording duration in seconds."""

record_audio: bool
"""Record audio in addition to video.

When false (the default), the recording is video-only.
"""
2 changes: 2 additions & 0 deletions tests/api_resources/browsers/test_replays.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def test_method_start_with_all_params(self, client: Kernel) -> None:
id="id",
framerate=1,
max_duration_in_seconds=1,
record_audio=True,
)
assert_matches_type(ReplayStartResponse, replay, path=["response"])

Expand Down Expand Up @@ -354,6 +355,7 @@ async def test_method_start_with_all_params(self, async_client: AsyncKernel) ->
id="id",
framerate=1,
max_duration_in_seconds=1,
record_audio=True,
)
assert_matches_type(ReplayStartResponse, replay, path=["response"])

Expand Down
Loading