Skip to content

Version Packages#136

Merged
cometkim merged 1 commit into
mainfrom
changeset-release/main
Jul 23, 2026
Merged

Version Packages#136
cometkim merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

  • e94d203: Add collectGraphemes(input) API that collects grapheme clusters into an array directly.

    This is a fast version of [...splitGraphemes(input)], which is acually the most used pattern in practice.

    It's 2-4x faster than the iterator-based approach. However, it collects all grapheme clusters at once, so it's not good for large text or streamed input.

  • 5fcaa4f: Promote countGraphemes() API to be a fast path.

    It avoids generator overhead and only counts boundaries without allocating segments.
    When only counting, it achieves ~10x faster runtime performance and no GC pressure.

@pkg-pr-new

pkg-pr-new Bot commented Jul 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/unicode-segmenter@136

commit: c85f5e8

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e94d203) to head (c85f5e8).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #136   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1033      1033           
=========================================
  Hits          1033      1033           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hq Bot commented Jul 9, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 24 untouched benchmarks
⏩ 12 skipped benchmarks1


Comparing changeset-release/main (c85f5e8) with main (e94d203)

Open in CodSpeed

Footnotes

  1. 12 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@cometkim

This comment was marked as outdated.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from e0217a4 to 1fe6bbe Compare July 22, 2026 08:53
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 1fe6bbe to c85f5e8 Compare July 22, 2026 10:02
@cometkim
cometkim merged commit 5b34af9 into main Jul 23, 2026
6 checks passed
@cometkim
cometkim deleted the changeset-release/main branch July 23, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant