16.0.0-next.4 (2023-03-22)
Breaking Changes
platform-server
-
renderApplication
method no longer accepts a root component as first argument. Instead, provide a bootstrapping function that returns aPromise<ApplicationRef>
.Before
const output: string = await renderApplication(RootComponent, options);
Now
const bootstrap = () => bootstrapApplication(RootComponent, appConfig); const output: string = await renderApplication(bootstrap, options);
compiler
Commit | Description |
---|---|
add support for compile-time required inputs (#49453) | |
add support for compile-time required inputs (#49468) |
core
Commit | Description |
---|---|
add API to provide CSP nonce for inline stylesheets (#49444) | |
allow removal of previously registered DestroyRef callbacks (#49493) | |
Allow TestBed.configureTestingModule to work with recursive cycle of standalone components. (#49473)
| |
more accurate matching of classes during content projection (#48888) |
migrations
Commit | Description |
---|---|
preserve trailing commas in code generated by standalone migration (#49533) |
platform-browser
Commit | Description |
---|---|
only add ng-app-id to style on server side (#49465)
|
platform-server
Commit | Description |
---|---|
remove renderApplication overload that accepts a component (#49463)
|
Special Thanks
Aditya Srinivasan, Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Jessica Janiuk, Kristiyan Kostadinov, Masaoki Kobayashi, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Peter Götz, Thomas Pischke, Virginia Dooley and avmaxim