Releases: neutrinoceros/inifix
v1.2.1
What's Changed
- DOC: revise phrasing and typos by @neutrinoceros in #101
- BUG: fix section invalidation by @neutrinoceros in #102
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
new public API fonction
added inifix.dumps
and inifix.loads
convenience functions to mirror std lib module json
API
contributed by @neutrinoceros in #99
Bug fixes
With this release I'm changing type casting rules for number using the exponent notation, and restricting it to floats, while in previous versions "1e5"
would be decoded as an integer, and int(100_000)
would conversely be encoded as "1e5"
. The previous behaviour was problematic because Idefix (1.0) itself cannot parse this notation if it's used for integers.
fix by @neutrinoceros in #99
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- ENH: inifix-format now produces more compact files, with fewer empty lines. by @neutrinoceros in #98
Full Changelog: v1.0.3...v1.1.0
v1.0.3
What's Changed
- BUG: don't try to be clever with cumulative retcodes to avoid retcode overflow by @neutrinoceros in #97
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- TYP: add py.typed marker file to improve downstream type-checking by @neutrinoceros in #95
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- TYP: fix a conditional in types def by @neutrinoceros in #94
- TYP: improve type-correctness by @neutrinoceros in #93
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
The API is now declared stable and any future intentionally breaking change
will follow a deprecation cycle.
- DEPR: drop support for Python 3.6 and 3.7, inifix now requires Python 3.8 or newer
- DEPR: end deprecation cycle for function arguments marked as "future-potisional-only"
- ENH: simplify internal logic (remove a non-user facing class, InifixConf)
- TYP: add mypy conf, add missing type annotations
Full Changelog: v0.11.2...v1.0.0
v0.11.2
What's Changed
- BUG: fix formatting for files with only sections and comments (no parameters) by @neutrinoceros in #90
Full Changelog: v0.11.1...v0.11.2
v0.11.1
What's Changed
- BUG: pretty pring warnings from iniformat so they don't look as bad from the CLI by @neutrinoceros in #89
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
This version changes the behaviour of the inifix formatter. Now files are formatted in place by default, and a diff can be printed to stdout using the --diff
flag. This is more in line with how most widely adopted formatters work in the Python ecosystem.
- ENH: replace --inplace option in inifix-format with a --diff option by @neutrinoceros in #87
Full Changelog: v0.10.0...v0.11.0