From edaaa1445d9551393ce0e026d70ca565890d70cb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 14:21:28 +0000 Subject: [PATCH 1/2] feat: Feat increase max timeout to 72h --- .stats.yml | 4 ++-- src/kernel/resources/browsers/browsers.py | 4 ++-- src/kernel/types/browser_create_params.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index b12b071..53123c9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 66 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-7897c6c3f33d12ebf6cb8b3694945169617631a52af8f5b393b77b1995ed0d72.yml -openapi_spec_hash: 1104c3ba0915f1708d7576345cafa9d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d611cf8b0301a07123eab0e92498bea5ad69c5292b28aca1016c362cca0a0564.yml +openapi_spec_hash: 6d30f4ad9d61a7da8a75d543cf3d3d75 config_hash: 9421eb86b7f3f4b274f123279da3858e diff --git a/src/kernel/resources/browsers/browsers.py b/src/kernel/resources/browsers/browsers.py index 305cc51..8503736 100644 --- a/src/kernel/resources/browsers/browsers.py +++ b/src/kernel/resources/browsers/browsers.py @@ -167,7 +167,7 @@ def create( timeout_seconds: The number of seconds of inactivity before the browser session is terminated. Only applicable to non-persistent browsers. Activity includes CDP connections and live view connections. Defaults to 60 seconds. Minimum allowed is 10 - seconds. Maximum allowed is 86400 (24 hours). We check for inactivity every 5 + seconds. Maximum allowed is 259200 (72 hours). We check for inactivity every 5 seconds, so the actual timeout behavior you will see is +/- 5 seconds around the specified value. @@ -475,7 +475,7 @@ async def create( timeout_seconds: The number of seconds of inactivity before the browser session is terminated. Only applicable to non-persistent browsers. Activity includes CDP connections and live view connections. Defaults to 60 seconds. Minimum allowed is 10 - seconds. Maximum allowed is 86400 (24 hours). We check for inactivity every 5 + seconds. Maximum allowed is 259200 (72 hours). We check for inactivity every 5 seconds, so the actual timeout behavior you will see is +/- 5 seconds around the specified value. diff --git a/src/kernel/types/browser_create_params.py b/src/kernel/types/browser_create_params.py index 4994f2a..1e54ce7 100644 --- a/src/kernel/types/browser_create_params.py +++ b/src/kernel/types/browser_create_params.py @@ -59,7 +59,7 @@ class BrowserCreateParams(TypedDict, total=False): Only applicable to non-persistent browsers. Activity includes CDP connections and live view connections. Defaults to 60 seconds. Minimum allowed is 10 - seconds. Maximum allowed is 86400 (24 hours). We check for inactivity every 5 + seconds. Maximum allowed is 259200 (72 hours). We check for inactivity every 5 seconds, so the actual timeout behavior you will see is +/- 5 seconds around the specified value. """ From 009d34b02ef21c591935f384379d690ce7793fe8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 14:38:15 +0000 Subject: [PATCH 2/2] release: 0.19.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/kernel/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 96dfab3..c18333e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.19.1" + ".": "0.19.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a0dca8..711c887 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.19.2 (2025-11-17) + +Full Changelog: [v0.19.1...v0.19.2](https://github.com/onkernel/kernel-python-sdk/compare/v0.19.1...v0.19.2) + +### Features + +* Feat increase max timeout to 72h ([edaaa14](https://github.com/onkernel/kernel-python-sdk/commit/edaaa1445d9551393ce0e026d70ca565890d70cb)) + ## 0.19.1 (2025-11-13) Full Changelog: [v0.19.0...v0.19.1](https://github.com/onkernel/kernel-python-sdk/compare/v0.19.0...v0.19.1) diff --git a/pyproject.toml b/pyproject.toml index 0dede54..fc74c8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "kernel" -version = "0.19.1" +version = "0.19.2" description = "The official Python library for the kernel API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/kernel/_version.py b/src/kernel/_version.py index 3a441bd..67d5101 100644 --- a/src/kernel/_version.py +++ b/src/kernel/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "kernel" -__version__ = "0.19.1" # x-release-please-version +__version__ = "0.19.2" # x-release-please-version