Skip to content

feat: SDK update for version 1.3.0 - #125

Merged
ChiragAgg5k merged 1 commit into
1.xfrom
release/1.3.0
Oct 13, 2026
Merged

ChiragAgg5k merged 1 commit into
1.xfrom
release/1.3.0

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 1.3.0.

What's Changed

  • Added: analytics.createEvent in a new Analytics service to send tracking events
  • 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 1.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

This release adds Analytics event creation and profile-photo management, along with updates to account, OAuth, team membership, locale, and transaction APIs. It also publishes the 1.3.0 version metadata and adds examples for the new and expanded SDK methods.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 8
File Change
CHANGELOG.md, package.json, package-lock.json, src/client.ts Record the 1.3.0 release and update SDK version metadata.
src/enums/o-auth-provider.ts, src/index.ts, src/models.ts Export Analytics, add Webflow, and define the Account model.
src/services/analytics.ts, docs/examples/analytics/create-event.md Add the Analytics event-creation method and example.
src/services/avatars.ts, docs/examples/avatars/* Add profile-photo update and deletion methods with examples.
src/services/account.ts, docs/examples/account/* Add session totals, session duration/current options, and OAuth state support.
src/services/teams.ts, docs/examples/teams/create-membership.md Add optional membership IDs to membership creation.
src/services/databases.ts, src/services/documents-db.ts, src/services/tables-db.ts, src/services/vectors-db.ts, docs/examples/*/list-transactions.md Add optional total-count controls to transaction listing.
src/services/locale.ts, docs/examples/locale/* Add optional total-count controls to locale list methods.
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Use the Analytics events route Verifier: The code confirms that createEvent posts to /analytics/properties/{propertyId}/events, but the repository contains no server route definitions, API specification, tests, or documentation establishing that /analytics/{propertyId}/events is the registered route instead. Analytics is newly added, so there is also no previous implementation showing a route regression. The claimed unregistered path and resulting 404 cannot be verified from the available evidence.

Reviewed f521479 · 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 S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit ddf3fc7 into 1.x Oct 13, 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