diff --git a/docs-source/src/en/about/changelog.md b/docs-source/src/en/about/changelog.md index e77afab..c944e1b 100644 --- a/docs-source/src/en/about/changelog.md +++ b/docs-source/src/en/about/changelog.md @@ -18,7 +18,13 @@ Time zone of version release date: **UTC+8** ## pangutext-android -### 1.0.1 | 2025.02.11   +### 1.0.2 | 2025.03.05   + +- Added exception handling in `PanguTextFactory2` during injection to avoid interrupting the entire process during `View` initialization +- Removed duplicate injection warning logs, now duplicate injections of `PanguText` will have no effect +- Added `PanguTextPatcher`, which allows injecting `PanguText` using a new method + +### 1.0.1 | 2025.02.11   - Fixed an issue where injecting `PanguText` could cause incorrect width measurement in `TextView` - Added `isAutoRemeasureText` to `PanguTextConfig` to control whether to automatically remeasure text width (applies to single-line text in `TextView`) diff --git a/docs-source/src/zh-cn/about/changelog.md b/docs-source/src/zh-cn/about/changelog.md index 20f4527..9ab2f21 100644 --- a/docs-source/src/zh-cn/about/changelog.md +++ b/docs-source/src/zh-cn/about/changelog.md @@ -10,7 +10,13 @@ ## pangutext-android -### 1.0.1 | 2025.02.11   +### 1.0.2 | 2025.03.05   + +- `PanguTextFactory2` 在注入时新增异常捕获,避免在 `View` 自身初始化过程中断整个处理过程 +- 移除重复注入的警告日志,现在重复注入 `PanguText` 将无任何作用产生 +- 新增 `PanguTextPatcher`,可以使用新的方案注入 `PanguText` + +### 1.0.1 | 2025.02.11   - 修复注入 `PanguText` 后 `TextView` 可能导致测量宽度不正确的问题 - `PanguTextConfig` 新增 `isAutoRemeasureText`,用于控制是否自动重新测量文本宽度 (作用于 `TextView` 单行文本) diff --git a/gradle.properties b/gradle.properties index e3e8b69..38423dd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ project.app.packageName=com.highcapable.pangutext.demo project.app.versionName=universal project.app.versionCode=1 project.pangutext-android.namespace=${project.groupName}.android -project.pangutext-android.version="1.0.1" +project.pangutext-android.version="1.0.2" # Maven Publish Configuration SONATYPE_HOST=CENTRAL_PORTAL RELEASE_SIGNING_ENABLED=true