Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.02 KB

CHANGELOG.md

File metadata and controls

32 lines (28 loc) · 1.02 KB

v0.4.1 (2024-12-01)

  • Support Python 3.10, 3.11, 3.12, and 3.13
  • Drop support for Python 3.6 and 3.7
  • The CLI now always opens files in UTF-8
  • Add type annotations to tests
  • Migrated from setuptools to hatch

v0.4.0 (2021-05-12)

  • Paths passed to add_line_to_file() and remove_lines_from_file() can now be bytes or os.PathLike[bytes]
  • Support Click 8

v0.3.0 (2020-12-27)

  • Gave the add_line_to_file() and remove_lines_from_file() functions encoding and errors arguments
  • Inserter instances can now be safely reused across multiple calls to add_line_to_string()/add_line_to_file()

v0.2.0 (2020-12-21)

  • The add command now expands backslash escapes in line.
  • Gave add an -L/--line option for specifying the line, especially when it begins with a hyphen.
  • Gave remove an -e/--regexp option for specifying the regexp, especially when it begins with a hyphen.

v0.1.0 (2020-12-17)

Initial release