npm @angular/platform-browser 16.0.0-next.4
v16.0.0-next.4

latest releases: 18.0.6, 18.1.0-rc.0, 18.0.5...
15 months ago

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 a Promise<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
feat - 13dd614cd1 add support for compile-time required inputs (#49453)
feat - 8f539c11f4 add support for compile-time required inputs (#49468)

core

Commit Description
feat - 17e9862653 add API to provide CSP nonce for inline stylesheets (#49444)
feat - d1617c449d allow removal of previously registered DestroyRef callbacks (#49493)
fix - 230345876c Allow TestBed.configureTestingModule to work with recursive cycle of standalone components. (#49473)
fix - e655e8a603 more accurate matching of classes during content projection (#48888)

migrations

Commit Description
fix - 546b285ec1 preserve trailing commas in code generated by standalone migration (#49533)

platform-browser

Commit Description
fix - c934a8e72b only add ng-app-id to style on server side (#49465)

platform-server

Commit Description
refactor - 41f27ad086 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

Don't miss a new platform-browser release

NewReleases is sending notifications on new releases.