Change8

v22.0.0-rc.0

Breaking Changes
📦 angularView on GitHub →
2 breaking🐛 5 fixes🔧 7 symbols

Summary

This release focuses on compiler improvements, including stricter selector handling and bug fixes in type checking, alongside an update to error handling in the server platform.

⚠️ Breaking Changes

  • Removed dedicated support for legacy shadow DOM selectors. Code relying on these selectors may need updating.
  • Removed deprecated shadow CSS encapsulation polyfills. Applications should rely on native Shadow DOM or modern encapsulation methods.

Migration Steps

  1. Review usage of legacy shadow DOM selectors and update them if necessary.
  2. Remove reliance on deprecated shadow CSS encapsulation polyfills.

🐛 Bug Fixes

  • Enforced parentheses containing arguments for :host-context selectors.
  • Preserved leading commas in animation definitions.
  • Simplified handling of colon host with a selector list.
  • Fixed type checking for invalid for loops.
  • Forwarded BEFORE_APP_SERIALIZED errors to ErrorHandler in platform-server.

Affected Symbols