Skip to content

Releases: angular/angular

21.0.7

07 Jan 21:45

Choose a tag to compare

compiler

Commit Description
fix - 8e808740c9 better types for a few expression AST nodes
fix - 63b1cdcf70 produce accurate span for typeof and void expressions
fix - 3c3ae0cb64 provide location information for literal map keys
fix - 523dbaf1c3 stop ThisReceiver inheritance from ImplicitReceiver

compiler-cli

Commit Description
fix - 4d9c4567ed ensure component import diagnostics are reported within the imports expression
fix - cd405685af fix up spelling of diagnostic
fix - 778460fcca support qualified names in typeof type references

core

Commit Description
fix - 7c74674eb0 avoid leaking view data in animations
fix - 0edbee4550 explicitly cast signal node value to String
fix - f9c29572d2 sanitize sensitive attributes on SVG script elements

forms

Commit Description
feat - e3fba182f9 add [formField] directive
fix - 561772b152 allow custom controls to require dirty input
fix - f0fb1d8581 allow custom controls to require hidden input
fix - ec110f170b allow custom controls to require pending input
fix - ae1dc16bb0 clean up abort listener after timeout
fix - 9748b0d5da support custom controls with non signal-based models
fix - 6bd22df987 Support readonly arrays in signal forms

router

Commit Description
fix - 41cd4a6af8 Fix RouterLink href not updating with queryParamsHandling
fix - 5e9e09aee0 handle errors from view transition updateCallbackDone promise

20.3.16

07 Jan 22:18

Choose a tag to compare

core

Commit Description
fix - c2c2b4aaa8 sanitize sensitive attributes on SVG script elements

19.2.18

07 Jan 22:12

Choose a tag to compare

core

Commit Description
fix - 26cdc53d9c sanitize sensitive attributes on SVG script elements

21.1.0-next.4

17 Dec 21:19

Choose a tag to compare

21.1.0-next.4 Pre-release
Pre-release

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()
      }
    })
    

21.0.6

17 Dec 21:12

Choose a tag to compare

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)

VSCode Extension: 21.0.1

17 Dec 21:51
eaa68c4

Choose a tag to compare

  • fix(language-service): Prevent language service from crashing on suggestion diagnostic errors (5047be4bc1)
  • fix(language-service): avoid interpolation highlighting inside @let (e0694df3ec)
  • fix(vscode-extension): Show warning if multiple versions of Angular are detected in workspace (a41b0ce025)

21.1.0-next.3

11 Dec 23:54

Choose a tag to compare

21.1.0-next.3 Pre-release
Pre-release

core

Commit Description
fix - 4f6014a756a avoid false-positive deprecation when using InjectionToken with factory only

forms

Commit Description
fix - d0097f7d0c2 fix signal forms type error

21.1.0-next.2

11 Dec 00:59

Choose a tag to compare

21.1.0-next.2 Pre-release
Pre-release

compiler

Commit Description
perf - ae1c0dc4900 chain query creation instructions

compiler-cli

Commit Description
fix - 8a3f3a91cf6 expand type for native controls with a dynamic type

forms

Commit Description
feat - aff8b248b35 expose element on signal forms Field directive
feat - ebc5c2b083a redo the signal forms metadata API
fix - 9fe95665813 add signals for dirty, hidden, and pending states in custom controls
fix - 14713d09923 allow resetting with empty string
fix - b96f65a963f memoize reads of child fields in signal forms (#65802)
fix - 179b4cba67b Reuse key in parent in compat structure

upgrade

Commit Description
refactor - 75fe8f8af94 deprecate VERSION export

Deprecations

upgrade

  • VERSION from @angular/upgrade is deprecated. Please use the entry from @angular/upgrade/static instead.

21.0.5

11 Dec 23:42

Choose a tag to compare

core

Commit Description
fix - 69d243abb74 avoid false-positive deprecation when using InjectionToken with factory only

forms

Commit Description
fix - 4fd2b722b40 fix signal forms type error

21.0.4

11 Dec 00:49

Choose a tag to compare

compiler

Commit Description
perf - f901cc9eb32 chain query creation instructions

compiler-cli

Commit Description
fix - 65297c62011 expand type for native controls with a dynamic type

forms

Commit Description
feat - f254ff4f2e0 expose element on signal forms Field directive
feat - 5880fbc73c6 redo the signal forms metadata API
fix - 55fc677cef4 add signals for dirty, hidden, and pending states in custom controls
fix - cbb10179c80 allow resetting with empty string
fix - bf1c12cd932 memoize reads of child fields in signal forms (#65802)
fix - 6d7475582f9 Reuse key in parent in compat structure