npm @angular/core 22.0.0-next.7

5 hours ago

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.

Don't miss a new core release

NewReleases is sending notifications on new releases.