Skip to content

Releases: neutrinoceros/inifix

v1.2.1

17 Apr 11:21
d809335
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

19 Mar 11:29
63460ce
Compare
Choose a tag to compare

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

23 Feb 14:34
e54bdbe
Compare
Choose a tag to compare

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

10 Feb 18:11
de4318f
Compare
Choose a tag to compare

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

30 Jan 09:51
7a1af79
Compare
Choose a tag to compare

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

29 Jan 23:45
4686cd2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

15 Jan 16:04
6858cc8
Compare
Choose a tag to compare

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

05 Jan 10:30
357470e
Compare
Choose a tag to compare

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

04 Jan 19:22
d6d97c2
Compare
Choose a tag to compare

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

04 Jan 18:39
f5bec79
Compare
Choose a tag to compare

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