Skip to content

feat: SDK update for version 19.0.0 - #122

Merged
ChiragAgg5k merged 7 commits into
mainfrom
dev
Oct 13, 2026
Merged

ChiragAgg5k merged 7 commits into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 19.0.0.

What's Changed

  • Breaking: removed the Assistant service (assistant.chat) and _APP_ASSISTANT_ENABLED from ConsoleVariables
  • Breaking: waf.getRule and waf.listRules return the action-specific rule models (WafRuleBypass, WafRuleChallenge, WafRuleDeny, WafRuleRateLimit, WafRuleRedirect); WafRule is removed
  • Breaking: removed the deno-1.21, deno-1.24 and deno-1.35 runtimes from Runtime and BuildRuntime
  • Updated: X-Appwrite-Response-Format is now 2.4.0
  • Updated: missing fields in API responses are filled with their documented defaults
  • Added: Analytics service: listProperties, createProperty, getProperty, updateProperty, deleteProperty, createEvent and listMetrics, with AnalyticsDimension and AnalyticsInterval enums
  • Added: Tracking helper that auto-tracks pageviews, outbound links, downloads, scroll depth and engagement time
  • Added: admin threat methods listThreats, createThreat, getThreat, deleteThreat and updateThreatStatus
  • Added: admin cache methods deletePlatformCache, deletePlatformResourceCache, deleteProjectCache and deleteProjectResourceCache
  • Added: project.updatePasswordRotationPolicy and the PolicyPasswordRotation model
  • Added: optional state on account.createOAuth2Session and account.createOAuth2Token
  • Added: optional fingerprints on project.createAndroidPlatform and project.updateAndroidPlatform, and on PlatformAndroid
  • Added: optional membershipId on teams.createMembership
  • Added: project.listEnvironments, createEnvironment, getEnvironment, updateEnvironment and deleteEnvironment, with parentId on Project and environments on BillingPlan
  • Added: trigram in DatabasesIndexType and TablesDBIndexType, and supportForTrigramIndex on ConsoleVariables
  • Added: the package ships the spec it was generated from as spec.json, exported as @appwrite.io/console/spec.json
  • Added: analytics.read and analytics.write key scopes, analytics usage metrics, and avatarsStorageTotal on UsageOrganization

@ChiragAgg5k ChiragAgg5k changed the title feat: Console SDK update for version 19.0.0 feat: SDK update for version 19.0.0 Oct 13, 2026
@hansi-codes

hansi-codes Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Updates the Console SDK to version 19.0.0 for Appwrite API 2.4.0, refreshing service APIs, models, enums, and documentation. The update adds Admin threat/cache operations, Analytics and tracking APIs, project environment operations, and trigram index metadata, alongside the generated spec and package updates.

8 of 42 changed files were too large to include in full.

Latest changes: The newest commits add missing array defaults across service response models, preserve the JSON toString helper when applying defaults, and refine background push notifications to skip data-only envelopes.

Verdict New comments Fixed Still open
💬 Commented 0 2 0

Note

Part of the diff was too large to review, so Hansi did not approve.

📂 Walkthrough · 6
File Change
src/client.ts Applies response defaults and preserves the JSON serialization helper on cloned model responses.
src/services/* Refreshes generated service operations and response models, including new APIs and missing collection defaults.
src/models.ts, src/enums/*, src/index.ts Updates model and enum definitions and exports the refreshed public API.
spec.json, package.json, package-lock.json Publishes the updated API specification and package metadata and dependencies.
docs/examples/*, README.md, CHANGELOG.md Updates SDK documentation and examples for the 19.0.0 API surface.
src/services/project.ts Adds project environment list, create, get, update, and delete operations.
✅ Fixed since the last review · 2
  • Default missing nested collections · src/client.ts:85
  • Preserve the response JSON toString helper · src/client.ts:83

Reviewed the commits since 0c412d1 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Tier A · See the inline comments. Summary

Comment thread src/client.ts
Comment thread src/client.ts
@ChiragAgg5k ChiragAgg5k changed the title feat: SDK update for version 19.0.0 feat: Console SDK update for version 19.0.0 Oct 13, 2026
@ChiragAgg5k ChiragAgg5k changed the title feat: Console SDK update for version 19.0.0 feat: SDK update for version 19.0.0 Oct 13, 2026
@ChiragAgg5k ChiragAgg5k changed the title feat: SDK update for version 19.0.0 feat: Console SDK update for version 19.0.0 Oct 13, 2026
@ChiragAgg5k ChiragAgg5k changed the title feat: Console SDK update for version 19.0.0 feat: SDK update for version 19.0.0 Oct 13, 2026

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 8a6c847 into main Oct 13, 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.

2 participants