Skip to content

Releases: Tencent/libpag

v4.1.12

30 Sep 08:06
Compare
Choose a tag to compare
v4.1.12 Pre-release
Pre-release

主要修改内容:
(1)修复文本渲染模糊问题;
(2) Web 平台 BMP 预合成分辨率大于 4K 时关闭变速功能;
(3)修复 Android 平台外部字体注册获取失败 crash 问题;
(4)修复 Android 平台内存不足线程创建失败 crash 问题;
(5)修复 Android 平台 ManagerFragment 获取失败引起的 crash 问题

Main revisions:
(1) Fix text rendering blur problem;
(2)Turn off the variable speed function when the Web platform BMP composition resolution is greater than 4K;
(3)Fix the crash issue of failed registration and acquisition of external fonts on the Android platform;
(4)Fix the crash issue of thread creation failure due to insufficient memory on the Android platform;
(5)Fix the crash issue caused by failure to obtain ManagerFragment on Android platform

v4.0.5.82

30 Sep 08:02
Compare
Choose a tag to compare

主要修改内容:
(1)修复 Android 平台外部字体注册获取失败 crash 问题;
(2)修复 Android 平台内存不足线程创建失败 crash 问题;
(3)修复 Android 平台 ManagerFragment 获取失败引起的 crash 问题

Main revisions:
(1) Fixed the crash issue of failed registration and acquisition of external fonts on the Android platform;
(2)Fix the crash issue of thread creation failure due to insufficient memory on the Android platform;
(3) Fix the crash issue caused by failure to obtain ManagerFragment on Android platform

v4.1.8

19 Sep 09:04
b3bd004
Compare
Choose a tag to compare
v4.1.8 Pre-release
Pre-release

主要修改内容:
(1)AE 特性新增支持:

  • 图层样式-渐变叠加、蒙版羽化和不透明度、亮度轨道遮罩/亮度轨道反转遮罩
  • 文本路径选项:路径、反转路径、垂直于路径、强制对齐、首字边距、末字边距

(2)PAGText API 层面增加支持 leading 和 tracking 修改;
(3)性能优化:“图层样式-投影” 使用新的模糊算法,相比之前,性能提升约 30%
(4)iOS 端移除 avmv7 架构支持;
(5)从 4.1 版本开始,版本号位数由之前的 4 位修改为 3 位

Main revisions:
(1) New support for AE features:

  • Layer Styles - Gradient Overlay, Mask Feather and Opacity, Brightness Track Mask/Brightness Track Reverse Mask
  • Text path options: Path, Reverse Path, Perpendicular to Path, Forced Alignment, First Margin, Last Margin

(2) PAGText API level adds support for leading and tracking modifications;
(3)Performance optimization: "Layer Style - Projection" uses a new blur algorithm, which improves performance by about 30% compared to before.
(4)Remove avmv7 architecture support on iOS;
(5) Starting from version 4.1, the number of digits in the version number has been changed from the previous 4 digits to 3 digits.

v4.0.5.79

15 Sep 12:43
Compare
Choose a tag to compare

主要修改内容:
(1)修复 iOS 端部分场景 crash;
(2)修复 Android 端多线程操作crash;
(3)修复 带 Mask 图层图片渲染模糊问题;
(4)修复 Android PAGView 播放过程中设置setComposition(null)crash 问题;
(5)回退 Android 侧 StrictMode 编译警告修改(会引起文本渲染首次绘制无法显示)

Main revisions:
(1)Fix crash in some scenarios on iOS;
(2) Fix multi-threaded operation crash on Android;
(3)Fix the rendering blur problem of images with Mask layer;
(4) Fix the crash issue of setComposition (null) during Android PAGView playback;
(5)Fallback the StrictMode compilation warning modification on the Android side (which will cause text rendering to fail to be displayed for the first time)

v4.0.5.66

31 Aug 14:41
Compare
Choose a tag to compare

主要修改内容:
(1) 字体注册允许 fontStyle 传空匹配, 对齐 PAG 3.0 版本逻辑;
(2)修复 Andorid 侧 PAGView 尺寸改变渲染异常问题;
(3)修复 Android 侧 INSTALL_FAILED_CONFLICTING_PROVIDER 报错导致无法安装 APP 问题;
(4)修复 Android 侧 StrictMode 开启编译警告

Main revisions:
(1) Font registration allows fontStyle to pass empty matching and align PAG 3.0 version logic;
(2) Fix the abnormal rendering issue when the size of PAGView on Andorid side changes;
(3) Fix the issue where the APP cannot be installed due to the INSTALL_FAILED_CONFLICTING_PROVIDER error on the Android side;
(4) Fix Android side StrictMode enabled compilation warning

v4.0.5.51

12 Aug 09:46
Compare
Choose a tag to compare

主要修改内容:
(1)PAGViewListener 增加 onAnimationUpdate方法,增加动效播放过程中单帧渲染回调接口;
(2)修改 Android 侧 ConcurrentModificationException crash;
(3)iOS 侧内部类 AppMonitor 修改为 PAGAppMonitor,防止类名冲突;
(4)修复 Android 侧 onAnimationEnd方法回调异常;
(5)PAGView setComposition方法支持子线程调用;
(6)修复填充模式场景下 PAGView 渲染异常;
(7)修复部分场景下文本动画渲染异常;
(8)修复部分含有 BMP 预合成的 pag 文件在华为手机上渲染黑边问题

注: 从此版本开始,PAG 在 Android 和 iOS 端的 SDK 中会增加数据上报。上报内容:App 名称和 App ID(Bundle ID或PackageName)。上报频率:每个 SDK 新版本仅上报一次。

