Skip to content
Open
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.69.0"
".": "0.70.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 120
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-cde481b2f320ce48f83db84ae96226b0e7568146c9387c4fefebf286ecb0dd0a.yml
openapi_spec_hash: 6bd86d767290fcd7e2a6aae26dff5417
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-ab4e7c50c41fefd891648fa84ba0258986f192ba1bde9f42cbdf487f64c4cc27.yml
openapi_spec_hash: b4bcd6557f7045ecff30b01e02d28ac5
config_hash: 03c7e57f268c750e2415831662e95969
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.70.0 (2026-06-22)

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

### Features

* Align browser-pool timeout/viewport/fill-rate contract with implementation; reject save_changes on update ([c3fe382](https://github.com/kernel/kernel-node-sdk/commit/c3fe38247a404a040812508e21c1252c9c421279))

## 0.69.0 (2026-06-18)

Full Changelog: [v0.68.0...v0.69.0](https://github.com/kernel/kernel-node-sdk/compare/v0.68.0...v0.69.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.69.0",
"version": "0.70.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
18 changes: 12 additions & 6 deletions src/resources/browser-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ export namespace BrowserPool {
extensions?: Array<Shared.BrowserExtension>;

/**
* Percentage of the pool to fill per minute. Defaults to 10%.
* Percentage of the pool to fill per minute. Defaults to 10. The cap is 25 for
* most organizations but can be raised per-organization, so only the lower bound
* is enforced here.
*/
fill_rate_per_minute?: number;

Expand Down Expand Up @@ -263,7 +265,7 @@ export namespace BrowserPool {

/**
* Default idle timeout in seconds for browsers acquired from this pool before they
* are destroyed. Defaults to 600 seconds if not specified
* are destroyed. Defaults to 600 seconds. Minimum 10, maximum 259200 (72 hours).
*/
timeout_seconds?: number;

Expand Down Expand Up @@ -439,7 +441,9 @@ export interface BrowserPoolCreateParams {
extensions?: Array<Shared.BrowserExtension>;

/**
* Percentage of the pool to fill per minute. Defaults to 10%.
* Percentage of the pool to fill per minute. Defaults to 10. The cap is 25 for
* most organizations but can be raised per-organization, so only the lower bound
* is enforced here.
*/
fill_rate_per_minute?: number;

Expand Down Expand Up @@ -489,7 +493,7 @@ export interface BrowserPoolCreateParams {

/**
* Default idle timeout in seconds for browsers acquired from this pool before they
* are destroyed. Defaults to 600 seconds if not specified
* are destroyed. Defaults to 600 seconds. Minimum 10, maximum 259200 (72 hours).
*/
timeout_seconds?: number;

Expand Down Expand Up @@ -531,7 +535,9 @@ export interface BrowserPoolUpdateParams {
extensions?: Array<Shared.BrowserExtension>;

/**
* Percentage of the pool to fill per minute. Defaults to 10%.
* Percentage of the pool to fill per minute. Defaults to 10. The cap is 25 for
* most organizations but can be raised per-organization, so only the lower bound
* is enforced here.
*/
fill_rate_per_minute?: number;

Expand Down Expand Up @@ -588,7 +594,7 @@ export interface BrowserPoolUpdateParams {

/**
* Default idle timeout in seconds for browsers acquired from this pool before they
* are destroyed. Defaults to 600 seconds if not specified
* are destroyed. Defaults to 600 seconds. Minimum 10, maximum 259200 (72 hours).
*/
timeout_seconds?: number;

Expand Down
8 changes: 4 additions & 4 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ export interface BrowserProfile {
*/
export interface BrowserViewport {
/**
* Browser window height in pixels.
* Browser window height in pixels. Any positive integer is accepted.
*/
height: number;

/**
* Browser window width in pixels.
* Browser window width in pixels. Any positive integer is accepted.
*/
width: number;

/**
* Display refresh rate in Hz. If omitted, automatically determined from width and
* height.
* Display refresh rate in Hz. Any positive integer is accepted; if omitted,
* automatically determined from width and height.
*/
refresh_rate?: number;
}
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.69.0'; // x-release-please-version
export const VERSION = '0.70.0'; // x-release-please-version
2 changes: 1 addition & 1 deletion tests/api-resources/browser-pools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('resource browserPools', () => {
proxy_id: 'proxy_id',
start_url: 'https://example.com',
stealth: true,
timeout_seconds: 60,
timeout_seconds: 10,
viewport: {
height: 800,
width: 1280,
Expand Down
Loading