Skip to content

Releases: angular/angular

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

21.1.0-next.1

03 Dec 15:24

Choose a tag to compare

21.1.0-next.1 Pre-release
Pre-release

compiler

Commit Description
fix - 1c6b0704fb prevent XSS via SVG animation attributeName and MathML/SVG URLs

compiler-cli

Commit Description
fix - e30e61b789 avoid allocating an object for signals in production mode
fix - 6773d3b97d check that field radio button values are strings

core

Commit Description
fix - d8ab83ca82 run animation queue in environment injector context
fix - 886cf6c452 unable to inject viewProviders when host directive with providers is present
perf - e6d5632a30 tree shake unused dynamic [field] binding instructions (#65599)

forms

Commit Description
feat - 7d1e502345 Allows transforms on FormUiControl signals
fix - cd7ae7e2ce support dynamic [field] bindings (#65599)

http

Commit Description
fix - 0659d11c85 enable XSRF protection for same-origin absolute URLs

router

Commit Description
fix - b74a0693f2 handle errors from view transition finished promise

21.0.3

03 Dec 15:18

Choose a tag to compare

compiler-cli

Commit Description
fix - 5a80a48e96 avoid allocating an object for signals in production mode
fix - 1f1856e897 check that field radio button values are strings

core

Commit Description
fix - 8c3304c766 run animation queue in environment injector context
fix - 4bb085311e unable to inject viewProviders when host directive with providers is present
perf - 609699ae17 tree shake unused dynamic [field] binding instructions (#65599)

forms

Commit Description
feat - 6b4ab876e8 Allows transforms on FormUiControl signals
fix - a5dbd4b382 support dynamic [field] bindings (#65599)

http

Commit Description
fix - 20474d3f0f enable XSRF protection for same-origin absolute URLs

router

Commit Description
fix - 48b89f9fbe handle errors from view transition finished promise

21.0.2

01 Dec 11:51

Choose a tag to compare

compiler

Commit Description
fix - 78fd159b78 prevent XSS via SVG animation attributeName and MathML/SVG URLs