Skip to content

Commit 9f10a4c

Browse files
committed
更新
1 parent 9391049 commit 9f10a4c

8 files changed

+37
-30
lines changed

CHANGELOG.md

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,113 @@
1-
## 1.13.10
1+
## 1.13.12
2+
* 优化:server_url为空时候,不发数据。
3+
4+
## 1.13.11
5+
* 新增:所有事件增加 anonymous_id 属性,如果调用了 login 方法,就增加 login_id 属性。
6+
* 例行更新:场景值的描述
7+
8+
## 1.13.10 (2019-09-18)
29
* 优化:默认decode了option.query的值。分享时候自动拼接的的query还是保持不变。
310

4-
## 1.13.9
11+
## 1.13.9 (2019-09-16)
512
* 新增:增加配置 is_persistent_save ,支持将最近一次站外渠道信息永久保存到 Storage 中
613
* 优化:给未定义 Component 时候一个默认值
714

8-
## 1.13.8
15+
## 1.13.8 (2019-08-30)
916
* 新增:支持自定义 utm 参数。通过配置 source_channel:['...','...']
1017
* 优化:storage 数据写入失败的话,会打印出失败的原因
1118
* 优化:$os的取值增加devtools,优化了$os和$os_version算法
1219
* 优化:$url_query在$MPViewScreen中没有值时候,从未知改成空
1320

14-
## 1.13.7
21+
## 1.13.7 (2019-08-22)
1522

1623
* 新增:$MPViewScreen 增加了 UTM 相关属性的解析
1724
* 例行更新:场景值的描述
1825

19-
## 1.13.6
26+
## 1.13.6 (2019-08-09)
2027

2128
* 新增:支持非插件模式下用Component作为页面构造器时候的,页面浏览自动采集功能,包括以下两种情况
2229
1.原生小程序直接使用Component作为页面构造器 2.框架使用Component作为页面构造器,包括 Taro,Uniapp,wepy2
2330

24-
## 1.13.5
31+
## 1.13.5 (2019-07-05)
2532

2633
* 增加了获取匿名ID的方法 sensors.quick('getAnonymousID')
2734

28-
## 1.13.4
35+
## 1.13.4 (2019-06-17)
2936

3037
* 同步小程序场景值描述
3138
* server_url 默认地址为空
3239
* 存储读取异常时候会重试
3340

34-
## 1.13.3
41+
## 1.13.3 (Unknown)
3542

3643
* 获取预置属性方法可获取到 latest 相关属性
3744
* 增加 appendProfile 与 incrementProfile 缓存
3845

39-
## 1.13.2
46+
## 1.13.2 (2019-05-16)
4047

4148
* 增加两个 profile的操作 sa.appendProfile({catrgory: ['玉米']}) 喜爱的蔬菜增加玉米 和 sa.incrementProfile({'navClick': 1}) 导航点击次数 +1次
4249

43-
## 1.13.1
50+
## 1.13.1 (2019-05-10)
4451

4552
* **重大更新**,去除了sensorsdata_conf.js,配置改成在 App.js中,通过 sensors.setPara({})或者在sensors.init({})中加入
4653
* 分成三个文件,sensorsdata.min.js全埋点的非插件版,sensorsdata.plugin.min.js全埋点的插件版,sensorsdata.custom.min.js手动埋点版本支持插件和非插件。具体各个版本的用法参考文档。另外增加es6格式的对应版本
4754

48-
## 1.12.11
55+
## 1.12.11 (2019-04-22)
4956

5057
* 修复12.10的bug,如果更新1.12.10的用户,必须更新到1.12.11
5158

52-
## 1.12.10
59+
## 1.12.10 (2019-04-04)
5360

5461
* 修复$url_query在返回时候取值的错误,修复当没有onShareAppMessage没有return值,且使用allow_amend_share_path时候,自动补全的url只有path没有query的问题
5562
* 去除了page在show的时候,解析utm参数和scene的功能,统一在app里解析
5663

57-
## 1.12.9
64+
## 1.12.9 (2019-03-11)
5865

5966
* 增加自动采集$first_visit_time 首次访问时间
6067
* 增加 datasend_timeout 配置请求最大链接多久取消
6168

62-
## 1.12.8
69+
## 1.12.8 (2019-01-23)
6370

6471
* getPresetProperties去掉registerApp的属性
6572
* 修复自动获取openid的url在某些特殊条件下的bug
6673
* 增加批量发送最大数据量,batch_send:{send_timeout:6000,max_length:6}
6774

68-
## 1.12.7
75+
## 1.12.7 (2019-01-11)
6976

7077
* registerApp 方法不做缓存
7178

72-
## 1.12.6
79+
## 1.12.6 (2019-01-04)
7380

7481
* 增加 batch_send 批量发数据的配置,设置为空对象或者true,表示开启这个功能,必须更新神策分析到最新版,否则去重功能无效
7582
* 增加 autoTrackIsFirst的配置,不设置默认是先执行onLaunch等事件中的代码,(如果使用动态修改预置属性的功能会有影响!!!),后发送appLaunch的统计数据,可以单独给各个预置事件单独设置先后发送顺序
7683
* 增加sa.quick('appLaunch',arguments,prop) 等单独发预置事件和属性的功能
7784

78-
## 1.12.5
85+
## 1.12.5 (2018-11-24)
7986

8087
* 修复 autoTrack.pageShow 设置 false 仍然发送 $MPViewScreen 的问题
8188

82-
## 1.12.4
89+
## 1.12.4 (2018-11-09)
8390

8491
* 增加init的多次使用的判断,去掉$MPLaunch,$MPShow中获取到的path带/的异常判断
8592

86-
## 1.12.3
93+
## 1.12.3 (Unkown)
8794

8895
* 小程序identify和login如果传入的是非字符串时候,自动转化字符串类型
8996
* 增加对onShareAppMessage返回空对象的判断
9097

91-
## 1.12.2
98+
## 1.12.2 (2018-10-26)
9299

93100
* 修复在开启自动采集分享,且定义空的onShareAppMessage时候,控制台报错的问题
94101

95-
## 1.12.1
102+
## 1.12.1 (2018-10-16)
96103

97104
* 更新支持插件的小程序 SDK 具体用法参考 https://sensorsdata.cn/manual/mp_sdk_plugin.html
98105

99-
## 1.11.1
106+
## 1.11.1 (2018-09-28)
100107

101108
* 更新 $manufacturer 设备制造商(brand),修正 $screen_width的 取值(windowWidth)
102109

103-
## 1.10.5
110+
## 1.10.5 (2018-09-19)
104111

105112
* 增加 $url_query
106113
* 增加 sa.initWithOpenid(options,callback) callback(openid)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sa-sdk-miniprogram",
3-
"version": "1.13.10",
3+
"version": "1.13.12",
44
"description": "sensorsdata miniprogram sdk",
55
"main": "sensorsdata.min.js",
66
"scripts": {

sensorsdata.custom.es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sensorsdata.custom.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sensorsdata.min.es6.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sensorsdata.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sensorsdata.plugin.es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sensorsdata.plugin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)