npm @angular/compiler-cli 21.0.6

latest release: 21.1.0-next.4
22 hours ago

core

Commit Description
fix - 4c8fb3631d throw better errors for potential circular references
fix - 48492524ea use mutable ResponseInit type for RESPONSE_INIT token

forms

Commit Description
feat - 81772b420d pass field directive to class config
refactor - 729b96476b rename field to fieldTree in FieldContext and ValidationError

language-service

Commit Description
fix - e0694df3ec avoid interpolation highlighting inside @let
fix - 5047be4bc1 Prevent language service from crashing on suggestion diagnostic errors

Breaking Changes

forms

  • 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)

  • (cherry picked from commit ae0c590)

Don't miss a new compiler-cli release

NewReleases is sending notifications on new releases.