angular/goldens/public-api
leonsenft d596d8bd0a refactor(compiler): support matching and validating foreign components in templates (#68674)
We extract the identifier name from the `foreignImports` expression in
`ComponentDecoratorHandler` and use a `SelectorlessMatcher` to match element
tags against these names. If an element matches both a regular Angular
directive and a foreign component, a conflict error is thrown.

In addition, we implement strict template semantic validation for these matched
foreign components within `TemplateSemanticsChecker`. Elements matched as
foreign components only support static attributes and property bindings. Any
event bindings, template references, or non-property input bindings (e.g.
class, style, or attribute bindings) trigger a semantic error diagnostic.

Finally, we skip standard DOM schema checks for foreign components to prevent spurious
validation errors since foreign components are not defined in standard HTML schemas.

PR Close #68674
2026-05-19 13:42:10 -07:00
..
animations refactor(animations): deprecate the animations package (#62795) 2025-07-29 09:50:09 +00:00
common refactor(http): Add reportUploadProgress & reportDownloadProgress options 2026-05-01 16:00:00 -07:00
compiler-cli refactor(compiler): support matching and validating foreign components in templates (#68674) 2026-05-19 13:42:10 -07:00
core fix(core): support prefix-insensitive DOM schema lookups and compile-time i18n attribute validation 2026-05-19 13:00:32 -07:00
elements build: update to latest dev infra code (#56128) 2024-05-28 14:42:31 +02:00
forms refactor(forms): add provideExperimentalWebMcpForms 2026-05-15 11:35:22 -07:00
localize build: update cross-repo angular dependencies 2026-02-25 10:17:51 -08:00
platform-browser feat(core): Update Testability to use PendingTasks for stability indicator 2026-04-20 13:08:43 -07:00
platform-browser-dynamic refactor(platform-browser): Deprecate the platform-browser-dynamic package (#61043) 2025-05-15 09:48:15 -07:00
platform-server fix(platform-server): add allowedHosts option to renderModule and renderApplication 2026-05-07 16:30:03 -06:00
router fix(router): Add strict typing on 'getResolvedTitleForRoute' 2026-05-19 12:59:13 -07:00
service-worker Revert "feat(service-worker): notify clients about version failures (#62718)" 2025-11-11 12:48:45 -08:00
upgrade refactor(upgrade): remove getAngularLib/setAngularLib 2026-02-25 07:58:24 -08:00
manage.js build: update goldens management script to drop shelljs (#64042) 2025-09-26 13:14:09 -04:00