v6.0.0
Summary
This release is marked as breaking because command line interfaces (inifix-validate
and inifix-format
) were removed and all submodules were marked as private. In practice none of this is expected to break any known use case.
Many small internal improvements were applied. The code now type checks even in strict mode with both mypy and basedpyrigth, and is even more thoroughly tested.
There are no intended user-visible changes beyond the aforementionned breaking changes.
What's Changed
- TYP: improve some excessively vague (or missing) type annotations by @neutrinoceros in #330
- TYP: refine pyright configuration to allow defensive programming patterns currently flagged as unreachable by @neutrinoceros in #331
- STY: update internal string formatting for stability against ruff 0.9 by @neutrinoceros in #348
- RFC: prefer dataclasses to named tuples by @neutrinoceros in #349
- RFC: refactor internals of section parsing to avoid
typing.cast
by @neutrinoceros in #329 - TYP: reconfigure mypy (enable strict mode) by @neutrinoceros in #352
- TYP: avoid
typing.Any
, prefer annotating vars asobject
in places where type is alrady narrowed by logic by @neutrinoceros in #355 - API: rewrite inifix's CLIs as a separate, private
typer
app by @neutrinoceros in #354 - API: mark all submodules as private by @neutrinoceros in #359
- DOC: remove linting-related badges, add uv's by @neutrinoceros in #365
- RFC: move CLI's logic to
__main__
module by @neutrinoceros in #367 - TST: test against oldest dependencies by @neutrinoceros in #366
- TYP: add
basedpyright
to type checking test matrix by @neutrinoceros in #368 - RFC: rewrite enotation module by @neutrinoceros in #369
- DEPR: ensure deprecated import still works in inifix 6.0 by @neutrinoceros in #371
- TST: add property-based tests for enotation module by @neutrinoceros in #373
- RFC: refactor float encoding (encapsulate the case we e-notation is not explicitly asked for) by @neutrinoceros in #375
- TST: add a workflow to check pre-commit hooks by @neutrinoceros in #376
- TST: show diff on failure in pre-commit trial checks by @neutrinoceros in #377
- REL: prepare release 6.0.0 by @neutrinoceros in #378
Full Changelog: v5.1.3...v6.0.0