From 53642bf49fd13692b49856a2d9c10d3ba865af4b Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 14 May 2019 16:54:25 +0800 Subject: [PATCH] update release note and change log --- CHANGELOG | 24 ++++++++++++++++++++++++ docs/RELEASE_NOTES.md | 22 ++++++++-------------- docs/RELEASE_NOTES_CN.md | 22 ++++++++-------------- 3 files changed, 40 insertions(+), 28 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 81211847fd39..7890e9ba36e1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,27 @@ +cocos2d-x-3.17.2 ?? + +[NEW] Network: added clear requests and responses method to httpclient +[NEW] UI: VideoPlayer added ability to enable/disable looping, resonding user input +[NEW] UI: VideoPlayer added function to set style +[NEW] IMEDispacher: added a function to check if any IME dispatcher is active +[NEW] Renderer: add a function to get current clearing color +[NEW] Lua: added binding codes for `EventDispathcer::addCustomEventListener()` + +[REFINE] Android: added optimization codes for OPPO devcies +[REFINE] Network: improved websocket traces +[REFINE] Android: supported Android P cutout area +[REFINE] FontAtlas: font atlas texture initialization delayed +[REFINE] LOG: CCLOG may block thread on windows + +[FIX] FileUtils:fixed a bug that `listFiles()` can not work correctly if the file path starts with `assets/` on Android +[FIX] AssetsManager: fixed a bug that `_percent` is always be 0 during the update process +[FIX] Texture2D: fixed memory leak if `Texture2D::setAlphaTexture()` is invoked many times +[FIX] FontAtlasCache: avoided crash if a file path is too long +[FIX] Audio: fixed crash on iOS +[FIX] UI: VideoPlayer could not play video in obb file on Android +[FIX] SpriteFrame: fixed performance issue in parsing plist files +[FIX] 3rd: unzip failed to uncompress files + cocos2d-x-3.17.1 Nov.19 2018 [REFINE] Renderer: properly reduce clear buffer times to save energy diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index d9ae53f2ea88..7d2c5d4770a4 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -2,26 +2,20 @@ **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* -- [Cocos2d-x 3.17.1 Release Notes](#cocos2d-x-3171-release-notes) +- [Cocos2d-x 3.17.2 Release Notes](#cocos2d-x-3172-release-notes) - [Highlights](#highlights) -# Cocos2d-x 3.17.1 Release Notes # +# Cocos2d-x 3.17.2 Release Notes # -The 3.17.1 release focuses on bug fixing. +Version 3.17.2 focuses on bugs fixing and performance opimization on OPPO devices. ## Highlights -- Fix Lua loading performance drop bug introduced in 3.17 -- Renderer limit glClear invoke times, reduce power consuming -- optimize CMake script,fix some linking issues -- Android use CMake as default PROP_BUILD_TYPE value -- Android upgrade Gradle to 4.6, SDK 28, android gradle plugin 3.1.0 -- upgrade LuaJIT to 2.1.0-beta3, fix random crash in 3.17 Lua release mode -- upgrade libwebsockets to 2.4.2 -- FileUtils provide thread-safe implementation and add missing cross-platform interfaces -- limit Labels text length to fix render error -- add Downloader binding to Lua +- Performance optimization on OPPO devices +- Fixed bug that`FileUtils::listFiles()` can not work correctly if the file path starts with `assets/` on Android +- Fixed crash caused by Audio on iOS +- Fixed bug that `VideoPlayer` can not play video in obb file on Android -This release contains more than 45 bugs fixed and 34 misc improvements, please refer to [ChangeLog](https://github.com/cocos2d/cocos2d-x/blob/v3/CHANGELOG) +More detail change log please refer to [ChangeLog](https://github.com/cocos2d/cocos2d-x/blob/v3/CHANGELOG). diff --git a/docs/RELEASE_NOTES_CN.md b/docs/RELEASE_NOTES_CN.md index eef109506d61..ce7673ca70d0 100644 --- a/docs/RELEASE_NOTES_CN.md +++ b/docs/RELEASE_NOTES_CN.md @@ -2,26 +2,20 @@ **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* -- [Cocos2d-x 3.17.1 Release Notes](#cocos2d-x-3171-release-notes) +- [Cocos2d-x 3.17.2 Release Notes](#cocos2d-x-3172-release-notes) - [版本变动](#%E7%89%88%E6%9C%AC%E5%8F%98%E5%8A%A8) -# Cocos2d-x 3.17.1 Release Notes # +# Cocos2d-x 3.17.2 Release Notes # -Cocos2d-x 3.17.1 侧重于稳定性的提升, 已有问题的修复。 +Cocos2d-x 3.17.2 侧重于稳定性的提升, 已有问题的修复和针对 OPPO 手机的性能优化。 ## 版本变动 -- 修复 3.17 引入的 Lua 加载性能下降的 BUG -- 减少渲染中 glClear 的调用次数,降低电量消耗 -- CMake 脚本优化,解决存在的链接问题 -- Android 默认启用 CMake 方式编译 -- Android 升级 Gradle 到 4.6, SDK 28, plugin 3.1.0 -- 升级 LuaJIT 到 2.1.0-beta3,修复 3.17 Lua 项目的闪退问题 -- 升级 libwebsockets 到 2.4.2 -- FileUtils 内部加锁,增加线程安全,完善接口实现 -- 限制 Label 长度,避免绘制错误 -- 增加 Downloader 的 Lua 绑定 +- 针对 OPPO 手机的性能优化 +- 修复 bug:在安卓设备,当文件路径开头为 `assets/` 时, `FileUtils::listFiles()` 无法正常工作 +- 修复了 Audio 在 iOS 设备上的崩溃问题 +- 修复了在安卓设备, `VideoPlayer` 无法播放 OBB 包里的视频文件的问题 -当前版本包含 45 项 bugs 修复和 34 项小改进,不再列举,请参考 [ChangeLog](https://github.com/cocos2d/cocos2d-x/blob/v3/CHANGELOG)。 +详细的改动请参考 [ChangeLog](https://github.com/cocos2d/cocos2d-x/blob/v3/CHANGELOG)。