这些信息仅用于分析 PAG 方案的普及情况,不涉及任何业务方运营数据也完全无法用于定位用户侧个人信息,因此不会影响业务方在隐私合规性方面的审查要求。整个上报流程通过了腾讯法务团队的严格检测和审查,并按照相关法律要求已披露至对外公开的个人信息保护规则声明中,详细说明请查阅:https://privacy.qq.com/document/preview/01e79d0cc7a2427ba774b88c6beff0fd

Main revisions:
(1)PAGViewListener adds the onAnimationUpdate method and adds a single-frame rendering callback interface during animation playback;
(2)Modify the Android side ConcurrentModificationException crash;
(3)The internal class AppMonitor on the iOS side is modified to PAGAppMonitor to prevent class name conflicts;
(4)Fix the callback exception in onAnimationEnd method on Android side;
(5)The PAGView setComposition method supports sub-thread calls;
(6) Fix PAGView rendering exception in fill mode scenarios;
(7)Fix text animation rendering exception in some scenarios;
(8) Fix the issue that some pag files containing BMP composition render black edges on Huawei mobile phones

Note: Starting from this version, PAG will add data reporting in the SDK on Android and iOS. Reported content: App name and App ID (Bundle ID or PackageName). Reporting frequency: Each new SDK version will be reported only once.

This information is only used to analyze the popularity of the PAG scheme. It does not involve any business side operational data and cannot be used to locate user-side personal information. Therefore, it will not affect the business side's review requirements for privacy compliance. The entire reporting process has passed the strict testing and review of Tencent’s legal team, and has been disclosed in the public statement of personal information protection rules in accordance with relevant legal requirements. For detailed instructions, please refer to: https://privacy.qq.com/document/preview/01e79d0cc7a2427ba774b88c6beff0fd

v4.0.5.17_release_20220704

04 Jul 03:40
Compare
Choose a tag to compare
Pre-release

主要修改内容:
(1)Android 侧修改软解注册的时机,解决部分场景软解无效问题;
(2)完善 PAGView 刷新逻辑,修复 PAGView remove 后 add 无法播放问题;
(3)Windows 端支持读取系统字体;
(4)Web 端修改:

  • PAGSurface 上 "fromCanvas" 替代 "FromCanvas" , "fromTexture"替代"FromTexture" , "fromRenderTarget" 替代 "FromRenderTarget"
  • PAGComposition 上 "make" 替代 "Mak".
  • PAGSolidLayer 上 "make" 替代 "Make".
  • PAGImageLayer 上 "make" 替代 "Make".
  • 增加 “BackendContext" 类
  • libpag 上增加 "SDKVersion"接口用于获取版本号
  • PAGView 上增加 "onAnimationUpdate" 事件,增加 "setComposition" , "matrix" , "setMatrix" , "getLayersUnderPoint" 函数接口
  • 支持注销软件解码器
  • 当获取 PAGLayer 会返回对应类型的 TypeLayer

Main revisions:
(1)The Android side modifies the timing of soft decryption registration to solve the issue of invalid soft decryption in some scenarios;
(2) Improve PAGView refresh logic and fix the issue that add cannot play after PAGView remove;
(3)Windows supports reading system fonts;
(4)Web side modification:

  • On PAGSurface, "from Canvas" replaces "FromCanvas", "from Texture" replaces "FromTexture", and "from RenderTarget" replaces"FromRenderTarget"
  • "make" replaces "Make" on PAGComposition.
  • "make" replaces "Make" on PAGSolidLayer.
  • "make" replaces "Make" on PAGImageLayer.
  • Add "BackendContext" class
  • Add "SDKVersion" interface to libpag to obtain version number
  • Add "onAnimationUpdate" event to PAGView, add "setComposition" , "matrix" , "setMatrix" , "getLayersUnderPoint" function interface
  • Support unregistering software decoders
  • When getting PAGLayer, the corresponding type of TypeLayer will be returned.

v4.0.5.11_release_20220602

02 Jun 08:45
Compare
Choose a tag to compare
Pre-release

主要修改内容:
(1)修改Android侧JNI crash问题;
(2)修复web端文本渲染异常问题

Main revisions:
(1)Modify the JNI crash issue on Android side;
(2)Fix the abnormal text rendering issue on the web side

v4.0.5.10_release_20220526

26 May 13:02
Compare
Choose a tag to compare
Pre-release

主要修改内容:
(1)修复iPhone 5S上使用CVPixelBuffer时纹理混合不起作用问题
(2)修复Android 部分机型渲染过度问题;
(3)修复Android 侧JNI crash问题;
(4)完善PAGView刷新逻辑,修复Android侧Dialog场景跳转返回PAGView不可见问题

Main revisions:
(1)Fix the issue that texture mixing does not work when using CVPixelBuffer on iPhone 5S
(2)Fix the over-rendering issue on some Android models;
(3)Fix the JNI crash issue on Android side;
(4) Improve the PAGView refresh logic and fix the issue of PAGView not being visible when redirecting to the Android side dialog scenarios

v4.0.5.7_release_20220512

13 May 10:16
Compare
Choose a tag to compare
Pre-release

主要修改内容:
(1)修复Android、iOS端png图片解码crash问题;
(2)Web端问题修复:

  • WebMask 增加font-style 的渲染
  • 修复 iOS平台 OffscreenCanvas 不支持的问题
  • 创建 WebGL context 时默认关闭 antialiasing

Main revisions:
(1)Fix the issue of png image decoding crashes on Android and iOS platforms;
(2)Web side issue repair:

  • WebMask adds font style rendering
  • Fix issue with OffscreenCanvas not supported on iOS platform
  • antialiasing is turned off by default when creating a WebGL context