Skip to content

Commit a27ee7c

Browse files
release: 1.2.0-beta-2 (#682)
* feat(blueprint): Set cilium network policy on blueprint build (#7006) * chore(devbox): Remove network policy from devbox view; use launch params instead (#7025) * release: 1.2.0-beta-2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent fcc267a commit a27ee7c

10 files changed

Lines changed: 62 additions & 14 deletions

File tree

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-8ebd9dbfacb180ec9c980f5e46a814b0c8a3cb6063136db18780271d33a8dfa6.yml
3-
openapi_spec_hash: 12d4edec72b722945bade9419636d63e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-5bbc26893c51a60089ff83a9d067c72252989fbfc5fa941cabf801f62b314c77.yml
3+
openapi_spec_hash: b5d826e352ca1ac815b7530278f4a5ab
44
config_hash: ec63e62d4660c9c924b39a8671c2fdb1

CHANGELOG.md

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

3+
## 1.2.0-beta-2 (2026-01-20)
4+
5+
Full Changelog: [v1.2.0-beta...v1.2.0-beta-2](https://github.com/runloopai/api-client-ts/compare/v1.2.0-beta...v1.2.0-beta-2)
6+
7+
### Features
8+
9+
* **blueprint:** Set cilium network policy on blueprint build ([#7006](https://github.com/runloopai/api-client-ts/issues/7006)) ([038fc8a](https://github.com/runloopai/api-client-ts/commit/038fc8a393d533d4a29532b570fc7b48ef3292f3))
10+
11+
12+
### Chores
13+
14+
* **devbox:** Remove network policy from devbox view; use launch params instead ([#7025](https://github.com/runloopai/api-client-ts/issues/7025)) ([849bcfa](https://github.com/runloopai/api-client-ts/commit/849bcfab616e79e5b52612afd09ee3eab36d3f91))
15+
316
## 1.2.0-beta (2026-01-19)
417

518
Full Changelog: [v1.1.0...v1.2.0-beta](https://github.com/runloopai/api-client-ts/compare/v1.1.0...v1.2.0-beta)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@runloop/api-client",
3-
"version": "1.2.0-beta",
3+
"version": "1.2.0-beta-2",
44
"description": "The official TypeScript library for the Runloop API",
55
"author": "Runloop <support@runloop.ai>",
66
"types": "dist/sdk.d.ts",

src/resources/blueprints.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ export interface BlueprintBuildFromInspectionParameters {
251251
*/
252252
metadata?: { [key: string]: string } | null;
253253

254+
/**
255+
* (Optional) ID of the network policy to apply during blueprint build. This
256+
* restricts network access during the build process.
257+
*/
258+
network_policy_id?: string | null;
259+
254260
/**
255261
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
256262
* can be used as environment variables in system_setup_commands. Example:
@@ -348,6 +354,15 @@ export interface BlueprintBuildParameters {
348354
*/
349355
metadata?: { [key: string]: string } | null;
350356

357+
/**
358+
* (Optional) ID of the network policy to apply during blueprint build. This
359+
* restricts network access during the build process. This does not affect devboxes
360+
* created from this blueprint; if you want devboxes created from this blueprint to
361+
* inherit the network policy, set the network_policy_id on the blueprint launch
362+
* parameters.
363+
*/
364+
network_policy_id?: string | null;
365+
351366
/**
352367
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
353368
* will be available to commands during the build. Secrets are NOT stored in the
@@ -657,6 +672,15 @@ export interface BlueprintCreateParams {
657672
*/
658673
metadata?: { [key: string]: string } | null;
659674

675+
/**
676+
* (Optional) ID of the network policy to apply during blueprint build. This
677+
* restricts network access during the build process. This does not affect devboxes
678+
* created from this blueprint; if you want devboxes created from this blueprint to
679+
* inherit the network policy, set the network_policy_id on the blueprint launch
680+
* parameters.
681+
*/
682+
network_policy_id?: string | null;
683+
660684
/**
661685
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
662686
* will be available to commands during the build. Secrets are NOT stored in the
@@ -782,6 +806,12 @@ export interface BlueprintCreateFromInspectionParams {
782806
*/
783807
metadata?: { [key: string]: string } | null;
784808

809+
/**
810+
* (Optional) ID of the network policy to apply during blueprint build. This
811+
* restricts network access during the build process.
812+
*/
813+
network_policy_id?: string | null;
814+
785815
/**
786816
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
787817
* can be used as environment variables in system_setup_commands. Example:
@@ -862,6 +892,15 @@ export interface BlueprintPreviewParams {
862892
*/
863893
metadata?: { [key: string]: string } | null;
864894

895+
/**
896+
* (Optional) ID of the network policy to apply during blueprint build. This
897+
* restricts network access during the build process. This does not affect devboxes
898+
* created from this blueprint; if you want devboxes created from this blueprint to
899+
* inherit the network policy, set the network_policy_id on the blueprint launch
900+
* parameters.
901+
*/
902+
network_policy_id?: string | null;
903+
865904
/**
866905
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
867906
* will be available to commands during the build. Secrets are NOT stored in the

src/resources/devboxes/devboxes.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -960,12 +960,6 @@ export interface DevboxCreateParams {
960960
*/
961961
name?: string | null;
962962

963-
/**
964-
* (Optional) ID of the network policy to apply to this Devbox. If not specified,
965-
* the default network policy will be used.
966-
*/
967-
network_policy_id?: string | null;
968-
969963
/**
970964
* Repository connection id the devbox should source its base image from.
971965
*/

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.2.0-beta'; // x-release-please-version
1+
export const VERSION = '1.2.0-beta-2'; // x-release-please-version

tests/api-resources/blueprints.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ describe('resource blueprints', () => {
5252
user_parameters: { uid: 0, username: 'username' },
5353
},
5454
metadata: { foo: 'string' },
55+
network_policy_id: 'network_policy_id',
5556
secrets: { foo: 'string' },
5657
services: [
5758
{
@@ -195,6 +196,7 @@ describe('resource blueprints', () => {
195196
user_parameters: { uid: 0, username: 'username' },
196197
},
197198
metadata: { foo: 'string' },
199+
network_policy_id: 'network_policy_id',
198200
secrets: { foo: 'string' },
199201
system_setup_commands: ['string'],
200202
});
@@ -293,6 +295,7 @@ describe('resource blueprints', () => {
293295
user_parameters: { uid: 0, username: 'username' },
294296
},
295297
metadata: { foo: 'string' },
298+
network_policy_id: 'network_policy_id',
296299
secrets: { foo: 'string' },
297300
services: [
298301
{

tests/api-resources/devboxes/devboxes.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ describe('resource devboxes', () => {
6969
},
7070
],
7171
name: 'name',
72-
network_policy_id: 'network_policy_id',
7372
repo_connection_id: 'repo_connection_id',
7473
secrets: { foo: 'string' },
7574
snapshot_id: 'snapshot_id',

0 commit comments

Comments
 (0)