chore: bump to 3.1.0 - #74
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThis change updates the 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Dhruwang
approved these changes
Aug 6, 2026
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.



Release prep for #73.
Why minor, not patch
It adds a feature. Survey-interaction segment filters ("have seen X", "have completed X", …) did not work on React Native before — the SDK kept using the segment list it received at app launch, so a rule like "completed survey A → show survey B" never fired in the same session.
Workspaces using interaction targeting get new traffic. An extra
POST /userafter a display, response or finish — gated per survey and per event, and routed through the UpdateQueue so a display → response → finish burst debounces into one request. Workspaces that don't use interaction targeting see no change at all, since the server omits the gate entirely for them.Unlike the native SDKs, there was no dormant timer bug to fix here —
addUserStateExpiryCheckListenerextendsexpiresAtrather than refetching, matchingjs-core. So this release does not change baseline traffic for existing apps.No public API changed.
src/index.tsstill exports exactlytrack,setUserId,setAttribute,setAttributes,setLanguage,logoutandFormbricks. The newinteractionRefreshfield onTSurveyis an optional addition to a type that isn't exported, andrenderHtmlis exported from its module for tests but not re-exported from the entry point —package.json'sexportsmap is restricted to., so it stays package-internal.Changes
packages/react-native/package.json:3.0.1→3.1.0The playground depends on
workspace:*, so nothing else needs updating.Verification
tsc --noEmitclean,biome checkclean, 170 tests passing.