Skip to content

Conversation

@dependabot
Copy link

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

Bumps @angular/common from 17.3.12 to 21.0.0.

Release notes

Sourced from @​angular/common'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/common'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
  • 00ffe91 refactor(common): removes unused NgModuleFactory config in NgComponentOutlet
  • 8765b66 docs: add reference to Built-in Pipes in multiple pipe files
  • ab98e71 fix(common): remove placeholder image listeners once view is removed
  • 8ab0847 refactor(core): mark VERSION as @__PURE__ for better tree-shaking
  • 650af71 refactor(http): migrate XSRF classes to use inject() function
  • 3bed9f0 build: format md files
  • a3c2fe8 Revert "refactor(common): Removes unused imports to clean up dependencies"
  • 6d3e0f1 refactor(common): Removes unused imports to clean up dependencies
  • 47578e0 refactor(common): remove redundant providedIn: 'root' from injection tokens
  • 6de14b1 refactor(http): simplifies destruction tracking using destroyed property
  • 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/common](https://github.com/angular/angular/tree/HEAD/packages/common) from 17.3.12 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/common)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant