Skip to content

Release v0.2.1

Choose a tag to compare

@github-actions github-actions released this 27 Aug 10:20
· 1069 commits to main since this release

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 topmark

Links