Skip to content

Add Ionic 8 migration recommendation with guards - #120

Merged
damiant merged 2 commits into
mainfrom
feature/add-ionic-8-migration-recommendation
Oct 26, 2026
Merged

damiant merged 2 commits into
mainfrom
feature/add-ionic-8-migration-recommendation

Conversation

@damiant

@damiant damiant commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Summary

Adds an Ionic 7 to Ionic 8 migration recommendation and centralizes pre-migration safeguards so dependency-changing migrations are safer and reusable.

Changes

  • Added Ionic 8 migration flow:
    • Installs Ionic 8 packages.
    • Keeps @ionic/angular-toolkit on v10 for Angular 16 and v11 for Angular 17+.
    • Updates browserslist to Ionic 8 browser support.
    • Renames IonBackButtonDelegate to IonBackButton.
    • Lists required and recommended Ionic 8 update-guide changes.
  • Added migration guards to warn or stop when the project is not ready:
    • Warns when Angular, React, or Vue is below the Ionic 8 minimum.
    • Checks for a dirty git repository.
    • Verifies node_modules before changing dependencies.
  • Extracted shared migration guards (git status, node_modules verification, project refresh) into migration-guards so Angular and Ionic migrations use the same checks.
  • Bumped version to 2.2.18 and updated CHANGELOG.md.

Why

This makes the Ionic 8 migration more reliable and reversible, and avoids applying dependency changes to projects that do not meet the required framework versions or have uncommitted repository state.


Open Conversation in Tarsk

@damiant
damiant merged commit 2ff7427 into main Oct 26, 2026
1 check passed
@damiant
damiant deleted the feature/add-ionic-8-migration-recommendation branch October 26, 2026 14:09
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.

1 participant