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)
common
Commit
Description
Add loaderParams attribute to NgOptimizedImage (#48907)
compiler-cli
Commit
Description
incorrectly detecting forward refs when symbol already exists in file (#48988)
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
16.0.0-next.0 (2023-02-22)
Breaking Changes
compiler
Angular Compatibility Compiler (ngcc) has been removed. As a result, Angular View Engine libraries can no longer be used in v16+. Such libraries were not officially supported, but this is a hard break in compatibility.
common
MockPlatformLocation is now provided by default in tests.
Existing tests may have behaviors which rely on
BrowserPlatformLocation instead. For example, direct access to the
window.history in either the test or the component rather than going
through the Angular APIs (Location.getState()). The quickest fix is to
update the providers in the test suite to override the provider again
TestBed.configureTestingModule({providers: [{provide: PlatformLocation, useClass: BrowserPlatformLocation}]}).
The ideal fix would be to update the code to instead be compatible with
MockPlatformLocation instead.
core
RendererType2.styles no longer accepts a nested arrays.
router
The Scroll event's routerEvent property may also be
a NavigationSkipped event. Previously, it was only a NavigationEnd
event.
The RouterEvent type is no longer present in the Event union type representing all router event types. If you have code using something like filter((e: Event): e is RouterEvent => e instanceof RouterEvent), you'll need to update it to filter((e: Event|RouterEvent): e is RouterEvent => e instanceof RouterEvent).
... (truncated)
Commits
04d8b6c fix(compiler-cli): do not persist component analysis if template/styles are m...
86d4016 refactor(compiler): remove remaining usage of getMutableClone (#49070)
0cf1116 fix(compiler-cli): incorrectly detecting forward refs when symbol already exi...
d014503 fix(language-service): generate forwardRef for same file imports (#48898)
59c0106 refactor(compiler): indicate whether potential import is forward reference (#...
9250afb refactor(compiler-cli): Export the interface PluginCompilerHost for 1p use. (...
06e161f fix(compiler): incorrect code when non-null assertion is used after a safe ac...
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/compiler-cli from 15.0.4 to 15.2.1.
Release notes
Sourced from
@angular/compiler-cli
's releases.... (truncated)
Changelog
Sourced from
@angular/compiler-cli
's changelog.... (truncated)
Commits
04d8b6c
fix(compiler-cli): do not persist component analysis if template/styles are m...86d4016
refactor(compiler): remove remaining usage of getMutableClone (#49070)0cf1116
fix(compiler-cli): incorrectly detecting forward refs when symbol already exi...d014503
fix(language-service): generate forwardRef for same file imports (#48898)59c0106
refactor(compiler): indicate whether potential import is forward reference (#...9250afb
refactor(compiler-cli): Export the interface PluginCompilerHost for 1p use. (...06e161f
fix(compiler): incorrect code when non-null assertion is used after a safe ac...4da1f29
fix(compiler-cli): resolve deprecation warning (#48812)6beff5e
refactor(compiler): rework and expose APIs to be used in schematics (#48730)1413334
feat(language-service): Introduce a new NgModuleIndex, and use it to suggest ...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)