# 更新日志

{% hint style="info" %}
注：线上仅维护最新版本的小程序SDK，不维护旧版本的SDK。
{% endhint %}

| 版本                                                                                                                                                                                                 | 修订记录                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 时间         |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| H5内嵌页SDK 2.0.7                                                                                                                                                                                     | <p></p><ul><li>修复小程序内嵌webview情况下可能会造成 自定义App渠道 为不适应的情况</li><li>内嵌页 SDK 1.x 不再维护，内嵌webview一定要集成 2.0 SDK 并且设置platform为对应的小程序平台，详见 7月 23 日 更新日志。</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | 2019-09-26 |
| 微信小程序SDK 3.0                                                                                                                                                                                       | <p></p><ul><li>更新了配置方式，sdk 初始化方式变动，需要用户自己手动setConfig；</li><li>gio-webview 组件不再使用，使用新 H5 内嵌页，用户多平台使用方式一样，提升集成的方便性，较为方便的采集H5端在多小程序平台的数据。</li><li>SDK 中 followshare 参数默认打开，集成即可使用 <strong>分享分析</strong> 功能。</li></ul><p>多个平台小程序SDK灰度支持：百度小程序、QQ小程序、字节跳动小程序、快应用。</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | 2019-09-17 |
| H5内嵌页SDK 2.0                                                                                                                                                                                       | <p>本次内嵌页 SDK 升级到2.0（\<a href="<https://assets.giocdn.com/2.0/gio-wxwv.js>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |            |
| "><https://assets.giocdn.com/2.0/gio-wxwv.js><br></a>），主要解决的是H5在多个场景使用，例如微信内嵌页（只能在微信打开）、以及小程序webview复用一套代码时，怎么更方便的集成 SDK，并做数据的统计。</p><p>此 SDK 支持 H5 应用在以下多个场景中。微信小程序、微信内嵌页应用、网页端、支付宝小程序、百度小程序。</p> | 2019-07-23                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |            |
| 微信小程序SDK 1.9.1                                                                                                                                                                                     | <p></p><ul><li>minp.js</li><li>minp.esm.js</li></ul><p>本次小程序 SDK 更新升级了以下新特性：</p><ol><li>提供API供开发者调用，满足客户小程序应用符合欧盟区的《一般数据保护条例》(GDPR)；</li><li>配置文件使用方式更新，集成SDK时，只需填写配置文件即可，降低参数配置的复杂性；</li><li><p>session 参数 keepalive 的默认时长逻辑进行调整； 当小程序切入后台时，这个参数决定</p><p>间隔多长时间，会默认统计本次访问结束，再进入小程序时，会统计为一次新的访问（打开）；SDK 1.x 版本，默认退出与重新打开间隔<strong>超过 30 秒，</strong>就会记为一次新的访问； 现在更新默认为 <strong>5 分钟</strong>，与腾讯保持一致；</p></li><li>弱网环境保留100条记录，GIO对数据进行了缓存批量发送，如果弱网等因素数据发送不出去，则会一致缓存，这里做了优化，只缓存最近100条；</li><li>地理位置支持火星坐标系；（1.8.9 以及之后的版本都支持）</li><li>适配 chameleon，uni-app 更多框架；</li><li>SDK 支持小程序内部弹窗功能。</li></ol><p><strong>请您注意，keepalive参数的更新，可能会使目前统计的打开次数（访问量）指标下降，同时平均访问时长、平均访问浏览页数 指标由于分母数值变低，可能数值会上升。”人均“类的指标不受影响。 如果您的指标发生变化，请观察几天，稳定后可以使用新的指标作为 benchmark（基准）来进行判断和决策。</strong><br></p> | 2019-04-16 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://growingio.gitbook.io/docs/developer-manual/sdkintegrated/other-sdk/geng-xin-ri-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
