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.36.0"
".": "0.36.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 101
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-bbc3dbdd0410eb315cfaeb21aad9f85e4a7f92ac55526ebb702a8bee343c2ab7.yml
openapi_spec_hash: 60a5134c45a8f3a217e128d4e3335cae
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ea5c9cb25c29fa5a8758bbf8732eb306783bb6f13b4df29bf1ad5ad3cb32da1e.yml
openapi_spec_hash: 597031840469b011f5cf22a4d8b9d750
config_hash: 147340811dd6fbb9c2d80515a7e31f9a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.36.1 (2026-02-21)

Full Changelog: [v0.36.0...v0.36.1](https://github.com/kernel/kernel-node-sdk/compare/v0.36.0...v0.36.1)

### Features

* Add version filter to GET /deployments endpoint ([b983eeb](https://github.com/kernel/kernel-node-sdk/commit/b983eebd67c079b7e40c53ab5963a960f40f2e1b))

## 0.36.0 (2026-02-21)

Full Changelog: [v0.35.0...v0.36.0](https://github.com/kernel/kernel-node-sdk/compare/v0.35.0...v0.36.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onkernel/sdk",
"version": "0.36.0",
"version": "0.36.1",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
7 changes: 6 additions & 1 deletion src/resources/deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Deployments extends APIResource {
}

/**
* List deployments. Optionally filter by application name.
* List deployments. Optionally filter by application name and version.
*
* @example
* ```ts
Expand Down Expand Up @@ -461,6 +461,11 @@ export interface DeploymentListParams extends OffsetPaginationParams {
* Filter results by application name.
*/
app_name?: string;

/**
* Filter results by application version. Requires app_name to be set.
*/
app_version?: string;
}

export interface DeploymentFollowParams {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.36.0'; // x-release-please-version
export const VERSION = '0.36.1'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/deployments.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ describe('resource deployments', () => {
client.deployments.list(
{
app_name: 'app_name',
app_version: 'app_version',
limit: 1,
offset: 0,
},
Expand Down