VasSonic Versions Save

VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.

3.1.1

4 years ago

Android & iOS Release Note support custom eTag from Server iOS: https://github.com/Tencent/VasSonic/pull/307 Android: https://github.com/Tencent/VasSonic/pull/283 fix some bug :https://github.com/Tencent/VasSonic/pull/302

Android & iOS 更新公告 eTag字段支持Server更改设置 iOS: https://github.com/Tencent/VasSonic/pull/307 Android: https://github.com/Tencent/VasSonic/pull/283

修复一些小bug,详情看 https://github.com/Tencent/VasSonic/pull/302

3.0.0

6 years ago

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. https://github.com/Tencent/VasSonic/commit/69c4e34c8ac84ceced0b85d68573a9491570d065 2 [Feature]: iOS add Sonic event statistics, so the programmer can receive different Sonic state notification. https://github.com/Tencent/VasSonic/commit/cfd982f363b9e5705036cabc061a1a705453b329 3 [bug] : fix ConcurrentModificationException and NPE when URLConnection try getHeaders. https://github.com/Tencent/VasSonic/commit/d64415fd73f6ab449d2d437e7169fd3c08fd0384 4 [bug] fix SonicServer SEGV_ACCERR crash https://github.com/Tencent/VasSonic/commit/dec262480b33aae67e82188e7023ad8237d6e132

V3.0.0 更新公告

Java 后台 1.0版本正式发布

Android and iOS

1【特性】:iOS把日志打印修改成一个统计事件类型,以便开发者决定是否需要输出log https://github.com/Tencent/VasSonic/commit/69c4e34c8ac84ceced0b85d68573a9491570d065 2【特性】:iOS增加Sonic各种状态下的事件回调,以便开发者可以监听Sonic的不同状态。https://github.com/Tencent/VasSonic/commit/cfd982f363b9e5705036cabc061a1a705453b329 3【bug】:Android 修复获取HTTP 头部时出现并发修改错误的bug https://github.com/Tencent/VasSonic/commit/d64415fd73f6ab449d2d437e7169fd3c08fd0384 4 【bug】: iOS修复 SonicServerSEGV_ACCERR crash https://github.com/Tencent/VasSonic/commit/dec262480b33aae67e82188e7023ad8237d6e132

3.0.0-beta

6 years ago

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. https://github.com/Tencent/VasSonic/commit/69c4e34c8ac84ceced0b85d68573a9491570d065 2 [Feature]: iOS add Sonic event statistics, so the programmer can receive different Sonic state notification. https://github.com/Tencent/VasSonic/commit/cfd982f363b9e5705036cabc061a1a705453b329 3 [bug] : fix ConcurrentModificationException and NPE when URLConnection try getHeaders. https://github.com/Tencent/VasSonic/commit/d64415fd73f6ab449d2d437e7169fd3c08fd0384

V3.0.0-beta 更新公告 1【特性】:iOS把日志打印修改成一个统计事件类型,以便开发者决定是否需要输出log https://github.com/Tencent/VasSonic/commit/69c4e34c8ac84ceced0b85d68573a9491570d065 2【特性】:iOS增加Sonic各种状态下的事件回调,以便开发者可以监听Sonic的不同状态。https://github.com/Tencent/VasSonic/commit/cfd982f363b9e5705036cabc061a1a705453b329 3【bug】:Android 修复获取HTTP 头部时出现并发修改错误的bug https://github.com/Tencent/VasSonic/commit/d64415fd73f6ab449d2d437e7169fd3c08fd0384

3.0.0-alpha

6 years ago

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扩展

2.0.0

6 years ago

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 https://github.com/Tencent/VasSonic/commit/023988dc2a4adc7364c7b75104836765fcc1be15 2 [Android-bug] Fix Website can't receive callback when Cache-Offline is store. https://github.com/Tencent/VasSonic/commit/09e1992759007ce703aa23270d13669df1e82fb6 3 [Android-bug] Fix some NPE Crash in 2.0 alpha version. https://github.com/Tencent/VasSonic/commit/824eee60afa6e28671a6c32a06c1820a6885559f 4 [Android-bug] Fix LocalServer replace template tag with htmlsha1 by mistake https://github.com/Tencent/VasSonic/commit/b264102532245f6204a11dfeb5b1f4ed0867e714 5 [Android-bug]: Fix NPE when server has been closed asynchronous. https://github.com/Tencent/VasSonic/commit/2f708e63532a7d095993c6ac98d1f87f13bead4f 6 [iOS-bug] Fix CachedResonseHeaders cann't be updated in right way https://github.com/Tencent/VasSonic/commit/407b700e260131198d012359ff0f28d8bb711458 7 [iOS-bug] Fix LocalServer can't work when server return 304 response. https://github.com/Tencent/VasSonic/commit/eeca012ec4792d707b68212524b48279a0dfe22d 8 [iOS-bug] : Fix the first load data bridge error https://github.com/Tencent/VasSonic/commit/f72e036b8dc01fd48d80bcc1f38d8bf3bb47bc68

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

2.0.0-beta

6 years ago

V2.0.0-beta Release Note: 1 [Android-bug] Fix Sonic still send request in FirstLoad mode when server return Cache-Offline: http https://github.com/Tencent/VasSonic/commit/023988dc2a4adc7364c7b75104836765fcc1be15 2 [Android-bug] Fix Website can't receive callback when Cache-Offline is store. https://github.com/Tencent/VasSonic/commit/09e1992759007ce703aa23270d13669df1e82fb6 3 [Android-bug] Fix some NPE Crash in 2.0 alpha version. https://github.com/Tencent/VasSonic/commit/824eee60afa6e28671a6c32a06c1820a6885559f 4 [Android-bug] Fix LocalServer replace template tag with htmlsha1 by mistake https://github.com/Tencent/VasSonic/commit/b264102532245f6204a11dfeb5b1f4ed0867e714 5 [iOS-bug] Fix CachedResonseHeaders cann't be updated in right way https://github.com/Tencent/VasSonic/commit/407b700e260131198d012359ff0f28d8bb711458 6 [iOS-bug] Fix LocalServer can't work when server return 304 response. https://github.com/Tencent/VasSonic/commit/eeca012ec4792d707b68212524b48279a0dfe22d

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

2.0.0-alpha

6 years ago

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.

1.1.1

6 years ago

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

1.1.0

6 years ago

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

1.0

6 years ago

Here are the VasSonic sample demo for Android and iOS