Angular
Backend & InfraDeliver web apps with confidence 🚀
Release History
vsix-21.2.1This release includes a performance improvement for Angular analysis within the language service by utilizing a lightweight project warmup.
v19.2.19Breaking1 fixThis release introduces a security fix related to ICU message handling and enforces stricter attribute application in translated content.
v20.3.17Breaking1 fixThis release introduces stricter security handling by blocking sensitive URI attributes in ICU messages and dropping unknown attributes during rendering.
v21.2.016 fixes20 featuresThis release introduces several new features across common, compiler, core, and forms modules, including support for TypeScript 6 and improvements to signal-based forms and animation handling. Numerous bug fixes address issues related to compiler optimizations, diagnostics, and form error handling.
v21.1.6Breaking3 fixesThis release includes fixes across common, compiler-cli, and core modules, notably addressing LCP image detection and sensitive URI attribute blocking in ICU messages, alongside a breaking change that drops unknown attributes from translated ICU content.
vsix-21.2.03 fixes6 featuresThis release focuses on enhancing the language server and VS Code extension capabilities, adding support for inline styles, linked editing, and improving various highlighting and detection mechanisms.
v21.2.0-rc.05 fixes4 featuresThis release introduces compiler enhancements like exhaustive switch checks and core support for TypeScript 6. The forms module received several updates, including improved native input parsing and fixes for signal forms and custom control handling.
v21.1.5v21.2.0-next.37 fixes6 featuresThis release introduces new features like support for nested animations and an 'outlet' injector option for ngTemplateOutlet, alongside various bug fixes across core, forms, and http modules.
v21.1.44 fixes1 featureThis release includes several bug fixes across compiler, core, and http modules, alongside a new feature in forms supporting signal-based schemas.
v21.2.0-next.26 fixes7 featuresThis release introduces new features like SignalFormControl and form-level submit options, alongside several bug fixes across core, forms, and the router, including improved error propagation for linked signals.
v21.1.37 fixesThis release focuses primarily on bug fixes across core, forms, localize, and router modules, including error propagation in signals and preventing stack overflows in URL parsing.
v21.2.0-next.14 fixes4 featuresThis release introduces updates across several packages, including new location strategy features, improved signal form error handling, language server file watching support, and router enhancements for navigation and route snapshots.
v21.1.23 fixesThis release includes several bug fixes across forms, the language service, and the router, addressing issues related to form submission, version detection, and navigation event handling.
vsix-21.1.12 fixesThis release focuses on improving the VS Code extension by adding syntax highlighting support for arrow functions and spread/rest expressions.
v21.2.0-next.05 fixes9 featuresThis release introduces several new features across the compiler, core, forms, and language server, including support for the `instanceof` operator and arrow functions in expressions, alongside various bug fixes.
v21.1.13 fixes1 featureThis release introduces the ability to manually register form field bindings in signal forms and includes several bug fixes across compiler-cli, core, and forms modules.
v21.1.03 fixes16 featuresThis release introduces significant feature enhancements across image loaders, compiler switch case handling, and router navigation controls. A key deprecation involves moving the `VERSION` export location in the upgrade package.
v21.0.91 fixThis release includes a bug fix in forms regarding instruction ordering and a migration step to rename a signal binding attribute.
vsix-21.1.01 fixThis release primarily contains a bug fix for the VS Code extension related to enum member kind conversion in completions.
v21.1.0-rc.08 fixes8 featuresThis release introduces enhanced image loader transformations, support for spread/rest operators in templates, and experimental Router integration with the platform Navigation API. It also includes significant bug fixes for memory leaks and improved diagnostic reporting in the compiler.
v21.0.82 fixesThis release focuses on core stability improvements, specifically addressing a memory leak in event replay and refining navigation handling for cancelled traversals.
v20.3.161 fixThis release focuses on a security fix within the core module to ensure sensitive attributes on SVG script elements are properly sanitized.
v19.2.181 fixThis release focuses on a security fix within the core module to sanitize sensitive attributes on SVG script elements.
v21.0.7Breaking10 fixes1 featureThis release introduces the [formField] directive and several enhancements to custom form controls, alongside critical bug fixes for the compiler AST, SVG security, and RouterLink behavior.
vsix-21.0.13 fixesThis release focuses on stability improvements for the Angular Language Service and VS Code extension, including crash prevention and better handling of workspace version conflicts.
v21.1.0-next.4Breaking6 fixes1 featureThis release introduces a breaking change in SignalFormsConfig and several core bug fixes, including improved error handling for circular references and language service stability improvements.
v21.0.6Breaking4 fixes1 featureThis release introduces a breaking change to SignalFormsConfig and renames properties in FieldContext, alongside stability improvements for the language service and core error handling.
v21.1.0-next.32 fixesThis release focuses on bug fixes for the core and forms packages, specifically addressing false-positive deprecation warnings for InjectionToken and resolving type errors in signal forms.
v21.0.52 fixesThis release focuses on bug fixes for the core and forms packages, specifically addressing false-positive deprecation warnings for InjectionToken and resolving type errors in signal forms.
v21.1.0-next.25 fixes2 featuresThis release introduces updates to the signal forms API, including metadata redesigns and performance optimizations, while deprecating the VERSION export in the upgrade package.
v21.0.45 fixes2 featuresThis release focuses on enhancements to the new Signal Forms API, including a metadata API redesign and improved state tracking, alongside compiler performance optimizations.
21.1.0-next.18 fixes1 featureThis release focuses on security hardening for XSS and XSRF, performance optimizations for signals and tree shaking, and bug fixes across core, forms, and the router.
21.0.37 fixes1 featureThis release introduces signal transforms for FormUiControl and includes several performance optimizations, such as tree-shaking unused dynamic binding instructions and reducing signal allocations in production. Key fixes address XSRF protection for absolute URLs and dependency injection issues with host directives.
21.0.21 fixThis release addresses security vulnerabilities in the compiler by preventing XSS attacks through SVG animation attributes and MathML/SVG URLs.
20.3.151 fixThis release addresses security vulnerabilities in the compiler by preventing XSS attacks through SVG animation attributes and MathML/SVG URLs.
19.2.171 fixThis release focuses on security enhancements within the compiler to prevent XSS attacks through SVG and MathML attributes.
19.2.161 fixThis security-focused update addresses a vulnerability in the http package to prevent XSRF tokens from being leaked to protocol-relative URLs.
21.1.0-next.05 featuresThis release introduces several feature enhancements for platform-browser and the router, including improved application bootstrapping and more flexible routing controls.
20.3.141 fixThis security-focused update for the http package prevents XSRF tokens from being leaked to protocol-relative URLs.
21.0.110 fixes1 featureThis release focuses on security hardening for HTTP XSRF tokens and memory leak fixes in core effects. It also introduces DI enhancements for form directives and improves the reliability of Angular migrations and compiler type checking.
vsix-21.0.02 fixesThis release focuses on stability improvements for the language service and server, specifically addressing a memory leak and Windows-specific file system issues.
21.0.0Breaking7 fixes11 featuresThis release introduces experimental Navigation API support, enables host binding type checking by default, and updates localization to CLDR 47. It also includes significant internal refactoring for NgComponentOutlet and adds support for regex in templates.
20.3.13No release notes provided.
21.0.0-rc.34 fixesThis maintenance release focuses on bug fixes across the compiler, core, and forms modules, specifically addressing SSR issues in signal forms and improving declaration block parsing.
20.3.12No release notes provided.
21.0.0-rc.211 fixes1 featureThis release introduces a debounce rule for signal-based forms and includes several compiler fixes for CSS selector support and form field detection. It also addresses a memory leak in the language service and a Windows-specific directory renaming bug.
20.3.116 fixesThis release focuses on bug fixes for the Angular compiler's CSS selector parsing and core view management, specifically improving support for complex CSS pseudo-classes and optimizing view animations and image listener cleanup.
21.0.0-rc.14 fixes3 featuresThis release focuses on improving type inference and diagnostic reporting for forms and signal-based inputs, alongside performance optimizations for field control bindings and animation fixes.
20.3.102 fixesThis release focuses on bug fixes for the compiler-cli and migration tools, specifically improving diagnostic clarity for required inputs and fixing template reference handling.
21.0.0-rc.0No release notes provided.
21.0.0-next.106 fixes1 featureThis release includes several bug fixes across core, forms, and router, notably improving signal interoperability in forms and fixing a memory leak in core. It also introduces a change to block IPv6 localhost from preconnect checks in the common package.
20.3.9No release notes provided.
20.3.83 fixes1 featureThis release focuses on bug fixes across core, router, and migrations, including a memory leak fix in IcuIteratorState and improved URL serialization for parenthesized outlets.
21.0.0-next.9Breaking14 fixes3 featuresThis release introduces generic support for SimpleChanges and updates CLDR to version 47. It includes significant bug fixes for forms interoperability, router serialization, and animation scheduling, while dropping support for legacy browsers in zone.js.
20.3.77 fixesThis maintenance release focuses on bug fixes across animations, compiler, core, and router modules, including improved error handling in Router.parseUrl and fixes for animation node retention.
20.3.62 fixesThis release includes bug fixes for core animation scheduling and ensures correct plugin execution order within the platform-browser event system.
21.0.0-next.87 fixes5 featuresThis release introduces several enhancements to @defer triggers and HttpResource, alongside critical bug fixes for animations and form control state propagation. It also includes a new migration to help users transition away from the deprecated RouterTestingModule.
20.3.57 fixesThis release focuses on bug fixes across the compiler, core animations, and router, alongside performance improvements for signal checks and fixes for migration tools.
21.0.0-next.77 fixes2 featuresThis release introduces support for fetch referrerPolicy in HttpClient and optional keys in KeyValuePipe, while addressing several animation-related bugs and a memory leak in the Router.
20.3.45 fixesThis release focuses on bug fixes for the core animation system and improvements to the standalone migration tool to ensure component imports are preserved.
21.0.0-next.6Breaking6 fixes1 featureThis release introduces support for optional keys in the KeyValue pipe and standardizes signal input access in Angular Elements to match decorator input behavior. It also includes several bug fixes for animations, template literal compilation, and migration scripts.
20.3.36 fixesThis release focuses on bug fixes across the compiler, core, and migration modules, specifically addressing animation issues, ARIA property binding behavior, and template literal recovery.
21.0.0-next.59 fixes2 featuresThis release introduces support for regular expressions in templates and updates CLDR to version 47. It also includes several bug fixes for forms, animations, and the compiler-cli.
20.3.27 fixesThis maintenance release focuses on bug fixes across the compiler, core, and forms modules, including improvements to Resource type narrowing and FormResetEvent emission.
21.0.0-next.4Breaking7 fixes4 featuresThis release introduces zoneless-by-default migrations and support for regex in templates, while removing deprecated Component metadata like moduleId and custom interpolation. It also standardizes the change detection scheduler and refines form field state behavior.
20.3.15 fixes1 featureThis release focuses on bug fixes across the compiler and core modules, specifically addressing animation lifecycle issues, template diagnostic accuracy, and structural directive binding.
18.2.14Breaking1 featureThis release refactors server-side bootstrapping to use a localized BootstrapContext instead of a global platform injector, improving isolation and security.
19.2.15Breaking1 featureThis release refactors server-side bootstrapping to remove global platform injector reliance, introducing a mandatory BootstrapContext for bootstrapApplication calls.
21.0.0-next.3Breaking2 fixes2 featuresThis release introduces a new server bootstrapping mechanism using BootstrapContext and enables host binding type checking by default. It also bumps the minimum required TypeScript version to 5.9.
20.3.0Breaking1 fix1 featureThis release introduces a new BootstrapContext for server-side bootstrapping to remove global platform injector reliance and includes a security advisory update.
20.3.0-rc.0Breaking1 fix1 featureThis release introduces a new BootstrapContext for server-side rendering to eliminate global platform injector reliance and includes a security-related update to platform management.
21.0.0-next.2Breaking8 fixes3 featuresThis release introduces experimental signal-based forms and Navigation API support, while removing several deprecated APIs including UpgradeAdapter and the platform-browser export of ApplicationConfig. It also includes significant internal refactoring of the Router to use async/await, which may impact test timings.
20.2.42 fixesThis release includes bug fixes for the core inject migration schematics and resolves false duplicate state serialization warnings in platform-server.
20.2.34 fixesThis maintenance release focuses on bug fixes for the compiler and core modules, specifically addressing regressions in animation event parsing, injector cleanup, and rxResource error handling.
21.0.0-next.1Breaking5 fixes2 featuresThis release introduces the FormArrayDirective and a migration for ngClass, while removing the deprecated ngModuleFactory input. It also includes several critical fixes for animations and memory management.
20.2.24 fixesThis release focuses on stability improvements for the animation system, specifically addressing memory leaks, @for loop animation persistence, and binding issues with structural directives.
20.2.11 fixThis release includes a bug fix for the Angular compiler to correctly handle operator precedence by preserving parentheses in Nullish and Boolean expressions.
21.0.0-next.0Breaking1 fix2 featuresThis release introduces signal-based navigation tracking in the Router and provides HTTP services in root, while explicitly disallowing the 'emitDeclarationOnly' TypeScript compiler option.
20.2.09 fixes13 featuresThis release promotes zoneless mode to stable, adds support for TypeScript 5.9, and introduces several template enhancements like 'else if' aliases. It also marks the animations package and component animations field as deprecated while providing numerous fixes for animation behavior and compiler diagnostics.
20.1.83 fixesThis release focuses on bug fixes for the Angular compiler and compiler-cli, specifically addressing issues with ng-content translation, template attribute source mapping, and HMR extraction.
20.2.0-rc.11 fix1 featureThis release introduces auto-import support for attribute completions in the language service and fixes an AST span calculation bug in the compiler.
20.1.74 fixesThis release focuses on bug fixes across the compiler, core, and router modules, addressing issues with AST spans, generic directive type checking, and afterRenderEffect cleanup.
20.2.0-rc.04 fixes2 featuresThis release introduces 'as' alias support for 'else if' blocks and unhandled promise rejection logging in service workers, alongside several bug fixes for animations, rendering effects, and compiler type checking.
20.2.0-next.62 fixesThis release for compiler-cli focuses on bug fixes related to Type Check Block (TCB) generation, specifically regarding diagnostics handling and backward compatibility.
20.2.0-next.52 featuresThis release introduces the IsolatedShadowDom encapsulation method and adds a new currentNavigation signal to the Router service, deprecating the previous getCurrentNavigation method.
20.1.6No release notes provided.
20.2.0-next.48 fixes6 featuresThis release promotes zoneless support to stable, introduces a new currentNavigation signal in the Router, and includes several fixes for animations and HTTP resource handling.
20.1.54 fixesThis maintenance release focuses on bug fixes across the compiler, core, and HTTP modules, including improved type checking for host listeners and state management in HttpResource.
20.2.0-next.35 fixes3 featuresThis release deprecates the @angular/animations package and component animations field, while introducing new HTTP response properties and improved service worker error handling.
20.1.44 fixesThis release focuses on bug fixes across the compiler, core, and HTTP modules, including improvements to the signals API and expanded support for Fetch API options.
20.2.0-next.26 fixes5 featuresThis release introduces new diagnostics for template interpolation, support for updateViaCache in service workers, and core animation instructions. It also includes several stability fixes for JIT mode and ARIA attribute rendering.
20.1.32 fixesThis release includes bug fixes for the core Resource API's change tracking and ensures component resources are properly resolved during JIT bootstrapping.
20.1.21 fixThis release includes a bug fix for the compiler to correctly detect directive dependencies when using Just-In-Time (JIT) compilation.
20.2.0-next.19 fixes3 featuresThis release adds support for TypeScript 5.9 and enhances HttpClient with new fetch options and missing configurations. It also includes several bug fixes for the compiler, router, and change detection mechanisms.
20.1.17 fixesThis maintenance release focuses on bug fixes across the compiler, core, and router modules, including improved template parsing and more reliable application bootstrapping.
20.2.0-next.01 featureThis release introduces support for fetch-specific options, including referrer and integrity, within the HttpClient module.
20.1.0Breaking11 fixes8 featuresThis release introduces significant enhancements to HttpClient and httpResource for fetch API parity, adds lifecycle state properties to core injectors, and improves compiler performance and error reporting.
20.0.71 fixThis release includes a bug fix for the compiler-cli to ensure diagnostic types use the correct naming convention.
20.1.0-rc.01 fix9 featuresThis release introduces significant enhancements to HTTP handling, including timeout support and fetch-specific options for both HttpClient and httpResource, alongside improved compiler error reporting.
Common Errors
FatalDiagnosticError3 reportsFatalDiagnosticError in Angular usually indicates a problem with your project's dependencies or Angular Language Service configuration. Try clearing your `node_modules` folder, running `npm install` or `yarn install` to reinstall dependencies, and restarting your IDE or language service. If the problem persists, check your `tsconfig.json` file for any misconfigurations or incompatible compiler options.
SchematicsException1 reportSchematicsException often arises from incorrect or missing configuration in your `angular.json` file, particularly when dealing with multi-project workspaces or custom schematics. To resolve this, carefully review your `angular.json`, ensuring project names are accurate and schematic collections/defaults are correctly specified for the relevant projects or the workspace as a whole. If using custom schematics, verify they are properly packaged and referenced in your `collection.json` and `angular.json`.
ExpressionChangedAfterItHasBeenCheckedError1 reportThe ExpressionChangedAfterItHasBeenCheckedError usually happens when a component's input changes after Angular's change detection cycle has already rendered the view. To fix this, consider using `setTimeout` to delay the change or implementing `OnChanges` to respond to input changes synchronously within the change detection cycle. Verify you're not performing actions that trigger further updates within the view rendering phase itself.
InvalidCharacterError1 reportThe "InvalidCharacterError" in Angular commonly arises when attempting to use characters in CSS class names (or other string contexts like configuration values used for class names) that are not permitted by CSS syntax rules. This often includes characters beyond basic alphanumeric and hyphen/underscore. To fix it, ensure your class names (or any values used directly as CSS classes) adhere to valid CSS syntax, typically by restricting them to alphanumeric characters, hyphens, and underscores; alternatively, properly escape invalid characters. You might need to refactor your component styles and configuration logic to generate or consume CSS-compliant class names.
Related Backend & Infra Packages
Production-Grade Container Scheduling and Management
Node.js JavaScript runtime ✨🐢🚀✨
Promise based HTTP client for the browser and node.js
A modern runtime for JavaScript and TypeScript.
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Free and Open Source, Distributed, RESTful Search Engine
Subscribe to Updates
Get notified when new versions are released