Change8

v22.2.0-next.2

📦 angularView on GitHub →
1 features🐛 12 fixes🔧 8 symbols

Summary

This release includes several bug fixes across compiler, compiler-cli, core, forms, http, and router modules. Notably, it improves handling of nested selectors, optional chaining, defer blocks, and JSON response decoding. A new feature allows throwing RedirectCommand to trigger redirects.

✨ New Features

  • Allow throwing RedirectCommand to trigger redirects in the router.

🐛 Bug Fixes

  • Do not encapsulate nested selectors if parent contains ::ng-deep in the compiler.
  • Generate correct expression for optional chaining in the compiler.
  • Remove namespaced MathML script elements in the compiler.
  • Scope nested CSS rules in the compiler.
  • Correctly resolve symbol for SafePropertyRead in chained optional navigation in compiler-cli.
  • Record class extends clause references in DeferredSymbolTracker in compiler-cli.
  • Ensure i18n_util hasOwnProperty checks are safe for property renaming in core.
  • Fix incorrect loop in defer blocks in core.
  • Reject prefixed SVG script hosts in core.
  • Keep radio inputs in sync when values change in forms.
  • Always decode JSON responses as UTF-8 in http.
  • Limit protocol-relative URL handling to serialization in router.

Affected Symbols