yarn @angular/core 21.0.0-next.6

16 hours ago

common

Commit Description
feat - 99c5269ee8 Support of optional keys for the KeyValue pipe (#48814)

compiler

Commit Description
fix - 159be56709 recover template literals with broken expressions (#64150)

core

Commit Description
fix - 1cb16fddb5 Fixes animations in conjunction with content projection (#63776)
fix - 8a0c9ca8be prevents unintended early termination of leave animations and hoisting (#64088)

elements

Commit Description
fix - be0455adda return value on signal input getter (#62113)

migrations

Commit Description
fix - 51a0b59389 handle shorthand property declarations in NgModule (#64160)
fix - 31bc9e4111 skip migration for inputs with 'this' references (#64142)

Breaking Changes

elements

  • Fix signal input getter behavior in custom elements.

    Before this change, signal inputs in custom elements required function calls to access their values (elementRef.newInput()), while decorator inputs were accessed directly (elementRef.oldInput). This inconsistency caused confusion and typing difficulties.

    The getter behavior has been standardized so signal inputs can now be accessed directly, matching the behavior of decorator inputs:

    Before:

    • Decorator Input: elementRef.oldInput
    • Signal Input: elementRef.newInput()

    After:

    • Decorator Input: elementRef.oldInput
    • Signal Input: elementRef.newInput

Don't miss a new core release

NewReleases is sending notifications on new releases.