Changelog for unicode-collation-0.1.2
Changelog
unicode-collation uses PVP Versioning.
0.1.2
-
API change: Expose
collatorOptionsandCollatorOptions. DeprecatecollatorLangwhich is now redundant. -
API change: Export
renderSortKey. This renders the sort key in a compact form, used by the CLDR collation tests. A vertical bar is used in place of 0000. -
Remove
optCollationfromCollatorOptions. Make theCollationa separate parameter ofCollatorinstead. This doesn't affect the public API but it makes more sense conceptually. -
Avoid spurious FFFFs in sort keys. We were including FFFFs at L4 of sort keys even with NonIgnorable, which is not right, though it should not affect the sort.
-
Move
VariableWeightingfromCollationtoCollatormodule. -
Add a benchmark for texts of length 1.
-
Small optimization: don't generate sort key when strings are equal.
-
Executable: add
--hexand--verboseoptions. For testing purposes it is convenient to enter code points manually as hex numbers.--verbosecauses diagnostic output to be printed to stderr, including the tailoring used, options, and normalized code points and sort keys.
0.1.1
-
API change: Add
collatorLang, which reports theLangused for tailoring (which may be different from theLangpassed tocollatorFor, because of fallbacks). -
Fix fallback behavior with
lookupLang(#3). PreviouslylookupLangwould letdefall back tode-u-co-phonebk. -
Add
--verboseoption to executable. This prints the fallback Lang used for tailoring to stderr to help diagnose issues.
0.1
- Initial release.