# Released online

When considering a live release to a formal environment, we generally focus on the issues of version coverage and stability , for which we provide comprehensive solutions.

# Version Coverage

Since Skyline is supported in higher versions of WeChat, will lower versions of Weixin Mini Program not run at all? The answer is no. To ensure that online Mini Programs run reliably, you can choose one of the following strategies

  1. Raising the "Minimum Available Version of the Base Library" to the version supported by Skyline means abandoning users with lower versions.

  2. With good WebView compatibility, we will automatically downgrade to WebView rendering** in **versions that do not support Skyline.

Because the subset of CSS supported by Skyline follows web standards, it also renders correctly when cutting to WebView in terms of style,In addition, the features added to Skyline are similar to other new interfaces added to Weixin Mini Program and need to be compatible with the lower versions, but we have made some features compatible for WebView, as shown in the following table:

Characteristic WebView compatibility Low version compatibility
Worklet animation It is compatible You need to make compatibility yourself.
Gesture System The equivalent of an empty node You need to make compatibility yourself.
Custom routing No need for compatibility (no validity) No need for compatibility (no validity)
Shared elements No need for compatibility (no validity) No need for compatibility (no validity)
Scroll-view rendering on demand No need for compatibility (no optimization) No need for compatibility (no optimization)
New properties and events in scroll-view Not compatible. You need to make compatibility yourself.
grid-view It is compatible You need to make compatibility yourself.
sticky-section/header Incompatibility (you can manually addposition: stickycompatible) Incompatibility (you can manually addposition: stickycompatible)

# stability

In general, when code changes need to be released online, we choose a grayscale release to ensure online stability, and this is no exception for new Skyline-related code, so we offer a complete grayscale solution.

  1. We analyzed the AB experiment for gray scale.

Skyline is by default a that needs to be analyzed by We's AB experiments, that is, after the new version of Weixin Mini Program-0]] is released, it still runs in WebView by default, requiring a gradual increase in the "mini-base library experiment" of We's ABC experiments.Particular note is that When the traffic for the AB experiment is allocated to 100%, it does not mean full volume, but 50% each for Skyline and WebView. To have full volume, you need to finish the experiment before selecting a full group of experiments.

  1. Release grayscale through Weixin Mini Program version management.

If Weixin Mini Program has been sufficiently tested to eliminate the need for an AB experiment, we also provide the following configurations to enable Skyline to be turned on by default on the apagejson or page.json configuration without an AB experiment.In general,sdkVersionandiosVersion+androidVersionChoose one to fill in.

"rendererOptions": {
  "skyline": {
    "disableABTest": true,
    "sdkVersionBegin": "3.0.1", // 基础库最低版本
    "sdkVersionEnd": "15.255.255", // 填最大值,否则之后的新版本会不生效
  }
}
"rendererOptions": {
  "skyline": {
    "disableABTest": true,
    "iosVersionBegin": "x.y.z", // iOS 微信最低版本
    "iosVersionEnd": "15.255.255", // 填最大值,否则之后的新版本会不生效
    "androidVersionBegin": "x.y.z", // 安卓微信最低版本
    "androidVersionEnd": "15.255.255", // 填最大值,否则之后的新版本会不生效
    "ohosVersionBegin": "1.0.5", //  HarmonyOS 微信最低版本
    "ohosVersionEnd": "15.255.255" // 填最大值,否则之后的新版本会不生效
  }
}