---
title: "textmetrics 0.12.0 Breaking Changes on Hex | Since.dev"
description: "What each textmetrics release removed, renamed or changed: 12 breaking changes in 2 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/textmetrics
last_updated: 2026-12-04
---

# textmetrics breaking changes

textmetrics 0.12.0 (November 23, 2026) is its newest release with breaking changes, 6 of them. The first: Behavior changed count_sentences. Every breaking API change we have recorded in textmetrics on Hex: 12 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.12.0`, released November 23, 2026. MIT license. [Source repository](https://github.com/nao1215/textmetrics)

- From [0.10.0](#v-0-10-0) to [0.12.0](#v-0-12-0): 6 breaking changes in 1 version.

## textmetrics 0.12.0 breaking changes

textmetrics 0.12.0, released November 23, 2026: 6 breaking changes.

- **Behavior changed** `count_sentences`  

A closing quotation mark or bracket after a terminator no longer starts a new sentence, so sentence counts and readability scores change for such text. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.12.0)
- **Behavior changed** `count_words`  

Words now follow UAX #29 rules, so apostrophes, periods, and similar punctuation between letters or digits stay inside one word; count_words("don't stop") is now 2 instead of 3. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.12.0)
- **Behavior changed** `jaro`  

The transposition count is now half the mismatched matched pairs rounded down, so scores for some inputs change (for example jaro("bdab", "daabcbbc") is now 0.75 instead of 0.7083). [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.12.0)
- **Behavior changed** `jaro_winkler`  

jaro_winkler inherits the changed Jaro transposition count, so its scores can differ from 0.11.0. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.12.0)
- **Behavior changed** `rank_jaro_winkler`  

rank_jaro_winkler inherits the changed Jaro transposition count, so its scores can differ from 0.11.0. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.12.0)
- **Behavior changed** `to_unified`  

Script elements containing a line feed now return Error(LineContainsNewline(line)) instead of rendering as two diff lines. Code that relied on the old output must handle the error. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.12.0)

## textmetrics 0.10.0 breaking changes

textmetrics 0.10.0, released November 22, 2026: 6 breaking changes.

- **Behavior changed** `count`  

Graphemes starting with punctuation, symbols, other numbers, keycap emoji or spaces are no longer counted as letters by characters and readability scores. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.10.0)
- **Behavior changed** `count.sentences`  

Text containing the newly recognised sentence-ending characters will split into more sentences than before. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.10.0)
- **Behavior changed** `search.rank_jaro_winkler`  

Ranking scores change for some string pairs, so result order may differ. Review any thresholds tuned to the old scores. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.10.0)
- **Behavior changed** `similarity`  

Strings that differ only in composed versus decomposed form now compare as equal. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.10.0)
- **Behavior changed** `similarity.jaro_winkler`  

Scores change for some string pairs, so fixed match thresholds may select different pairs. Review any thresholds tuned to the old scores. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.10.0)
- **Behavior changed** `similarity.jaro_winkler_with`  

Scores change for some string pairs, so fixed match thresholds may select different pairs. Review any thresholds tuned to the old scores. [github.com](https://github.com/nao1215/textmetrics/releases/tag/v0.10.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
