File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ Time zone of version release date: **UTC+8**
1818
1919## pangutext-android
2020
21- ### 1.0.1 | 2025.02.11 &ensp ; <Badge type =" tip " text =" latest " vertical =" middle " />
21+ ### 1.0.2 | 2025.03.05 &ensp ; <Badge type =" tip " text =" latest " vertical =" middle " />
22+
23+ - Added exception handling in ` PanguTextFactory2 ` during injection to avoid interrupting the entire process during ` View ` initialization
24+ - Removed duplicate injection warning logs, now duplicate injections of ` PanguText ` will have no effect
25+ - Added ` PanguTextPatcher ` , which allows injecting ` PanguText ` using a new method
26+
27+ ### 1.0.1 | 2025.02.11 &ensp ; <Badge type =" warning " text =" stale " vertical =" middle " />
2228
2329- Fixed an issue where injecting ` PanguText ` could cause incorrect width measurement in ` TextView `
2430- Added ` isAutoRemeasureText ` to ` PanguTextConfig ` to control whether to automatically remeasure text width (applies to single-line text in ` TextView ` )
Original file line number Diff line number Diff line change 1010
1111## pangutext-android
1212
13- ### 1.0.1 | 2025.02.11 &ensp ; <Badge type =" tip " text =" 最新 " vertical =" middle " />
13+ ### 1.0.2 | 2025.03.05 &ensp ; <Badge type =" tip " text =" 最新 " vertical =" middle " />
14+
15+ - ` PanguTextFactory2 ` 在注入时新增异常捕获,避免在 ` View ` 自身初始化过程中断整个处理过程
16+ - 移除重复注入的警告日志,现在重复注入 ` PanguText ` 将无任何作用产生
17+ - 新增 ` PanguTextPatcher ` ,可以使用新的方案注入 ` PanguText `
18+
19+ ### 1.0.1 | 2025.02.11 &ensp ; <Badge type =" warning " text =" 过旧 " vertical =" middle " />
1420
1521- 修复注入 ` PanguText ` 后 ` TextView ` 可能导致测量宽度不正确的问题
1622- ` PanguTextConfig ` 新增 ` isAutoRemeasureText ` ,用于控制是否自动重新测量文本宽度 (作用于 ` TextView ` 单行文本)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ project.app.packageName=com.highcapable.pangutext.demo
1515project.app.versionName =universal
1616project.app.versionCode =1
1717project.pangutext-android.namespace =${project.groupName}.android
18- project.pangutext-android.version ="1.0.1 "
18+ project.pangutext-android.version ="1.0.2 "
1919# Maven Publish Configuration
2020SONATYPE_HOST =CENTRAL_PORTAL
2121RELEASE_SIGNING_ENABLED =true
You can’t perform that action at this time.
0 commit comments