Skip to content

Commit 5269397

Browse files
Version Packages (#85)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 782290b commit 5269397

File tree

5 files changed

+24
-27
lines changed

5 files changed

+24
-27
lines changed

.changeset/bitter-suits-arrive.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/famous-pianos-help.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/manual-note-1.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# unicode-segmenter
22

3+
## 0.14.0
4+
5+
### Minor Changes
6+
7+
- cbd1a07: Deprecated `unicode-segmenter/utils` entry.
8+
9+
Never used internally anymore. It's too simple, better to inline if needed.
10+
11+
### Patch Changes
12+
13+
- dbca35f: Improve runtime perf on the Unicode text processing.
14+
15+
By using a precomputed lookup table for the grapheme categries of BMP characters, it improves perf by more than 10% for common cases, even ~30% for some extream cases.
16+
17+
The lookup table consumes an additional 64 KB of memory, which is acceptable for most JavaScript runtime environments.
18+
19+
This optimization is introduced by OpenCode w/ OpenAI's GPT-OSS-120B. It is the second successful attempt at meaningful optimization in this library.
20+
(The first one was the Claude Code w/ Claude Opus 4.0)
21+
22+
- 782290b: Several minor perf improvements and internal cleanup.
23+
24+
Even with the new optimization paths, the bundle size has barely increased.
25+
326
## 0.13.2
427

528
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unicode-segmenter",
3-
"version": "0.13.2",
3+
"version": "0.14.0",
44
"type": "module",
55
"description": "A lightweight implementation of the Unicode Text Segmentation (UAX #29)",
66
"license": "MIT",

0 commit comments

Comments
 (0)