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.16.0"
".": "0.17.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: 65
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ecf484375ede1edd7754779ad8beeebd4ba9118152fe6cd65772dc7245a19dee.yml
openapi_spec_hash: b1f3f05005f75cbf5b82299459e2aa9b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-e914e2d08b888c77051acb09176d5e88052f130e0d22e85d946a675d2c3d39ab.yml
openapi_spec_hash: 611d0ed1b4519331470b5d14e5f6784a
config_hash: 3ded7a0ed77b1bfd68eabc6763521fe8
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.17.0 (2025-10-27)

Full Changelog: [v0.16.0...v0.17.0](https://github.com/onkernel/kernel-python-sdk/compare/v0.16.0...v0.17.0)

### Features

* Make country flag optional for DC and ISP proxies ([cd4c025](https://github.com/onkernel/kernel-python-sdk/commit/cd4c025b2e89cbc072a1779418ea1ef234b57026))

## 0.16.0 (2025-10-27)

Full Changelog: [v0.15.0...v0.16.0](https://github.com/onkernel/kernel-python-sdk/compare/v0.15.0...v0.16.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.16.0"
version = "0.17.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.16.0" # x-release-please-version
__version__ = "0.17.0" # x-release-please-version
8 changes: 4 additions & 4 deletions src/kernel/types/proxy_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ class ProxyCreateParams(TypedDict, total=False):


class ConfigDatacenterProxyConfig(TypedDict, total=False):
country: Required[str]
"""ISO 3166 country code."""
country: str
"""ISO 3166 country code. Defaults to US if not provided."""


class ConfigIspProxyConfig(TypedDict, total=False):
country: Required[str]
"""ISO 3166 country code."""
country: str
"""ISO 3166 country code. Defaults to US if not provided."""


class ConfigResidentialProxyConfig(TypedDict, total=False):
Expand Down
8 changes: 4 additions & 4 deletions src/kernel/types/proxy_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@


class ConfigDatacenterProxyConfig(BaseModel):
country: str
"""ISO 3166 country code."""
country: Optional[str] = None
"""ISO 3166 country code. Defaults to US if not provided."""


class ConfigIspProxyConfig(BaseModel):
country: str
"""ISO 3166 country code."""
country: Optional[str] = None
"""ISO 3166 country code. Defaults to US if not provided."""


class ConfigResidentialProxyConfig(BaseModel):
Expand Down
8 changes: 4 additions & 4 deletions src/kernel/types/proxy_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@


class ProxyListResponseItemConfigDatacenterProxyConfig(BaseModel):
country: str
"""ISO 3166 country code."""
country: Optional[str] = None
"""ISO 3166 country code. Defaults to US if not provided."""


class ProxyListResponseItemConfigIspProxyConfig(BaseModel):
country: str
"""ISO 3166 country code."""
country: Optional[str] = None
"""ISO 3166 country code. Defaults to US if not provided."""


class ProxyListResponseItemConfigResidentialProxyConfig(BaseModel):
Expand Down
8 changes: 4 additions & 4 deletions src/kernel/types/proxy_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@


class ConfigDatacenterProxyConfig(BaseModel):
country: str
"""ISO 3166 country code."""
country: Optional[str] = None
"""ISO 3166 country code. Defaults to US if not provided."""


class ConfigIspProxyConfig(BaseModel):
country: str
"""ISO 3166 country code."""
country: Optional[str] = None
"""ISO 3166 country code. Defaults to US if not provided."""


class ConfigResidentialProxyConfig(BaseModel):
Expand Down