Skip to content

chore: bump to 1.1.0 - #39

Merged
pandeymangg merged 2 commits into
mainfrom
chore/bump-1.1.0
Aug 6, 2026
Merged

chore: bump to 1.1.0#39
pandeymangg merged 2 commits into
mainfrom
chore/bump-1.1.0

Conversation

@pandeymangg

Copy link
Copy Markdown
Contributor

Release prep for #38.

Why minor, not patch

It adds a feature. Survey-interaction segment filters ("have seen X", "have completed X", …) did not work on Flutter 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. One extra user-state request after a display, response or finish — gated per survey and per event, and routed through the UpdateQueue so a burst debounces into a single 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 — expiry_ticker extends the user-state expiry rather than refetching, matching js-core. So baseline traffic for existing apps is unchanged.

No public API changed. lib/formbricks.dart still exports only LogLevel, result.dart, errors.dart and the Formbricks widget. The new TInteractionRefresh / InteractionSource types, the added FinishedEvent variant and the TSurvey.interactionRefresh field all live under lib/src/, which is private by convention and not exported.

Worth noting explicitly: FinishedEvent is a new variant of the sealed WebViewEvent, which would be a breaking change for any consumer writing an exhaustive switch over it. It is safe only because that class is not exported. If WebViewEvent is ever promoted to the public API, adding variants stops being a minor.

Changes

  • packages/formbricks/pubspec.yaml: 1.0.01.1.0
  • packages/formbricks/CHANGELOG.md: 1.1.0 entry, in the existing format

The playground depends on the package by path, so nothing else needs updating.

Verification

dart analyze clean, dart format clean, 308 tests passing.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

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: 3757b785-5e29-4a0d-b9a2-dd498aec4fb5

📥 Commits

Reviewing files that changed from the base of the PR and between b18c0cc and 7fa7dd4.

📒 Files selected for processing (2)
  • packages/formbricks/CHANGELOG.md
  • packages/formbricks/pubspec.yaml

Walkthrough

The pull request prepares the Flutter package for release 1.1.0. It adds a changelog entry for 1.1.0. The entry documents survey-interaction segment filter support, onFinished callback behavior after backend acceptance, a fix for an unhandled async error during user-state flush or refresh, and the limits on extra network activity. It also updates the package version in pubspec.yaml from 1.0.0 to 1.1.0.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the package version bump to 1.1.0.
Description check ✅ Passed The description accurately explains the 1.1.0 release preparation, feature support, traffic impact, 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.

@pandeymangg
pandeymangg requested a review from Dhruwang August 5, 2026 15:40
Same class of finding Sonar raised on the Kotlin side (S1186): an empty function
body needs the reason nested inside the braces. Pre-empting it here rather than
waiting for the scan.
@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

@pandeymangg
pandeymangg merged commit afb0f05 into main Aug 6, 2026
10 checks passed
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