Skip to content

feat: SDK update for version 28.0.0 - #163

Merged
ChiragAgg5k merged 12 commits into
mainfrom
dev
Aug 14, 2026
Merged

feat: SDK update for version 28.0.0#163
ChiragAgg5k merged 12 commits into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Aug 14, 2026

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 28.0.0.

What's Changed

  • Breaking: removed account.createJWT; use users.createJWT instead. A leaked JWT could mint further JWTs, letting a credential outlive its own expiry — a session cannot duplicate itself to live forever either
  • Breaking: removed project.createKey. A leaked key could mint further hidden keys, making a compromise far harder to contain and revoke
  • Breaking: activities.listEvents queries now takes an array instead of a string
  • Added: embeddings service with createTextEmbeddings, plus the EmbeddingModel enum
  • Added: TablesDB migration methods listMigrations, createMigration, getMigration, deleteMigration, cutoverMigration, and listOperations
  • Added: proxy.createInvalidation for purging cached edge responses, plus the InvalidationType enum
  • Added: apps.deleteInstallation
  • Added: users.getMFAChallenge and the MfaChallengeSecret model
  • Added: project.updateMFAFactorsPolicy and the PolicyMfaFactors model
  • Added: client.setOrganization for organization-scoped requests
  • Added: folder parameter to storage.createFile
  • Added: syncMode parameter to tablesDB.create and tablesDB.update, and specification to tablesDB.update
  • Added: installationScopes parameter to project.updateOAuth2Server
  • Added: custom authentication factor, node-26 runtime, mfa-factors project policy, and the embeddings.write and proxy.invalidations.write key scopes
  • Updated: response format to 1.9.6

@greptile-apps

greptile-apps Bot commented Aug 14, 2026

Copy link
Copy Markdown

Greptile Summary

The PR updates the Node.js SDK to API format 1.9.6 and package version 28.0.0.

  • Adds embeddings, proxy invalidation, TablesDB migration, application installation, MFA, and organization-scoping APIs.
  • Updates generated models, enums, service request contracts, examples, and tests.
  • Removes account JWT creation and project key creation from their former services.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains in the available follow-up review scope.

No blocking failure remains.

Important Files Changed

Filename Overview
src/client.ts Adds organization-scoping configuration and request-header support; no eligible follow-up defect was established.
src/services/tables-db.ts Adds migration and operation endpoints and extends database create/update parameters.
src/services/embeddings.ts Introduces the text-embeddings endpoint with corresponding model selection.
src/services/proxy.ts Adds cache invalidation request support.
src/services/apps.ts Updates installation APIs, including installation deletion and session-authenticated operations.
src/services/project.ts Adds MFA-factor policy and OAuth installation-scope support while removing project key creation.
src/services/users.ts Adds user JWT creation and MFA challenge retrieval.
src/services/storage.ts Extends file creation with optional folder placement.
src/models.ts Adds and updates generated response models required by the new service APIs.
package.json Bumps the SDK version and adds an exact brace-expansion override.

Reviews (4): Last reviewed commit: "chore: merge main into dev for the relea..." | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k changed the title feat: Node.js SDK update for version 28.0.0 feat: SDK update for version 28.0.0 Aug 14, 2026
@ChiragAgg5k ChiragAgg5k changed the title feat: SDK update for version 28.0.0 feat: Node.js SDK update for version 28.0.0 Aug 14, 2026
@ChiragAgg5k ChiragAgg5k changed the title feat: Node.js SDK update for version 28.0.0 feat: SDK update for version 28.0.0 Aug 14, 2026

const tablesDB = new sdk.TablesDB(client);

const result = await tablesDB.cutoverMigration({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets check with Jake if this is 100% terminology we want. its not what we commonly do. We usually createMnigrationCutover, for exmaple

Comment on lines +15 to +17
specification: 'serverless', // optional
replicas: 0, // optional
syncMode: 'async' // optional

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for fututre, we might want enums here

@ChiragAgg5k
ChiragAgg5k merged commit 6c926f7 into main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants