fix: widen archive and intl constraints for Flutter 3.27+#886
Open
abonur wants to merge 1 commit intoopenwebf:mainfrom
Open
fix: widen archive and intl constraints for Flutter 3.27+#886abonur wants to merge 1 commit intoopenwebf:mainfrom
abonur wants to merge 1 commit intoopenwebf:mainfrom
Conversation
…patibility - archive: ^3.3.7 → >=3.3.7 <5.0.0 archive 4.x is backward-compatible; WebF only uses GZipDecoder which is stable. - intl: ^0.19.0 → >=0.19.0 <0.21.0 Flutter SDK 3.27+ pins intl 0.20.2 via flutter_localizations, causing resolution failures with ^0.19.0 (which caps at <0.20.0). Both changes allow WebF to be used in projects targeting Flutter 3.27+ without requiring dependency_overrides.
|
@abonur is attempting to deploy a commit to the OpenWebF Team on Vercel. A member of the Team first needs to authorize it. |
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
archive: ^3.3.7→>=3.3.7 <5.0.0intl: ^0.19.0→>=0.19.0 <0.21.0Problem
Flutter 3.27+ ships
flutter_localizationswhich pinsintl: 0.20.2. This conflicts with WebF'sintl: ^0.19.0constraint (caps at<0.20.0), making it impossible to use WebF withoutdependency_overrides.Similarly,
archive4.x is now common in the ecosystem. WebF only usesGZipDecoderwhich is stable across 3.x → 4.x, but^3.3.7blocks resolution when another dependency requiresarchive: ^4.0.0.Changes
Widened both constraints to allow the newer major versions while keeping backward compatibility with the minimum versions WebF already supports.
Testing
GZipDecoder().decodeBytes()and allintlusage work identically with the newer versions.