Skip to content
Open
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.52.0"
".": "0.53.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: 112
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-4ce09d1a7546ab36f578cb27d819187eeb90c580b11834c7ff7a375aa22f9a20.yml
openapi_spec_hash: 1043ab2d699f6c828680c3352cd4cece
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-81659c4d18e7992d17a0930d6c13c8592a0ff5bb974ea9e2e4b3f46d43b117d2.yml
openapi_spec_hash: f3d12a3a0a5e9ce711fb1c571ee36f9c
config_hash: 08d55086449943a8fec212b870061a3f
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.53.0 (2026-04-30)

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

### Features

* Add 'switch' MFA option type for generic method-switcher links ([ed6a2d2](https://github.com/kernel/kernel-python-sdk/commit/ed6a2d2e05b20a6d80c122e7baec032e21de79eb))

## 0.52.0 (2026-04-29)

Full Changelog: [v0.51.0...v0.52.0](https://github.com/kernel/kernel-python-sdk/compare/v0.51.0...v0.52.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.52.0"
version = "0.53.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.52.0" # x-release-please-version
__version__ = "0.53.0" # x-release-please-version
11 changes: 7 additions & 4 deletions src/kernel/types/auth/connection_follow_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ManagedAuthStateEventDiscoveredField(BaseModel):
"Enter the phone ending in (**_) _**-\\**\\**92")
"""

linked_mfa_type: Optional[Literal["sms", "call", "email", "totp", "push", "password"]] = None
linked_mfa_type: Optional[Literal["sms", "call", "email", "totp", "push", "password", "switch"]] = None
"""
If this field is associated with an MFA option, the type of that option (e.g.,
password field linked to "Enter password" option)
Expand All @@ -59,9 +59,12 @@ class ManagedAuthStateEventMfaOption(BaseModel):
label: str
"""The visible option text"""

type: Literal["sms", "call", "email", "totp", "push", "password"]
"""
The MFA delivery method type (includes password for auth method selection pages)
type: Literal["sms", "call", "email", "totp", "push", "password", "switch"]
"""The MFA delivery method type.

Includes 'password' for auth method selection pages and 'switch' for generic
method-switcher links like "Use another method" that do not name a specific
method.
"""

description: Optional[str] = None
Expand Down
11 changes: 7 additions & 4 deletions src/kernel/types/auth/managed_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DiscoveredField(BaseModel):
"Enter the phone ending in (**_) _**-\\**\\**92")
"""

linked_mfa_type: Optional[Literal["sms", "call", "email", "totp", "push", "password"]] = None
linked_mfa_type: Optional[Literal["sms", "call", "email", "totp", "push", "password", "switch"]] = None
"""
If this field is associated with an MFA option, the type of that option (e.g.,
password field linked to "Enter password" option)
Expand All @@ -71,9 +71,12 @@ class MfaOption(BaseModel):
label: str
"""The visible option text"""

type: Literal["sms", "call", "email", "totp", "push", "password"]
"""
The MFA delivery method type (includes password for auth method selection pages)
type: Literal["sms", "call", "email", "totp", "push", "password", "switch"]
"""The MFA delivery method type.

Includes 'password' for auth method selection pages and 'switch' for generic
method-switcher links like "Use another method" that do not name a specific
method.
"""

description: Optional[str] = None
Expand Down
Loading