CLI deploy keeps using stale UI extension api_version after bump

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App

Expected behavior

The version should be released as the extension api version has been updated to 2025-01 (supported)

Actual behavior

Version deployment fails citing “api_version: “2024-10” is not a valid API version” - our extensions are all on 2025-01 or above now

It looks like the deploy payload the CLI sends to Shopify is still carrying the previous config from somewhere—almost like the CLI’s cached server-side extension configuration hasn’t updated, even after the local files changed.

Reproduction steps

Bump an extension api_version from an unsupported, to a supported - and try to deploy the app.

Verbose output

Contains sensitive data I am not willing to paste onto a forum.

Operating system

Mac OS

CLI version

3.86.1

Shell

zsh

Nodejs version

v23.1.0

What language and version are you using in your application?

Node

Hi @Alex_Hooper

I’ve run into this before. Did you also update your corresponding Shopify dependencies in the extensions package.json and update?

Additionally, it’s an edge case but I share private packages between extensions. I’ve run into this problem before because my shared packages package.json shopify API version packages were out of date.

Hey @Dylan - it seemed to sort itself out, nothing I changed on my end

1 Like

Nice, glad to hear that!