v0.1.2
What's changed
Rust code quality
- Resolved all clippy pedantic warnings instead of suppressing them — reduced
lint suppressions from 48 to 22 (remaining are genuine PyO3 API constraints). - Combined identical match arms, replaced manual counters with
.enumerate(),
usedclone_into(), merged identical branches, fixed doc comment formatting.
CI & publishing
- Switched to
pypa/gh-action-pypi-publishwith OIDC trusted publishers
(replaces deprecatedmaturin upload). - macOS Intel wheels now cross-compiled on ARM64 runner.
- Doctests run against installed package with
shell: bashfor Windows compat. - Added
ruff check --fixpre-commit hook.
Python
- Added Python 3.14 to classifiers and CI test matrix.
- Fixed
TextPipeline.explain()doctest output format. - Fixed
from __future__ import annotationsplacement in test files. - Widened type stubs:
stopwords/replacementsacceptSequence, added
steps()to_TextPipeline. - Applied
ruff formatto all source and test files.
Bug fixes
- Fixed malformed HTML entity test expectation.
- Removed incorrect PyPy classifier (abi3 is CPython-only).
- Fixed RTD trigger workflow error handling.
Full changelog: v0.1.1...v0.1.2