You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains updates to the SDK for version 28.3.0.
What's Changed
analytics.createEventin a newAnalyticsservice to send tracking eventsTrackinghelper that auto-tracks pageviews, outbound links, downloads, scroll depth and engagement timeavatars.updatePhotoandavatars.deletePhototo manage the user's custom profile photo, and theAccountmodelWebflowto theOAuthProviderenumstateonaccount.createOAuth2Sessionandaccount.createOAuth2Token, returned unchanged on the success and failure URLsdurationonaccount.createEmailPasswordSessionto set the session lengthcurrentonaccount.deleteSessionsto keep the current session signed inmembershipIdonteams.createMembershiptotalonaccount.listSessions, thelocalelist methods andlistTransactionsPatched 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 itsX-Appwrite-Response-Format.membershipIdis the last parameter ofteams.createMembership, so existing positional calls keep working.