-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update angular monorepo to v17 (major) #3047
Conversation
New and updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
3b0a3ae
to
369fa41
Compare
369fa41
to
858137c
Compare
858137c
to
7cd9f9c
Compare
7cd9f9c
to
280c295
Compare
280c295
to
46771ef
Compare
46771ef
to
95b3c8b
Compare
95b3c8b
to
21789cb
Compare
21789cb
to
8c658f4
Compare
8c658f4
to
852d27e
Compare
852d27e
to
2bad777
Compare
2bad777
to
ae4302f
Compare
ae4302f
to
5129aad
Compare
5129aad
to
39ca71c
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
^15.2.10
->^17.0.0
Release Notes
angular/angular (@angular/animations)
v17.0.2
Compare Source
compiler-cli
core
@for
(#52697)v17.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 🖖🏻
v17.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 ==. 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.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 and
make immutable changes to the object.
Example before:
Example after:
The
mutate
method was removed from theWritableSignal
interface 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:
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 alternatively still replace the full object by using a
Proxy(see
NgTemplateOutlet`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)v16.2.12
Compare Source
animations
finish
listener once player is destroyed (#51136)common
compiler-cli
v16.2.11
Compare Source
core
providedIn
(#52365)router
RouterTestingHarness
should throw if a component is expected but navigation fails ([#Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Europe/Paris, 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.