OnPush components that are created dynamically now
only have their host bindings refreshed and ngDoCheck run during change
detection if they are dirty.
Previously, a bug in the change detection would result in the OnPush
configuration of dynamically created components to be ignored when
executing host bindings and the ngDoCheck function. This is
rarely encountered but can happen if code has a handle on the
ComponentRef instance and updates values read in the OnPush
component template without then calling either markForCheck or
detectChanges on that component's ChangeDetectorRef.
router
urlHandlingStrategy has been removed from the Router public API.
This should instead be configured through the provideRouter or RouterModule.forRoot APIs.
Remove urlHandlingStrategy from public Router properties (#51631)
16.2.4 (2023-09-06)
17.0.0-next.2 (2023-08-30)
Breaking Changes
platform-browser
REMOVE_STYLES_ON_COMPONENT_DESTROY default value is now true. This causes CSS of components to be removed from the DOM when destroyed. You retain the previous behaviour by providing the REMOVE_STYLES_ON_COMPONENT_DESTROY injection token.
import {REMOVE_STYLES_ON_COMPONENT_DESTROY} from '@angular/platform-browser';
...
providers: [{
provide: REMOVE_STYLES_ON_COMPONENT_DESTROY,
... (truncated)
Commits
2c65ea9 refactor(platform-browser-dynamic): remove reexport of MetadataOverrider (#...
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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/platform-browser-dynamic from 16.0.4 to 16.2.5.
Release notes
Sourced from
@angular/platform-browser-dynamic
's releases.... (truncated)
Changelog
Sourced from
@angular/platform-browser-dynamic
's changelog.... (truncated)
Commits
2c65ea9
refactor(platform-browser-dynamic): remove reexport ofMetadataOverrider
(#...dfa772d
refactor(core): remove unused private provider (#51222)925dad9
refactor(platform-browser-dynamic): Fix JSDoc comment (#50893)5986ff5
refactor(platform-browser): remove #9100 todos. (#49406)ad28cdd
refactor(platform-browser): replace our owntoBeAnInstanceOf
with `toBeInst...1816c89
refactor(platform-browser): cleanup references to dart (#49858)1da3e5f
refactor(platform-browser-dynamic): Drop IE related workarounds. (#49761)b98ecbc
build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771)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 show