diff --git a/.release-please-manifest.json b/.release-please-manifest.json index acba76f8..2ffa421e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.52.0" + ".": "0.53.0" } diff --git a/.stats.yml b/.stats.yml index 33f284fe..797624b4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 112 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-4ce09d1a7546ab36f578cb27d819187eeb90c580b11834c7ff7a375aa22f9a20.yml -openapi_spec_hash: 1043ab2d699f6c828680c3352cd4cece +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-b51c72a040c8dfea9c0693de6631feabfffe42922d5feb60b4ac0ee5c83bb8f4.yml +openapi_spec_hash: 8b671cfe4debe8d9ad7c39ba5b0eaf6d config_hash: 08d55086449943a8fec212b870061a3f diff --git a/CHANGELOG.md b/CHANGELOG.md index dc8a2d10..17ef6c01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.53.0 (2026-05-05) + +Full Changelog: [v0.52.0...v0.53.0](https://github.com/kernel/kernel-node-sdk/compare/v0.52.0...v0.53.0) + +### Features + +* Add 'switch' MFA option type for generic method-switcher links ([399a3d2](https://github.com/kernel/kernel-node-sdk/commit/399a3d2a2e80dc0f6330d8cd5b64b28c8c859839)) +* **api:** server-side search on GET /projects ([289a15f](https://github.com/kernel/kernel-node-sdk/commit/289a15f7c4f4ba72b9b6ab72d63408ba146de0a3)) +* Scope name uniqueness to project for profiles, session_pools, extensions, credentials ([d1d7378](https://github.com/kernel/kernel-node-sdk/commit/d1d7378d9102dd4571f0b7be6675c2a98d6faf59)) + ## 0.52.0 (2026-04-29) Full Changelog: [v0.51.0...v0.52.0](https://github.com/kernel/kernel-node-sdk/compare/v0.51.0...v0.52.0) diff --git a/package-lock.json b/package-lock.json index 15c521de..a62fdcee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onkernel/sdk", - "version": "0.52.0", + "version": "0.53.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@onkernel/sdk", - "version": "0.52.0", + "version": "0.53.0", "license": "Apache-2.0", "devDependencies": { "@arethetypeswrong/cli": "^0.17.0", diff --git a/package.json b/package.json index d7532e6a..1a8eadb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/sdk", - "version": "0.52.0", + "version": "0.53.0", "description": "The official TypeScript library for the Kernel API", "author": "Kernel <>", "types": "dist/index.d.ts", diff --git a/src/resources/auth/connections.ts b/src/resources/auth/connections.ts index 256800dd..d5815819 100644 --- a/src/resources/auth/connections.ts +++ b/src/resources/auth/connections.ts @@ -464,7 +464,7 @@ export namespace ManagedAuth { * If this field is associated with an MFA option, the type of that option (e.g., * password field linked to "Enter password" option) */ - linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null; + linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch' | null; /** * Field placeholder @@ -487,9 +487,11 @@ export namespace ManagedAuth { label: string; /** - * The MFA delivery method type (includes password for auth method selection pages) + * The MFA delivery method type. Includes 'password' for auth method selection + * pages and 'switch' for generic method-switcher links like "Use another method" + * that do not name a specific method. */ - type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password'; + type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch'; /** * Additional instructions from the site @@ -927,7 +929,7 @@ export namespace ConnectionFollowResponse { * If this field is associated with an MFA option, the type of that option (e.g., * password field linked to "Enter password" option) */ - linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null; + linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch' | null; /** * Field placeholder @@ -950,9 +952,11 @@ export namespace ConnectionFollowResponse { label: string; /** - * The MFA delivery method type (includes password for auth method selection pages) + * The MFA delivery method type. Includes 'password' for auth method selection + * pages and 'switch' for generic method-switcher links like "Use another method" + * that do not name a specific method. */ - type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password'; + type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch'; /** * Additional instructions from the site diff --git a/src/resources/browser-pools.ts b/src/resources/browser-pools.ts index f587ded7..fa9bd67e 100644 --- a/src/resources/browser-pools.ts +++ b/src/resources/browser-pools.ts @@ -220,7 +220,7 @@ export namespace BrowserPool { kiosk_mode?: boolean; /** - * Optional name for the browser pool. Must be unique within the organization. + * Optional name for the browser pool. Must be unique within the project. */ name?: string; @@ -413,7 +413,7 @@ export interface BrowserPoolCreateParams { kiosk_mode?: boolean; /** - * Optional name for the browser pool. Must be unique within the organization. + * Optional name for the browser pool. Must be unique within the project. */ name?: string; @@ -503,7 +503,7 @@ export interface BrowserPoolUpdateParams { kiosk_mode?: boolean; /** - * Optional name for the browser pool. Must be unique within the organization. + * Optional name for the browser pool. Must be unique within the project. */ name?: string; diff --git a/src/resources/credentials.ts b/src/resources/credentials.ts index 5ae00211..ef80c0dc 100644 --- a/src/resources/credentials.ts +++ b/src/resources/credentials.ts @@ -122,7 +122,7 @@ export interface CreateCredentialRequest { domain: string; /** - * Unique name for the credential within the organization + * Unique name for the credential within the project */ name: string; @@ -166,7 +166,7 @@ export interface Credential { domain: string; /** - * Unique name for the credential within the organization + * Unique name for the credential within the project */ name: string; @@ -252,7 +252,7 @@ export interface CredentialCreateParams { domain: string; /** - * Unique name for the credential within the organization + * Unique name for the credential within the project */ name: string; diff --git a/src/resources/extensions.ts b/src/resources/extensions.ts index b28eb86e..c9e282d2 100644 --- a/src/resources/extensions.ts +++ b/src/resources/extensions.ts @@ -132,7 +132,7 @@ export namespace ExtensionListResponse { /** * Optional, easier-to-reference name for the extension. Must be unique within the - * organization. + * project. */ name?: string | null; } @@ -164,7 +164,7 @@ export interface ExtensionUploadResponse { /** * Optional, easier-to-reference name for the extension. Must be unique within the - * organization. + * project. */ name?: string | null; } @@ -188,7 +188,7 @@ export interface ExtensionUploadParams { file: Uploadable; /** - * Optional unique name within the organization to reference this extension. + * Optional unique name within the project to reference this extension. */ name?: string; } diff --git a/src/resources/profiles.ts b/src/resources/profiles.ts index 5d6c63c4..aa78a014 100644 --- a/src/resources/profiles.ts +++ b/src/resources/profiles.ts @@ -62,7 +62,7 @@ export class Profiles extends APIResource { export interface ProfileCreateParams { /** - * Optional name of the profile. Must be unique within the organization. + * Optional name of the profile. Must be unique within the project. */ name?: string; } diff --git a/src/resources/projects/projects.ts b/src/resources/projects/projects.ts index b2d1219c..fb1827f7 100644 --- a/src/resources/projects/projects.ts +++ b/src/resources/projects/projects.ts @@ -155,7 +155,12 @@ export interface ProjectUpdateParams { status?: 'active' | 'archived'; } -export interface ProjectListParams extends OffsetPaginationParams {} +export interface ProjectListParams extends OffsetPaginationParams { + /** + * Case-insensitive substring match against project name + */ + query?: string; +} Projects.Limits = Limits; diff --git a/src/version.ts b/src/version.ts index 612bdd29..16fa1b47 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.52.0'; // x-release-please-version +export const VERSION = '0.53.0'; // x-release-please-version diff --git a/tests/api-resources/projects/projects.test.ts b/tests/api-resources/projects/projects.test.ts index d3fb12ee..229d6581 100644 --- a/tests/api-resources/projects/projects.test.ts +++ b/tests/api-resources/projects/projects.test.ts @@ -65,7 +65,14 @@ describe('resource projects', () => { test.skip('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( - client.projects.list({ limit: 100, offset: 0 }, { path: '/_stainless_unknown_path' }), + client.projects.list( + { + limit: 100, + offset: 0, + query: 'query', + }, + { path: '/_stainless_unknown_path' }, + ), ).rejects.toThrow(Kernel.NotFoundError); });