-
Notifications
You must be signed in to change notification settings - Fork 53
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 v19 (major) #1322
base: main
Are you sure you want to change the base?
Conversation
⚠ 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: frontend/blog-angular-ui/package-lock.json
|
73a2313
to
eea7fa1
Compare
Stale pull request message |
a97d1f9
to
41ba0a7
Compare
4cd0223
to
63c9176
Compare
b7450be
to
302ffb4
Compare
e32f55d
to
5a60d6f
Compare
5a60d6f
to
72239ac
Compare
72239ac
to
7e23612
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the WalkthroughThe project has undergone an upgrade of its Angular dependencies, moving from version Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant App
participant Angular
User->>App: Interacts with UI
App->>Angular: Sends requests for data
Angular-->>App: Returns updated data
App-->>User: Updates UI with new information
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
7e23612
to
76d8bde
Compare
383e397
to
6b42944
Compare
baf740d
to
1af743b
Compare
2781625
to
c78f275
Compare
08edd5e
to
962f9d4
Compare
962f9d4
to
c7ce5ea
Compare
4496e47
to
9c7b689
Compare
bf716fe
to
f2f8885
Compare
392e5a8
to
ec5b8de
Compare
31b7439
to
3de0b03
Compare
d143b3c
to
cbf5a05
Compare
@coderabbitai, how to upgrade from angular 16 to 19 |
Tip For best results, initiate chat on the files or code changes. @rajadilipkolli, upgrading from Angular 16 to 19 involves several major version updates. Here are the steps you can follow to perform the upgrade:
Note: Always ensure you have a backup of your project or use version control (like Git) to manage changes. It's also a good idea to perform these updates on a separate branch. Let me know if you need further assistance with any specific migration steps or if you encounter issues during the upgrade process. |
40069d8
to
68f810a
Compare
68f810a
to
da43643
Compare
This PR contains the following updates:
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
16.2.12
->19.0.6
Release Notes
angular/angular (@angular/animations)
v19.0.6
Compare Source
v19.0.5
Compare Source
core
on timer
andon idle
on the server (#59177)platform-server
v19.0.4
Compare Source
compiler-cli
core
platform-browser
v19.0.3
Compare Source
v19.0.2
Compare Source
compiler-cli
core
migrations
platform-server
v19.0.1
Compare Source
compiler-cli
core
forms
language-service
migrations
v19.0.0
Compare Source
Breaking Changes
compiler
this.foo
property reads no longer refer to template context variables. If you intended to read the template variable, do not usethis.
.core
Angular directives, components and pipes are now standalone by default.
standalone: false
for declarations that are currently declared in@NgModule
s.ng update
for v19 will take care of this automatically.TypeScript versions less than 5.5 are no longer supported.
Timing changes for
effect
API (in developer preview):effects which are triggered outside of change detection run as part of
the change detection process instead of as a microtask. Depending on the
specifics of application/test setup, this can result in them executing
earlier or later (or requiring additional test steps to trigger; see below
examples).
effects which are triggered during change detection (e.g. by input
signals) run earlier, before the component's template.
ExperimentalPendingTasks
has been renamed toPendingTasks
.The
autoDetect
feature ofComponentFixture
will nowattach the fixture to the
ApplicationRef
. As a result, errors duringautomatic change detection of the fixture be reported to the
ErrorHandler
.This change may cause custom error handlers to observe new failures that were previously unreported.
createComponent
will now render default fallback with emptyprojectableNodes
.projectableNodes
in thecreateComponent
API, the default fallback contentof the
ng-content
will be rendered if present. To prevent rendering the default content, passdocument.createTextNode('')
as aprojectableNode
.Errors that are thrown during
ApplicationRef.tick
will now be rethrown when using
TestBed
. These errors should beresolved by ensuring the test environment is set up correctly to
complete change detection successfully. There are two alternatives to
catch the errors:
it synchronously and expect the error. For example, a jasmine test
could write
expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
TestBed
will reject any outstandingComponentFixture.whenStable
promises. A jasmine test,for example, could write
expectAsync(fixture.whenStable()).toBeRejected()
.As a last resort, you can configure errors to not be rethrown by
setting
rethrowApplicationErrors
tofalse
inTestBed.configureTestingModule
.The timers that are used for zone coalescing and hybrid
mode scheduling (which schedules an application state synchronization
when changes happen outside the Angular zone) will now run in the zone
above Angular rather than the root zone. This will mostly affect tests
which use
fakeAsync
: these timers will now be visible tofakeAsync
and can be affected by
tick
orflush
.The deprecated
factories
property inKeyValueDiffers
has been removed.elements
hybrid scheduler, timing of change detection around custom elements has
changed subtly. These changes make elements more efficient, but can cause
tests which encoded assumptions about how or when elements would be checked
to require updating.
localize
name
option in theng add
@localize`` schematic has been removed in favor of theproject
option.platform-browser
BrowserModule.withServerTransition
method has been removed. Please use theAPP_ID
DI token to set the application id instead.router
Router.errorHandler
property has been removed.Adding an error handler should be configured in either
withNavigationErrorHandler
withprovideRouter
or theerrorHandler
property in the extra options of
RouterModule.forRoot
. In addition,the error handler cannot be used to change the return value of the
router navigation promise or prevent it from rejecting. Instead, if you
want to prevent the promise from rejecting, use
resolveNavigationPromiseOnError
.Resolve
interface now includesRedirectCommand
.common
compiler
typeof
keyword in template expressions. (#58183)this.a
should always refer to class propertya
(#55183):host
parsing in pseudo-selectors (#58681):host:host-context(.foo)
(#58681)compiler-cli
core
standalone: false
. (#57643)run
method onExperimentalPendingTasks
(#56546)undefined
without needing to include it in the type argument ofinput
(#57621)allowSignalWrites
(#57874)resource()
API for async dependencies (#58255)rxResource()
(#58255)standalone
totrue
(#58169)afterRenderEffect
(#57549)outputFromObservable
&outputToObservable
to stable. (#58214)takeUntilDestroyed
to stable. (#58200)@let
syntax (#57813)ViewContext
is retained after closure minification (#57903)None
for empty component styles (#57130)factories
Property inKeyValueDiffers
(#58064)elements
output()
-shaped outputs (#57535)ComponentRef.setInput
& remove custom scheduler (#56728)forms
http
withRequestsMadeViaParent
to stable. (#58221)language-service
@Input
to signal-input (#57214)localize
name
option. (#58063)migrations
ng generate
schematic (#57805)platform-browser
BrowserModule.withServerTransition
method (#58062)platform-server
PlatformRef
when error happens during thebootstrap()
phase (#58112)router
routerOutletData
input toRouterOutlet
directive (#57051)injector
onOutletContext
(#58343)service-worker
v18.2.13
Compare Source
migrations
v18.2.12
Compare Source
compiler-cli
v18.2.11
Compare Source
core
v18.2.10
Compare Source
compiler
localize
v18.2.9
Compare Source
compiler-cli
v18.2.8
Compare Source
compiler
compiler-cli
core
platform-server
PlatformRef
when error happens during thebootstrap()
phase (#58112) (#58135)v18.2.7
Compare Source
common
compiler-cli
core
http
migrations
upgrade
v18.2.6
Compare Source
v18.2.5
Compare Source
compiler-cli
core
@let
declaration with array whenpreparingForHydration
(#57816)migrations
v18.2.4
[Compare Sourc
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 was generated by Mend Renovate. View the repository job log.