Releases: Tencent/VasSonic
V3.1.1 Release Note
V3.0.0 Release Note
V3.0.0 Release Note
Java Server V1.0 release
Android and iOS
1 [Feature]: iOS dispatch a log event instead of writing log directly, so the programmer can decide whether to show log or not. 69c4e34
2 [Feature]: iOS add Sonic event statistics, so the programmer can receive different Sonic state notification. cfd982f
3 [bug] : fix ConcurrentModificationException and NPE when URLConnection try getHeaders. d64415f
4 [bug] fix SonicServer SEGV_ACCERR crash dec2624
V3.0.0 更新公告
Java 后台 1.0版本正式发布
Android and iOS
1【特性】:iOS把日志打印修改成一个统计事件类型,以便开发者决定是否需要输出log 69c4e34
2【特性】:iOS增加Sonic各种状态下的事件回调,以便开发者可以监听Sonic的不同状态。cfd982f
3【bug】:Android 修复获取HTTP 头部时出现并发修改错误的bug d64415f
4 【bug】: iOS修复 SonicServerSEGV_ACCERR crash dec2624
V3.0.0-beta Release Note
V3.0.0-beta Release Note
1 [Feature]: iOS dispatch a log event instead of writing log directly, so the programmer can decide whether to show log or not. 69c4e34
2 [Feature]: iOS add Sonic event statistics, so the programmer can receive different Sonic state notification. cfd982f
3 [bug] : fix ConcurrentModificationException and NPE when URLConnection try getHeaders. d64415f
V3.0.0-beta 更新公告
1【特性】:iOS把日志打印修改成一个统计事件类型,以便开发者决定是否需要输出log 69c4e34
2【特性】:iOS增加Sonic各种状态下的事件回调,以便开发者可以监听Sonic的不同状态。cfd982f
3【bug】:Android 修复获取HTTP 头部时出现并发修改错误的bug d64415f
V3.0.0-alpha Release Note
V3.0.0-alpha Release Note
1 [Feature] : Support SonicSession reload mode. Web can refresh current sonic session without quit and reopen.
2 [Feature] : Support SonicSession Preload Link mode. SonicSession will send request of sub resource before kernel render when the response of SonicServer contain url list which need to be preloaded.
3 [Feature] : Support React
V3.0.0-alpha 更新公告
1 【特性】:添加SonicSession reload功能,支持页面内使用SonicSession刷新
2【特性】:添加SonicServer preload link功能,当Sonic Server返回需要预加载的子资源url时,Sonic框架会在渲染之前提前拉取子资源url
3【特性】:添加Sonic-React扩展
V2.0.0 Release Note
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
V2.0.0-beta Release Note
V2.0.0-beta Release Note:
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 [iOS-bug] Fix CachedResonseHeaders cann't be updated in right way 407b700
6 [iOS-bug] Fix LocalServer can't work when server return 304 response. eeca012
V2.0.0-beta 更新公告:
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.【iOS-Bug】修复 CachedResonseHeaders 无法更新的bug
6.【iOS-Bug】修复 http 304状态下无法使用LocalServer的bug
V2.0.0-alpha Release Note
V2.0.0-alpha 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.
V2.0.0-alpha 更新公告:
1.【特性】支持纯终端模式,在该模式下无需前后端配合亦可完成秒开;
2.【特性】支持自定义请求头和自定义响应头;
3.【特性】支持Cache-Control来控制缓存生命周期;
4.【特性】支持非utf-8编码;
5.【优化】支持管理缓存文件占用空间;
6.【优化】使用Sqlite替代SP管理缓存配置信息;
7.【移除】移除在URL中主动添加_sonic_id字段;
8.【优化】修复Issues里的crash跟bug.
V1.1.1 Release Note
Android Release Note:
1 Fix the deadlock when ShouldIntencept and GetCookie are running at the same thread. This bug was found on Android( < 5.0) system. Issue 90
iOS Release Note:
1 Fix cookie synchronization issues
V1.1.0 Release Note
Android Release Note:
1 Fix the NullPointException when SonicSession.destroy() was called before new session created. Issue 89
2 Fix the deadlock when ShouldIntencept and SetCookie was running at the same thread. This bug was found on Android( < 5.0) system. Issue 90
iOS Release Note:
1 Fix the crash when website close quickly and NSBlockOperation was still running. Issue 106
VasSonic Demo
Here are the VasSonic sample demo for Android and iOS