Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps @angular/compiler from 20.3.13 to 21.0.0.

Release notes

Sourced from @​angular/compiler's releases.

VSCode Extension: 21.0.0

  • fix(language-service): address potential memory leak during project creation (89095946cf)
  • fix(language-server): fix directory renaming on Windows (3f7111a9c3)

21.0.0

common

Commit Description
feat - c795960ada Add experimental support for the Navigation API (#63406)
feat - 9eac43cf46 Support of optional keys for the KeyValue pipe (#48814)
feat - a1868c9d13 update to cldr 47 (#64032)
fix - 196fa500a3 properly type ngComponentOutlet (#64561)
refactor - 7a4b225c57 improve typing of ngComponentOutletContent (#63674)
refactor - 25f593ce2a removengModuleFactory input of NgComponentOutlet (#62838)

compiler

Commit Description
fix - ecea909bcc don't choke on unbalanced parens in declaration block
fix - 04dd75ba94 support arbitrary nesting in :host-context()
fix - f54cc4f28a support commas in :host() argument
fix - 814b2713f5 support complex selectors in :nth-child()
fix - aad6ced0ef support one additional level of nesting in :host()

compiler-cli

Commit Description
feat - 563dbd998c Adds diagnostic for misconfigured @defer triggers (#64069)
feat - 0571b335b9 enable type checking of host bindings by default (#63654)
fix - 5b55200edf allow value to be set on radio fields
fix - ab98b2425f capture metadata for undecorated fields (#63957)
fix - be7110342b disallow compiling with the emitDeclarationOnly TS compiler option enabled (#61609)
fix - bd322ca410 do not flag custom control required inputs as missing when field is present
fix - 471da8a311 infer type of custom field controls
fix - 96cb0cffda infer types of signal forms set on native inputs
fix - 71ab11ccf0 make field detection logic more robust
fix - 1f389b8b97 missingStructuralDirective diagnostic produces false negatives (#64579)
fix - 7fd3db0423 remove internal syntax-related flags (#63787)
fix - c371251e4c report invalid bindings on form controls
fix - 01290ab275 use any when checking field interface conformance

core

Commit Description
feat - 809a4ed8c1 Add migration for zoneless by default. (#63042)
feat - 2a7a5de53f Allow passing application providers in bootstrapModule options (#64354)
feat - 28926ba92c introduce BootstrapContext for improved server bootstrapping (#63562)
feat - c2d376b85a make SimpleChanges generic (#64535)
feat - ad2376435b support IntersectionObserver options in viewport triggers (#64130)
feat - 539717f58a support regular expressions in templates (#63887)
fix - ab415f3d7f control not recognized when input has directive injecting ViewContainerRef (#64368)

... (truncated)

Changelog

Sourced from @​angular/compiler's changelog.

21.0.0 (2025-11-19)

Blog post "Announcing Angular v21".

Breaking Changes

common

  • (test only) - TestBed now provides a fake PlatformLocation implementation that supports the Navigation API. This may break some tests, though we have not observed any failures internally. You can revert to the old default for TestBed by providing the MockPlatformLocation from @angular/common/testing in your providers: {provide: PlatformLocation, useClass: MockPlatformLocation}
  • ngComponentOutletContent is now of type Node[][] | undefined instead of any[][] | undefined.
  • NgModuleFactory has been removed, use NgModule instead.

compiler-cli

    • Previously hidden type issues in host bindings may show up in your builds. Either resolve the type issues or set "typeCheckHostBindings": false in the angularCompilerOptions section of your tsconfig.
  • The Angular compiler now produces an error when the the emitDeclarationOnly TS compiler option is enabled as this mode is not supported.

core

  • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

    Before:

    const bootstrap = () => bootstrapApplication(AppComponent, config);

    After:

    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);

    A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.

    In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.

  • Using a combination of provideZoneChangeDetection while also removing ZoneJS polyfills will no longer result in the internal scheduler being disabled. All Angular applications now consistenly use the same scheduler, and those with the Zone change detection provider include additional automatic scheduling behaviors based on

... (truncated)

Commits
  • ecea909 fix(compiler): don't choke on unbalanced parens in declaration block
  • afda85f refactor(core): remove unused type
  • c05cf41 refactor(core): render additional WAI-ARIA 1.3 property bindings as attributes
  • 814b271 fix(compiler): support complex selectors in :nth-child()
  • 20319fe refactor(compiler): remove unused code
  • 6213cbf refactor(core): rename ExperimentalIsolatedShadowDom to IsolatedShadowDom
  • b69763c test(compiler): add test for :host:has(> .foo)
  • f54cc4f fix(compiler): support commas in :host() argument
  • aad6ced fix(compiler): support one additional level of nesting in :host()
  • 3bed9f0 build: format md files
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 20.3.13 to 21.0.0.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/21.0.0/packages/compiler)

---
updated-dependencies:
- dependency-name: "@angular/compiler"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 24, 2025
@auto-submit
Copy link

auto-submit bot commented Nov 24, 2025

autosubmit label was removed for flutter/samples/2752, because - The status or check suite review-pr has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant