Packages

@angular/common

22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @angular/common From 21.2.26 to 22.2.4

23 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 21.2.26Latest22.2.6
  1. 21.2.26yours
  2. 22.0.0major
  3. 21 releases
  4. 22.2.4target
  5. 5 pre
26
changes to make
0
advisories fixed
2
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0

Release by release

  1. 22.1.1 – 22.2.413 releases, nothing new or fixed in the notes

  2. 22.1.0

    29 Jul 20262 new · 1 fix
    • New

      language-service: Typecheck templates which would require inline typecheck blocks

    • New

      language-service: Compile non-exported classes if standalone

    • Fixed

      language-service: Account for strictTemplates being enabled by default

  3. 22.0.2 – 22.0.87 releases, nothing new or fixed in the notes

  4. 22.0.1

    Deprecation10 Jun 2026
    • Deprecated

      XHR support in @angular/platform-server is deprecated. Use standard fetch APIs instead. (cherry picked from commit 8446e46f8bc33bd4419fa7f6106b8d117ca2e099)

  5. 22.0.0

    Migration needed3 Jun 2026
    • Breaking

      This change will trigger the nullishCoalescingNotNullable and optionalChainNotNullable diagnostics on exisiting projects. You might want to disable those 2 diagnotiscs in your tsconfig temporarily.

    • Breaking

      Data prefixed attribute no-longer bind inputs nor outputs.

    • Breaking

      The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.

    • Breaking

      in variables will throw in template expressions.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.