Releases: ProtixIT/dataclass-binder
Releases · ProtixIT/dataclass-binder
v0.3.5
25 Nov 00:16
Compare
Sorry, something went wrong.
No results found
Support TOML formatting with a non-empty context (#52 )
Ignore class-level constants that are not strings when looking for field docstrings (e18818cb )
v0.3.4
18 Aug 01:06
Compare
Sorry, something went wrong.
No results found
Support pathlib.Path as a field annotation (#40 )
v0.3.3
31 Jul 13:46
Compare
Sorry, something went wrong.
No results found
Add Binder.format_toml() method to generate more compact TOML that excludes unused optional parts (#38 )
v0.3.2
27 Jul 01:33
Compare
Sorry, something went wrong.
No results found
Document fields with a default_factory as optional in template (#35 )
Omit values that are formatted equally to the default (#36 )
Require optional fields to have None as their default (#37 )
v0.3.1
17 Jul 14:18
Compare
Sorry, something went wrong.
No results found
Generate template in depth-first order (#28 )
Fix binder creation and formatting for recursive dataclasses (#28 )
v0.3.0
13 Jul 00:30
Compare
Sorry, something went wrong.
No results found
Replace format_template() function by Binder.format_toml_template() method (#23 )
Format nested dataclasses as TOML tables (#25 )
Format untyped mappings and sequences as TOML tables (#27 )
Fix formatting of init=False field in nested dataclasses (#22 )
Fix annotation evaluation on inherited dataclasses (#21 )
v0.2.0
26 Jun 06:27
Compare
Sorry, something went wrong.
No results found
Instantiate Binder instead of specializing it (#14 )
This is an API change, but the old syntax is still supported. The details can be found in the README .
Support typing.Any as a field annotation (#10 )
Fix crash in format_template() on optional fields with non-string annotations (#16 )
v0.1.3
05 Mar 09:05
Compare
Sorry, something went wrong.
No results found
Ignore dataclass fields with init=False (#2 )
v0.1.2
03 Mar 15:44
Compare
Sorry, something went wrong.
No results found
Fix get() and [] on object bound to read-only mapping (#6 )
v0.1.1
22 Feb 17:06
Compare
Sorry, something went wrong.
No results found