Skip to content

Releases: angular/angular

22.0.0-next.8

15 Apr 22:00

Choose a tag to compare

22.0.0-next.8 Pre-release
Pre-release

compiler

Commit Description
feat - 47fcbc4704 allow safe navigation to correctly narrow down nullables
fix - 2c5aabb9da don't escape dollar sign in literal expression

compiler-cli

Commit Description
fix - e5f96c2d88 animation events not type checked properly when bound through HostListener decorator

core

Commit Description
feat - 4e331062e8 allow synchronous values for stream Resources
feat - 2f5ab541ea enhance profiling with documentation URLs
feat - 75f2cb8f56 implement Angular DI graph in-page AI tool
feat - 8ce9cc4f6b register AI runtime debugging tools
feat - cdda51a3b2 support bootstrapping Angular applications underneath shadow roots
fix - 3c7641151c escape forward slashes in transfer state to prevent crawler indexing

forms

Commit Description
feat - f9f24fc669 shim legacy NG_VALIDATORS into parseErrors for CVA mode (#67943)
fix - 72d3ace03c use controlValue in NgControl for CVA interop (#67943)

http

Commit Description
fix - 39e382a756 add CSP nonce support to JsonpClientBackend
fix - d1cd97648a Don't on Passthru outside of reactive context

migrations

Commit Description
feat - 6a435658e2 Disabling nullishCoalescingNotNullable & optionalChainNotNullable on ng update
fix - 1415d86980 Fix typo for strict-template migration

platform-browser

Commit Description
feat - 68628dd45b make incremental hydration default behavior

platform-server

Commit Description
fix - ede7c58a2a prevent SSRF bypasses via protocol-relative and backslash URLs

router

Commit Description
fix - c90b6b398e normalize multiple leading slashes in URL parser

service-worker

Commit Description
fix - 836094c072 resolve TS 6.0 compatibility for messageerror listener

Breaking Changes

compiler

  • This change will trigger the nullishCoalescingNotNullable and optionalChainNotNullable diagnostics on exisiting projects.
    You might want to disable those 2 diagnotiscs in your tsconfig temporarily.

21.2.9

15 Apr 21:34

Choose a tag to compare

core

Commit Description
fix - f603d4714f escape forward slashes in transfer state to prevent crawler indexing

http

Commit Description
fix - 540536c386 add CSP nonce support to JsonpClientBackend
fix - 63a857b874 Don't on Passthru outside of reactive context

platform-server

Commit Description
fix - e0b5078cf2 prevent SSRF bypasses via protocol-relative and backslash URLs

router

Commit Description
fix - 684e9fd53d normalize multiple leading slashes in URL parser

20.3.19

15 Apr 22:08

Choose a tag to compare

platform-server

Commit Description
fix - 303d4cd580 prevent SSRF bypasses via protocol-relative and backslash URLs

19.2.21

15 Apr 22:20

Choose a tag to compare

platform-server

Commit Description
fix - f3a5bfb949 prevent SSRF bypasses via protocol-relative and backslash URLs

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