Skip to content

Upgrading tomlkit 0.6 to 0.7

Review needed0.6.0 → 0.7.2New1Changed1Fixed9

Review neededUpgrade verdict

1 behavior change.

  • When writing out a plain dictionary, keys now keep their original order instead of being sorted automatically.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Python requirement changed in 0.7.0: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* → >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: function dumps(data) → function dumps(data, sort_keys=…)
  • removed: method Container.get(key, default=…)
  • removed: method Container.items()
  • removed: method Container.keys()
  • removed: method Container.update(other)
  • removed: method Container.values()
  • changed: class Container(dict) → class Container(MutableMapping, dict)
  • changed: class OutOfOrderTableProxy(dict) → class OutOfOrderTableProxy(MutableMapping, dict)
  • added: property OutOfOrderTableProxy.value
  • added: class InvalidControlChar(ParseError)
  • added: constructor InvalidControlChar(line, col, char, type)
  • removed: method InlineTable.items()
  • removed: method InlineTable.keys()
  • removed: method InlineTable.update(other)
  • removed: method InlineTable.values()
  • removed: method Table.items()
  • removed: method Table.keys()
  • removed: method Table.update(other)
  • removed: method Table.values()
  • changed: class InlineTable(Item, dict) → class InlineTable(Item, MutableMapping, dict)
  • changed: class Table(Item, dict) → class Table(Item, MutableMapping, dict)
  • changed: constructor Key(k, t=…, sep=…, dotted=…) → constructor Key(k, t=…, sep=…, dotted=…, original=…)
  • changed: function item(value, _parent=…) → function item(value, _parent=…, _sort_keys=…)
  • added: method InlineTable.setdefault(key, default=…)
  • added: method Item.is_aot()
  • added: method Key.is_bare()
  • added: method Table.setdefault(key, default=…)
  • added: variable CHR_DEL
  • added: variable CTRL_CHAR_LIMIT
  • added: variable CTRL_I
  • added: variable CTRL_J
  • added: variable CTRL_M