17.0.0-next.8 (2023-10-11)
benchpress
Commit | Description |
---|---|
report gc and render time spent in script (#50771) |
common
Commit | Description |
---|---|
add missing types field for @angular/common/locales of exports in package.json (#52080) | |
allow to specify only some properties of DatePipeConfig (#51287)
| |
use === operator to match NgSwitch cases (#51504) |
compiler
Commit | Description |
---|---|
add docs extraction for type aliases (#52118) | |
extract api for fn overloads and abtract classes (#52040) | |
allow newlines in track and let expressions (#52137) | |
don't allocate variable to for loop expression (#52158) | |
narrow the type of expressions in event listeners inside if blocks (#52069) | |
narrow the type of expressions in event listeners inside switch blocks (#52069) | |
pipes used inside defer triggers not being picked up (#52071) | |
pipes using DI not working in blocks (#52112) | |
work around TypeScript bug when narrowing switch statements (#52110) |
compiler-cli
Commit | Description |
---|---|
handle nested qualified names in ctor injection in local compilation mode (#51947) |
core
Commit | Description |
---|---|
Add schematic to migrate control flow syntax (#52035) | |
add warnings for oversized images and lazy-lcp (#51846) | |
create function to assert not running inside reactive context (#52049) | |
mark core signal APIs as stable (#51821) | |
Provide a diagnostic for missing Signal invocation in template interpolation. (#49660) | |
Remove deprecated CompilerOptions.useJit andCompilerOptions.missingTranslation . (#49672)
| |
revamp the runtime error message for orphan components to include full component info (#51919) | |
show runtime error for orphan component rendering (#52061) | |
adjust toSignal types to handle more common cases (#51991) | |
disallow afterRender in reactive contexts (#52138)
| |
disallow using effect inside reactive contexts (#52138)
| |
drop mutate function from the signals public API (#51821) | |
drop mutate function from the signals public API (#51821) (#51986) | |
framework debug APIs getDependenciesForTokenInInjector and getInjectorMetadata (#51719) | |
host directive validation not picking up duplicate directives on component node (#52073) | |
Remove no longer needed build rule related to removed migration (#52143) | |
remove unnecessary migration (#52141) | |
viewport trigger deregistering callbacks multiple times (#52115) | |
build-in for should update indexes only when views were added / removed (#52051) |
forms
Commit | Description |
---|---|
reset() call with null values on nested group (#48830) |
http
Commit | Description |
---|---|
allow customization of the HttpTransferCache. (#52029) |
language-service
Commit | Description |
---|---|
Complete inside @switch (#52153) | |
Implement outlining spans for control flow blocks (#52062) | |
Support autocompletion for blocks (#52121) |
migrations
Commit | Description |
---|---|
schematic to remove deprecated CompilerOptions properties (#49672) | |
Schematics for TransferState , StateKey and makeStateKey migration. (#49594)
|
platform-browser
Commit | Description |
---|---|
Fire Animations events when using async animations. (#52087) | |
prevent duplicate stylesheets from being created (#52019) | |
set animation properties when using async animations. (#52087) | |
remove withNoDomReuse function (#52057)
|
router
Commit | Description |
---|---|
Add callback to execute when a view transition is created (#52002) | |
children of routes with loadComponent should not inherit parent data by default (#52114) |
Breaking Changes
common
- the NgSwitch directive now defaults to the === equality operator,
migrating from the previously used ==. NgSwitch expressions and / or
individual condition values need adjusting to this stricter equality
check. The added warning message should help pinpointing NgSwitch
usages where adjustements are needed.
core
-
The
mutate
method was removed from theWritableSignal
interface and completely
dropped from the public API surface. As an alternative please use the update method and
make immutable changes to the object.Example before:
items.mutate(itemsArray => itemsArray.push(newItem));
Example after:
items.update(itemsArray => [itemsArray, …newItem]);
-
The
mutate
method was removed from theWritableSignal
interface and completely
dropped from the public API surface. As an alternative please use the update method and
make immutable changes to the object.Example before:
items.mutate(itemsArray => itemsArray.push(newItem));
Example after:
items.update(itemsArray => [itemsArray, …newItem]);
platform-browser
- The
withNoDomReuse()
function was removed from the public API. If you need to disable hydration, you can exclude theprovideClientHydration()
call from provider list in your application (which would disable hydration features for the entire application) or usengSkipHydration
attribute to disable hydration for particular components. See this guide for additional information: https://angular.io/guide/hydration#how-to-skip-hydration-for-particular-components.
router
- Routes with
loadComponent
would incorrectly cause
child routes to inherit their data by default. The default
paramsInheritanceStrategy
isemptyOnly
. If parent data should be
inherited in child routes, this should be manually set toalways
.