Skip to content

Releases: angular/angular

22.0.0-next.7

08 Apr 19:48

Choose a tag to compare

22.0.0-next.7 Pre-release
Pre-release

compiler

Commit Description
fix - 2ce0e98f79 handle nested brackets in host object bindings

compiler-cli

Commit Description
feat - 7f9450219f Adds warning for prefetch without main defer trigger
fix - ab061a7610 error for type parameter declarations
fix - 9218140348 resolve TCB mapping failure for safe property reads with as any

core

Commit Description
feat - a0aa8304cd bootstrap via ApplicationRef with config
feat - 9c55fcb3e6 de-duplicate host directives
feat - 8fe025f514 drop support for TypeScript 5.9
fix - 77f1ca08e4 handle missing serialized container hydration data
fix - a24179e125 remove obsolete iOS cursor pointer hack in event delegation
refactor - 9d76ac8229 remove ComponentFactoryResolver & ComponentFactory from the api surface
refactor - b1f5181ffd remove ComponentFactoryResolver & ComponentFactory from the api surface""

forms

Commit Description
fix - de56d74da3 align FormField CVA selection priority with standard forms
fix - 394ad0c2a2 allow late-bound input types for signals forms
fix - 2e9aeea0fe deduplicate writeValue calls in CVA interop

language-service

Commit Description
fix - 75ac120493 get quick info at local var location to align with TS semantics and support type narrowing

migrations

