From 8bb7d1dfc8d23169b95d3acee92458b286387351 Mon Sep 17 00:00:00 2001 From: "rawframe-release[bot]" <346864305+rawframe-release[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 09:12:14 +0000 Subject: [PATCH 1/2] chore: release 1.2.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ include/maul-unicode/base.h | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) 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..8d460bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ 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 + +* **segment:** find the boundaries around an offset ([#278](https://github.com/Rawframe-Project/maul-unicode/issues/278)) ([e484d3d](https://github.com/Rawframe-Project/maul-unicode/commit/e484d3d460ea6afd4656d7db7e5d4b8144eafe7f)), closes [#240](https://github.com/Rawframe-Project/maul-unicode/issues/240) + ## [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. From 254b54ab3a5dc888c1dd1f5aa494c083431117c1 Mon Sep 17 00:00:00 2001 From: Sirac Ozmen Date: Thu, 5 Nov 2026 12:13:07 +0300 Subject: [PATCH 2/2] chore: curate the 1.2.0 changelog --- CHANGELOG.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d460bd..e01aabd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,24 @@ 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 -* **segment:** find the boundaries around an offset ([#278](https://github.com/Rawframe-Project/maul-unicode/issues/278)) ([e484d3d](https://github.com/Rawframe-Project/maul-unicode/commit/e484d3d460ea6afd4656d7db7e5d4b8144eafe7f)), closes [#240](https://github.com/Rawframe-Project/maul-unicode/issues/240) +- `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)