Changelog
The version update history of
PanguTextis recorded here.
Pay Attention
We will only maintain the latest API version. If you are using an outdated API version, you voluntarily renounce any possibility of maintenance.
Notice
To avoid translation time consumption, the Changelog will use Google Translation from Chinese to English. Please refer to the original text for actual reference.
Time zone of version release date: UTC+8
pangutext-android
1.0.6 | 2026.05.31 latest
PanguText.format(resources, textSize, ...)is adjusted to directly scan character boundaries and applyPanguMarginSpan, no longer reusing the string replacement pipeline, expected to be 10 times faster.PanguText.format(text, ...)continues to keep regex replacement and text-content corrections, and the responsibilities of the two implementations are now separated- Fixed the handling of
excludePatternsinSpannableStringsolution, it is now only used as a scan exclusion mask and no longer mixed into text-content correction logic - Fixed spacing recognition in
SpannableStringsolution for boundaries such as#topic#, operators, brackets, and quotes SpannableStringsolution is no longer described as an experimental feature,Spannedtext is supported for direct processing by default, and can still be skipped throughisProcessedSpannedwhen needed- Fixed continuous decoration rendering when
SpannableStringsolution processesSpannedtext, underlines, strikethroughs, and background colors can now stay continuous withPanguMarginSpan
1.0.5 | 2025.12.17 stale
- Adapted to Kotlin 2.2+
- Adapted to new features of
BetterAndroid
1.0.4 | 2025.08.16 stale
- Exclude
TextView's ownTextWatcherset duringinjectPanguTextexecution to prevent repeated triggering ofdoOnTextChanged
1.0.3 | 2025.08.03 stale
- Migrate Java reflection-related behavior from YukiReflection to KavaRef
- Other known issues fixed
1.0.2 | 2025.03.05 stale
- Added exception handling in
PanguTextFactory2during injection to avoid interrupting the entire process duringViewinitialization - Removed duplicate injection warning logs, now duplicate injections of
PanguTextwill have no effect - Added
PanguTextPatcher, which allows injectingPanguTextusing a new method
1.0.1 | 2025.02.11 stale
- Fixed an issue where injecting
PanguTextcould cause incorrect width measurement inTextView - Added
isAutoRemeasureTexttoPanguTextConfigto control whether to automatically remeasure text width (applies to single-line text inTextView)
1.0.0 | 2025.02.10 stale
- The first version is submitted to Maven
pangutext-compose
Not yet released.
