20.0.0-next.1 (2025-03-05)
common
Commit | Description |
---|---|
clean up onUrlChange listener when root scope is destroyed (#60004)
| |
Handle errors in async pipe subscriptions (#60057) |
compiler
Commit | Description |
---|---|
support tagged template literals in expressions (#59947) | |
exponentiation should be right-to-left associative (#60101) | |
proper handling of typeof, void in RecursiveAstVisitor (#60101) |
compiler-cli
Commit | Description |
---|---|
ensure template IDs are not reused if a source file changes (#60152) | |
preserve required parens for nullish coalescing (#60060) | |
preserve required parens in exponentiation expressions (#60101) |
core
Commit | Description |
---|---|
add input binding support to dynamically-created components (#60137) | |
add the ability to apply directives to dynamically-created components (#60137) | |
drop support for TypeScript older than 5.8 (#60197) | |
emit template function for template related profiler hooks (#60174) | |
Expose Injector.destroy on Injector created with Injector.create (#60054)
| |
introduce new DI profiling event (#60158) | |
support listening to outputs on dynamically-created components (#60137) | |
added @angular/compiler as a peer dependency (#55610) | |
cache ComponentRef inputs and outputs (#60156) | |
Catch and report rejections in async function of PendingTasks.run (#60044)
| |
defer block render failures should report to application error handler (#60149) | |
do not allow setInput to be used with inputBinding (#60137) | |
input targeting not checking if input exists on host (#60137) | |
prevent invoking replay listeners on disconnected nodes (#60103) | |
prevents event replay from being called on comment nodes (#60130) |
language-service
Commit | Description |
---|---|
Forward the tags for quick info from the type definition (#59524) |
Breaking Changes
common
AsyncPipe
now directly catches unhandled errors in
subscriptions and promises and reports them to the application's
ErrorHandler
. For Zone-based applications, these errors would have
been caught by ZoneJS and reported toErrorHandler
so the result is
generally the same. The change to the exact mechanism for reporting can
result in differences in test environments that will require test
updates.
core
-
- TypeScript versions less than 5.8 are no longer supported.
PendingTasks.run
no longer returns the result of the
async function. If this behavior is desired, it can be re-implemented
manually with thePendingTasks.add
. Be aware, however, that promise rejections
will need to be handled or they can cause the node process to shut down
when using SSR.