Skip to content

chore: support pub_updater 0.4 and 0.5 - #1022

Merged
leoafarias merged 4 commits into
btwld:mainfrom
vladimir-ionita:bump-pub-updater-0.5.0
Sep 4, 2026
Merged

leoafarias merged 4 commits into
btwld:mainfrom
vladimir-ionita:bump-pub-updater-0.5.0

Conversation

@vladimir-ionita

@vladimir-ionita vladimir-ionita commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Allow pub_updater versions from 0.4.0 up to, but not including, 0.6.0.
  • Preserve compatibility with packages pinned to either the 0.4 or 0.5 line while keeping the lockfile on 0.5.0 so FVM exercises the newest supported line.
  • Exclude 0.6 because it requires Dart 3.12, while FVM continues to support Dart 3.6 and newer.

The published library sources are identical between pub_updater 0.4.0 and 0.5.0; the 0.5 release tightens dependency constraints.

Closes #1021

Verification

  • A path consumer requiring pub_updater ^0.4.0 resolves 0.4.0 successfully.
  • A path consumer requiring pub_updater ^0.5.0 resolves 0.5.0 successfully.
  • dart pub get — passed against the current main merge result.
  • dart analyze --fatal-infos — passed against the current main merge result.
  • dcm analyze lib — passed against the current main merge result.
  • Fast test suite — 453 tests passed against the current main merge result.

pub_updater 0.5.0 contains no breaking API changes — only tightened
dependency constraints. This resolves compatibility issues with packages
that depend on pub_updater ^0.5.0 (e.g., melos 7.x) in Dart pub
workspaces, where all packages share a single dependency resolution.

Closes btwld#1021
@vercel

vercel Bot commented Mar 10, 2026

Copy link
Copy Markdown

@vladimir-ionita is attempting to deploy a commit to the FlutterTools Team on Vercel.

A member of the Team first needs to authorize it.

@leoafarias

Copy link
Copy Markdown
Collaborator

This still looks relevant because main is still on pub_updater ^0.4.0 and #1021 is still open. I am leaving this open for now and will retest it against current main before deciding whether to merge it as-is or replace it with an equivalent maintainer branch.

@leoafarias leoafarias changed the title chore: bump pub_updater to ^0.5.0 chore: support pub_updater 0.4 and 0.5 Sep 4, 2026

@leoafarias leoafarias left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against current main. The dual range resolves consumers pinned to either pub_updater 0.4 or 0.5 without raising FVM minimum Dart version; the lockfile exercises 0.5. Solver checks, analyzer, DCM, local fast tests, and the complete nine-job GitHub matrix pass.

@leoafarias
leoafarias merged commit d31ccc1 into btwld:main Sep 4, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump pub_updater to ^0.5.0

2 participants