Skip to content

V2.0.0 Release Note

Compare
Choose a tag to compare
@vasdeveloper vasdeveloper released this 07 Dec 07:13
· 58 commits to master since this release

V2.0.0 Release Note:
1 [Feature] Support LocalServer mode. LocalServer means app can use SonicSdk without any Sonic Node.js or PHP Server.
2 [Feature]: Support custom request and response HTTP header.
3 [Feature]: Use HTTP Header (Cache-Control) to manage lifetime of sonic cache.
4 [Feature]: Support other encoding, such as GBK or GB2312.
5 [optimize]: App can manage the file size of Sonic cache.
6 [optimize]: Use Sqlite instead of SP to manage Sonic cache.
7 [optimize]: The Sonic Session Id (_sonic_id) won't be appended to url.
8 [optimize]: Fix the crash and bug reported from Issues.

Bug Fix:
1 [Android-bug] Fix Sonic still send request in FirstLoad mode when server return Cache-Offline: http 023988d
2 [Android-bug] Fix Website can't receive callback when Cache-Offline is store. 09e1992
3 [Android-bug] Fix some NPE Crash in 2.0 alpha version. 824eee6
4 [Android-bug] Fix LocalServer replace template tag with htmlsha1 by mistake b264102
5 [Android-bug]: Fix NPE when server has been closed asynchronous. 2f708e6
6 [iOS-bug] Fix CachedResonseHeaders cann't be updated in right way 407b700
7 [iOS-bug] Fix LocalServer can't work when server return 304 response. eeca012
8 [iOS-bug] : Fix the first load data bridge error f72e036

V2.0.0 更新公告:
1.【特性】支持纯终端模式,在该模式下无需前后端配合亦可完成秒开;
2.【特性】支持自定义请求头和自定义响应头;
3.【特性】支持Cache-Control来控制缓存生命周期;
4.【特性】支持非utf-8编码;
5.【优化】支持管理缓存文件占用空间;
6.【优化】使用Sqlite替代SP管理缓存配置信息;
7.【移除】移除在URL中主动添加_sonic_id字段;
8.【优化】修复Issues里的crash跟bug.

bug 修复:
1.【Android-Bug】修复当首次请求,服务器返回容灾字段 Cache-Offline : http时依然走Sonic请求的bug
2.【Android-Bug】修复当服务器返回Cache-Offline : store时,页面偶现无法接收终端回调的bug
3.【Android-Bug】修复alpha发现的空指针问题
4.【Android-Bug】修复LocalServer模式下会错误替换服务器返回的template tag的bug
5.【Android-Bug】修复多线程下偶现的server为空的bug
6.【iOS-Bug】修复 CachedResonseHeaders 无法更新的bug
7.【iOS-Bug】修复 http 304状态下无法使用LocalServer的bug
8.【iOS-Bug】修复首次回调给前端页面错误数据的bug