Skip to content

Releases: python-poetry/tomlkit

0.4.6

16 Oct 16:58
0.4.6
5d949e3
Compare
Choose a tag to compare

Fixed

  • Fixed string parsing behavior.

0.4.5

12 Oct 16:22
0.4.5
fea1210
Compare
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
Compare
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
Compare
Choose a tag to compare

Fixed

  • Fixed insertion of an element after deletion.

0.4.1

06 Aug 20:26
0.4.1
cdb86e0
Compare
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
Compare
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
Compare
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.