Packages

@angular/common

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

Your version

21.0.6

17 Dec 2025Where it was published

21.2.26 is the newest release of 21.x.

In short

2 breaking

  • Breaking

    The shape of SignalFormsConfig.classes has changed

  • Breaking

    (cherry picked from commit ae0c59028a2f393ea5716bf222db2c38e7a3989f)

Security

Release note

Breaking Changes (affecting only experimental features)

forms

  • Breaking

    The shape of SignalFormsConfig.classes has changed

    Previously each function in the classes map took a FieldState. Now
    it takes a Field directive.

    For example if you previously had:

    provideSignalFormsConfig({
      classes: {
        'my-valid': (state) => state.valid()
      }
    })

    You would need to update to:

    provideSignalFormsConfig({
      classes: {
        'my-valid': ({state}) => state().valid()
      }
    })

    (cherry picked from commit 348f149)

  • Breaking

    (cherry picked from commit ae0c590)

core

CommitTypeDescription
4c8fb3631dfixthrow better errors for potential circular references
48492524eafixuse mutable ResponseInit type for RESPONSE_INIT token

forms

CommitTypeDescription
81772b420dfeatpass field directive to class config
729b96476brefactorrename field to fieldTree in FieldContext and ValidationError

language-service

CommitTypeDescription
e0694df3ecfixavoid interpolation highlighting inside @let
5047be4bc1fixPrevent language service from crashing on suggestion diagnostic errors

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.