Skip to content

Conversation

RobbieTheWagner
Copy link
Member

πŸ“Œ Summary

This PR updates ember-stargate to 0.5.0.

πŸ› οΈ Detailed description

This allows updating ember-stargate and ember-resources in consuming apps and gets us on newer versions to allow us to continue iterating toward latest. While I was making this change, I noticed we had some webpack peerDeps missing, so I also installed those.

πŸ“Έ Screenshots

πŸ”— External links

Jira ticket: HDS-XXX
Figma file: [if it applies]


πŸ‘€ Component checklist

πŸ’¬ Please consider using conventional comments when reviewing this PR.

@RobbieTheWagner RobbieTheWagner requested a review from a team as a code owner April 23, 2025 12:48
Copy link

vercel bot commented Apr 23, 2025

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
hds-showcase βœ… Ready (Inspect) Visit Preview Apr 23, 2025 1:20pm
hds-website βœ… Ready (Inspect) Visit Preview Apr 23, 2025 1:20pm

@didoo
Copy link
Contributor

didoo commented Apr 23, 2025

A couple of questions:

@RobbieTheWagner
Copy link
Member Author

@didoo

A lot of these seem to be on much older versions like 0.2.0, so are already not in sync with the version we have here. This is another one we could fix with a peerDep and allow apps to install their own versions, if that is what we want. The only breaking change in ember-stargate 0.5.0 is it requires Ember 3.24+, so anything on older Ember than that would have problems, but it looks like HDS only supports Ember 3.28+ already, is that correct?

The 3.28 tests seem to be passing, so I do not think it is a problem.

EmbroiderUtilRegistry /*, other addon registries */ {
// local entries
LinkToExternal: typeof LinkTo;
// we have to use `ember-stargate` version `0.4.3` because version `0.5.0` causes a break in the tests for `ember-lts-3.28`
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems like an important reason to not make this change RN

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure if it is correct though. The tests seem to be passing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Tests may pass in our addon but not in consuming apps. However, if you've tested this in a consuming app that uses 3.28 and found that it still works, please update the comment to be correct but still leave it in. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

Gotcha, I can mark this as release candidate and try it in an app on 3.28. Assuming it all works fine, what would you like the comment to say?

Copy link
Member Author

Choose a reason for hiding this comment

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

I installed this in nomad and all tests are still passing there as well hashicorp/nomad#25750

I would propose we remove the comment completely, as I don't think it provides any relevant details at this time, but if there is a new comment you would like there, I would be happy to add it, just let me know!

Copy link
Contributor

Choose a reason for hiding this comment

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

@MelSumner if the tests are passing, there's no need anymore of the comment (I was the one that added it, and at that time the tests were not passing).

@didoo
Copy link
Contributor

didoo commented Apr 23, 2025

@zamoore can you have a look also at this PR? thanks

@didoo didoo requested a review from zamoore April 23, 2025 20:55
@RobbieTheWagner RobbieTheWagner added the release-candidate Publishes release candidates to npm label Apr 24, 2025
Copy link
Contributor

πŸ“¦ RC Packages Published

Latest commit: ad897d1

Published 1 packages

@hashicorp/[email protected]

yarn up -C @hashicorp/design-system-components@rc

Copy link
Contributor

@MelSumner MelSumner left a comment

Choose a reason for hiding this comment

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

My concerns have been addressed, thank you! :shipit:

@RobbieTheWagner RobbieTheWagner merged commit a3cb6cd into main Apr 24, 2025
17 checks passed
@RobbieTheWagner RobbieTheWagner deleted the stargate-0.5 branch April 24, 2025 16:01
@hashibot-hds hashibot-hds mentioned this pull request Apr 24, 2025
@alex-ju alex-ju added this to the [email protected] milestone May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants