Change8

v22.2.0-next.4

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

Summary

This release includes several bug fixes across various Angular modules, including prototype pollution prevention, improved type-checking for defer blocks, and better error handling during hydration. A new feature scopes type-checking for keyed defer blocks.

✨ New Features

  • Scope type-checking of keyed defer blocks.

🐛 Bug Fixes

  • Avoid prototype member collisions in common and core.
  • Use locale NaN symbol in number formatting.
  • Scope animations declared in minified nested rules.
  • Deduplicate deferred imports across multiple blocks.
  • Default template diagnostic related message source file to template.
  • Produce correct tcb expression for optional chaining.
  • Retain metadata for strict standalone errors.
  • Explicitly reject foreign components in JIT mode.
  • Preserve namespace for dynamic component hosts.
  • Prevent TransferState prototype pollution.
  • Throw coded RuntimeErrors instead of crashing when hydration/rendering can't find an expected DOM node.
  • Use dot-access for readonly rule configuration.
  • Honor quote style preference when generating imports.
  • Preserve registerLocaleData calls in standalone bootstrap migration.
  • Avoid stripping unicode whitespace during url resolution.

Affected Symbols