Skip to content

feat: SDK update for version 28.3.0 - #189

Merged
ChiragAgg5k merged 2 commits into
28.xfrom
release-28.3.0
Oct 13, 2026
Merged

ChiragAgg5k merged 2 commits into
28.xfrom
release-28.3.0

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 28.3.0.

What's Changed

  • Added: analytics.createEvent in a new Analytics service to send tracking events
  • Added: Tracking helper that auto-tracks pageviews, outbound links, downloads, scroll depth and engagement time
  • Added: avatars.updatePhoto and avatars.deletePhoto to manage the user's custom profile photo, and the Account model
  • Added: Webflow to the OAuthProvider enum
  • Added: optional state on account.createOAuth2Session and account.createOAuth2Token, returned unchanged on the success and failure URLs
  • Added: optional duration on account.createEmailPasswordSession to set the session length
  • Added: optional current on account.deleteSessions to keep the current session signed in
  • Added: optional membershipId on teams.createMembership
  • Added: optional total on account.listSessions, the locale list methods and listTransactions

Patched onto 28.2.0: the diff of the SDK generated with and without these features, three-way merged onto the release. Everything else on the release is unchanged, including its X-Appwrite-Response-Format. membershipId is the last parameter of teams.createMembership, so existing positional calls keep working.

@hansi-codes

hansi-codes Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The reviewed changes correctly express nullable Account response fields, and no issue requires a lower merge-confidence tier.

This update publishes SDK version 28.3.0 with analytics event creation and browser tracking, profile-photo management, and the Account model. It adds Webflow as an OAuth provider and exposes optional parameters across account, team, locale, and transaction APIs. The latest update marks nullable fields in the Account response model as nullable in TypeScript.

Latest changes: The newest commit adds null to the types of the optional email metadata, password breach, and impersonation fields in Models.Account.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 10
File Change
CHANGELOG.md, README.md, package.json, package-lock.json, src/client.ts Update release metadata and SDK version information for 28.3.0 while retaining the response-format header.
docs/examples/** Add or update examples for the new analytics, avatar, account, transaction-list, locale, and team API capabilities.
src/enums/o-auth-provider.ts, src/index.ts, src/models.ts Add Webflow and export the new services, tracking types, and Account model; the latest change types nullable Account fields.
src/services/account.ts, src/services/analytics.ts, src/services/analytics-tracking.ts, src/services/avatars.ts Add analytics event creation and tracking, profile-photo operations, and optional account session and OAuth parameters.
src/services/databases.ts, src/services/documents-db.ts, src/services/tables-db.ts, src/services/vectors-db.ts, src/services/locale.ts, src/services/teams.ts Add the optional transaction and locale totals and membership ID parameter.
src/models.ts Adds the Account model type.
src/services/account.ts Adds optional session totals, session duration/current controls, and OAuth state support.
src/services/avatars.ts Adds profile photo upload and deletion methods.
src/services/locale.ts Adds the optional total flag to locale list methods.
src/services/teams.ts Adds the optional membershipId parameter to membership creation.

Reviewed the commits since 709f1f4 · 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/models.ts Outdated

@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 4f24b7a into 28.x 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.

1 participant