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
On this page
Latest version 0.12.0, released November 23, 2026. MIT license. Source repository
textmetrics 0.12.0 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 - 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 - 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 - Behavior changed
jaro_winkler
jaro_winkler inherits the changed Jaro transposition count, so its scores can differ from 0.11.0. github.com - 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 - 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
textmetrics 0.10.0 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 - Behavior changed
count.sentences
Text containing the newly recognised sentence-ending characters will split into more sentences than before. github.com - 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 - Behavior changed
similarity
Strings that differ only in composed versus decomposed form now compare as equal. github.com - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.