File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project are documented in this file.
44
5+ ## [ 2.1.1] - 2026-04-22
6+
7+ ### Documentation
8+
9+ - ** ` similarity ` ** : documented the formula (normalized Levenshtein:
10+ ` 1.0 - distance(a, b) / max(len(a), len(b)) ` ). Added edge-case examples
11+ (` "" ` / ` "" ` → 1.0, fully different → 0.0).
12+ - ** ` ascii_fold_no_decompose ` ** : explained when to use it vs ` ascii_fold ` —
13+ skips NFD decomposition, applies only the precomposed replacement table.
14+ Added concrete examples.
15+ - ** ` strip ` ** : clarified that ` chars ` is a ** set of graphemes** , not a
16+ literal substring (analogous to Python's ` str.strip ` ).
17+ - ** ` slugify_opts ` ** : documented that ` max_len: -1 ` means no limit;
18+ ` max_len: 0 ` produces an empty string. Added examples for all options.
19+ - ** ` chars ` ** : promoted the experimental warning to be more prominent —
20+ function may produce incorrect results on complex Unicode sequences.
21+ Directs users to ` chars_stdlib ` for correctness.
22+ - ** ` pascal_to_snake ` ** : noted explicitly that it is an alias for
23+ ` camel_to_snake ` with identical behaviour.
24+ - ** README** : fixed ` fill ` example — was showing string ` "both" ` instead
25+ of the ` Both ` type constructor.
26+
27+ ---
28+
529## [ 2.1.0] - 2026-03-31
630
731### Added
You can’t perform that action at this time.
0 commit comments