Releases: markjoshwel/tomlantic
Releases · markjoshwel/tomlantic
v0.2.1
another quality of life update!
changes
- update docstrings and api reference for toml get and set functions to mention the document argument (#3)
fixed by @vlshields in #7
new contributors
- thanks a bunch to @vlshields for #7!
v0.2.0
moar quality of life methods!
additions
-
added
get_toml_field
andset_toml_field
for programatically handling toml documents -
added
ModelBoundTOML.get_field
andModelBoundTOML.set_field
for programatically handling ModelBoundTOMLs -
added
ModelBoundTOML.difference_between_document
to see what fields have been changed between the 'outgoing' ModelBoundTOML and the 'incoming' TOMLDocument- for this, a new namedtuple class,
tomlantic.Differences
was made
- for this, a new namedtuple class,
-
added
ModelBoundTOML.load_from_document
to load in changes from an 'incoming' TOMLDocument
useful for loading in a newer configuration file from disk or something
see the api details for details!
v0.1.3
changes
- improved TOMLBaseSingleError docstring and add .msg attribute
maps closer to pydantic errors; should make more sense for devs coming from pydantic
v0.1.2
v0.1.1
changes
- bumped down tomlkit and pydantic to their lowest supported version for tomlantic to work
v0.1.0
first working version!