avoid migrating the same class multiple times in standalone migration (#49245)
delete barrel exports in standalone migration (#49176)
router
Commit
Description
add error message when using loadComponent with a NgModule (#49164)
Special Thanks
Alan Agius, Andrew Kushnir, Aristeidis Bampakos, Craig Spence, Doug Parker, Iván Navarro, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Michael Ziluck, Paul Gschwendtner, Stephanie Tuerk, Vincent and Virginia Dooley
v15.2.0
15.2.0 (2023-02-22)
Deprecations
Class and InjectionToken guards and resolvers are
deprecated. Instead, write guards as plain JavaScript functions and
inject dependencies with inject from @angular/core.
Commit
Description
Deprecate class and InjectionToken and resolvers (#47924)
add protractor support if protractor imports are detected (#49274)
Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sai Kartheek Bommisetty and Vinit Neogi
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @angular/common from 10.1.5 to 15.2.2.
Release notes
Sourced from
@angular/common
's releases.... (truncated)
Changelog
Sourced from
@angular/common
's changelog.... (truncated)
Commits
f321e65
refactor(common): removeBrowserPlatformLocation
from private exports. (#49...af31adb
refactor(common): Use isPromise from@angular/core
(#49210)f0e9260
fix(common): make Location.normalize() return the correct path when the base ...b76b176
refactor(http): simplify HttpClientModule XSRF configuration (#48957)54b24eb
feat(common): Add loaderParams attribute to NgOptimizedImage (#48907)8a9907c
refactor(common): Remove currency pipe depreciation notice about the default ...a055196
fix(common): warn if using ngSrcset without a configured image loader (#48804)87fe316
refactor: remove unnecessary test support check utilities (#47543)5f21c6d
perf(common): avoid excessive DOM mutation in NgClass (#48433)26686a3
refactor(common): remove unnecessary curly brackets (#48433)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)