Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
node-version: 24
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run test:coverage
- run: npm run build
- run: npm run perf:smoke
- uses: actions/upload-artifact@v4
with:
name: dist
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ All notable changes to this project are documented in this file.
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and the project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]
## [1.2.0] - 2026-08-31

### Added
- Coverage gate in CI (c8, ~99% measured, floors enforced) and a
performance smoke check guarding the hot paths against gross
regressions. (#20)
- `intl-word` and `grapheme` modes via `Intl.Segmenter` (with a `locale`
option): locale-aware word diffs for unspaced scripts (Japanese, Chinese,
Thai) and cluster-safe character diffs (ZWJ emoji, combining sequences).
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![npm version](https://img.shields.io/npm/v/%40krkarma777%2Fstring-diff)](https://www.npmjs.com/package/@krkarma777/string-diff)
[![CI](https://img.shields.io/github/actions/workflow/status/krkarma777/string-diff/ci.yml?branch=master&label=CI)](https://github.com/krkarma777/string-diff/actions/workflows/ci.yml)
[![coverage](https://img.shields.io/badge/coverage-99%25-brightgreen)](https://github.com/krkarma777/string-diff/actions/workflows/ci.yml)
[![weekly downloads](https://img.shields.io/npm/dw/%40krkarma777%2Fstring-diff)](https://www.npmjs.com/package/@krkarma777/string-diff)
[![total downloads](https://badgen.net/npm/dt/@krkarma777/string-diff?label=total%20downloads)](https://npm-stat.com/charts.html?package=%40krkarma777%2Fstring-diff)
[![minzipped size](https://img.shields.io/badge/min%2Bgzip-2.9%20kB-blue)](#how-it-works)
Expand Down
1 change: 1 addition & 0 deletions coverage/tmp/coverage-16633-1788143345429-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16634-1788143344987-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16660-1788143345135-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16661-1788143345416-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16662-1788143345169-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16663-1788143345168-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16664-1788143345125-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16665-1788143345177-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16666-1788143345163-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16667-1788143345169-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16668-1788143345161-0.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coverage/tmp/coverage-16669-1788143345131-0.json

Large diffs are not rendered by default.

Loading
Loading