@angular/core
22.2.6 · 12 Nov 2026MIT8.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @angular/core From 18.2.14 to 19.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 7
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
- Breaking19.0.0
Security
8 advisories still affect 19.0.0
- @angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)moderate · GHSA-692r-grfm-v8x7
- Angular: Template and Attribute Namespace Sanitization Bypass (XSS)moderate · GHSA-f3m7-gqxr-g87x
- Angular vulnerable to XSS in i18n attribute bindingshigh · GHSA-g93w-mfhg-p222
Upgrading to 20.3.28 clears them.
Release by release
- Breaking
Angular directives, components and pipes are now standalone by default.
- Breaking
TypeScript versions less than 5.5 are no longer supported.
- Breaking
ExperimentalPendingTaskshas been renamed toPendingTasks. - Breaking
The
autoDetectfeature ofComponentFixturewill now attach the fixture to theApplicationRef. As a result, errors during automatic change detection of the fixture be reported to theErrorHandler. This change may cause custom error handlers to observe new failures that were previously unreported.
- Breaking
2 other lines we could not sort, mostly version bumps
- 19.0.0
Effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).
- 19.0.0
Effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.