diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c5e8a3e..12342be 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.2" + ".": "0.1.0-alpha.5" } diff --git a/.stats.yml b/.stats.yml index f654ed7..3b0a5f2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 4 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d168b58fcf39dbd0458d132091793d3e2d0930070b7dda2d5f7f1baff20dd31b.yml openapi_spec_hash: b7e0fd7ee1656d7dbad57209d1584d92 -config_hash: 75c0b894355904e2a91b70445072d4b4 +config_hash: c2bc5253d8afd6d67e031f73353c9b22 diff --git a/CHANGELOG.md b/CHANGELOG.md index 31973a8..c7d13ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 0.1.0-alpha.5 (2025-05-10) + +Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/onkernel/kernel-node-sdk/compare/v0.1.0-alpha.4...v0.1.0-alpha.5) + +### Features + +* **api:** update via SDK Studio ([f5be580](https://github.com/onkernel/kernel-node-sdk/commit/f5be580d5f0023b57c9b1a63bb7b6dedc57deca9)) +* **api:** update via SDK Studio ([7d31661](https://github.com/onkernel/kernel-node-sdk/commit/7d316613cf880a22e2a17946089c78eb878bcbc6)) +* **api:** update via SDK Studio ([68f457e](https://github.com/onkernel/kernel-node-sdk/commit/68f457eb0f66b5b243e682677b0fa34eee685853)) + + +### Bug Fixes + +* **client:** always overwrite when merging headers ([69f15d8](https://github.com/onkernel/kernel-node-sdk/commit/69f15d855463e7dfecc009eb67273371bdd5efff)) + + +### Chores + +* configure new SDK language ([bc19eee](https://github.com/onkernel/kernel-node-sdk/commit/bc19eeeb0eea066f8ad69fd1f03038f839108a31)) +* **internal:** codegen related update ([82bfbe8](https://github.com/onkernel/kernel-node-sdk/commit/82bfbe8710fec8dd7a834e1cd4a0495195ae4840)) +* update SDK settings ([c9c482c](https://github.com/onkernel/kernel-node-sdk/commit/c9c482c8ae564005abe75f46300cebea44c26f8f)) +* update SDK settings ([25c177f](https://github.com/onkernel/kernel-node-sdk/commit/25c177ff56b479a6389c79a72d696b4b0bef8f69)) + ## 0.1.0-alpha.2 (2025-05-09) Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/onkernel/kernel-node-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2) diff --git a/README.md b/README.md index 9c77768..d8e06f7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This library provides convenient access to the Kernel REST API from server-side TypeScript or JavaScript. -The full API of this library can be found in [api.md](api.md). +The REST API documentation can be found on [docs.onkernel.com](https://docs.onkernel.com). The full API of this library can be found in [api.md](api.md). It is generated with [Stainless](https://www.stainless.com/). diff --git a/src/client.ts b/src/client.ts index ce037c0..56f7f1d 100644 --- a/src/client.ts +++ b/src/client.ts @@ -685,7 +685,7 @@ export class Kernel { return new KernelApp(name); } - public static exportRegistry(entrypointRelpath: string): string { + public static exportRegistry(): string { return appRegistry.exportJSON(); } diff --git a/src/core/app-framework.ts b/src/core/app-framework.ts index b1acc4d..97f5402 100644 --- a/src/core/app-framework.ts +++ b/src/core/app-framework.ts @@ -20,7 +20,6 @@ export interface KernelActionJson { name: string; } -// App definition export class KernelApp { name: string; actions: Map = new Map(); diff --git a/src/internal/headers.ts b/src/internal/headers.ts index 8659dde..5cc03ce 100644 --- a/src/internal/headers.ts +++ b/src/internal/headers.ts @@ -71,8 +71,8 @@ function* iterateHeaders(headers: HeadersLike): IterableIterator { const targetHeaders = new Headers(); const nullHeaders = new Set(); - const seenHeaders = new Set(); for (const headers of newHeaders) { + const seenHeaders = new Set(); for (const [name, value] of iterateHeaders(headers)) { const lowerName = name.toLowerCase(); if (!seenHeaders.has(lowerName)) {