yarn @angular/language-service 21.1.0-next.4

17 hours ago

core

Commit Description
fix - 06be8034bb Microtask scheduling should be used after any application synchronization
fix - b4f584cf42 return StaticProvider for providePlatformInitializer
fix - 7be4ddef1c throw better errors for potential circular references
fix - f516370c8e use mutable ResponseInit type for RESPONSE_INIT token

forms

Commit Description
feat - 348f149e8b pass field directive to class config
refactor - ae0c59028a rename field to fieldTree in FieldContext and ValidationError

language-service

Commit Description
fix - 9f5744a92d avoid interpolation highlighting inside @let
fix - ce1a4769f9 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()
      }
    })
    

Don't miss a new language-service release

NewReleases is sending notifications on new releases.