Skip to content

Releases: angular/angular

22.0.0-next.9

22 Apr 23:50

Choose a tag to compare

22.0.0-next.9 Pre-release
Pre-release

core

Commit Description
feat - 8f3d0b9d97 introduce @Service decorator
feat - 9f479ae964 Update Testability to use PendingTasks for stability indicator

docs

Commit Description
fix - b24b4cb699 link formatting in "Animating your Application with CSS"

migrations

Commit Description
fix - b395173cf2 fix NgClass leaving trailing comma after removal

router

Commit Description
fix - 6eff439546 restore internal URL on popstate when browserUrl is used
fix - 17d10f7a99 set default paramsInheritanceStrategy to 'always'

Breaking Changes

router

  • paramsInheritanceStrategy now defaults to 'always'

    The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that route parameters are inherited from all parent routes by default. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration.

21.2.10

22 Apr 23:28

Choose a tag to compare

docs

Commit Description
fix - 0d5ee9ae1b link formatting in "Animating your Application with CSS"

migrations

Commit Description
fix - 5533ab4f56 fix NgClass leaving trailing comma after removal

router

Commit Description
fix - 580212c995 restore internal URL on popstate when browserUrl is used

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