Skip to content

Commit 5f3a43d

Browse files
authored
Merge pull request #14 from onkernel/release-please--branches--main--changes--next--components--sdk
release: 0.1.0-alpha.12
2 parents cf32b0e + 372ea07 commit 5f3a43d

File tree

8 files changed

+23
-6
lines changed

8 files changed

+23
-6
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.11"
2+
".": "0.1.0-alpha.12"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f40e779e2a48f5e37361f2f4a9879e5c40f2851b8033c23db69ec7b91242bf69.yml
3-
openapi_spec_hash: 2dfa146149e61363f1ec40bf9251eb7c
4-
config_hash: 2ddaa85513b6670889b1a56c905423c7
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-1fe396b957ced73281fc0a61a69b630836aa5c89a8dccce2c5a1716bc9775e80.yml
3+
openapi_spec_hash: 9a0d67fb0781be034b77839584109638
4+
config_hash: df889df131f7438197abd59faace3c77

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.1.0-alpha.12 (2025-05-19)
4+
5+
Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/onkernel/kernel-node-sdk/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
6+
7+
### Features
8+
9+
* **api:** update via SDK Studio ([d3f5db2](https://github.com/onkernel/kernel-node-sdk/commit/d3f5db20dc45f80ea024807f26c257011aaa3203))
10+
* **api:** update via SDK Studio ([112bfcb](https://github.com/onkernel/kernel-node-sdk/commit/112bfcbd42273aef9dcf8cb3f29083ac4c1d1b59))
11+
312
## 0.1.0-alpha.11 (2025-05-19)
413

514
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/onkernel/kernel-node-sdk/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ async function main() {
3131
const deployment = await client.apps.deployments.create({
3232
entrypoint_rel_path: 'main.ts',
3333
file: fs.createReadStream('path/to/file'),
34+
env_vars: { OPENAI_API_KEY: 'x' },
3435
version: '1.0.0',
3536
});
3637

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onkernel/sdk",
3-
"version": "0.1.0-alpha.11",
3+
"version": "0.1.0-alpha.12",
44
"description": "The official TypeScript library for the Kernel API",
55
"author": "Kernel <>",
66
"types": "dist/index.d.ts",

src/resources/apps/deployments.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ export interface DeploymentCreateParams {
7979
*/
8080
file: Uploadable;
8181

82+
/**
83+
* Map of environment variables to set for the deployed application. Each key-value
84+
* pair represents an environment variable.
85+
*/
86+
env_vars?: Record<string, string>;
87+
8288
/**
8389
* Allow overwriting an existing app version
8490
*/

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.1.0-alpha.11'; // x-release-please-version
1+
export const VERSION = '0.1.0-alpha.12'; // x-release-please-version

tests/api-resources/apps/deployments.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ describe('resource deployments', () => {
2828
const response = await client.apps.deployments.create({
2929
entrypoint_rel_path: 'src/app.py',
3030
file: await toFile(Buffer.from('# my file contents'), 'README.md'),
31+
env_vars: { foo: 'string' },
3132
force: false,
3233
region: 'aws.us-east-1a',
3334
version: '1.0.0',

0 commit comments

Comments
 (0)