Uh oh!
There was an error while loading. Please reload this page.
feat(angular): support Angular 21, drop Angular 16 and 17 - #31185
Conversation
…ist comment for ng18-21
…o feat/angular-21-support
The latest updates on your projects. Learn more about Vercel for GitHub.
|
thetaPC
left a comment
There was a problem hiding this comment.
LGTM, with non-blocking requested change
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Maria Hutt <thetaPC@users.noreply.github.com>
0b4f56b to
87e5eacCompare
brandyscarney
left a comment
There was a problem hiding this comment.
Looks good! Just a few non-blocking comments. 🎉
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…-framework into feat/angular-21-support
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Issue number: resolves#30907
What is the current behavior?
Ionic Angular only currently supports Angular 16-20
What is the new behavior?
Ionic Angular now supports Angular 18 through 21 and drops 16 and 17. The ng16/ng17 test apps are removed, an ng21 app is added, and the tsconfigs are tightened for the 18+ minimum.
autocorrectonion-inputandion-searchbarbecomes aboolean(defaultfalse), mapped internally to the native'on'/'off'attribute. This is required by TypeScript 5.9, which is required by Angular 21. It is the primary breaking change that forced this into a major version release of Ionic Framework.Also bundles v9 housekeeping:
@stencil/corebumped to 4.43.5 and TypeScript 5.9 in the React and Vue test apps.Does this introduce a breaking change?
The following changes are required for migration:
provideZoneChangeDetection()tobootstrapModule'sapplicationProvidersinmain.ts.ng-addonly patches standaloneapp.config.ts, notmain.ts, so the NgModule path is manual (documented in the schematic's JSDoc).autocorrectnow takestrue/falseinstead of'on'/'off'. Replaceautocorrect="on"with[autocorrect]="true"andautocorrect="off"(or the default) withfalse.Other information
Preview:
Current dev build (2025-06-05):
Docs PR: ionic-team/ionic-docs#4529