Repository navigation
chore: release core 2.0.0 and plugins with segment_analytics 2.x support - #224
Open
MichaelGHSeg wants to merge 1 commit into
Open
MichaelGHSeg wants to merge 1 commit into
MichaelGHSeg wants to merge 1 commit into
Conversation
MichaelGHSeg
marked this pull request as ready for review
October 16, 2026 19:10
This branch has not been deployed
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
Release PR for
segment_analytics2.0.0 and patch releases of all six plugins so they resolve against it. First release through the tag-push publish workflow (#223).Core: 1.1.13 → 2.0.0
Major bump because the minimum Flutter version rises to 3.38 (#220). Pub resolves the SDK constraint for the whole package, so this is breaking on every platform, not just iOS. The Dart API is unchanged.
WKWebView. This removes a launch-time main-thread stall, and the value changes: real OS version, andCPU iPad OSon iPad (fix(ios): align user agent with analytics-swift #222)--wasmbuilds (Fix conditional import after migration to package:web #165)pubspec.yaml,lib/version.dart,CHANGELOG.md(the unreleased1.2.0section from #220 becomes2.0.0) and the README compatibility note are updated.Plugins
Every plugin pinned core at
^1.x, so none would resolve with 2.0.0. Each constraint is widened to<3.0.0with its existing floor kept, so the plugins keep working for apps that stay on core 1.x.Other changes since each plugin's last publish are README/CI only (#172, #210).
Testing (Flutter 3.38.0, locally)
.github/scripts/check-release-metadata.shpasses for all seven tags belowflutter analyzeclean, 127/127 tests,dart pub publish --dry-run0 warningsdart pub publish --dry-run0 warnings except amplitude's old library-name warning (lib/plugin_amplitude.dartvs the package name; not blocking, and renaming would break imports); with core overridden to this branch's 2.0.0, every plugin resolvessegment_analytics 2.0.0andflutter analyzeis cleanAfter merge
Tag the merge commit on
mainand push, core first:Approve the
publishjob, wait for 2.0.0 on pub.dev, then:The plugins don't strictly need core 2.0.0 on pub.dev (their floor is 1.x), but publishing core first means a failed first CI publish can be fixed before tagging six more.