feat: Web SDK update for version 25.1.0#170
Conversation
Greptile SummaryThis PR ships the 25.1.0 Web SDK update, adding two new REST services (
Confidence Score: 5/5Safe to merge; all changes are additive and the realtime socket lifecycle refactor is well-guarded. The new services and models are straightforward additions, the realtime reconnect and single-flight socket logic is carefully commented and defensively coded, and no existing behaviour is broken by the changes. src/services/realtime.ts — verify whether the server-side realtime protocol supports expiresAt in presence frames and, if so, expose it in RealtimePresenceCreate. Important Files Changed
Reviews (2): Last reviewed commit: "chore: update Web SDK to 25.1.0" | Re-trigger Greptile |
| "homepage": "https://appwrite.io/support", | ||
| "description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API", | ||
| "version": "25.0.0", | ||
| "version": "25.1.0", |
There was a problem hiding this comment.
Breaking rename shipped as a minor version bump
The PR title calls this "26.0.0" and the description explicitly lists breaking changes, but package.json (and CHANGELOG.md) record the release as 25.1.0 — a minor bump. This matters because createExecution's path parameter was renamed to xpath in the object-style overload: any caller passing { ..., path: '/endpoint' } will silently stop sending the parameter (it becomes undefined), and functions will execute against the default / path instead. Callers who pin to ^25.0.0 would pick up this change automatically, so a major version is needed to respect semver.
There was a problem hiding this comment.
no where 26.0.0 is present
This PR contains updates to the Web SDK for version 25.1.0.
What's Changed
presenceschannel andRealtimePresencetypes for presence subscriptionsAdvisorandPresencesservicesInsight,Presence, andReportmodels with list variantsfusionauth,keycloak, andkickproviders toOAuthProviderenumClient.setCookie()method for forwarding cookies in server-side runtimesX-Appwrite-Response-Formatheader to1.9.5