App Versions and Updates

During the normal life cycle of your app, periodic updates will be required. Each update must be submitted to Wix and when the update is approved it can be sent to site owners. Wix determines whether an update is major or minor and manages the versioning of the app accordingly. Minor updates are sent to site owners automatically, while major updates require an opt-in.

This article explains which updates are major, which are minor, and how the versioning and update process differs between them.

Submitting an App Update for Review

When you have updated an app, submit it to Wix for review by going to App Submissions in the dashboard and follow the instructions in the submission checklist. Details about the submission process can be found here.

Once approved, the updated app is given a new version number following the sequence v1, v2, v3, etc. Internally, the new version is marked as either a major or minor revision. Wix archives all versions of your app.

In the example below, version v2 has been approved and published. This is the version that site owners will get. A draft version with the next version number, v3, is created automatically once v2 was approved. Changes to the app will be saved to v3 from now on until it is submitted and approved, then a v4 draft is created, and so on.

Major and Minor Updates

The changes made to your app are reviewed and the new version is classified as either a major or minor update.

Major Updates

The following changes to your app require a major update. These are:

Major updates are not automatically sent to site owners. Instead, they are informed in the App Manager that the update is available. Site owners must click the Update button and follow any on-screen instructions to get the update.

Note: Only site owners can update an app, not contributors. Be sure to test your app as a contributor to see how this flow works for them.

Important:
A major update is similar to installing the app, taking the site owner through the OAuth flow. You will receive an authorization code with which you must request a new refresh token. Store the refresh token in your database for later use together with the site owner's instance ID.

With major updates, Wix recommends you let site owners know that they should update your app. Sending an email to site owners or placing a banner in the app are good ways to do that. You may include a link to the Wix installer as described here so they can easily update the app.

Minor Updates

Most updates are considered minor. Site owners will automatically receive minor updates but only if they have the most recent major update. If not, they will be offered an update with the Update button on the Manage Apps page. This will provide the update via the major update flow.

Note: Some changes don't need a new version and don't require an update. Changes to OAuth endpoints, Webhooks and adding or removing team members take effect as soon as you save the app.

Telling Major from Minor Updates

Wix maintains an internal versioning system that contains the major and minor version information. The format of this version is:

   Version 2.10.0

where 2 is the major version and 10 is the minor version. (The last number is for internal use while the version is still a draft.)

Use the Get App Instance API to retrieve the internal version of your app that is installed on each of site owners’ sites. The response contains app information:

Copy
1
"instance": {
2
"appName": "MY_APP",
3
"appVersion": "2.10.0",

as well as site information:

Copy
1
"site": {
2
"locale": "en",
3
"siteDisplayName": "Mysite 34",
4
"url": "https://doereg11.wixsite.com/mysite-34",
5
"description": "My awesome site is all about selling stuff",
6
"ownerEmail": "site-owner@test.com",
7
"ownerInfo": {
8
"email": "site-owner@test.com",
9
"emailStatus": "VERIFIED_OPT_IN"
10
}

On this site ownere's site the app’s major version is 2 and minor version is 10. Site owners will get minor updates automatically, to 2.11, 2.12 and so on. However, the next major version, 3.0.0, will require the site owner to click the Update button in the App Manager or follow the instructions in your email or banner.

Was this helpful?
Yes
No