We are about to deploy a migration release for one of our apps, going from retail-ui-extensions-react:1.7.0 to ui-extensions:2024.10
I got a bit shook though when I saw the below message after running npm run deploy . We then deleted our node_modules folder and did it again, and didn’t see the message this time, and the new version was created. However, we want to confirm before releasing this version that this migration won’t force users of our existing POS UI Extension to have to re-add our tile / automatically remove the existing tile from their home screen?
We also changed the tile’s handle, but I feel like we’ve also done this before without seeing this type of message. The pending version has a new UI Extension type, while the old one is POS UI .
There’s a reconciliation job in Shopify that will automatically migrate old tiles to new ones. I am not certain of the exact specifics, as our team does not directly control the text presentation of the CLI, but I will run a validation to see. For your specific case, I’d recommend you try it yourself with a test app on a test store, since I might not get all the variables exactly the same as you.
@Nathan_Oliveira is correct. After you change your dependencies to @shopify/ui-extensions, and you update your toml config from type = “pos_ui_extension” to type = “ui_extension”, when you try to deploy, there will be a prompt asking you to migrate the tiles. So for merchants, this means they will not be impacted.
@Nathan_Oliveira I think I see why my teammate changed the handle (he’s not at his desk yet), now we’re getting this error when we try to use our existing handle:
@Nathan_Oliveira@JS_Goupil thanks guys, we renamed the handle back to the original and this time got the migration message. And the 30 character bug went away when we updated Shopify CLI. Tile is updated and merchants appear unaffected.