Skip to content

chore: bump to 3.1.0 - #74

Merged
pandeymangg merged 1 commit into
mainfrom
chore/bump-3.1.0
Aug 6, 2026
Merged

chore: bump to 3.1.0#74
pandeymangg merged 1 commit into
mainfrom
chore/bump-3.1.0

Conversation

@pandeymangg

Copy link
Copy Markdown
Contributor

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 /user after 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 — addUserStateExpiryCheckListener extends expiresAt rather than refetching, matching js-core. So this release does not change baseline traffic for existing apps.

No public API changed. src/index.ts still exports exactly track, setUserId, setAttribute, setAttributes, setLanguage, logout and Formbricks. The new interactionRefresh field on TSurvey is an optional addition to a type that isn't exported, and renderHtml is exported from its module for tests but not re-exported from the entry point — package.json's exports map is restricted to ., so it stays package-internal.

Changes

  • packages/react-native/package.json: 3.0.13.1.0

The playground depends on workspace:*, so nothing else needs updating.

Verification

tsc --noEmit clean, biome check clean, 170 tests passing.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: da87553c-4344-493a-8ab6-02cd98e7c263

📥 Commits

Reviewing files that changed from the base of the PR and between b61e175 and afa85b6.

📒 Files selected for processing (1)
  • packages/react-native/package.json

Walkthrough

This change updates the packages/react-native/package.json version field. The package version changes from 3.0.1 to 3.1.0.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: updating the React Native package version to 3.1.0.
Description check ✅ Passed The description explains the 3.1.0 release preparation, interaction targeting changes, API status, and verification results.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

@pandeymangg
pandeymangg requested a review from Dhruwang August 5, 2026 15:41
@pandeymangg
pandeymangg added this pull request to the merge queue Aug 6, 2026
Merged via the queue into main with commit 906fbf0 Aug 6, 2026
10 checks passed
@pandeymangg
pandeymangg deleted the chore/bump-3.1.0 branch August 6, 2026 05:27
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.

2 participants