Skip to content

Releases: angular/angular

22.0.0-next.10

29 Apr 23:03
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

22.0.0-next.10 Pre-release
Pre-release

common

Commit Description
fix - 97cac1cf4d prevent focus from scrollToAnchor

compiler

Commit Description
feat - 2896c93cc1 Angular expressions with optional chaining returns undefined
fix - 6bd1721662 let declaration span not including end character

core

Commit Description
feat - 444b024d49 Add a injectAsync helper function
fix - 8c11816490 fix ordering of view queries metadata in JIT mode
fix - 3583c01bf9 guard against non-object events and avoid listener wrapper identity mismatch
fix - d5fd51e956 prevent event replay double-invocation when element hydrates before app stability

migrations

Commit Description
feat - 8f8972b0fd model + output migrations

platform-server

Commit Description
fix - 2a6b6fafb0 ensure origin has a trailing slash when parsing url

21.2.11

29 Apr 22:38
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

common

Commit Description
fix - 10ad3c0692 prevent focus from scrollToAnchor

compiler

Commit Description
fix - 4f5d8a2c0b let declaration span not including end character

core

Commit Description
fix - a40e2cebc8 fix ordering of view queries metadata in JIT mode
fix - 885a1a1d97 guard against non-object events and avoid listener wrapper identity mismatch
fix - 7a64aff9b5 prevent event replay double-invocation when element hydrates before app stability

platform-server

Commit Description
fix - be1f80a253 ensure origin has a trailing slash when parsing url

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