Skip to content

v2.5.2 — Safer CSV exports

Latest

Choose a tag to compare

@artemo-brd artemo-brd released this 12 Aug 18:35

Highlights

  • CSV exports (export_csv() / export()) are now safer by default: values that spreadsheet apps like Excel, Google Sheets, or LibreOffice could misinterpret as formulas are automatically escaped when the file is opened.
  • New sanitize option (defaults to True) — pass sanitize=False to export_csv() if you need the previous raw export behavior.

What's Changed

  • chore: fix ruff import-sort lint drift in #50
  • fix: sanitize CSV formula injection in export_csv (CWE-1236) in #52

Full Changelog: v2.5.0...v2.5.2