Skip to content

chore(migrate): target v9 by major instead of a dev build pin - #31359

Merged
ShaneK merged 1 commit into
major-9.0from
chore/migrations-finalization
Aug 14, 2026
Merged

chore(migrate): target v9 by major instead of a dev build pin#31359
ShaneK merged 1 commit into
major-9.0from
chore/migrations-finalization

Conversation

@ShaneK

@ShaneK ShaneK commented Aug 14, 2026

Copy link
Copy Markdown
Member

Issue number: internal


What is the current behavior?

Currently, @ionic/migrate pins the @ionic/* packages to a specific major-9.0 dev build, because v9 isn't published under latest yet so ^9.0.0 wouldn't resolve. That pin is versioned 8.8.x-dev, so semver reads it as major 8, and two pieces of code exist only to work around that.

What is the new behavior?

In preparation for v9 to ship, the three dependency migrations target the major directly, matching how they already express ['react-router', 6] and ['vue-router', 5]. That resolves to ^9.0.0, so apps pick up v9 patch and minor releases without another migration run. The IONIC_V9_VERSION constant and src/versions.ts are removed along with both workarounds, so nothing in the tool compares exact versions anymore, only majors and floors. The vue bump keeps its range form because it's a 3.4 to 3.5 minor floor rather than a major.

Does this introduce a breaking change?

  • Yes
  • No

Other information

This is the TODO(FW-7579) swap that was always planned for GA.

@ShaneK
ShaneK requested a review from a team as a code owner August 14, 2026 16:08
@ShaneK
ShaneK requested a review from brandyscarney August 14, 2026 16:08
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview Aug 14, 2026 4:08pm

Request Review

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@ShaneK
ShaneK merged commit a1927bf into major-9.0 Aug 14, 2026
52 checks passed
@ShaneK
ShaneK deleted the chore/migrations-finalization branch August 14, 2026 16:21
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.

2 participants