Chore: Widen package_info_plus constraint to support 10.x (1.8.1) - #41
Open
bbbshah wants to merge 1 commit into
Open
Chore: Widen package_info_plus constraint to support 10.x (1.8.1)#41bbbshah wants to merge 1 commit into
bbbshah wants to merge 1 commit into
Conversation
…ts to ^6.0.0 (1.8.1) - Widen package_info_plus constraint to support 10.x and fix version solving conflicts for apps on newer Flutter versions - Update flutter_lints to ^6.0.0 and require Dart 3.8+ - Modernize example app SDK constraint (was pre-Dart-3) - Fix analyzer findings: assert on callback/fallback flags in tests, use super parameters in example Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Fixes #40
Problem
once 1.8.0pinspackage_info_plus ^9.0.0, which makes version solving fail for apps on newer Flutter that depend onpackage_info_plus10.x:Changes
package_info_plusto>=9.0.0 <11.0.0instead of a hard bump to^10.0.0.onceonly usesPackageInfo.fromPlatform(),.version, and.buildNumber, which are identical across 9.x and 10.x — the 10.0.0 "breaking changes" were only raised platform minimums. The widened range means apps on older Flutter keep resolving 9.x while newer projects get 10.2.1, so nobody is forced to upgrade.flutter_lintsto^6.0.0(dev-only) and raise the SDK floor to Dart 3.8 accordingly.>=2.16.1 <3.0.0, pre-Dart-3).callbackCalled/fallbackCalledflags inrunner_test.dart(slightly strengthening those tests), and use super parameters in the example.Verification
flutter analyze: no issuesflutter test: all 57 tests passdart pub publish --dry-run: cleanpackage_info_plus: ^10.2.1+ this branch resolves successfully (picks up 10.2.1); the error above is goneflutter pub outdated: all direct and dev dependencies at latest resolvable versions🤖 Generated with Claude Code