Skip to content

feat: SDK update for version 15.6.0 - #107

Merged
ChiragAgg5k merged 1 commit into
mainfrom
dev
Jul 28, 2026
Merged

feat: SDK update for version 15.6.0#107
ChiragAgg5k merged 1 commit into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Jul 28, 2026

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 15.6.0.

What's Changed

  • Added: apps installation methods listInstallations, getInstallation, deleteInstallation, and createInstallationToken
  • Added: vcs.listNamespaces() for listing provider namespaces available to an installation
  • Added: providerNamespace parameter to vcs.createRepository()
  • Added: listOperations() on tablesDB, documentsDB, vectorsDB, mysql, postgresql, and mongo for dedicated database lifecycle operations
  • Added: VcsNamespace, VcsNamespaceList, DedicatedDatabaseOperation, and DedicatedDatabaseOperationList models
  • Fixed: activities.listEvents() takes queries as string[] instead of string
  • Updated: vcs.listRepositories() supports equal on namespace in queries
  • Updated: storage.listFiles() documents folder as a filterable attribute
  • Updated: Usage metric docs distinguish an empty points[] from a genuine zero value

Notes for reviewers

activities.listEvents() signature change. queries goes from string to string[]. The old type was simply wrong — the endpoint has always taken an array server-side, so any caller passing a string was already getting a rejected request. No working code breaks; only code that could not have worked stops compiling. It is typed as a fix rather than a breaking change, consistent with 15.3.0–15.5.0 shipping outright method removals under minor bumps.

Blocks the CLI release. appwrite/sdk-for-cli#346 (v23.2.0) currently fails tsc because it calls listInstallations, getInstallation, deleteInstallation, createInstallationToken, listOperations, listNamespaces, the 4-argument createRepository, and the array-typed listEvents — none of which exist in @appwrite.io/console@15.5.0. This release supplies all of them, and needs to be published to npm before the CLI can build.

@ChiragAgg5k ChiragAgg5k changed the title feat: Console SDK update for version 15.6.0 feat: SDK update for version 15.6.0 Jul 28, 2026
@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates the Console SDK to version 15.6.0.

  • Adds app-installation and VCS namespace APIs.
  • Adds lifecycle-operation APIs across dedicated database services.
  • Extends generated models and corrects activity query typing.
  • Updates examples, documentation, package metadata, and dependency resolution.

Confidence Score: 4/5

The PR appears safe to merge, with a non-blocking Node 18 compatibility inconsistency in the new dependency override.

The SDK methods and model updates follow established generated-code conventions, but the overridden development dependency excludes a Node.js version that the package still claims to support.

Files Needing Attention: package.json, package-lock.json

Important Files Changed

Filename Overview
src/services/apps.ts Adds installation listing, retrieval, deletion, and token creation using established SDK request and overload conventions.
src/services/vcs.ts Adds namespace listing and optional repository namespace selection with consistent request serialization.
src/services/activities.ts Corrects event query parameters from a scalar string to the array shape supported by the client serializer.
src/models.ts Adds VCS namespace and database-operation models and extends file and backup response types.
package.json Bumps the SDK version and adds an override whose Node.js engine range conflicts with the package's declared Node 18 support.
package-lock.json Locks the version bump and overridden dependency, including the conflicting Node.js engine requirement.
src/services/documents-db.ts Adds lifecycle-operation listing using the repository's standard GET request pattern.
src/services/tables-db.ts Adds lifecycle-operation listing using the repository's standard GET request pattern.

Fix All in Claude Code Fix All in Codex

Prompt To Fix All With AI
### Issue 1
package.json:46-48
**Override conflicts with Node 18**

The package declares support for Node.js 18, but the new override forces `brace-expansion@5.0.8`, which declares Node `20 || >=22`; Node 18 installations therefore report an unsupported engine and fail when strict engine enforcement is enabled, blocking development dependency installation and SDK builds.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Reviews (1): Last reviewed commit: "chore: update Console SDK to 15.6.0" | Re-trigger Greptile

Comment thread package.json
Comment on lines 46 to +48
"typescript": "5.9.3"
},
"overrides": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Override conflicts with Node 18

The package declares support for Node.js 18, but the new override forces brace-expansion@5.0.8, which declares Node 20 || >=22; Node 18 installations therefore report an unsupported engine and fail when strict engine enforcement is enabled, blocking development dependency installation and SDK builds.

Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 46-48

Comment:
**Override conflicts with Node 18**

The package declares support for Node.js 18, but the new override forces `brace-expansion@5.0.8`, which declares Node `20 || >=22`; Node 18 installations therefore report an unsupported engine and fail when strict engine enforcement is enabled, blocking development dependency installation and SDK builds.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Claude Code Fix in Codex

@ChiragAgg5k
ChiragAgg5k merged commit 0813d72 into main Jul 28, 2026
2 checks 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.

1 participant