Skip to content

Conversation

@sarthak-1110
Copy link
Collaborator

Update to Angular v19

@sarthak-1110 sarthak-1110 requested a review from a team as a code owner January 7, 2025 12:41
@github-actions
Copy link

github-actions bot commented Jan 7, 2025

Test Results

53 tests   53 ✅  13s ⏱️
15 suites   0 💤
 2 files     0 ❌

Results for commit 85c78e1.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.67%. Comparing base (cb15d67) to head (85c78e1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1178   +/-   ##
=======================================
  Coverage   99.67%   99.67%           
=======================================
  Files          49       49           
  Lines         607      607           
  Branches       38       38           
=======================================
  Hits          605      605           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

selector: 'hda-host',
template: ' <hda-model-json-editor [(modelJson)]="modelJson"> </hda-model-json-editor> '
template: ' <hda-model-json-editor [(modelJson)]="modelJson"> </hda-model-json-editor> ',
standalone: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any harm in making them standalone?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there should be any issue in making them standalone, the migration scripts added the standalone false, so I edited the tests accordingly, should I make them standalone?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, rather than introducing the warning. Doesn't look like too many places.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure.
Will update the same

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaron-steinfeld should we do it in two PRs/versions? Making some components standalone could break things in t-ui.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separate PR is fine, but it shouldn't break things in t-ui since we can still provide the modules to make it backwards compatible.

I was suggesting to do it in this one in case they did though, since this was already a breaking change it would be better to make both breaking changes at once.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let us do it in a follow-up, mainly because if we migrate to standalone, it could force us to potentially make more changes when we migrate t-ui. We can do it step by step.

"@angular/common": "^19.0.5",
"@angular/core": "^19.0.5",
"@angular/platform-browser": "^19.0.5",
"@angular-devkit/build-angular": "^19.0.6",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the version for build-angular different than other angular packages? Did we change it manually or through he ng update command?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we updated it through the ng update command itself

@sarthak-1110
Copy link
Collaborator Author

Will update the components to be standalone in a follow-up PR

@sarthak-1110 sarthak-1110 merged commit 00c2aa5 into main Jan 9, 2025
5 checks passed
@sarthak-1110 sarthak-1110 deleted the angular-19 branch January 9, 2025 08:03
@github-actions
Copy link

🎉 This PR is included in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants