This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Update angular monorepo to v17 (major)#50
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
673a25f to
7086d79
Compare
7086d79 to
47d0e7a
Compare
47d0e7a to
87a5c0b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0^16.2.9->^17.0.0Release Notes
angular/angular (@angular/animations)
v17.0.4Compare Source
common
loadon image once it fails to load (#52990)compiler
compiler-cli
core
getDeferBlocksis invoked in tests (#52973)migrations
v17.0.3Compare Source
animations
core
http
content-typeto set the blobtype. (#52840)migrations
v17.0.2Compare Source
compiler-cli
core
@for(#52697)v17.0.1Compare 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 🖖🏻
v17.0.0Compare 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 ==. NgSwitch expressions and / or
individual condition values need adjusting to this stricter equality
check. The added warning message should help pinpointing NgSwitch
usages where adjustements are needed.
core
Angular now required
zone.jsversion~0.14.0Versions of TypeScript older than 5.2 are no longer supported.
The
mutatemethod was removed from theWritableSignalinterface and completelydropped from the public API surface. As an alternative please use the update method and
make immutable changes to the object.
Example before:
Example after:
The
mutatemethod was removed from theWritableSignalinterface and completelydropped from the public API surface. As an alternative please use the update method and
make immutable changes to the object.
Example before:
Example after:
OnPushcomponents that are created dynamically nowonly have their host bindings refreshed and
ngDoCheck runduring changedetection if they are dirty.
Previously, a bug in the change detection would result in the
OnPushconfiguration of dynamically created components to be ignored when
executing host bindings and the
ngDoCheckfunction. This israrely encountered but can happen if code has a handle on the
ComponentRefinstance and updates values read in theOnPushcomponent template without then calling either
markForCheckordetectChangeson that component'sChangeDetectorRef.platform-browser
REMOVE_STYLES_ON_COMPONENT_DESTROYdefault 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_DESTROYinjection 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 usengSkipHydrationattribute 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
loadComponentwould incorrectly causechild routes to inherit their data by default. The default
paramsInheritanceStrategyisemptyOnly. If parent data should beinherited in child routes, this should be manually set to
always.urlHandlingStrategyhas 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
provideRouterorRouterModule.forRootAPIs.The
setupTestingRouterfunction has been removed. UseRouterModule.forRootorprovideRouterto setup theRouterfortests instead.
malformedUriErrorHandleris no longer available inthe
RouterModule.forRootoptions. URL parsing errors should instead behandled in the
UrlSerializer.parsemethod.zone.js
Deep and legacy
dist/imports likezone.js/bundles/zone-testing.jsandzone.js/dist/zoneare no longer allowed.zone-testing-bundleandzone-testing-node-bundleare also no longer part of the package.The proper way to import
zone.jsandzone.js/testingis:Deprecations
animations
AnimationDriver.NOOPsymbol is deprecated, useNoopAnimationDriverinstead.core
ChangeDetectorRef.checkNoChangesis deprecated.Test code should use
ComponentFixtureinstead ofChangeDetectorRef.Application code should not call
ChangeDetectorRef.checkNoChangesdirectly.Swapping out the context object for
EmbeddedViewRefis 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 alternatively still replace the full object by using aProxy(seeNgTemplateOutlet`as an example).
Also adds a warning if the deprecated
NgProbeToken
The
NgProbeTokenis 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.useJitandCompilerOptions.missingTranslation. (#49672)rejectErrorsoption totoSignal(#52474)afterRenderin reactive contexts (#52138)effectinside reactive contexts (#52138)performance.mark(#52505)getDependenciesFromInjectable(#52450)EmbeddedViewRef(#51887)NgProbeToken(#51396)http
language-service
localize
migrations
TransferState,StateKeyandmakeStateKeymigration. (#49594)platform-browser
EventManagerPluginin the public API. (#49969)withNoDomReusefunction (#52057)platform-server
router
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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.