chore: align Dart SDK minimum version to >=3.3.0 across all packages#1343
Merged
chore: align Dart SDK minimum version to >=3.3.0 across all packages#1343
Conversation
Update postgrest, realtime_client, storage_client, and functions_client to require sdk: '>=3.3.0 <4.0.0', matching supabase_flutter, supabase, and gotrue. Since supabase_flutter already requires Dart 3.3.0+, advertising >=3.0.0 on sub-packages was misleading. Remove redundant null assertion operators in postgrest_builder.dart that become unnecessary_non_null_assertion warnings under Dart 3.3.0+ flow analysis. Linear: SDK-814 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
df4cab6 to
b282eef
Compare
mandarini
approved these changes
Apr 3, 2026
Collaborator
|
This is a breaking change for users of individual libraries, but Flutter 3.3.0 is from August 2022 so I think it's fine to upgrade. |
Vinzent03
approved these changes
Apr 5, 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.
Summary
Updates
postgrest,realtime_client,storage_client, andfunctions_clientto declaresdk: '>=3.3.0 <4.0.0', aligning them withsupabase_flutter,supabase, andgotrue. Sincesupabase_flutteralready requires Dart 3.3.0+, the lower-level packages advertising>=3.0.0was misleading — no consumer could actually use them below 3.3.0 in a full Supabase stack.Changes
>=3.0.0→>=3.3.0>=3.0.0→>=3.3.0>=3.0.0→>=3.3.0>=3.0.0→>=3.3.0Acceptance Criteria
sdk: '>=3.3.0 <4.0.0'Risk Assessment
Closes: SDK-814
🤖 Generated with Claude Code
/take