diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b4e9013b..6db19b95 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.16.0" + ".": "0.17.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 8cd6a7c5..8cf9ee75 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 73ea0c7a..204a698b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 18317f85..1a56293c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/kernel/_version.py b/src/kernel/_version.py index 211e253d..123dd308 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.16.0" # x-release-please-version +__version__ = "0.17.0" # x-release-please-version diff --git a/src/kernel/types/proxy_create_params.py b/src/kernel/types/proxy_create_params.py index 1f8d4b7d..485df606 100644 --- a/src/kernel/types/proxy_create_params.py +++ b/src/kernel/types/proxy_create_params.py @@ -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): diff --git a/src/kernel/types/proxy_create_response.py b/src/kernel/types/proxy_create_response.py index 831c45f3..6ec2f7f9 100644 --- a/src/kernel/types/proxy_create_response.py +++ b/src/kernel/types/proxy_create_response.py @@ -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): diff --git a/src/kernel/types/proxy_list_response.py b/src/kernel/types/proxy_list_response.py index 96488816..e4abb0d8 100644 --- a/src/kernel/types/proxy_list_response.py +++ b/src/kernel/types/proxy_list_response.py @@ -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): diff --git a/src/kernel/types/proxy_retrieve_response.py b/src/kernel/types/proxy_retrieve_response.py index 4c2d63cc..5262fc48 100644 --- a/src/kernel/types/proxy_retrieve_response.py +++ b/src/kernel/types/proxy_retrieve_response.py @@ -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):