Packages

@angular/common

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

Upgrading @angular/common From 18.2.12 to 22.2.6

171 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 18.2.12Newest 18.x18.2.14Clears its 8 advisories20.3.34
  1. 18.2.12yours
  2. 2 releases
  3. 19.0.0major
  4. 31 releases
  5. 19.2.15security
  6. 10 releases
  7. 20.0.0major
  8. 56 releases
  9. 21.0.0major
  10. 5 releases
  11. 21.0.6breaking
  12. 9 releases
  13. 21.1.6breaking
  14. 27 releases
  15. 22.0.0major
  16. 23 releases
  17. 22.2.6target
  18. 5 pre

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

Security

Release by release

  1. 22.1.1 – 22.2.615 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.

  6. 21.2.18 – 21.2.269 releases, nothing new or fixed in the notes

  7. 21.2.17

    Deprecation10 Jun 2026
  8. 21.2.0 – 21.2.1617 releases, nothing new or fixed in the notes

2 other lines we could not sort, mostly version bumps
  • Effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).

    19.0.0
  • Effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.

    19.0.0

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.