Angular 20.1 was just released by the Angular team, with a lot of good tools for improved developer experience:
Developer Tools
- Signal Dependency Graphs: The Angular devtools extension includes an experimental feature to visualize the dependencies between signals in a graph. You can also inspect a signal and jump directly to its definition in the code. Signals also “blink” in the graph when their value changes.
Testing
- Simplified Component Testing: New binding helpers (
inputBinding(),outputBinding(),twoWayBinding()) allow you to set a component’s bindings directly during testing, without doing manual assignments or using wrapper components.
Performance
- Optimized Template Compilation: The Angular compiler now uses more efficient, DOM-only instructions for elements that don’t have any directives applied, leading to better runtime performance.
Templates
- Assignment Operators: You can now use assignment operators like
+=,-=, and*=directly in your component templates. NgOptimizedImageDecoding: TheNgOptimizedImagedirective now includes adecodingoption, which can be set toasyncto avoid blocking the main JS thread.
HTTP Client
- New
HttpClientOptions: A variety of new options have been added toHttpClient, includingtimeout,cache,priority, andcredentials, giving you more control over HTTP requests and helping to improve Core Web Vitals.
AI and Angular CLI
- AI-Assisted Development: Angular is integrating with AI development tools through the new
ng mcpcommand, which starts a Model Control Protocol (MCP) server. This allows AI tools to better understand your Angular workspace for more accurate suggestions. - New Asset Loaders: The CLI now supports
dataurlandbase64loaders, allowing you to inline small assets directly into your application’s code.