Skip to content

Commit 209baf5

Browse files
Version Packages (#71)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 66e3a6c commit 209baf5

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

.changeset/silver-flowers-refuse.md

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

.changeset/spotty-rockets-notice.md

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

CHANGELOG.md

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

3+
## 0.12.0
4+
5+
### Minor Changes
6+
7+
- 21cd789: Removed deprecated APIs
8+
9+
- `searchGrapheme` in `unicode-segmenter/grapheme`
10+
- `takeChar` and `takeCodePoint` in `unicode-segmenter/utils`
11+
12+
Which are used internally before, but never from outside.
13+
14+
- 483d258: Reduced bundle size, while keeping the best perf
15+
16+
Some details:
17+
18+
- Refactored to use the same code path internally as possible.
19+
- Removed pre-computed jump table, the optimization were compensated for by other perf improvements.
20+
- Previous array layout to avoid accidental de-opt turned out to be overkill. The regular tuple array is well optimized, so I fall back to using good old plain binary search.
21+
- Some experiments like new encoding and eytzinger layout for more aggressive improvements, but no success.
22+
323
## 0.11.3
424

525
### 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.11.3",
3+
"version": "0.12.0",
44
"type": "module",
55
"description": "A lightweight implementation of the Unicode Text Segmentation (UAX #29)",
66
"license": "MIT",

0 commit comments

Comments
 (0)