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)
core
Commit
Description
add ng generate schematic to convert declarations to standalone (#48790)
add ng generate schematic to convert to standalone bootstrapping APIs (#48848)
add ng generate schematic to remove unnecessary modules (#48832)
language-service
Commit
Description
Allow auto-imports of a pipe via quick fix when its selector is used, both directly and via reexports. (#48354)
Introduce a new NgModuleIndex, and use it to suggest re-exports. (#48354)
generate forwardRef for same file imports (#48898)
migrations
Commit
Description
add enum in mode option in standalone schema (#48851)
automatically prune root module after bootstrap step (#49030)
avoid generating imports with forward slashes (#48993)
avoid internal modules when generating imports (#48958)
avoid interrupting the migration if language service lookup fails (#49010)
avoid modifying testing modules without declarations (#48921)
don't add ModuleWithProviders to standalone test components (#48987)
don't copy animations modules into the imports of test components (#49147)
don't copy unmigrated declarations into imports array (#48882)
don't delete classes that may provide dependencies transitively (#48866)
Class and InjectionToken guards and resolvers are
deprecated. Instead, write guards as plain JavaScript functions and
inject dependencies with inject from @angular/core.
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/router from 15.1.4 to 15.2.0.
Release notes
Sourced from
@angular/router
's releases.... (truncated)
Changelog
Sourced from
@angular/router
's changelog.... (truncated)
Commits
cff84d0
docs(router):canMatch
route guard method signature update (#49140)e63fb80
refactor(router): Remove warning for an invalid ActivatedRoute (#49117)84ad4d0
docs: missing closing parenthesis in withNavigationErrorHandler() example (#4...a28cf24
docs(router): fix error handler deprecation (#49015)5128ba0
refactor(router): Warn if a navigation will change in the upcoming v16 releas...f5a7e02
docs(router): Update functional guard and resolver docs (#48873)16ef770
fix(router): Handle routerLink directive on svg anchors. (#48857)dedac8d
feat(router): Add test helper for trigger navigations in tests (#48552)930020c
refactor(router): MoveafterNextNavigation
helper function to a reusable lo...4dcab33
fix(router): 'createUrlTreeFromSnapshot' with empty paths and named outlets (...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)