For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
The new theme extension versioning is currently broken for our theme extension.
We have migrated from the legacy system to the new system that was released July 26th, 2023.
The migration was a one click automated process that was offered in the partners section for the app versioning.
Since then every new version that we create causes the app blocks to be shown multiple times in the theme editor. It shows one block per version. The code that gets loaded is from the first version.
The expected behaviour would be that only the published version is loaded.
This has already been reported to Shopify support via email (ticket 40396472) several days ago and also posted in Slack (#appdev).
So far the issue has been ignored.
Our app is in production and merchants are rightfully wondering why every app embed is rendered three times.
Please can someone look into it and at least confirm that the problem is being investigated?
Solved! Go to the solution
This is an accepted solution.
First of all huge shout out to @Liam for helping us getting to the bottom of the versioning issue!
It turns our that `@shopify/cli` depends on `@shopify/app` and these two must be kept at the same version. After having both at the latest version (not just cli), the versioning is now doing what it should.. create new versions!
I think that it might be very helpful to have the cli package check the app package version and log a warning if they don't match. I surely would have appreciated it quite a bit. 🙂
Have a similar issue that I think it's related (ticket number is 40457803)
The double ups have finally been resolved by Shopify, but we are still unable to release a new version. It appears that the CLI is still working with legacy releases, while the partners dashboard is showing the "simplified" release system.
I am only guessing though, because we have not yet received a response to our support request.
This is an accepted solution.
First of all huge shout out to @Liam for helping us getting to the bottom of the versioning issue!
It turns our that `@shopify/cli` depends on `@shopify/app` and these two must be kept at the same version. After having both at the latest version (not just cli), the versioning is now doing what it should.. create new versions!
I think that it might be very helpful to have the cli package check the app package version and log a warning if they don't match. I surely would have appreciated it quite a bit. 🙂
I'm glad it worked for you. I'm also sorted too 🥳
I'm still having the same issue where my updates aren't being reflected after running `npm run deploy`. I can see the new version appearing in my Partners Dashboard but when I reload the store the extension is installed on, I am still only seeing the pre-updated version. @Liam
I have both `@shopify/cli` and `@shopify/app` on "3.48.0".
Any help would be hugely appreciated thanks!
From our experience it can sometimes take "a short moment" for the new version to be rolled out. In some cases it took a couple minutes, but usually is much faster than that.
Thanks Max but it's been over 24 hours and still no change unfortunately.
I've created my an issue here so hopefully I get a response.
Cheers
That doesn't sound right. Have you tied to get in touch with Shopify?
I was hoping they would reply here. I've sent a message into Slack with no response as well
I can confirm I too am having this issue again, it was fixed for a couple of days after the initial issue but once I recreated the extension it started working.
Now it's not working again