diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 333e70a1..f85d240a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.112.0" + ".": "0.113.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index bee4127d..50a77127 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [0.113.0](https://github.com/kernel/kernel-node-sdk/compare/v0.112.0...v0.113.0) (2026-09-27) + + +### Features + +* Randomize automatic search provider routing ([0b866b2](https://github.com/kernel/kernel-node-sdk/commit/0b866b2ad6a4f7486047afd5e2086c2791ab5dd5)) +* Support 16GiB memory in browser pools ([8aa203e](https://github.com/kernel/kernel-node-sdk/commit/8aa203ed994b45bd978cabd260fb0c0f969e26c3)) + ## [0.112.0](https://github.com/kernel/kernel-node-sdk/compare/v0.111.0...v0.112.0) (2026-09-24) diff --git a/package.json b/package.json index 539bd6d5..32f1e608 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/sdk", - "version": "0.112.0", + "version": "0.113.0", "description": "The official TypeScript library for the Kernel API", "author": "Kernel <>", "types": "dist/index.d.ts", diff --git a/src/resources/browser-pools.ts b/src/resources/browser-pools.ts index 2f71c1ba..a4d88533 100644 --- a/src/resources/browser-pools.ts +++ b/src/resources/browser-pools.ts @@ -258,6 +258,11 @@ export namespace BrowserPool { */ kiosk_mode?: boolean; + /** + * Memory allocated to the browser session. + */ + memory?: BrowsersAPI.BrowserMemory; + /** * Optional name for the browser pool. Must be unique within the project. */ @@ -569,6 +574,11 @@ export interface BrowserPoolCreateParams { */ kiosk_mode?: boolean; + /** + * Memory requested for headful browsers in this pool. + */ + memory?: BrowsersAPI.BrowserMemoryRequest; + /** * Optional name for the browser pool. Must be unique within the project. */ @@ -814,6 +824,13 @@ export interface BrowserPoolUpdateParams { */ kiosk_mode?: boolean; + /** + * Memory requested for newly-warmed headful browsers in this pool. Existing + * browsers retain their original allocation. Use discard_all_idle to replace idle + * browsers. + */ + memory?: '8GiB' | '16GiB'; + /** * If provided, replaces the pool name. Empty string is a no-op; the pool name * cannot be cleared or reset to empty once assigned. diff --git a/src/resources/search/providers.ts b/src/resources/search/providers.ts index 6f96d5a9..6ed4f077 100644 --- a/src/resources/search/providers.ts +++ b/src/resources/search/providers.ts @@ -173,7 +173,8 @@ export type ProviderListResponse = Array; export interface ProviderListParams { /** - * Optional concrete provider slug filter. Omit to list every provider. + * Optional concrete provider slug filter. Omit to list every provider. A slug that + * is not listed returns an empty array. */ slug?: | 'brave' diff --git a/src/version.ts b/src/version.ts index 142b029c..4e025b9f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.112.0'; // x-release-please-version +export const VERSION = '0.113.0'; // x-release-please-version diff --git a/tests/api-resources/browser-pools.test.ts b/tests/api-resources/browser-pools.test.ts index 15dbfc24..6d7d2848 100644 --- a/tests/api-resources/browser-pools.test.ts +++ b/tests/api-resources/browser-pools.test.ts @@ -29,6 +29,7 @@ describe('resource browserPools', () => { fill_rate_per_minute: 0, headless: false, kiosk_mode: true, + memory: '8GiB', name: 'my-pool', network: { private_hosts: ['*.example.ts.net', '100.64.0.0/10'],