- Unicode 16.0.0 support.
- Unicode 15.1.0 support.
- Requires OCaml 4.14.0 for the UTF decoders.
- The
Uuseg_string
module was rewritten to use the standard library UTF decoders and was moved to theuuseg
library. Theuuseg.string
library is deprecated, it warns on usage and simply requiresuuseg
. - The sample code was rewritten to use the standard library UTF decoders.
- Unicode 15.0.0 support.
- Unicode 14.0.0 support.
- Unicode 13.0.0 support.
- Grapheme clusters and word boundaries w.r.t. emojis are segmented according to the specification (#5 is closed).
- Internal rewrite of word and line break boundaries. Implementations are less hairy, less ad-hoc (not there yet though) and more correct.
- Require OCaml >= 4.03.0.
- Unicode 12.0.0 support. Grapheme cluster and word boundaries w.r.t. emojis are still only partially according to the specification see issue #5 for details.
- Unicode 11.0.0 support. Grapheme cluster and word boundaries w.r.t. emojis are only partially supported according to the specification see issue #5 for details.
- Unicode 10.0.0 support.
- OCaml 4.05 compatibility (removal of
Uchar.dump
).
- Unicode 9.0.0 support.
- OCaml standard library
Uchar.t
support.- Removes and substitutes
type Uuseg.uchar = int
by the (abstract)Uchar.t
type.Uchar.{of,to}_int
allows to recover the previous representation. - Removes the
Uuseg.is_uchar
.Uchar.is_valid
can be used instead.
- Removes and substitutes
- Safe string support.
- Build depend on topkg.
- Relicense from BSD3 to ISC.
- Support for Unicode 8.0.0's new line breaking and sentence boundary rules.
Uuseg.custom
add a unit argument.
First release.