yarn @angular/compiler 16.0.0-next.1
v16.0.0-next.1

latest releases: 19.0.0-next.6, 18.2.5, 19.0.0-next.5...
18 months ago

16.0.0-next.1 (2023-03-01)

Breaking Changes

compiler

    • TypeScript 4.8 is no longer supported.

core

  • Node.js v14 support has been removed

    Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16. Angular v16 will continue to officially support Node.js versions v16 and v18.

router

  • Tests which mock ActivatedRoute instances may need to be adjusted
    because Router.createUrlTree now does the right thing in more
    scenarios. This means that tests with invalid/incomplete ActivatedRoute mocks
    may behave differently than before. Additionally, tests may now navigate
    to a real URL where before they would navigate to the root. Ensure that
    tests provide expected routes to match.
    There is rarely production impact, but it has been found that relative
    navigations when using an ActivatedRoute that does not appear in the
    current router state were effectively ignored in the past. By creating
    the correct URLs, this sometimes resulted in different navigation
    behavior in the application. Most often, this happens when attempting to
    create a navigation that only updates query params using an empty
    command array, for example router.navigate([], {relativeTo: route, queryParams: newQueryParams}). In this case, the relativeTo property
    should be removed.

common

Commit Description
fix - 3c9d49a4d7 make Location.normalize() return the correct path when the base path contains characters that interfere with regex syntax. (#49181)

compiler

Commit Description
feat - 79cdfeb392 drop support for TypeScript 4.8 (#49155)

compiler-cli

Commit Description
fix - b6c6dfd278 do not persist component analysis if template/styles are missing (#49184)

core

Commit Description
feat - 99d874fe3b add support for TypeScript 5.0 (#49126)
feat - 0f5c8003cc introduce concept of DestroyRef (#49158)
fix - e9edea363c update zone.js peerDependencies ranges (#49244)
refactor - f594725951 remove Node.js v14 support (#49255)

migrations

Commit Description
fix - 87affadb87 avoid migrating the same class multiple times in standalone migration (#49245)
fix - 7dd19570e8 delete barrel exports in standalone migration (#49176)

platform-server

Commit Description
fix - a08a8ff108 bundle @angular/domino in via esbuild (#49229)

router

Commit Description
feat - 455c728525 helper functions to convert class guards to functional (#48709)
fix - 7e35a917c5 add error message when using loadComponent with a NgModule (#49164)
fix - 31f210bf2c Router.createUrlTree should work with any ActivatedRoute (#48508)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Craig Spence, Doug Parker, Iván Navarro, Jessica Janiuk, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Michael Ziluck, Paul Gschwendtner, Pawel Kozlowski, Stephanie Tuerk, Vincent and Virginia Dooley

Don't miss a new compiler release

NewReleases is sending notifications on new releases.