fix(aft): Stop propagating 2.x versions into 0.x Dart packages - #7284
Merged
Conversation
The `Kinesis` and `Firehose` components group a 2.x Flutter package with a 0.x Dart package but did not set `propagate`, so they defaulted to `VersionPropagation.minor`. When the summary package took a minor bump, the component version won the `maxBy` in `Repo.bumpVersion`, dragging the Dart packages onto the Flutter version line: amplify_firehose_dart: 0.1.4 -> 2.14.0 amplify_kinesis_dart: 0.1.5 -> 2.13.0 Both packages have only ever published a 0.1.x line, and a publish is irreversible, so this would have permanently retired those lines. Set `propagate: none` on `Kinesis`, `Firehose` and `Connect` — matching the existing `Amplify Dart` component, which pairs 2.x and 0.x packages for the same reason — and correct the two versions to the patch bumps they should have received. `Connect` escaped this cycle only because it took a patch bump; it would have hit the same problem on its next minor bump.
cadivus
enabled auto-merge (squash)
August 18, 2026 10:01
soberm
approved these changes
Aug 18, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7284 +/- ##
==========================================
+ Coverage 40.97% 40.98% +0.01%
==========================================
Files 121 121
Lines 8273 8273
Branches 3598 3598
==========================================
+ Hits 3390 3391 +1
+ Misses 4883 4882 -1 🚀 New features to boost your workflow:
|
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.
The
KinesisandFirehosecomponents group a 2.x Flutter package with a 0.x Dart package but did not setpropagate, so they defaulted toVersionPropagation.minor. When the summary package took a minor bump, the component version won themaxByinRepo.bumpVersion, dragging the Dart packages onto the Flutter version line:amplify_firehose_dart: 0.1.4 -> 2.14.0
amplify_kinesis_dart: 0.1.5 -> 2.13.0
Both packages have only ever published a 0.1.x line, and a publish is irreversible, so this would have permanently retired those lines.
Set
propagate: noneonKinesis,FirehoseandConnect— matching the existingAmplify Dartcomponent, which pairs 2.x and 0.x packages for the same reason — and correct the two versions to the patch bumps they should have received.Connectescaped this cycle only because it took a patch bump; it would have hit the same problem on its next minor bump.Problem was found here: #7283