Skip to content

Releases: brentyi/tyro

Release v0.0.20

22 Apr 01:25
Compare
Choose a tag to compare

Improved readability of --help. We now group arguments and generate comment/docstring-based helptext for nested dataclasses.

Release v0.0.19

21 Apr 18:28
Compare
Choose a tag to compare

Redesigned how annotations are parsed and used to instantiate fields; an iterative process is now recursive.

This is simpler, enables more informative error messages, and makes containers slightly more robust; supported annotations now include sequence types containing literals or enums (eg List[Literal[0, 1, 2, 3]] or Tuple[SomeEnum, SomeEnum, SomeEnum]).

Release v0.0.18

11 Apr 00:11
Compare
Choose a tag to compare

Helptext + default value improvements!

Release v0.0.17

25 Mar 19:33
Compare
Choose a tag to compare
Fix faulty enum check during helptext generation

Release v0.0.16

21 Feb 01:10
Compare
Choose a tag to compare

Helptext improvements, fix enum in Literal regression.

Release v0.0.15

24 Jan 05:53
Compare
Choose a tag to compare

Default subcommands, literal metavar tweaks.

Release v0.0.14

21 Jan 09:33
Compare
Choose a tag to compare

Fix metavars for generics

Release v0.0.13

19 Jan 10:11
Compare
Choose a tag to compare

Significantly improved generic handling

Release v0.0.12

14 Jan 03:15
Compare
Choose a tag to compare
Support booleans in fixed-length tuples

Release v0.0.11

08 Jan 01:40
Compare
Choose a tag to compare

Fix % in docstrings for boolean fields.