v5.0.0
What's Changed
This release introduces a couple minor but technically breaking API changes, though it is not expected to break known applications.
See the CHANGELOG for details.
This release is also more thoroughly tested than previous ones:
- multithreading is now tested for thread safety against the free-threading build of Python 3.13
- roundtrips stability is now tested with property-based testing using
hypothesis
(instead of relying on a set of manually discovered examples). This allowed the discovery (and fixing) of a couple edge case bugs.
Python 3.10 and newer is supported.
Details
- DOC: bump package version in pre-commit setup examples by @neutrinoceros in #222
- Bump mypy from 1.10.0 to 1.10.1 in /requirements in the actions group by @dependabot in #223
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #224
- MNT: drop support for CPython 3.9 by @neutrinoceros in #225
- Bump mypy from 1.10.1 to 1.11.1 in /requirements in the actions group by @dependabot in #226
- TST: add a test case for formatting many files at once by @neutrinoceros in #227
- RFC: refactor inifix-format in prep for threading parallelism by @neutrinoceros in #228
- TST: setup concurrency testing by @neutrinoceros in #230
- TST: add concurrency test case for inifix-validate by @neutrinoceros in #232
- BUG: fix a bug (unreleased) where
inifix-format
outputs would not necessarilly retain chronological order between stdout and stdin by @neutrinoceros in #231 - PERF: implement multi-threading parallelism in
inifix-format
CLI by @neutrinoceros in #229 - TST: run concurrency tests on CPyhton 3.13t too by @neutrinoceros in #233
- CLN: cleanup unused private code by @neutrinoceros in #236
- API: make loaders roundtrip stable by default by @neutrinoceros in #235
- DOC: fixup backward compatibility claims about
integer_casting
by @neutrinoceros in #237 - DOC: fixup documentation for
integer_casting
by @neutrinoceros in #238 - TST: simplify test parametrization by @neutrinoceros in #239
- TST: generalize some property-based tests with hypothesis by @neutrinoceros in #240
- TST: refine a test case by @neutrinoceros in #241
- TST: rewrite roundtrip tests using hypothesis by @neutrinoceros in #242
- BUG: fix a corner case where data would be lost on dump for empty string values by @neutrinoceros in #243
- BUG: fix bugs around decoding supported bool values by @neutrinoceros in #245
- ENH: add and document
inifix.format_string
, replacing previously undocumentedinifix.iniformat
by @neutrinoceros in #246 - DOC: auto fix english typos by @neutrinoceros in #247
- API: restrict bool-like unescaped strings to lower, upper, or title cases by @neutrinoceros in #248
- DOC: proof-read doc for version 5.0.0 by @neutrinoceros in #244
- REL: prepare release 5.0.0 by @neutrinoceros in #249
Full Changelog: v4.5.0...v5.0.0