@angular/compiler breaking changes
Updated December 4, 2026
On this page
Latest version 22.3.2, released December 1, 2026. Source repository
Its 22.0.0-next.0 release requires Node.js 22.22.0 or later. Node.js end of life dates.
- From 21.2.20 to 22.3.2: 492 breaking changes in 33 versions.
- From 9.0.0 to 22.3.2: 1,369 breaking changes in 115 versions.
@angular/compiler 22.3.2 breaking changes
- Signature changed
AbstractBoundTemplate.getExpressionTarget
Was getExpressionTarget(ast: AST): Reference | Variable | LetDeclaration | null; now getExpressionTarget(ast: AST): TemplateEntity | null. npmjs.com - Signature changed
BoundTarget.getConsumerOfBinding
Was getConsumerOfBinding(binding: BoundAttribute | BoundEvent | TextAttribute): DirectiveT | Element$1 | Template | null; now getConsumerOfBinding(binding: BoundAttribute | BoundEvent | TextAttribute): DirectiveT | Element | Template |... npmjs.com - Signature changed
BoundTarget.getDeferredTriggerTarget
Was getDeferredTriggerTarget(block: DeferredBlock, trigger: DeferredTrigger): Element$1 | null; now getDeferredTriggerTarget(block: DeferredBlock, trigger: DeferredTrigger): Element | null. npmjs.com - Signature changed
BoundTarget.getForeignComponent
Was getForeignComponent(element: Element$1): ForeignComponentMeta | null; now getForeignComponent(element: Element): ForeignComponentMeta | null. npmjs.com - Signature changed
DirectiveOwner
Was type DirectiveOwner = Element$1 | Template | HostElement; now type DirectiveOwner = Element | Template | HostElement. npmjs.com - Signature changed
ReferenceTarget
Was type ReferenceTarget<DirectiveT> = {directive: DirectiveT; node: Exclude<DirectiveOwner, HostElement>;} | Element$1 | Template; now type ReferenceTarget<DirectiveT> = {directive: DirectiveT; node: Exclude<DirectiveOwner, HostElement>;}... npmjs.com - Signature changed
ScopedNode
Was type ScopedNode = Template | SwitchBlockCaseGroup | IfBlockBranch | ForLoopBlock | ForLoopBlockEmpty | DeferredBlock | DeferredBlockError | DeferredBlockLoading | DeferredBlockPlaceholder | Content | ContentBlock | HostElement; now... npmjs.com - Signature changed
Target.template
Was template?: Node$2[]; now template?: Node[]. npmjs.com - Signature changed
TemplateEntity
Was type TemplateEntity = Reference | Variable | LetDeclaration$1; now type TemplateEntity = Reference | Variable | LetDeclaration | ArrowFunctionIdentifierParameter. npmjs.com
@angular/compiler 22.3.0 breaking changes
- Removed
BindingPipe.type
BindingPipe.type was removed in @angular/compiler 22.3.0 npmjs.com - Removed
BindingPipeType
BindingPipeType was removed in @angular/compiler 22.3.0 npmjs.com - Removed
BoundTarget.referencedDirectiveExists
BoundTarget.referencedDirectiveExists was removed in @angular/compiler 22.3.0 npmjs.com - Removed
CombinedRecursiveAstVisitor.visitComponent
CombinedRecursiveAstVisitor.visitComponent was removed in @angular/compiler 22.3.0 npmjs.com - Removed
CombinedRecursiveAstVisitor.visitDirective
CombinedRecursiveAstVisitor.visitDirective was removed in @angular/compiler 22.3.0 npmjs.com - Removed
Component
Component was removed in @angular/compiler 22.3.0 npmjs.com - Removed
ComponentNodeIdentifier
ComponentNodeIdentifier was removed in @angular/compiler 22.3.0 npmjs.com - Removed
Directive
Directive was removed in @angular/compiler 22.3.0 npmjs.com - Removed
DirectiveNodeIdentifier
DirectiveNodeIdentifier was removed in @angular/compiler 22.3.0 npmjs.com - Removed
Element.directives
Element.directives was removed in @angular/compiler 22.3.0 npmjs.com
And 330 more in this version. Sign up to see every change
@angular/compiler 22.3.0-rc.0 breaking changes
- Behavior changed
Templates that use attribute or property names beginning with a colon now fail compilation. Rename those attributes or properties so they do not start with a colon. github.com - Behavior changed
The compiler now reports errors for unknown property bindings on explicit ng-template elements, which previously compiled silently. Fix or remove those bindings to keep the build passing. github.com
@angular/compiler 22.3.0-next.3 breaking changes
- Behavior changed
Libraries built before v22 run with Eager change detection by default in JIT mode. Check components that relied on the previous default. github.com - Behavior changed
SignalFormControl
SignalFormControl throws for updateOn values it does not support. Remove or change any unsupported updateOn settings. github.com - Configuration changed
The strictUnknownElements flag was previously ignored and is now enforced, so builds may report new errors for unknown elements. github.com
@angular/compiler 22.3.0-next.0 breaking changes
- Behavior changed
Templates that pass a non-iterable value to a @for block may now fail instead of rendering nothing. Check @for expressions and make sure they always evaluate to an iterable. github.com - Behavior changed
Templates with unknown element tags that were previously accepted when an attribute directive matched them may now fail compilation. Fix or register those element tags. github.com
@angular/compiler 22.2.4 breaking changes
- Behavior changed
createUrlTreeFromSnapshot
createUrlTreeFromSnapshot no longer includes query params whose value is null in the resulting URL tree. Code that expected null params to appear in the URL must change. github.com - Behavior changed
SignalFormControl
SignalFormControl now throws when given an updateOn value it does not support. Remove or change unsupported updateOn settings. github.com - Default changed
Libraries built before v22 now use Eager change detection by default when compiled in JIT mode. Check components from older libraries that relied on the previous default. github.com - Configuration changed
The compiler CLI needs @jridgewell/sourcemap-codec 1.6.0 or later. Upgrade that dependency if your project pins an older version. github.com
Older versions
114 older versions, each with its first changes. Sign up to see every change
Show 114 older versions
@angular/compiler 22.2.3 breaking changes
- Signature changed
JitEvaluator.evaluateCode
Was evaluateCode(sourceUrl: string, ctx: EmitterVisitorContext, vars: {[key: string]: any;}, createSourceMap: boolean): any; now evaluateCode(sourceUrl: string, ctx: EmitterVisitorContext, vars: Record<string, any>, createSourceMap... npmjs.com - Signature changed
OutOfBandDiagnosticRecorder.controlFlowPreventingContentProjection
Was controlFlowPreventingContentProjection(id: TypeCheckId, category: OutOfBandDiagnosticCategory, projectionNode: Element | Template, componentName: string, slotSelector: string, controlFlowNode: IfBlockBranch | SwitchBlockCase |... npmjs.com
@angular/compiler 22.2.1 breaking changes
- Removed
TypeCheckingConfig.checkQueries
TypeCheckingConfig.checkQueries was removed in @angular/compiler 22.2.1 npmjs.com - Behavior changed
Expression parentheses are no longer stripped in the template pipeline, and generated functions get explicit return types. Code relying on the old output may change. github.com
And 2 more in this version.
@angular/compiler 22.2.0 breaking changes
- Signature changed
BoundTarget.isDeferred
Was isDeferred(node: Element): boolean; now isDeferred(node: DirectiveOwner): boolean. npmjs.com - Signature changed
OutOfBandDiagnosticRecorder.deferredComponentUsedEagerly
Was deferredComponentUsedEagerly(id: TypeCheckId, element: Element): void; now deferredComponentUsedEagerly(id: TypeCheckId, element: Element | Template, dirMeta: TcbDirectiveMetadata, currentBlockName: string | null, declaredBlocks... npmjs.com
And 2 more in this version.
@angular/compiler 22.2.0-next.2 breaking changes
- Behavior changed
Styles with nested CSS rules are now encapsulated differently, so existing component styles may render differently. Review nested selectors and ::ng-deep usage after upgrading. github.com
@angular/compiler 22.1.8 breaking changes
- Signature changed
AbstractEmitterVisitor.printLeadingComments
Was protected printLeadingComments(node: Expression | Statement, ctx: EmitterVisitorContext): void; now protected printLeadingComments(node: {leadingComments?: LeadingComment[]; sourceSpan?: ParseSourceSpan$1 | null;}, ctx... npmjs.com - Signature changed
ConstantPool.getSharedFunctionReference
Was getSharedFunctionReference(fn: Expression, prefix: string, useUniqueName?: boolean): Expression; now getSharedFunctionReference(fn: Expression, prefix: string, useUniqueName?: boolean): ReadVarExpr. npmjs.com
And 4 more in this version.
@angular/compiler 22.1.4 breaking changes
- Removed
setEnableTemplateSourceLocations
setEnableTemplateSourceLocations was removed in @angular/compiler 22.1.4 npmjs.com
@angular/compiler 22.1.2 breaking changes
- Behavior changed
Templates that contain namespaced MathML script elements will have them removed instead of kept. Remove such elements from templates if they are relied on. github.com
@angular/compiler 22.1.0 breaking changes
- Default changed
strictTemplates
Strict template type checking is on by default. Projects that relied on the old default may see new template errors. github.com - Signature changed
R3TargetBinder.constructor
Was constructor(directiveMatcher: DirectiveMatcher<DirectiveT> | null); now constructor(directiveMatcher: DirectiveMatcher<DirectiveT> | null, foreignComponentMatcher?: SelectorlessMatcher<ForeignComponentMeta> | null). npmjs.com
And 1 more in this version.
@angular/compiler 22.0.7 breaking changes
- Signature changed
LexerTokenType.EOF
Was EOF = 42; now EOF = 43. npmjs.com
@angular/compiler 22.0.5 breaking changes
- Renamed
RecursiveVisitor.visitAttributeComment
Use RecursiveVisitor.visitStartTagComment instead. npmjs.com - Renamed
Visitor.visitAttributeComment
Use Visitor.visitStartTagComment instead. npmjs.com
@angular/compiler 22.0.3 breaking changes
- Signature changed
Component.constructor
Was constructor(componentName: string, tagName: string | null, fullName: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], isSelfClosing: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1... npmjs.com - Signature changed
Element.constructor
Was constructor(name: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], isSelfClosing: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: (ParseSourceSpan$1 | null) |... npmjs.com
And 1 more in this version.
@angular/compiler 22.0.2 breaking changes
- Signature changed
LexerTokenType.ATTR_NAME
Was ATTR_NAME = 14; now ATTR_NAME = 15. npmjs.com - Signature changed
LexerTokenType.ATTR_QUOTE
Was ATTR_QUOTE = 15; now ATTR_QUOTE = 16. npmjs.com
And 28 more in this version.
@angular/compiler 22.0.1 breaking changes
- Behavior changed
Templates that use i18n event attributes are no longer accepted, so remove those attributes from templates. github.com
@angular/compiler 22.0.0 breaking changes
- Signature changed
ArrowFunctionExpr.constructor
Was constructor(params: FnParam[], body: Expression | Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null); now constructor(params: FnParam[], body: Expression | Statement[], type?: Type$1 | null, sourceSpan?... npmjs.com - Signature changed
BinaryOperatorExpr.constructor
Was constructor(operator: BinaryOperator, lhs: Expression, rhs: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null); now constructor(operator: BinaryOperator, lhs: Expression, rhs: Expression, type?: Type$1 | null... npmjs.com
And 36 more in this version.
@angular/compiler 22.0.0-rc.3 breaking changes
- Behavior changed
Code relying on suspicious or protocol-relative URLs in platform-server will now throw. github.com
@angular/compiler 22.0.0-rc.2 breaking changes
- Behavior changed
Requests with cookies are now excluded from the transfer cache by default. github.com
@angular/compiler 22.0.0-rc.0 breaking changes
- Removed
The deprecated shadow CSS encapsulation polyfills are no longer included. github.com - Removed
Legacy shadow DOM selectors no longer receive dedicated handling in the compiler. github.com
And 2 more in this version.
@angular/compiler 22.0.0-next.12 breaking changes
- Behavior changed
Event attribute bindings in host bindings are now rejected in all cases. github.com
@angular/compiler 22.0.0-next.11 breaking changes
- Behavior changed
max
Bound values must be numbers or null. github.com - Behavior changed
min
Bound values must be numbers or null. github.com
@angular/compiler 22.0.0-next.10 breaking changes
- Behavior changed
injectAsync
Expressions using optional chaining now return undefined rather than previous behavior. github.com
@angular/compiler 22.0.0-next.9 breaking changes
- Behavior changed
paramsInheritanceStrategy
The default of paramsInheritanceStrategy changed from 'emptyOnly' to 'always'. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration. github.com - Default changed
paramsInheritanceStrategy
Route parameters are inherited from all parent routes by default; set paramsInheritanceStrategy to 'emptyOnly' to restore the previous behavior. github.com
@angular/compiler 22.0.0-next.8 breaking changes
- Behavior changed
Existing projects may get new nullishCoalescingNotNullable and optionalChainNotNullable diagnostics; disable them in tsconfig temporarily if needed. github.com - Default changed
Incremental hydration is now enabled by default in platform-browser. github.com
And 1 more in this version.
@angular/compiler 22.0.0-next.7 breaking changes
- Removed
TypeScript versions older than 6.0 are no longer supported. github.com - Removed
ComponentFactory
ComponentFactory is gone. Pass the component class directly to APIs such as ViewContainerRef.createComponent. github.com
And 3 more in this version.
@angular/compiler 22.0.0-next.5 breaking changes
- Removed
The Hammer.js integration was removed. Provide your own gesture implementation. github.com - Default changed
Component.changeDetection
Components without a changeDetection property now use OnPush. Set ChangeDetectionStrategy.Eager to keep the previous behavior. github.com
And 1 more in this version.
@angular/compiler 22.0.0-next.4 breaking changes
- Removed
checkNoChanges
checkNoChanges was removed from the public API. github.com
@angular/compiler 22.0.0-next.2 breaking changes
- Removed
createNgModuleRef
createNgModuleRef was removed. Use createNgModule instead. github.com
@angular/compiler 22.0.0-next.0 breaking changes
- Removed
Node.js v20 is no longer supported; minimum supported versions are now v22.22.0 and v24.13.1. github.com - Removed
getAngularLib
getAngularLib and setAngularLib were removed. Use getAngularJSGlobal and setAngularJSGlobal. github.com
And 8 more in this version.
@angular/compiler 21.2.20 breaking changes
- Behavior changed
Host bindings are now sanitized on concrete hosts, header deletion matches values exactly, and root interceptors run in the terminal request chain. Check code relying on the previous behavior. github.com
@angular/compiler 21.2.19 breaking changes
- Behavior changed
Templates that put event attributes on elements marked for i18n will now fail to compile. Remove the event attributes from those elements. github.com - Behavior changed
The compiler's check for possible event handler attributes now only applies to property names longer than 2 characters, so shorter attribute names are treated differently than before. github.com
@angular/compiler 21.2.17 breaking changes
- Behavior changed
HttpRequest
Credentialed fetch requests are no longer stored in the transfer cache, so code relying on cached responses for them will fetch again. github.com
@angular/compiler 21.2.16 breaking changes
- Behavior changed
URLs now have only a literal /index.html suffix stripped, so other URL forms that were previously trimmed are left unchanged. github.com - Behavior changed
Platform-server now throws on suspicious URLs and limits protocol-relative URLs, so code that relied on those URLs being accepted may now fail. github.com
@angular/compiler 21.2.15 breaking changes
- Removed
SECURITY_SCHEMA
SECURITY_SCHEMA was removed in @angular/compiler 21.2.15 npmjs.com - Default changed
Requests that carry cookies are no longer stored in TransferCache by default. Code that relied on those responses being transferred must opt in again. github.com
@angular/compiler 21.2.13 breaking changes
- Behavior changed
Event attribute bindings in host bindings are rejected unconditionally, so components that used them may stop compiling and must move those bindings to the host listeners instead. github.com
@angular/compiler 21.2.12 breaking changes
- Behavior changed
Submitting a signal form while another submit is still running is now blocked. Code that starts overlapping submits must wait for the first one to finish. github.com
@angular/compiler 21.2.8 breaking changes
- Removed
InputOutputPropertySet
InputOutputPropertySet was removed in @angular/compiler 21.2.8 npmjs.com - Signature changed
DirectiveMeta.inputs
Was inputs: InputOutputPropertySet; now inputs: ClassPropertyMapping. npmjs.com
And 4 more in this version.
@angular/compiler 21.2.7 breaking changes
- Behavior changed
SVG animation attributes are now treated as URL security context in the compiler; review bindings on SVG animation elements. github.com
@angular/compiler 21.2.4 breaking changes
- Removed
The nested animations feature added in @angular/core is reverted, so code relying on it no longer gets that behavior. github.com - Behavior changed
Translated iframe src values are now rejected, so i18n setups that translate iframe src must be changed. github.com
And 1 more in this version.
@angular/compiler 21.2.0 breaking changes
- Signature changed
BinaryOperator.AdditionAssignment
Was AdditionAssignment = 21; now AdditionAssignment = 22. npmjs.com - Signature changed
BinaryOperator.AndAssignment
Was AndAssignment = 27; now AndAssignment = 28. npmjs.com
And 9 more in this version.
@angular/compiler 21.1.6 breaking changes
- Behavior changed
Only known attributes are applied to translated ICU content, and unknown attributes are no longer rendered. Check translated messages that rely on custom or unknown attributes. github.com
@angular/compiler 21.1.2 breaking changes
- Behavior changed
Only touch visible, interactive fields on submit; the language service detects the local project version on creation; the router no longer intercepts reload events with Navigation integration. github.com
@angular/compiler 21.1.1 breaking changes
- Removed
R3Identifiers.NEW_METHOD
R3Identifiers.NEW_METHOD was removed in @angular/compiler 21.1.1 npmjs.com - Removed
R3Identifiers.PATCH_DEPS
R3Identifiers.PATCH_DEPS was removed in @angular/compiler 21.1.1 npmjs.com
And 1 more in this version.
@angular/compiler 21.1.0 breaking changes
- Removed
ConstantPool.getLiteralFactory
ConstantPool.getLiteralFactory was removed in @angular/compiler 21.1.0 npmjs.com - Removed
LiteralMapKey.isShorthandInitialized
LiteralMapKey.isShorthandInitialized was removed in @angular/compiler 21.1.0 npmjs.com
And 17 more in this version.
@angular/compiler 21.1.0-next.4 breaking changes
- Renamed
FieldContext.field
The field property on FieldContext and ValidationError is renamed to fieldTree. github.com - Configuration changed
SignalFormsConfig.classes
Each class function in the classes map now receives a Field directive instead of a FieldState, so callbacks must destructure state and call it as a signal. github.com
@angular/compiler 21.0.9 breaking changes
- Renamed
[field]
The signal form field binding was renamed from [field] to [formField]. Update templates that use [field] to use [formField]. github.com - Signature changed
Binary.constructor
Was constructor(span: ParseSpan, sourceSpan: AbsoluteSourceSpan, operation: string, left: AST, right: AST); now constructor(span: ParseSpan, sourceSpan: AbsoluteSourceSpan, operation: BinaryOperation, left: AST, right: AST). npmjs.com
And 3 more in this version.
@angular/compiler 21.0.7 breaking changes
- Signature changed
BindingPipe.args
Was args: any[]; now args: AST[]. npmjs.com - Signature changed
BindingPipe.constructor
Was constructor(span: ParseSpan, sourceSpan: AbsoluteSourceSpan, exp: AST, name: string, args: any[], type: BindingPipeType, nameSpan: AbsoluteSourceSpan); now constructor(span: ParseSpan, sourceSpan: AbsoluteSourceSpan, exp: AST, name... npmjs.com
And 10 more in this version.
@angular/compiler 21.0.6 breaking changes
- Renamed
FieldContext.field
The field property on FieldContext was renamed to fieldTree, so update code that reads field. github.com - Renamed
ValidationError.field
The field property on ValidationError was renamed to fieldTree, so update code that reads field. github.com
And 1 more in this version.
@angular/compiler 21.0.2 breaking changes
- Removed
R3Identifiers.validateIframeAttribute
R3Identifiers.validateIframeAttribute was removed in @angular/compiler 21.0.2 npmjs.com - Behavior changed
The compiler now blocks unsafe SVG animation attributeName values and MathML/SVG URLs to prevent XSS. Templates relying on those bindings may now be sanitized differently. github.com
@angular/compiler 21.0.1 breaking changes
- Removed
DEFAULT_INTERPOLATION_CONFIG
DEFAULT_INTERPOLATION_CONFIG was removed in @angular/compiler 21.0.1 npmjs.com - Removed
InterpolationConfig
InterpolationConfig was removed in @angular/compiler 21.0.1 npmjs.com
@angular/compiler 21.0.0 breaking changes
- Removed
BindingParser.interpolationConfig
BindingParser.interpolationConfig was removed in @angular/compiler 21.0.0 npmjs.com - Removed
ParsedTemplate.interpolationConfig
ParsedTemplate.interpolationConfig was removed in @angular/compiler 21.0.0 npmjs.com
And 24 more in this version.
@angular/compiler 21.0.0-next.9 breaking changes
- Behavior changed
Router.parseUrl
Router.parseUrl now reports parse errors. Code that relied on malformed URLs passing through silently may now see errors. github.com
@angular/compiler 20.3.34 breaking changes
- Behavior changed
Requests to same-origin absolute URLs now get XSRF protection, so the XSRF token header may be sent on requests that previously did not receive it. Check any same-origin absolute URL calls that depend on the old behavior. github.com
@angular/compiler 20.0.0 breaking changes
- Removed
BinaryOperatorExpr.parens
BinaryOperatorExpr.parens was removed in @angular/compiler 20.0.0 npmjs.com - Removed
R3BoundTarget
R3BoundTarget was removed in @angular/compiler 20.0.0 npmjs.com
And 68 more in this version.
@angular/compiler 20.0.0-next.9 breaking changes
- Removed
TestBed.flushEffects
TestBed.flushEffects was removed. Use TestBed.tick instead. github.com - Removed
useNgZoneOnStable
The useNgZoneOnStable option was removed. Use the interval option instead. github.com
And 4 more in this version.
@angular/compiler 20.0.0-next.8 breaking changes
- Renamed
provideExperimentalZonelessChangeDetection
provideExperimentalZonelessChangeDetection is renamed to provideZonelessChangeDetection because the API is now Developer Preview. Update imports and calls. github.com - Behavior changed
Expressions using 'in' now refer to the in operator, so existing template code that relied on the old meaning must be adjusted. github.com
And 2 more in this version.
@angular/compiler 20.0.0-next.6 breaking changes
- Behavior changed
Animations are now always flushed when Angular runs change detection or ApplicationRef.tick. Tests that assert on DOM elements awaiting animation removal may need to be updated. github.com
@angular/compiler 20.0.0-next.5 breaking changes
- Removed
ngIf
ngIf, ngFor and ngSwitch are deprecated; use control flow blocks. github.com
@angular/compiler 20.0.0-next.3 breaking changes
- Removed
TestBed.get
Use TestBed.inject instead of TestBed.get. github.com
@angular/compiler 20.0.0-next.2 breaking changes
- Removed
InjectFlags
inject, Injector.get, EnvironmentInjector.get, TestBed.get and TestBed.inject no longer accept InjectFlags. github.com - Removed
injector.get
injector.get now only accepts ProviderToken<T> and deprecated string tokens. github.com
And 1 more in this version.
@angular/compiler 20.0.0-next.1 breaking changes
- Removed
Angular 20 requires TypeScript 5.8 or later; upgrade TypeScript before upgrading Angular. github.com - Behavior changed
AsyncPipe
AsyncPipe now catches unhandled subscription and promise errors itself and reports them to ErrorHandler, which may require test updates. github.com
And 1 more in this version.
@angular/compiler 20.0.0-next.0 breaking changes
- Behavior changed
compiler.void
Expressions like {{void}} now refer to the void operator instead of a component property; use this.void to reach a property named void. github.com - Behavior changed
Y
Using the Y (week-numbering year) formatter without w now triggers an error; use y if that is intended. github.com
@angular/compiler 19.0.0 breaking changes
- Removed
ExternalReference.runtime
ExternalReference.runtime was removed in @angular/compiler 19.0.0 npmjs.com - Removed
isIdentifier
isIdentifier was removed in @angular/compiler 19.0.0 npmjs.com
And 14 more in this version.
@angular/compiler 19.0.0-rc.0 breaking changes
- Removed
OutletContext.injector
The setter for injector on OutletContext was removed, so code that assigns to it will no longer work. github.com
@angular/compiler 19.0.0-next.9 breaking changes
- Behavior changed
this.foo
Do not use this. to read template variables; this.foo now reads the class property. github.com
@angular/compiler 18.0.0 breaking changes
- Removed
R3ComponentMetadata.deferBlockDepsEmitMode
R3ComponentMetadata.deferBlockDepsEmitMode was removed in @angular/compiler 18.0.0 npmjs.com - Removed
R3ComponentMetadata.deferBlocks
R3ComponentMetadata.deferBlocks was removed in @angular/compiler 18.0.0 npmjs.com
And 19 more in this version.
@angular/compiler 18.0.0-next.6 breaking changes
- Removed
AnimationDriver.matchesElement
The deprecated matchesElement method was removed from AnimationDriver because it was unused. Stop calling it. github.com - Removed
async
The async function was removed; use waitForAsync instead. github.com
And 4 more in this version.
@angular/compiler 18.0.0-next.5 breaking changes
- Behavior changed
Non-writable expressions in two-way bindings are no longer supported. Change such bindings to use writable expressions. github.com
@angular/compiler 17.0.0 breaking changes
- Removed
BlockGroup
BlockGroup was removed in @angular/compiler 17.0.0 npmjs.com - Removed
BoundTarget.getEntitiesInTemplateScope
BoundTarget.getEntitiesInTemplateScope was removed in @angular/compiler 17.0.0 npmjs.com
And 32 more in this version.
@angular/compiler 17.0.0-next.8 breaking changes
- Removed
withNoDomReuse
The withNoDomReuse() function was removed from the public API. To disable hydration, remove the provideClientHydration() call or use the ngSkipHydration attribute on components. github.com - Removed
WritableSignal.mutate
The mutate method was removed from the WritableSignal interface and public API. Use update and make immutable changes instead. github.com
And 1 more in this version.
@angular/compiler 17.0.0-next.6 breaking changes
- Removed
setupTestingRouter
setupTestingRouter has been removed; use RouterModule.forRoot or provideRouter to set up the Router for tests. github.com - Behavior changed
Absolute redirects no longer prevent further redirects, so route configurations may need adjusting to avoid infinite redirects. github.com
@angular/compiler 17.0.0-next.5 breaking changes
- Removed
Node.js 16 is no longer supported; the minimum version is now 18.13.0. github.com - Removed
Versions of TypeScript older than 5.2 are no longer supported. github.com
And 1 more in this version.
@angular/compiler 17.0.0-next.4 breaking changes
- Behavior changed
Adds string styles and styleUrl support in @angular/compiler 17.0.0-next.4 github.com
@angular/compiler 17.0.0-next.3 breaking changes
- Removed
Router.urlHandlingStrategy
urlHandlingStrategy is no longer on the public Router; configure it through provideRouter or RouterModule.forRoot. github.com - Behavior changed
OnPush
Dynamically created OnPush components now only refresh host bindings and ngDoCheck when dirty, so code relying on the old behaviour may need markForCheck or detectChanges. github.com
@angular/compiler 17.0.0-next.2 breaking changes
- Removed
Router.canceledNavigationResolution
Several Router properties were removed from the public API and must be configured through provideRouter or RouterModule.forRoot instead. github.com - Removed
Router.malformedUriErrorHandler
Several Router properties were removed from the public API and must be configured through provideRouter or RouterModule.forRoot instead. github.com
And 3 more in this version.
@angular/compiler 16.0.0 breaking changes
- Removed
Projects must upgrade zone.js to a newer version to use this Angular release. github.com - Removed
Angular v16 no longer supports Node.js v14; use Node.js v16 or v18. github.com
And 19 more in this version.
@angular/compiler 16.0.0-rc.4 breaking changes
- Behavior changed
Apps using server-side rendering in JIT mode must import @angular/compiler before bootstrapping. Angular CLI users are not affected. github.com
@angular/compiler 16.0.0-next.7 breaking changes
- Removed
BrowserTransferStateModule
BrowserTransferStateModule was removed. TransferState can be injected without providing the module, so remove references to it. github.com - Removed
IterableDiffers.factories
The public factories property of IterableDiffers was removed. github.com
And 4 more in this version.
@angular/compiler 16.0.0-next.6 breaking changes
- Removed
EventManager.addGlobalEventListener
This deprecated method was removed because Ivy does not use it. github.com
@angular/compiler 16.0.0-next.5 breaking changes
- Removed
Packages no longer ship FESM2015 bundles; FESM2020 is replaced by FESM2022. github.com - Behavior changed
NgTemplateOutlet
Mismatched template context properties now cause a compile-time error; add the property to the context type or use $any. github.com
@angular/compiler 16.0.0-next.4 breaking changes
- Signature changed
renderApplication
Pass a bootstrapping function returning Promise<ApplicationRef> instead of a root component. github.com
@angular/compiler 16.0.0-next.3 breaking changes
- Removed
ComponentFactoryResolver
Stop passing a factory resolver to Router APIs and use ViewContainerRef.createComponent. github.com - Behavior changed
APP_ID
Apps bootstrapped multiple times on one page must provide APP_ID explicitly. github.com
@angular/compiler 16.0.0-next.2 breaking changes
- Removed
renderModuleFactory
Use renderModule instead. github.com
@angular/compiler 16.0.0-next.1 breaking changes
- Removed
Node.js v14 is no longer supported; use Node.js v16 or v18. github.com - Removed
Projects must use a newer TypeScript version. github.com
And 1 more in this version.
@angular/compiler 16.0.0-next.0 breaking changes
- Removed
ngcc has been removed, so Angular View Engine libraries no longer work and must be replaced with Ivy-compatible versions. github.com - Behavior changed
MockPlatformLocation
Tests that rely on BrowserPlatformLocation behavior must override the PlatformLocation provider again. github.com
And 3 more in this version.
@angular/compiler 15.0.0 breaking changes
- Removed
Older Node.js patch versions and TypeScript versions below 4.8 are no longer supported. github.com - Removed
Projects must upgrade TypeScript to 4.8 or later. github.com
And 13 more in this version.
@angular/compiler 14.0.0 breaking changes
- Removed
Node.js 12 is no longer supported. Use Node.js 14.15 or later. github.com - Removed
TypeScript versions older than 4.6 are no longer supported. Upgrade TypeScript before using this release. github.com
And 354 more in this version.
@angular/compiler 13.0.0 breaking changes
- Removed
Users must run Node.js v12.20.0 or newer. github.com - Removed
Projects must use TypeScript 4.4.2 or newer to build against this release. github.com
And 42 more in this version.
@angular/compiler 13.0.0-rc.3 breaking changes
- Removed
ng-add
The ng-add schematic was removed from @angular/elements. github.com
@angular/compiler 13.0.0-next.13 breaking changes
- Behavior changed
NodeJS versions older than v12.20.0 are no longer supported; upgrade Node.js before updating. github.com
@angular/compiler 13.0.0-next.12 breaking changes
- Behavior changed
TypeScript versions older than 4.4.2 are no longer supported; upgrade TypeScript before updating. github.com - Signature changed
SwUpdate.activateUpdate
The return types of SwUpdate#activateUpdate and SwUpdate#checkForUpdate changed to Promise<boolean>; update types if type-checking fails. github.com
@angular/compiler 13.0.0-next.10 breaking changes
- Removed
WrappedValue
WrappedValue can no longer be imported from @angular/core; remove its usage, as no replacement exists. github.com
@angular/compiler 13.0.0-next.9 breaking changes
- Removed
DeprecatedLoadChildren
@angular/router no longer exports DeprecatedLoadChildren. github.com - Removed
loadChildren
Route.loadChildren no longer accepts a string value; use a function returning a dynamic import instead. github.com
And 4 more in this version.
@angular/compiler 13.0.0-next.7 breaking changes
- Behavior changed
Router
When a new navigation cancels an ongoing one, the router no longer calls replaceState. Hybrid apps relying on navigationId on initial navigations must handle NavigationCancel and call location.replaceState themselves. github.com
@angular/compiler 13.0.0-next.5 breaking changes
- Behavior changed
RouterTestingModule
SpyLocation now matches browsers: Location.go no longer emits a popstate event, and simulateHashChange triggers both hashchange and popstate. Tests relying on location.go to drive the Router should switch to simulateHashChange where... github.com
@angular/compiler 12.0.0 breaking changes
- Removed
Downstream apps providing translations must migrate message IDs using the localize-migrate command line tool. github.com - Removed
Support for TypeScript 4.0 and 4.1 was removed in this release. github.com
And 62 more in this version.
@angular/compiler 12.0.0-next.7 breaking changes
- Removed
XhrFactory
Import XhrFactory from @angular/common instead of @angular/common/http; the old location is temporarily re-exported and deprecated. github.com
@angular/compiler 12.0.0-next.6 breaking changes
- Behavior changed
Elements are now removed when the root view is destroyed; SSR code reading app HTML after destroy and tests relying on old elements must be updated. github.com - Behavior changed
ActivatedRouteSnapshot.fragment
Strict null checks now report fragment as possibly null; add a null check. github.com
@angular/compiler 12.0.0-next.5 breaking changes
- Removed
Projects must use TypeScript 4.2 or later. github.com - Default changed
emitDistinctChangesOnlyDefaultValue
The default is now true, so QueryList.changes emits less often; set emitDistinctChangesOnly explicitly to keep old behavior if needed. github.com
@angular/compiler 12.0.0-next.4 breaking changes
- Signature changed
APP_INITIALIZER
Initializer return types are now Promise<unknown> | Observable<unknown> | void; explicit Provider annotations may be needed to avoid TS2742. github.com - Signature changed
PlatformLocation.onPopState
onPopState and onHashChange now return functions that remove the handler instead of void. github.com
@angular/compiler 12.0.0-next.3 breaking changes
- Behavior changed
RouterLinkActive.routerLinkActiveOptions
The input type was widened, so code reading this property may need updating. github.com - Signature changed
HttpParams
HttpParams methods now accept string, number or boolean values; subclasses overriding these methods must update signatures. github.com
@angular/compiler 12.0.0-next.1 breaking changes
- Behavior changed
FormGroup.addControl
Methods like FormGroup.addControl and FormArray.push now accept an emitEvent option; subclasses overriding these methods may need signature updates. github.com
@angular/compiler 11.0.0 breaking changes
- Removed
TypeScript 3.9 is no longer supported; upgrade to TypeScript 4.0 before using this release. github.com - Removed
Angular no longer supports IE 9, IE 10 or IE mobile browsers. github.com
And 21 more in this version.
@angular/compiler 10.0.0 breaking changes
- Removed
R3Identifiers.defaultStyleSanitizer
R3Identifiers.defaultStyleSanitizer was removed in @angular/compiler 10.0.0 npmjs.com - Signature changed
TemplateParser.constructor
Was constructor(_config: CompilerConfig, _reflector: CompileReflector, _exprParser: Parser, _schemaRegistry: ElementSchemaRegistry, _htmlParser: HtmlParser, _console: Console, transforms: t.TemplateAstVisitor[]); now constructor(_config... npmjs.com
@angular/compiler 10.0.0-rc.0 breaking changes
- Behavior changed
Angular npm packages no longer contain jsdoc comments, which breaks Closure Compiler advanced optimizations. Consume sources directly or use Closure SIMPLE level. github.com
@angular/compiler 10.0.0-next.8 breaking changes
- Removed
The compiler no longer supports TypeScript 3.8. Update to TypeScript 3.9. github.com
@angular/compiler 10.0.0-next.7 breaking changes
- Signature changed
ModuleWithProviders
Code that uses ModuleWithProviders without a generic type must add one; the v10 migration covers application code only. Libraries that omit it will fail to build with View Engine. github.com
@angular/compiler 10.0.0-next.6 breaking changes
- Removed
Angular npm packages no longer ship esm5 and fesm5 builds. Projects that need es5 artifacts must downlevel the code themselves unless they use the Angular CLI. github.com - Removed
The compiler no longer supports TypeScript 3.6 or 3.7. Update to TypeScript 3.8 or later. github.com
And 2 more in this version.
@angular/compiler 10.0.0-next.5 breaking changes
- Behavior changed
Warnings about unknown elements are now logged via console.error instead of as warnings. Tools that expect nothing logged via console.error may need adjusting. github.com - Behavior changed
AsyncPipe
WrappedValue was removed from AsyncPipe, which can surface new ExpressionChangedAfterItHasBeenChecked errors. Bindings to a property of an async value no longer trigger change detection when that property is unchanged; use a new object... github.com
@angular/compiler 10.0.0-next.3 breaking changes
- Behavior changed
formatDate
Times formatted with the b or B format codes now render the correct day period (such as 'at night') instead of falling back to AM. Applications using formatDate() or DatePipe with these codes will see different output. github.com
@angular/compiler 10.0.0-next.0 breaking changes
- Signature changed
UrlMatcher
UrlMatcher's type reflects that it can always return null. Custom Router or Recognizer implementations must handle a matcher returning null. github.com
@angular/compiler 9.0.0 breaking changes
- Removed
compileBaseDefFromMetadata
compileBaseDefFromMetadata was removed in @angular/compiler 9.0.0 npmjs.com - Removed
findStaticQueryIds
findStaticQueryIds was removed in @angular/compiler 9.0.0 npmjs.com
And 67 more in this version.
@angular/compiler 9.0.0-rc.5 breaking changes
- Default changed
ngcc output now uses legacy i18n message ids by default. Projects relying on the previous ids may need to check their translations. github.com
@angular/compiler 9.0.0-next.12 breaking changes
- Removed
TypeScript 3.4 and 3.5 are no longer supported. Upgrade your project to TypeScript 3.6 before using this release. github.com - Removed
Deprecated support for the intl API was removed from the common package. Code that relied on it must stop using it. github.com
And 1 more in this version.
@angular/compiler 9.0.0-next.11 breaking changes
- Removed
FormsModule.withConfig
FormsModule.withConfig has been removed; use FormsModule directly. github.com - Removed
ngForm
<ngForm></ngForm> can no longer be used as a selector; use <ng-form></ng-form> instead. github.com
And 3 more in this version.
@angular/compiler 9.0.0-next.10 breaking changes
- Removed
RenderComponentType
The deprecated RenderComponentType type has been removed. Use RendererType2 instead. github.com - Removed
Renderer
The deprecated Renderer type has been removed. Use Renderer2 instead. github.com
And 2 more in this version.
Related packages
- @angular/core
- @angular/common
- @angular/platform-server
- @angular/router
- @angular/forms
- @angular/platform-browser
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.