Skip to content

Releases: brentyi/tyro

Release v0.5.4

05 Jul 23:19
Compare
Choose a tag to compare

What's Changed

  • Support setting Tuple, Dict, and Union to empty in the command line by @ShenhanQian in #57
  • Support Pydantic 2.0
  • Fixed tests for Python 3.11
  • Cleaned up internals
  • Replace poetry with setuptools

New Contributors

Full Changelog: v0.5.3...v0.5.4

Release v0.5.3

27 May 10:12
Compare
Choose a tag to compare

Fix literals for latest typing_extensions release.

Release v0.5.2

10 May 07:27
e25a020
Compare
Choose a tag to compare
  • Added tyro.conf.OmitArgPrefixes.

Full Changelog: v0.5.1...v0.5.2

Release v0.5.1

05 May 21:00
4f9b3d3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.5.1

Release v0.5.0

05 May 08:54
Compare
Choose a tag to compare

What's Changed

  • Append action for variable-length containers in #47
  • More predictable boolean flag behavior in #50
  • Avoid unnecessary imports when Flax/JAX is installed

Full Changelog: v0.4.2...v0.5.0

Release v0.4.2

12 Mar 08:29
Compare
Choose a tag to compare

Minor subcommand patch for Python 3.10.

Full Changelog: v0.4.1...v0.4.2

Release v0.4.1

12 Mar 06:40
Compare
Choose a tag to compare

What's Changed

  • Fix % character as default str argument in dataclass by @blurgyy in #41
  • Performance improvements
  • Support containers as subcommands
  • Warnings instead of errors for subcommand type mismatches (#20)

New Contributors

Full Changelog: v0.4.0...v0.4.1

Release v0.4.0

20 Feb 23:22
Compare
Choose a tag to compare
  • Add support for os.PathLike by @brentyi in #37
  • Add return_unknown_args to tyro.cli by @JesseFarebro in #35
  • Add support for PathLike classes & objects with new but no init by @JesseFarebro in #38
  • Smarter matching for default subcommands by @brentyi in #33
  • Add support for variadic arguments, as per #39
  • --tyro-print-completion => --tyro-write-completion

Full Changelog: v0.3.38...v0.4.0

Release v0.3.38

26 Jan 02:37
Compare
Choose a tag to compare

Minor improvements for helptext from pydantic dataclasses.

Release v0.3.37

06 Jan 09:12
37cf5b8
Compare
Choose a tag to compare
  • Fix corner case with placing multiple subcommands below the root level (#29)
  • Handle mixing of nested / non-nested types more gracefully
  • Fix a broken f-string (#28)
  • Minor internal improvements