HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityLog In

Versions

This topic describes how to upgrade both minor and major versions of Optimizely Connect Platform (OCP).

Version Upgrades

๐Ÿ“˜

Note

When you update your app version, make sure you update all external API call headers.

Minor Versions

Upgrading from one minor version to another is performed automatically once the new app version is successfully published. For example, if you have published app version 1.0.0 and then publish 1.0.1, the functions onUpgrade and onFinalizeUpgrade in the Lifecycle.ts file are executed automatically for every install on every client account.

Major Versions

Upgrading from one major version to another is _NOT _performed automatically once the new app version is successfully published. For example, if you have published app version 1.0.0 and then publish 2.0.0, the functions onUpgrade and onFinalizeUpgrade in the Lifecycle.ts file are executed once the client end-user manually clicks "upgrade" in the Optimizely UI.

Lifecycle.ts

๐Ÿ“˜

Note

There can only be 2 major versions published concurrently at a time.

Development & Beta Versions

๐Ÿ“˜

Note

Development and Beta versions are never automatically upgraded. You must update the app package and for hosted/channel apps, you must manually upgrade via the OCP CLI.

-dev

Versions with a -dev suffix (for example, [email protected]) are intended for internal testing of your apps and allow a bypass of the app approval process.

-beta

Versions with a -beta suffix (for example, [email protected]) can only be installed via an app beta share link in the format https://get.zaius.app/{{app}}?v=1.0.0-beta.


Did this page help you?