Skip to content

Commit 002fee3

Browse files
authored
Merge pull request #194 from kernel/release-please--branches--main--changes--next
release: 0.124.0
2 parents efa6445 + a552313 commit 002fee3

24 files changed

Lines changed: 841 additions & 105 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-
".": "0.123.0"
2+
".": "0.124.0"
33
}

‎CHANGELOG.md‎

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

3+
## [0.124.0](https://github.com/kernel/kernel-python-sdk/compare/v0.123.0...v0.124.0) (2026-10-13)
4+
5+
6+
### Features
7+
8+
* Accept intent creation without a fixed status ([e6e016a](https://github.com/kernel/kernel-python-sdk/commit/e6e016a5cea493c505b16a05cb8ad2fa6ed9f13b))
9+
* Complete Visa vault verification and transaction reporting ([fc4b0de](https://github.com/kernel/kernel-python-sdk/commit/fc4b0de79e3242361ef7b11acbd2cbaeb058265e))
10+
11+
12+
### Bug Fixes
13+
14+
* seal browser pool acquire SDK results ([4d81af2](https://github.com/kernel/kernel-python-sdk/commit/4d81af2b6103571b59cd1bb520eb85e28488b51c))
15+
316
## [0.123.0](https://github.com/kernel/kernel-python-sdk/compare/v0.122.0...v0.123.0) (2026-10-09)
417

518

‎api.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ from kernel.types.vaults import (
571571
CardVaultItemSpec,
572572
CardVaultItemState,
573573
CollectVaultItemOperationRequest,
574+
ConfirmTransactionVaultItemOperationRequest,
574575
CredentialAccountVaultItem,
575576
CredentialAccountVaultItemRequest,
576577
CredentialCollectionAction,
@@ -610,6 +611,7 @@ from kernel.types.vaults import (
610611
OnePasswordRecoverVaultItemOperationRequest,
611612
OnePasswordRequestAccessVaultItemOperationRequest,
612613
PrepareCheckoutVaultItemOperationRequest,
614+
RestartVerificationVaultItemOperationRequest,
613615
VaultCardAliases,
614616
VaultCardFillField,
615617
VaultCheckoutContext,

‎pyproject.toml‎

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

‎src/kernel/_response.py‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import httpx
2525
import pydantic
2626

27-
from ._types import NoneType
27+
from ._types import NoneType, NoContentAsNone
2828
from ._utils import is_given, extract_type_arg, is_annotated_type, is_type_alias_type, extract_type_var_from_base
2929
from ._models import BaseModel, is_basemodel
3030
from ._constants import RAW_RESPONSE_HEADER, OVERRIDE_CAST_TO_HEADER
@@ -185,6 +185,13 @@ def _parse(self, *, to: type[_T] | None = None) -> R | _T:
185185
return cast(R, None)
186186

187187
response = self.http_response
188+
if (
189+
response.status_code == 204
190+
and to is None
191+
and isinstance(origin, type)
192+
and issubclass(origin, NoContentAsNone)
193+
):
194+
return cast(R, None)
188195
if cast_to == str:
189196
return cast(R, response.text)
190197

‎src/kernel/_types.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
Query = Mapping[str, object]
4545
Body = object
4646
AnyMapping = Mapping[str, object]
47+
48+
49+
class NoContentAsNone:
50+
pass
51+
52+
4753
ModelT = TypeVar("ModelT", bound=pydantic.BaseModel)
4854
_T = TypeVar("_T")
4955

‎src/kernel/_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__ = "kernel"
4-
__version__ = "0.123.0" # x-release-please-version
4+
__version__ = "0.124.0" # x-release-please-version

‎src/kernel/resources/browser_pools.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def acquire(
542542
extra_query: Query | None = None,
543543
extra_body: Body | None = None,
544544
timeout: float | httpx.Timeout | None | NotGiven = not_given,
545-
) -> BrowserPoolAcquireResponse:
545+
) -> Optional[BrowserPoolAcquireResponse]:
546546
"""Long-polling endpoint to acquire a browser from the pool.
547547
548548
Returns immediately
@@ -1199,7 +1199,7 @@ async def acquire(
11991199
extra_query: Query | None = None,
12001200
extra_body: Body | None = None,
12011201
timeout: float | httpx.Timeout | None | NotGiven = not_given,
1202-
) -> BrowserPoolAcquireResponse:
1202+
) -> Optional[BrowserPoolAcquireResponse]:
12031203
"""Long-polling endpoint to acquire a browser from the pool.
12041204
12051205
Returns immediately

‎src/kernel/resources/browsers/playwright/playwright.py‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,6 @@ def execute(
114114
executors are not removed automatically while the browser runs; when it shuts
115115
down, they are removed and their tabs closed.
116116
117-
A named call to a browser whose image predates executors fails with 400 instead
118-
of running on the active tab; calls without 'executor' keep working on every
119-
image.
120-
121117
Args:
122118
code: TypeScript/JavaScript code to execute. The code has access to 'page', 'context',
123119
and 'browser' variables. It runs within a function, so you can use a return
@@ -244,10 +240,6 @@ async def execute(
244240
executors are not removed automatically while the browser runs; when it shuts
245241
down, they are removed and their tabs closed.
246242
247-
A named call to a browser whose image predates executors fails with 400 instead
248-
of running on the active tab; calls without 'executor' keep working on every
249-
image.
250-
251243
Args:
252244
code: TypeScript/JavaScript code to execute. The code has access to 'page', 'context',
253245
and 'browser' variables. It runs within a function, so you can use a return

0 commit comments

Comments
 (0)