diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ea2682c..52afe05 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.41.0" + ".": "0.42.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 4e3164c..d4eead9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 101 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-586ddc36cd621b3705138de66a0e7d28d1c1485064aa85ce09ce24edb50003ef.yml -openapi_spec_hash: 8e8d4bd31e4920303e7ec9ce313fb1ec +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a935c8aae21f8ddb83ea5e289034df12cbde88d432fa2b287629814bb3f58bb6.yml +openapi_spec_hash: df3189b9728372f01662a19c060bcbc5 config_hash: 81f143f4bee47ae7b0b8357551babadf diff --git a/CHANGELOG.md b/CHANGELOG.md index 834c3a6..d5c4d94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.42.0 (2026-03-02) + +Full Changelog: [v0.41.0...v0.42.0](https://github.com/kernel/kernel-python-sdk/compare/v0.41.0...v0.42.0) + +### Features + +* Neil/kernel 1052 deployments list endpoint ([45ba6bb](https://github.com/kernel/kernel-python-sdk/commit/45ba6bbba291e9cca45a30c8ba2b1fb57f1f10bb)) + ## 0.41.0 (2026-02-27) Full Changelog: [v0.40.0...v0.41.0](https://github.com/kernel/kernel-python-sdk/compare/v0.40.0...v0.41.0) diff --git a/pyproject.toml b/pyproject.toml index 3d0824a..968ba8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "kernel" -version = "0.41.0" +version = "0.42.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 8859da9..7a26ebd 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.41.0" # x-release-please-version +__version__ = "0.42.0" # x-release-please-version diff --git a/src/kernel/resources/apps.py b/src/kernel/resources/apps.py index 0443e73..7383c29 100644 --- a/src/kernel/resources/apps.py +++ b/src/kernel/resources/apps.py @@ -48,6 +48,7 @@ def list( app_name: str | Omit = omit, limit: int | Omit = omit, offset: int | Omit = omit, + query: str | Omit = omit, version: str | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -67,6 +68,8 @@ def list( offset: Offset the number of apps to return. + query: Search apps by name. + version: Filter results by version label. extra_headers: Send extra headers @@ -90,6 +93,7 @@ def list( "app_name": app_name, "limit": limit, "offset": offset, + "query": query, "version": version, }, app_list_params.AppListParams, @@ -125,6 +129,7 @@ def list( app_name: str | Omit = omit, limit: int | Omit = omit, offset: int | Omit = omit, + query: str | Omit = omit, version: str | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -144,6 +149,8 @@ def list( offset: Offset the number of apps to return. + query: Search apps by name. + version: Filter results by version label. extra_headers: Send extra headers @@ -167,6 +174,7 @@ def list( "app_name": app_name, "limit": limit, "offset": offset, + "query": query, "version": version, }, app_list_params.AppListParams, diff --git a/src/kernel/types/app_list_params.py b/src/kernel/types/app_list_params.py index 296ded5..a4a9db4 100644 --- a/src/kernel/types/app_list_params.py +++ b/src/kernel/types/app_list_params.py @@ -17,5 +17,8 @@ class AppListParams(TypedDict, total=False): offset: int """Offset the number of apps to return.""" + query: str + """Search apps by name.""" + version: str """Filter results by version label.""" diff --git a/tests/api_resources/test_apps.py b/tests/api_resources/test_apps.py index c8629fa..cab677b 100644 --- a/tests/api_resources/test_apps.py +++ b/tests/api_resources/test_apps.py @@ -31,6 +31,7 @@ def test_method_list_with_all_params(self, client: Kernel) -> None: app_name="app_name", limit=1, offset=0, + query="query", version="version", ) assert_matches_type(SyncOffsetPagination[AppListResponse], app, path=["response"]) @@ -76,6 +77,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncKernel) -> N app_name="app_name", limit=1, offset=0, + query="query", version="version", ) assert_matches_type(AsyncOffsetPagination[AppListResponse], app, path=["response"])