feat!: migrate to Ionic 9 and support Angular 21-22 - #81
Merged
Conversation
rdlabo
marked this pull request as ready for review
August 21, 2026 11:11
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
This is a breaking platform migration released as the new 22.x package line for the published libraries and their consumers.
kitandphoto-editor@ionic/angular/standaloneto@ionic/angularand moveAngularDelegateto@ionic/angular/common@angular/fire, whose peer range does not support Angular 22docs/migration.mdand update the README compatibility matrixBreaking changes
Consumers should run
npx @ionic/migrate, the Ionic-recommended migration path for applications, and review its changes together with the manual audit in this repository. The migrator does not support Angular library workspaces, so this library was migrated manually.Consumers must upgrade to the 22.x package line and Ionic 9. Native applications must also use Capacitor 7 or 8. Applications importing standalone Ionic APIs from
@ionic/angular/standalonemust switch to@ionic/angular; applications intentionally using lazy wrappers must use@ionic/angular/lazy. Angular 21/22 change-detection behavior and Ionic 9 component changes should be audited as described in the migration guide.See
docs/migration.mdand the upstream Ionic 9 breaking changes.Validation
npm run lintnpm run prebuildnpm run buildwith Angular 22 / TypeScript 6npm run buildwith Angular 21 / TypeScript 5.9npx ng test kit --watch=false(49 files, 937 tests)git diff --check