36b3af2e3d
PR Check / Code Quality: Format (push) Failing after 1s
PR Check / Code Quality: Lint (darwin) (push) Failing after 0s
PR Check / Code Quality: Lint (freebsd) (push) Failing after 1s
PR Check / Code Quality: Lint (windows) (push) Failing after 1s
PR Check / Code Quality: Lint (linux) (push) Failing after 1s
PR Check / Security: Vulnerability Scan (push) Failing after 0s
Update Documentation / update-docs (push) Failing after 2s
PR Check / Code Quality: Vendor (push) Failing after 1s
PR Check / Code Quality: Coverage (push) Failing after 0s
PR Check / Tests: Unit (macos-latest) (push) Has been cancelled
PR Check / Tests: Unit (ubuntu-24.04) (push) Has been cancelled
PR Check / Tests: Unit (ubuntu-24.04-arm) (push) Has been cancelled
PR Check / Tests: Unit (windows-latest) (push) Has been cancelled
2.7 KiB
2.7 KiB
Changelog
[0.9.0]
Changed
- Unicode 17 support: East Asian Width and emoji data updated to Unicode 17.0.0. (#18)
- Upgraded uax29 dependency to v2.5.0 (Unicode 17 grapheme segmentation).
[0.8.0]
Changed
- Performance: ASCII fast path that applies to any run of printable ASCII. 2x-10x faster for ASCII text vs v0.7.0. (#16)
- Upgraded uax29 dependency to v2.4.0 for Unicode 16 support. Text that includes Indic_Conjunct_Break may segment differently (and more correctly). (#15)
[0.7.0]
Added
- New
TruncateStringandTruncateBytesmethods to truncate strings to a maximum display width, with optional tail (like an ellipsis). (#13)
[0.6.2]
Changed
- Internal: reduced property categories for simpler trie.
[0.6.1]
Changed
- Perf improvements: replaced the ASCII lookup table with a simple function. A bit more cache-friendly. More inlining.
- Bug fix: single regional indicators are now treated as width 2, since that is what actual terminals do.
[0.6.0]
Added
- New
StringGraphemesandBytesGraphemesmethods, for iterating over the widths of grapheme clusters.
Changed
- Fast ASCII lookups
[0.5.0]
Added
- Unicode 16 support
- Improved emoji presentation handling per Unicode TR51
Changed
- Corrected VS15 (U+FE0E) handling: now preserves base character width (no-op) per Unicode TR51
- Performance optimizations: reduced property lookups
Fixed
- VS15 variation selector now correctly preserves base character width instead of forcing width 1
[0.4.1]
Changed
- Updated uax29 dependency
- Improved flag handling
[0.4.0]
Added
- Support for variation selectors (VS15, VS16) and regional indicator pairs (flags)
[0.3.1]
Added
- Fuzz testing support
Changed
- Updated stringish dependency
[0.3.0]
Changed
- Dropped compatibility with go-runewidth
- Trie implementation cleanup