Skip to content

chore(repo): bump min Flutter to 3.41.0 and Dart SDK to 3.11.0#2721

Merged
xsahil03x merged 3 commits into
v10.0.0from
fix/v10-analysis-issues
Jun 4, 2026
Merged

chore(repo): bump min Flutter to 3.41.0 and Dart SDK to 3.11.0#2721
xsahil03x merged 3 commits into
v10.0.0from
fix/v10-analysis-issues

Conversation

@xsahil03x
Copy link
Copy Markdown
Member

@xsahil03x xsahil03x commented Jun 4, 2026

Summary

  • Bumps the workspace minimum Flutter constraint from >=3.38.1 to >=3.41.0 and the Dart SDK floor from ^3.10.0 to ^3.11.0 across all 14 spots (root pubspec.yaml, melos.yaml, every package + example pubspec, and the sample_app / docs_screenshots pubspecs).
  • Bumps the legacy_version_analyze CI workflow pin from 3.38.1 to 3.41.0 to match.
  • Adds 🔄 Changed entries for stream_chat, stream_chat_flutter, stream_chat_flutter_core, stream_chat_persistence, and stream_chat_localizations.

Test plan

  • melos bootstrap succeeds with the new constraints
  • melos run analyzeNo issues found across all 7 analyzed packages
  • Per-package cd packages/<pkg>/lib && dart analyze --fatal-infos . — clean for all 5 library packages (locally on Dart 3.12.0; the real validation is the legacy_version_analyze job re-running on PR feat(repo)!: v10.0.0 #2499 with Flutter 3.41.0)
  • CI legacy_version_analyze job passes on PR feat(repo)!: v10.0.0 #2499 once this is merged into v10.0.0

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated minimum Dart SDK version requirement from 3.10.0 to 3.11.0 and minimum Flutter version from 3.38.1 to 3.41.0 across all packages and applications.

Bumps the workspace minimum Flutter constraint from 3.38.1 to 3.41.9
and the Dart SDK floor from ^3.10.0 to ^3.11.5 across all pubspecs,
melos.yaml, and the legacy_version_analyze CI pin.

The legacy_version_analyze job (`dart analyze --fatal-infos lib/`) was
failing on Flutter 3.38.1 because that analyzer flags deprecated-symbol
references inside dartdoc comments (e.g. `[StreamSvgIcon]` in the
StreamSvgIconData doc) as `deprecated_member_use_from_same_package`.
Newer analyzers no longer report these. Aligning the legacy floor with
the current N-1 stable resolves the failure.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 4, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3f5903e2-4c01-48a0-84bc-cc7417e81b97

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/v10-analysis-issues

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 and usage tips.

…hangelogs

- Lower minimum Flutter from 3.41.9 → 3.41.0 and Dart SDK from ^3.11.5 → ^3.11.0 across all pubspecs, melos.yaml, and the legacy_version_analyze CI pin.
- Add CHANGELOG entries for stream_chat, stream_chat_flutter, stream_chat_flutter_core, stream_chat_persistence, and stream_chat_localizations.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xsahil03x xsahil03x changed the title chore(repo): bump min Flutter to 3.41.9 and Dart SDK to 3.11.5 chore(repo): bump min Flutter to 3.41.0 and Dart SDK to 3.11.0 Jun 4, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/stream_chat/CHANGELOG.md`:
- Line 19: Update the changelog entry in CHANGELOG.md to include the minimum
Flutter version alongside the Dart SDK bump; change the line that currently
reads "Raised minimum Dart SDK to `^3.11.0`." to the consistent phrasing used
elsewhere e.g. "Raised minimum Flutter to `>=3.41.0` and Dart SDK to `^3.11.0`."
so the package entry matches stream_chat_persistence's format and includes both
platform requirements.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7ea7a3e3-47d3-423f-9ad2-e6fe7f3c4bdc

📥 Commits

Reviewing files that changed from the base of the PR and between 9311072 and d158d77.

⛔ Files ignored due to path filters (1)
  • pubspec.lock is excluded by !**/*.lock
📒 Files selected for processing (20)
  • .github/workflows/legacy_version_analyze.yml
  • docs/docs_screenshots/pubspec.yaml
  • melos.yaml
  • packages/stream_chat/CHANGELOG.md
  • packages/stream_chat/example/pubspec.yaml
  • packages/stream_chat/pubspec.yaml
  • packages/stream_chat_flutter/CHANGELOG.md
  • packages/stream_chat_flutter/example/pubspec.yaml
  • packages/stream_chat_flutter/pubspec.yaml
  • packages/stream_chat_flutter_core/CHANGELOG.md
  • packages/stream_chat_flutter_core/example/pubspec.yaml
  • packages/stream_chat_flutter_core/pubspec.yaml
  • packages/stream_chat_localizations/CHANGELOG.md
  • packages/stream_chat_localizations/example/pubspec.yaml
  • packages/stream_chat_localizations/pubspec.yaml
  • packages/stream_chat_persistence/CHANGELOG.md
  • packages/stream_chat_persistence/example/pubspec.yaml
  • packages/stream_chat_persistence/pubspec.yaml
  • pubspec.yaml
  • sample_app/pubspec.yaml

Comment thread packages/stream_chat/CHANGELOG.md
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.84%. Comparing base (9311072) to head (a5c5779).
⚠️ Report is 1 commits behind head on v10.0.0.

Additional details and impacted files
@@           Coverage Diff            @@
##           v10.0.0    #2721   +/-   ##
========================================
  Coverage    67.84%   67.84%           
========================================
  Files          411      411           
  Lines        24632    24632           
========================================
  Hits         16711    16711           
  Misses        7921     7921           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xsahil03x xsahil03x merged commit b2f33fa into v10.0.0 Jun 4, 2026
9 checks passed
@xsahil03x xsahil03x deleted the fix/v10-analysis-issues branch June 4, 2026 10:48
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