Repository navigation
Release v0.2.1
TopMark v0.2.1 — Release Notes
🛠️ A maintenance release focusing on BOM handling, newline preservation, and comparer stability.
✨ Added
- BOM-aware pipeline behavior:
- Detect BOM in reader and re-attach in updater on all write paths.
- Newline detection utility:
- Centralized utility for consistent newline handling.
- Tests and docs expanded accordingly.
🔄 Changed
- Comparer/renderer/updater flow:
- Consolidated to simplify responsibilities.
- Recognize formatting-only drift as a change.
- Clarified responsibilities with richer docstrings.
- CLI summary bucket precedence:
- Stabilized (e.g., “up-to-date” takes highest precedence).
🐛 Fixed
- Strip command:
- Fast-path edge cases improved.
- BOM and newline preservation edge cases resolved.
- Additional matrix tests and inclusive span coverage added.
📦 Installing / Upgrading
pip install -U topmarkLinks
- PyPI: https://pypi.org/project/topmark/
- Docs: https://shutterfreak.github.io/topmark/
- Full changelog: see
CHANGELOG.mdin the repo - Full Changelog: v0.2.0...v0.2.1