Releases: jwodder/lineinfile
Releases · jwodder/lineinfile
v0.5.1 — Better `--help` formatting
v0.5.0 — Drop `click` dependency
- Support Python 3.14
- Drop support for Python 3.8 and 3.9
- Drop
clickdependency- As a consequence, CLI arguments of the form
-e REGEXwhereREGEXbegins with a hyphen must now be written as--regexp=REGEX.
- As a consequence, CLI arguments of the form
v0.4.2 — Exclude bad click version
- Exclude click v8.2.2 from dependencies due to breakage caused by pallets/click#3024
v0.4.1 — Packaging updates
- 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 — Bytes paths and Click 8
- Paths passed to
add_line_to_file()andremove_lines_from_file()can now bebytesoros.PathLike[bytes] - Support Click 8
v0.3.0 — Encodings and reusable inserters
- Gave the
add_line_to_file()andremove_lines_from_file()functionsencodinganderrorsarguments - Inserter instances can now be safely reused across multiple calls to
add_line_to_string()/add_line_to_file()
v0.2.0 — Unescaping `line`; options for hyphen-initial arguments
- The
addcommand now expands backslash escapes inline. - Gave
addan-L/--lineoption for specifying theline, especially when it begins with a hyphen. - Gave
removean-e/--regexpoption for specifying theregexp, especially when it begins with a hyphen.
v0.1.0 — Initial release
Version 0.1.0