# What changed in python-levenshtein

> 9 changes in python-levenshtein 0.27 from its official release notes, upgrade guides and advisories: 2 breaking, 3 security. Each one cited. Sources checked 2026-10-26. HTML: https://unstale.sh/pypi/python-levenshtein/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## python-levenshtein 0.27

### Breaking changes

- Removes support for Python 3.10. (0.27.5) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.5)
- Experimental Python 3.13 freethreading wheels were removed. (0.27.4) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.4)

### Security

- Fixed an out-of-bound read in setmedian for empty sequences. (0.27.4) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.4)
- Fixed an out-of-bound read in quickmedian for empty strings. (0.27.4) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.4)
- Fixed a potential out-of-bounds write. (0.27.4) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.4)

### Tooling

- Type hints were added for StringMatcher. (0.27.4) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.4)

### Fixes and other changes

- Avoids unnecessary len calls on iterables, preventing a crash if the iterable changes size after the len call. (0.27.5) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.5)
- Adds support for Python 3.15. (0.27.5) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.5)
- Adds support for Python 3.14. (0.27.3) — [release notes](https://github.com/rapidfuzz/python-Levenshtein/releases/tag/v0.27.3)
