Repository navigation
Bump the Appwrite web SDK to 29.3.0-rc.1 - #12
Merged
Merged
Conversation
The tracker now sends scroll depth and engagement time as non-interactive, so they no longer end a bounce.
RefetchProject ID: Functions (4)
Tip Every Git commit and branch gets its own deployment URL automatically |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Moves the browser SDK from
28.2.0-rc.7to29.3.0-rc.1(npmnext), pinned exactly.In 29.3.0-rc.1 the tracker sends
scroll_depthandengagement_timewithinteractive: false. Those events no longer end a bounce, so a visitor who only scrolls still counts as bounced.28 → 29 breaking changes
29.0.0 breaks four things: the 2.5 response format, defaults filled into responses, nullable model fields typed
T | null, andoauth2resourceparams asstring[]. None of them affect refetch. The browser SDK is used only insrc/lib/appwrite-analytics.ts(Client,Analytics,Tracking) andsrc/lib/appwrite-browser.ts(Account,Avatars,ID,OAuthProvider.Appwrite). Neither file reads response models or callsoauth2, so no code changes are needed.functions/*and the server code usenode-appwriteand are unchanged.pnpm-workspace.yaml: theminimumReleaseAgeExcludeentry now names the new RC instead of the old one.Checks
tsc --noEmitpassesvitest run: 113 tests passvite buildpassesprettier --checkpasses on the changed filesstartAutoTracking/trackAppwriteEventagainst the new SDK, with a stubbed DOM on arefetch.iohost andfetchcaptured. It sentpageview,scroll_depth(interactive: false),engagement_time(interactive: false) and a customvoteevent with its props, which has nointeractivefield.