diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 53b7bc9..c3f1463 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.2" + ".": "1.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 14e2974..e01aabd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,27 @@ minor and patch only: the API only grows, and a change of results moves `MUNI_RESULTS_VERSION` and is named here. Before 1.0.0, any release could change the API, the ABI and every data format. +## [1.2.0](https://github.com/Rawframe-Project/maul-unicode/compare/v1.1.2...v1.2.0) (2026-11-05) + +### Added + +- `muniSegmentIterator_FindBreaksAround` gives the boundaries around a + byte offset, the last at or before it and the first after it, without + reading the text from its start: what Backspace, the arrow keys and a + click on a word need. It answers as the iterator would, for grapheme + clusters, words, sentences and lines at every setting, class + overrides and a word segmenter included, and leaves the iterator as + it was. In ordinary text it reads a few code points, so on a long + paragraph of English prose it takes under half a microsecond for + clusters, words and lines, where stepping a fresh iterator from the + start takes milliseconds; sentences back up to the last terminator. + It needs an iterator given its whole text at init + ([#278](https://github.com/Rawframe-Project/maul-unicode/pull/278)). + +No results change: the Unicode data is still 18.0.0 and +`MUNI_RESULTS_VERSION` stays 2, so stored normalized keys, skeletons +and verdicts from 1.1.2 stay valid. + ## [1.1.2](https://github.com/Rawframe-Project/maul-unicode/compare/v1.1.1...v1.1.2) (2026-11-05) ### Fixed diff --git a/include/maul-unicode/base.h b/include/maul-unicode/base.h index a09fdd3..d3f1f73 100644 --- a/include/maul-unicode/base.h +++ b/include/maul-unicode/base.h @@ -23,10 +23,10 @@ extern "C" #define MUNI_VERSION_MAJOR 1 // x-release-please-end // x-release-please-start-minor -#define MUNI_VERSION_MINOR 1 +#define MUNI_VERSION_MINOR 2 // x-release-please-end // x-release-please-start-patch -#define MUNI_VERSION_PATCH 2 +#define MUNI_VERSION_PATCH 0 // x-release-please-end // The one Unicode version every table in the library comes from.