Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi,
Hydrogen version 2024.7.0 seem to be removed from npm and this causes that we can't update our app in production now. Also updating to 2024.7.1 or newer version is not quick fix, since there are multiple breaking changes even version numbering won't indicate that.
Is 2024.7.0 removed by accident or by purpose? I can't find from from npmjs.com either, so seems it's really removed and not only local issue in my machine: https://www.npmjs.com/package/@shopify/hydrogen?activeTab=versions
Could 2024.7.0 version be released back to npm so we could get important bug fixes released? I think updating to newer Hydrogen version takes more time.
Solved! Go to the solution
This is an accepted solution.
Hey @Martti
Thanks for reporting this!
The Hydrogen developers advise there was never a 2024.7.0 published to npm. 2024.7.1 was the first 2024.7 release (there was a mix up in the release and a .0 was never published). The version prior was `2024.4.7` (I'd recommend trying again using this version). Switching from 2024.4.x to 2024.7.x is an expected breaking change.
I'm wondering how 2024.7.0 got in your package.json - how was the project created initially? (npm create / Hydrogen channel / git clone?)
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hey @Martti
Thanks for reporting this!
The Hydrogen developers advise there was never a 2024.7.0 published to npm. 2024.7.1 was the first 2024.7 release (there was a mix up in the release and a .0 was never published). The version prior was `2024.4.7` (I'd recommend trying again using this version). Switching from 2024.4.x to 2024.7.x is an expected breaking change.
I'm wondering how 2024.7.0 got in your package.json - how was the project created initially? (npm create / Hydrogen channel / git clone?)
Scott | Developer Advocate @ Shopify
Thank's Scott, this clears it up. I initialized project using hydrogen cli, but now I noticed that indeed version used to be 2024.4.0, not 2024.7.0. No idea which point version has changed, maybe it was my mistake since I tried to fix some esm/cjs errors.
However I now upgraded to 2024.7.5 and seems that also esm/cjs problems are handled better in new version. Thanks for that 🙂
Glad to hear it's resolved! 🙂
Scott | Developer Advocate @ Shopify