Skip to content

Releases: python-poetry/tomlkit

0.5.1

08 Nov 21:52
0.5.1
4055d06

Choose a tag to compare

Fixed

  • Fixed deletion and replacement of sub tables declared after other tables.

0.5.0

07 Nov 03:09
0.5.0
5a08fb5

Choose a tag to compare

Changed

  • Improved distinction between date(time)s and numbers.

Fixed

  • Fixed comma handling when parsing arrays. (Thanks to @njalerikson)
  • Fixed comma handling when parsing inline tables. (Thanks to @njalerikson)
  • Fixed a KeyAlreadyPresent error when declaring a sub table after other tables.

0.4.6

16 Oct 16:58
0.4.6
5d949e3

Choose a tag to compare

Fixed

  • Fixed string parsing behavior.

0.4.5

12 Oct 16:22
0.4.5
fea1210

Choose a tag to compare

Fixed

  • Fixed trailing commas not raising an error for key/value.
  • Fixed key comparison.
  • Fixed an error when using pickle on TOML documents.

0.4.4

01 Sep 15:34
0.4.4
07442dc

Choose a tag to compare

Fixed

  • Fixed performances issues while parsing on Python 2.7.

0.4.2

06 Aug 21:55
0.4.2
b351d73

Choose a tag to compare

Fixed

  • Fixed insertion of an element after deletion.

0.4.1

06 Aug 20:26
0.4.1
cdb86e0

Choose a tag to compare

Fixed

  • Fixed adding an element after another element without a new line.
  • Fixed parsing of dotted keys inside tables.
  • Fixed parsing of array of tables with same prefix.

0.4.0

23 Jul 21:07
0.4.0
9977a2c

Choose a tag to compare

Added

  • dumps() now also accepts a raw dictionary.

Changed

  • add()/append()/remove() now return the current Container/Table to provide a fluent interface.
  • Most items not behave like their native counterparts.

Fixed

  • Fixed potential new lines inside an inline table.

0.3.0

20 Jul 20:20
0.3.0
6b5336f

Choose a tag to compare

Changed

  • Make new dicts automatically sorted when dumped.
  • Improved new elements placement when building.
  • Automatically convert lists of dicts to arrays of tables.
  • No longer add a new line before standalone tables.
  • Make arrays behave (mostly) like lists.

Fixed

  • Fixed string parsing when before last char is a backslash character.
  • Fixed handling of array of tables after sub tables.
  • Fixed table display order.
  • Fixed handling of super tables with different sections.
  • Fixed raw strings escaping.