fix(deps): relax meta constraint to ^1.15.0 for Flutter 3.24.x-3.37.x compat#82
Merged
Merged
Conversation
… compat Flutter 3.24.x-3.37.x pin meta via flutter_test (e.g. Flutter 3.35.4 pins 1.16.0), so ^1.17.0 caused dependency resolution failures for anyone on those Flutter versions. The SDK only uses the @internal annotation from meta (introduced in 1.3.0), and Flutter 3.24.0 ships meta 1.15.0 — so ^1.15.0 is the accurate lower bound matching our declared flutter: >=3.24.0 floor. Fixes MAGE-499 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dan-peluso
approved these changes
Apr 17, 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.
Description
Relax the
metaconstraint inpubspec.yamlfrom^1.17.0to^1.15.0so the SDK resolves cleanly against Flutter 3.24.x–3.37.x, which pinmetaviaflutter_test(e.g. Flutter 3.35.4 pinsmeta: 1.16.0).Fixes MAGE-499 / #79.
Due Diligence
Release/Versioning Considerations
PatchContains internal changes or backwards-compatible bug fixes.MinorContains changes to the public API.MajorContains breaking changes.Changelog / Code Overview
Problem: Flutter 3.24.x–3.37.x pin
metaviaflutter_test(Flutter 3.24.0 shipsmeta: 1.15.0; Flutter 3.35.4 shipsmeta: 1.16.0). Our caret constraint^1.17.0rejected those pinned versions, breakingflutter pub getfor anyone on Flutter < 3.x-latest.Fix: Lower the constraint to
^1.15.0.Why
^1.15.0is the right floor:@internalannotation frommeta(two sites:klaviyo_native_wrapper.dart:274,klaviyo_sdk.dart:294).@internalwas introduced inmeta 1.3.0— so any modern version works functionally.flutter: ">=3.24.0") pinsmeta: 1.15.0— so^1.15.0is the accurate lower bound. Users never pick their ownmetaversion; Flutter pins it transitively.Test Plan
flutter pub getinexample/resolves cleanly (was failing with^1.17.0on Flutter 3.35.4).Related Issues/Tickets