Skip to content

Releases: python-poetry/tomlkit

0.10.0

18 Feb 01:10
c323962
Compare
Choose a tag to compare

Fixed

  • Fix the only child detection when creating tables. (#175)
  • Include the docs/ directory and CHANGELOG.md in sdist tarball. (#176)

Added

  • Add keyword arguments to string API to allow selecting the representation type. (#177)

0.9.2

08 Feb 11:24
1c22797
Compare
Choose a tag to compare

Changed

  • When a table's only child is a table or array of table, it is created as a super table. (#175)

0.9.1

07 Feb 08:21
c75413e
Compare
Choose a tag to compare

Fixed

  • Fix a bug of separators not being kept when replacing the value. (#170)
  • Tuples should be dumped as TOML arrays. (#171)

0.9.0

01 Feb 14:41
4867343
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.0...0.9.0

0.8.0

20 Dec 07:05
50c3790
Compare
Choose a tag to compare

Changed

  • Drop support for Python<3.6. (#151)
  • Comply with TOML v1.0.0. (#154)

Fixed

  • Support copy protocols for table items. (#65)
  • Escape characters in double quoted key string. (#136)
  • Fix the invalid dumping output of multiline array when it is empty. (#139)
  • Fix a bug that tomlkit accepts an invalid table with missing =. (#141)
  • Fix the invalid dumping output when the key is empty. (#143)
  • Fix incorrect string returned by dumps when moving/renaming table. (#144)
  • Fix inconsistent dumps when replacing existing item with nested table. (#145)
  • Fix invalid dumps output when appending to a multiline array. (#146)
  • Fix the KeyAlreadyPresent when the table is separated into multiple parts. (#148)
  • Preserve the line endings in TOMLFile. (#149)

0.7.2

20 May 20:28
0.7.2
a4d43a7
Compare
Choose a tag to compare

Fixed

  • Fixed an error where container's data were lost when copying. (#126)
  • Fixed missing tests in the source distribution of the package. (#127)

0.7.1

19 May 21:58
0.7.1
8783149
Compare
Choose a tag to compare

Fixed

  • Fixed an error with indent for nested table elements when updating. (#122)
  • Fixed various issues with dict behavior compliance for containers. (#122)
  • Fixed an internal error when empty tables were present after existing ones. (#122)
  • Fixed table representation for dotted keys. (#122)
  • Fixed an error in top level keys handling when building documents programmatically. (#122)
  • Fixed compliance with mypy by adding a py.typed file. (#109)

0.7.0

31 Jul 10:24
0.7.0
2c4dc76
Compare
Choose a tag to compare

Added

  • Added support for sorting keys when dumping raw dictionaries by passing sort_keys=True to dumps() (#103).

Changed

  • Keys are not longer sorted by default when dumping a raw dictionary but the original order will be preserved (#103).

Fixed

  • Fixed compliance with the 1.0.0rc1 TOML specification (#102).

0.6.0

15 Apr 11:49
0.6.0
13c5292
Compare
Choose a tag to compare

Added

  • Added support for heterogeneous arrays (#92).

0.5.11

29 Feb 17:22
0.5.11
cac5893
Compare
Choose a tag to compare

Fixed

  • Fix containers and our of order tables dictionary behavior (#82).