Skip to content

set minimum flutter version to 3.27.0 and dart 3.6 #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/flutter_hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ issue_tracker: https://github.com/rrousselGit/flutter_hooks/issues
version: 0.21.2

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.21.0-13.0.pre.4"
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.27.0"
Comment on lines +9 to +10
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Breaking change: bump package version due to updated SDK constraints

Raising the Dart SDK lower bound to >=3.6.0 and Flutter to >=3.27.0 is a breaking change for consumers on older toolchains. Please update the version field in pubspec.yaml to signal a new major (or appropriate pre-1.0) release before publishing.

Proposed diff:

-version: 0.21.2
+version: 1.0.0  # Major bump due to updated SDK constraints
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.27.0"
version: 1.0.0 # Major bump due to updated SDK constraints


dependencies:
flutter:
Expand Down