Skip to content

Commit

Permalink
Version Packages (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 16, 2024
1 parent 851fc16 commit 0909f1c
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 38 deletions.
17 changes: 0 additions & 17 deletions .changeset/chatty-ghosts-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cold-apes-kiss.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-frogs-provide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-ways-drop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-pigs-camp.md

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# unicode-segmenter

## 0.2.0

### Minor Changes

- 9938499: Getting 2x faster by optimizing hot path. Also with reduced bundle size

By casting Unicode chars to u32 in advance, all internal operations become 32-bit integer operations.

The previous version (v0.1.6) was

- 2.47x faster than Intl.Segmenter
- 2.68x faster than graphemer
- 4.95x faster than grapheme-splitter

Now it is

- 5.04x faster than Intl.Segmenter
- 5.52x faster than graphemer
- 9.83x faster than grapheme-splitter

### Patch Changes

- b6824b5: Mark `sideEffects` on the polyfill bundle
- 7c68863: Reduce bundle size a bit by inlining internal constants, and removing unused insternal state.
- 9938499: Reduce bundle size a bit more
- f1c80b7: Publish sourcemaps

## 0.1.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unicode-segmenter",
"version": "0.1.6",
"version": "0.2.0",
"type": "module",
"description": "A lightweight and fast, pure JavaScript library for Unicode segmentation",
"license": "MIT",
Expand Down

0 comments on commit 0909f1c

Please sign in to comment.