Bug Fixes
-
Unicode.properties/1
no longer does anEnum.uniq/1
on the result since that breaks the functions contract. -
Fix
Unicode.Emoji.emoji/0
. -
Fix documentation in
Unicode.WordBreak
.
Enhancements
-
Add
indic_conjunc_break
as a property, it is new in Unicode 15.1. -
Fix performance regression in
Unicode.replace_invalid/2
from the original UniRecover library and confirm the code memory usage remains a constant 128 bytes for all benchmark scenarios. Thanks to @Moosieus for the fabulous PR. Closes #10. -
Unicode.replace_invalid(string, :utf8, replacement)
delegates toString.replace_invalid/2
where available (which will be from Elixir 1.16 onwards). -
Confirm that the README installation version matches the code version. Thanks to @Moosieus for the PR.