Skip to content

v3.1.2

Choose a tag to compare

@hallettj hallettj released this 30 Dec 03:21
· 11 commits to main since this release
36ef48f

3.1.2 (2025-12-29)

Bug Fixes

  • backward-compatibility issue with quotes around filename placeholder (#119) (369e542)
  • deadlock bug when formatting large files (#94) (f0436cf)
  • properly escape filenames (#118) (74c1bc3)
  • skip unstaged files from git add --intent-to-add (#117) (e8a0b03)

Notes

This release uses the Python shlex library to automatically quote values fed into the {} filename placeholder in formatter commands. Shlex automatically adds single quotes around file names when necessary. Prior to this release the recommendation was to put quotes around {}. That leads to a double quoting issue where '{}' might expand to ''some file.ts''. To avoid this issue for backward compatibility this release automatically removes matching single- or double-quotes immediately around {} in formatter commands. So no changes should be necessary for existing users. But going forward the recommendation is to not quote the {} placeholder.