Change8

v22.1.0-next.0

📦 angularView on GitHub →
3 features🐛 10 fixes1 deprecations🔧 2 symbols

Summary

This release introduces new signal options and improves foreign component handling across the compiler and core. It also deprecates JSONP support in HttpClient.

Migration Steps

  1. Replace usage of `HttpClient.jsonp`, `HttpClientJsonpModule`, and related JSONP utilities with standard HTTP request methods.

✨ New Features

  • Added custom set option to linkedSignal in core.
  • Language service can now compile non-exported classes if standalone.
  • Language service can now typecheck templates which would require inline typecheck blocks.

🐛 Bug Fixes

  • Skipped transfer cache for uncacheable HTTP traffic in common.
  • Compiler now supports foreign components defined outside top-level scope.
  • Compiler-cli now allows passing uninvoked signals as foreign component props.
  • Compiler-cli now supports import aliases in foreignImports.
  • Corrected container anchor collection order in core to match DOM layout.
  • Introduced disposal mechanism for Angular views in foreign @content.
  • Introduced logical-only containers for foreign content.
  • Set current tnode in foreign component instruction on reuse.
  • Skipped transfer cache for fetch credentialed requests in http.
  • Harden platform location origin validation during SSR in platform-server.

Affected Symbols

⚡ Deprecations

  • HttpClient.jsonp, HttpClientJsonpModule, and related JSONP classes/functions are deprecated. Use standard HTTP requests instead.