Commit Description
feat - 8216d34976 Add migration for CanMatchFn snapshot parameter (#67452)

platform-browser

Commit Description
fix - d45b7a91f9 remove unused styles when associated host is dropped

router

Commit Description
fix - 579440170b make currentSnapshot required in CanMatchFn (#67452)

Breaking Changes

core

  • The second arguement of appRef.bootstrap does not accept any anymore. Make sure the element you pass is not nullable.
    • TypeScript versions older than 6.0 are no longer supported.
  • ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponentFunction.
  • ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponent function.

platform-browser

  • This removes styles when they appear to no longer be used by an associated host. However other DOM on the page may still be affected by those styles if not leveraging ViewEncapsulation.Emulated or if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.

router

  • The currentSnapshot parameter in CanMatchFn and the canMatch method of the CanMatch interface is now required. While this was already the behavior of the Router at runtime, existing class implementations of CanMatch must now include the third argument to satisfy the interface.

21.2.8

08 Apr 19:31

Choose a tag to compare

compiler

Commit Description
fix - e40d378f3e handle nested brackets in host object bindings

compiler-cli

Commit Description
fix - 2c6781071f error for type parameter declarations

core

Commit Description
fix - 82192deda9 handle missing serialized container hydration data
fix - 057cc6d09d remove obsolete iOS cursor pointer hack in event delegation

language-service

Commit Description
fix - 7797671257 get quick info at local var location to align with TS semantics and support type narrowing

22.0.0-next.6

01 Apr 18:42

Choose a tag to compare

22.0.0-next.6 Pre-release
Pre-release

compiler

Commit Description
fix - 08d36599d7 register SVG animation attributes in URL security context (#67797)

compiler-cli

Commit Description
fix - fcd0bb0db8 prevent recursive scope checks for invalid NgModule imports

core

Commit Description
fix - e84e35cdd6 prevent binding unsafe attributes on SVG animation elements (#67797)
fix - 8fa6617352 resolve component import by exact specifier in route lazy-loading schematic
fix - 028e1d3ce0 treat object[data] as resource URL context (#67797)

localize

Commit Description
fix - 7871093822 validate locale in getOutputPathFn to prevent path traversal

migrations

Commit Description
feat - 682aaf943f add strictTemplates to tsconfig during ng update

router

Commit Description
fix - daa9b2a9d6 pass outlet context to split to fix empty path named outlets

21.2.7

01 Apr 18:36

Choose a tag to compare

compiler

Commit Description
fix - fea25d1a60 register SVG animation attributes in URL security context (#67797)

compiler-cli

Commit Description
fix - bba5ed8e64 prevent recursive scope checks for invalid NgModule imports

core

Commit Description
fix - d04ddd73df prevent binding unsafe attributes on SVG animation elements (#67797)
fix - 8fd896e99a resolve component import by exact specifier in route lazy-loading schematic
fix - b682c62873 treat object[data] as resource URL context (#67797)

localize

Commit Description
fix - 3c41e74fdd validate locale in getOutputPathFn to prevent path traversal

router

Commit Description
fix - 0960592d3d pass outlet context to split to fix empty path named outlets

22.0.0-next.5

25 Mar 23:04

Choose a tag to compare

22.0.0-next.5 Pre-release
Pre-release

common

Commit Description
fix - c1312da183 avoid redundant image fetch on destroy with auto sizes

compiler

Commit Description
feat - e850643b1b Support comments in html element.
fix - 96be4f429b abstract emitter producing incorrect code for dynamic imports
fix - 5a712d42d1 prevent shimCssText from adding extra blank lines per CSS comment

compiler-cli

Commit Description
refactor - ca67828ee2 introduce NG8023 compile-time diagnostic for duplicate selectors

core

Commit Description
feat - 8bc31a515f Allow other expression for exhaustive typechecking
feat - eae8f7e30b Set default Component changeDetection strategy to OnPush
fix - 16adbbf423 ensure custom controls resolve transitive host directives
fix - dfa149dc68 fixes a regression with animate.leave and reordering
fix - 50e599e73e lazy-initialize debounced state to prevent computation cycle
fix - 22f8b0a500 resolver function not matching expected type
fix - 5e99ae9f00 widen type for directive inputs/outputs

forms

Commit Description
feat - 74f76d8075 add reloadValidation to Signal Forms to manually trigger async validation
feat - 24e52d450d add debounce option to validateAsync and validateHttp
feat - 709f5a390c add FieldState.getError()
feat - 41b1410cb8 support binding `number
fix - 0eeb1b5f03 allow FormRoot to be used without submission options (#67727)
fix - ee8d2098cb change FieldState optional properties to non-optional
fix - df8b020299 clear native date inputs correctly in signal forms when changed via native UI
perf - 98c5afdb02 lazily instantiate signal form fields

migrations

Commit Description
fix - a73b4b7c30 inject migration not work in multi-project workspace with option path

platform-browser

Commit Description
refactor - f99e7ed20f remove Hammer integration

Breaking Changes

compiler-cli

  • Elements with multiple matching selectors will now throw at compile time.

core

  • Component with undefined changeDetection property are now OnPush by default. Specify changeDetection: ChangeDetectionStrategy.Eager to keep the previous behavior.

platform-browser

  • Hammer.js integration has been removed. Use your own implementation.

21.2.6

25 Mar 22:42

Choose a tag to compare

common

Commit Description
fix - b4ab6ba2e8 avoid redundant image fetch on destroy with auto sizes

compiler

Commit Description
fix - 880a57d4b3 prevent shimCssText from adding extra blank lines per CSS comment

core

Commit Description
fix - ad0156e056 fixes a regression with animate.leave and reordering

migrations

Commit Description
fix - 73d6b01b47 inject migration not work in multi-project workspace with option path

22.0.0-next.4

19 Mar 02:20

Choose a tag to compare

22.0.0-next.4 Pre-release
Pre-release

compiler

Commit Description
fix - 412788fac9 ensure generated code compiles
fix - 75560ce43d parse named HTML entities containing digits
fix - d99ab0e040 stop generating unused field

compiler-cli

Commit Description
fix - 2bd708fb6b escape template literal in TCB
fix - 9769560da7 generic types not filled out correctly in type check block
fix - 7a0d6b8df2 transform dropping exclamationToken from properties

core

Commit Description
feat - df659b8d0c re-introduce nested leave animations scoped to component boundaries
feat - dc3131c639 TestBed.getFixture -> TestBed.getLastFixture and update implementation
fix - dc0446552a clean up dehydrated views during HMR component replacement
fix - 523d69a768 run linked signal equality check without reactive consumer
refactor - 69fb1614ef remove checkNoChanges from the public API.

forms

Commit Description
feat - 3983080236 support ngNoCva as an opt-out for ControlValueAccessors
feat - c4ce3f345f template & reactive support for FVC
fix - 83032e3605 support generic unions in signal form schemas

language-service

Commit Description
feat - cfd0f9950c add Document Symbols support for Angular templates

migrations

Commit Description
fix - 730684b9ce prevent trailing comma syntax errors after removing NgStyle

router

Commit Description
feat - 89c9a4de30 Add options optional parameter for withComponentInputBinding

service-worker

Commit Description
fix - 07abfbcc6c preserve redirect policy on reconstructed asset requests

Breaking Changes

core

  • Leave animations are no longer limited to the element being removed.
  • ChangeDetectorRef.checkNoChanges was removed. In tests use fixture.detectChanges() instead.

21.2.5

18 Mar 23:33

Choose a tag to compare

compiler

Commit Description
fix - 334ae10168 ensure generated code compiles
fix - 23ea431c4e parse named HTML entities containing digits

compiler-cli

Commit Description
fix - 26c43d14ba escape template literal in TCB
fix - 67e0ba7e03 generic types not filled out correctly in type check block

core

Commit Description
fix - 1890c3008b clean up dehydrated views during HMR component replacement
fix - bf948be4c2 run linked signal equality check without reactive consumer

migrations

Commit Description
fix - 076d41c3f6 prevent trailing comma syntax errors after removing NgStyle

service-worker

Commit Description
fix - e19150d2b5 preserve redirect policy on reconstructed asset requests

22.0.0-next.3

12 Mar 19:12

Choose a tag to compare

22.0.0-next.3 Pre-release
Pre-release

compiler

Commit Description
fix - 78dea55351 disallow translations of iframe src

core

Commit Description
fix - 999c14eaab reverts "feat(core): add support for nested animations"
fix - de0eb4c656 sanitize translated form attributes

21.2.4

12 Mar 18:58

Choose a tag to compare

compiler

Commit Description
fix - ed2d324f9c disallow translations of iframe src

core

Commit Description
fix - abbd8797bb reverts "feat(core): add support for nested animations"
fix - d1dcd16c5b sanitize translated form attributes