fix(deps): update dependency angular-html-parser to v7 #5044
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~6.0.2
->~7.0.0
Release Notes
prettier/angular-html-parser (angular-html-parser)
v7.0.1
Compare Source
http
migrations
Web Frameworks: the internet frontier.
These are the voyages of the framework Angular.
Its continuing mission:
To explore strange, new technologies.
To seek out new users and new applications.
To boldly go where no web framework has gone before.
In honor of v17.0.1
Live long and prosper 🖖🏻
v7.0.0
Compare Source
Blog post "Angular v17 is now available".
Breaking Changes
Node.js v16 support has been removed and the minimum support version has been bumped to 18.13.0.
Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17. For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule
common
migrating from the previously used == operator. NgSwitch expressions and / or
individual condition values need adjusting to this stricter equality
check. The added warning message should help pin-pointing NgSwitch
usages where adjustments are needed.
core
Angular now requires
zone.js
version~0.14.0
Versions of TypeScript older than 5.2 are no longer supported.
The
mutate
method was removed from theWritableSignal
interface and completelydropped from the public API surface. As an alternative, please use the
update
method andmake immutable changes to the object.
Example before:
Example after:
OnPush
components that are created dynamically nowonly have their host bindings refreshed and
ngDoCheck run
during changedetection 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 israrely encountered but can happen if code has a handle on the
ComponentRef
instance and updates values read in theOnPush
component template without then calling either
markForCheck
ordetectChanges
on that component'sChangeDetectorRef
.platform-browser
REMOVE_STYLES_ON_COMPONENT_DESTROY
default value is nowtrue
. This causes CSS of components to be removed from the DOM when destroyed. You retain the previous behaviour by providing theREMOVE_STYLES_ON_COMPONENT_DESTROY
injection token.The
withNoDomReuse()
function was removed from the public API. If you need to disable hydration, you can exclude theprovideClientHydration()
call from provider list in your application (which would disable hydration features for the entire application) or usengSkipHydration
attribute to disable hydration for particular components. See this guide for additional information: https://angular.io/guide/hydration#how-to-skip-hydration-for-particular-components.router
Absolute redirects no longer prevent further redirects.
Route configurations may need to be adjusted to prevent infinite
redirects where additional redirects were previously ignored after an
absolute redirect occurred.
Routes with
loadComponent
would incorrectly causechild routes to inherit their data by default. The default
paramsInheritanceStrategy
isemptyOnly
. If parent data should beinherited in child routes, this should be manually set to
always
.urlHandlingStrategy
has been removed from the Router public API.This should instead be configured through the provideRouter or RouterModule.forRoot APIs.
The following Router properties have been removed from
the public API:
These should instead be configured through the
provideRouter
orRouterModule.forRoot
APIs.The
setupTestingRouter
function has been removed. UseRouterModule.forRoot
orprovideRouter
to setup theRouter
fortests instead.
malformedUriErrorHandler
is no longer available inthe
RouterModule.forRoot
options. URL parsing errors should instead behandled in the
UrlSerializer.parse
method.zone.js
Deep and legacy
dist/
imports likezone.js/bundles/zone-testing.js
andzone.js/dist/zone
are no longer allowed.zone-testing-bundle
andzone-testing-node-bundle
are also no longer part of the package.The proper way to import
zone.js
andzone.js/testing
is:Deprecations
animations
AnimationDriver.NOOP
symbol is deprecated, useNoopAnimationDriver
instead.core
ChangeDetectorRef.checkNoChanges
is deprecated.Test code should use
ComponentFixture
instead ofChangeDetectorRef
.Application code should not call
ChangeDetectorRef.checkNoChanges
directly.Swapping out the context object for
EmbeddedViewRef
is no longer supported. Support for this was introduced with v12.0.0, but
this pattern is rarely used. There is no replacement, but you can use
simple assignments in most cases, or
Object.assign
, or alternativelystill replace the full object by using a
Proxy
(seeNgTemplateOutlet
as an example).
Also adds a warning if the deprecated
NgProbeToken
The
NgProbeToken
is not used internally since the transition from View Engine to Ivy. The token has no utility and can be removed from applications and libraries.animations
AnimationDriver.NOOP
(#51843)benchpress
common
DatePipeConfig
(#51287)compiler
compiler-cli
core
ChangeDetectorRef.checkNoChanges
(#52431)CompilerOptions.useJit
andCompilerOptions.missingTranslation
. (#49672)rejectErrors
option totoSignal
(#52474)afterRender
in reactive contexts (#52138)effect
inside reactive contexts (#52138)performance.mark
(#52505)getDependenciesFromInjectable
(#52450)EmbeddedViewRef
(#51887)NgProbeToken
(#51396)http
language-service
localize
migrations
TransferState
,StateKey
andmakeStateKey
migration. (#49594)platform-browser
EventManagerPlugin
in the public API. (#49969)withNoDomReuse
function (#52057)platform-server
router
urlHandlingStrategy
from public Router properties (#51631)ExtraOptions
(#51745)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.