Skip to content

Releases: brentyi/tyro

v0.9.19

18 Apr 06:51
Compare
Choose a tag to compare

What's Changed

  • Development: Push neural net packages and NumPy into a separate optional dependency group to reduce wait on cold setup. by @emcd in #286
  • Add registry parameter to tyro.cli() by @brentyi in #288
  • Add tests for registry parameter in tyro.cli() by @brentyi in #289
  • Add registry parameter to tyro.extras helpers by @brentyi in #290
  • Add default parameter to tyro.conf.arg() by @brentyi in #291

Full Changelog: v0.9.18...v0.9.19

v0.9.18

28 Mar 10:36
Compare
Choose a tag to compare

What's Changed

  • Add support for ml_collections.FrozenConfigDict by @brentyi in #272
  • Consider argument metavar in 'Perhaps you meant' error text by @brentyi in #274
  • Implement warning for duplicate subcommands by @brentyi in #275
  • Drop Python 3.7 support by @brentyi in #280
  • Bump typing_extensions requirement to >=4.13.0 by @brentyi in #276
  • Update README.md by @alok in #283
  • Clean up unnecessary type swapping/narrowing logic by @brentyi in #284
  • Support PEP 727 Doc objects by @emcd in #279
  • Treat unannotated arguments as Any by @brentyi in #285

New Contributors

  • @alok made their first contribution in #283

Full Changelog: v0.9.17...v0.9.18

v0.9.17

13 Mar 01:38
Compare
Choose a tag to compare

What's Changed

  • Consistency improvements for tyro.MISSING by @brentyi in #264
  • Fix subcommand Callable type annotations by @brentyi in #265
  • Improve documentation across the codebase by @brentyi in #266
  • Fix truncation of long Literal options in helptext display by @brentyi in #267
  • Expand tuple narrowing support by @brentyi in #268
  • Fix runtime error with NotRequired[bool] in TypedDict by @brentyi in #269
  • Refactor struct rules into separate files by @brentyi in #270
  • Add ml_collections support with tests by @brentyi in #271

Full Changelog: v0.9.16...v0.9.17

v0.9.16

19 Feb 23:59
fd876ed
Compare
Choose a tag to compare

What's Changed

  • Test + support custom constructor edge case by @brentyi in #259

Full Changelog: v0.9.15...v0.9.16

v0.9.15

19 Feb 20:48
fd76d72
Compare
Choose a tag to compare

Consistency improvements for tyro.extras helpers and fixed an edge case for custom constructors.

What's Changed

  • Support single input for extras.overridable_config_cli and extras.subcommand_type_from_defaults() by @brentyi in #255
  • More consistent arguments for tyro.extras subcommand helpers by @brentyi in #256
  • Fix custom constructor edge case for variable-length positional arguments by @brentyi in #258

Full Changelog: v0.9.14...v0.9.15

v0.9.14

11 Feb 01:46
a809c1e
Compare
Choose a tag to compare

The release contains:

  • Minor bug fixes.
  • New configuration flags: tyro.conf.FlagCreatePairsOff and tyro.conf.HelptextFromCommentsOff.
  • Helptext grouping refinements.

What's Changed

  • Fix tyro.conf.UseAppendAction + abstract Sequence annotations by @brentyi in #248
  • Show flag aliases before auto-generated names in helptext by @brentyi in #247
  • Reduce Unknown types at API boundaries by @brentyi in #249
  • Add flag to turn off helptext generation from comments by @brentyi in #246
  • Add flag to turn off boolean negation by @e3rd in #250
  • Improve prefix omitting flag keep groups in help by @e3rd in #252
  • Restore helptext behavior for erased argument names + tests by @brentyi in #253

New Contributors

  • @e3rd made their first contribution in #250

Full Changelog: v0.9.13...v0.9.14

v0.9.13

23 Jan 10:18
e1deb24
Compare
Choose a tag to compare

What's Changed

  • Correct MRO traversal for inherited fields in #241

Full Changelog: v0.9.12...v0.9.13

v0.9.12

22 Jan 11:49
495545a
Compare
Choose a tag to compare

What's Changed

  • Fix attribute inheritance regression (introduced in 0.9.9) in #240

Full Changelog: v0.9.11...v0.9.12

v0.9.11

18 Jan 01:43
690e04e
Compare
Choose a tag to compare

What's Changed

  • Partial support for type parameters in class methods in #238

Full Changelog: v0.9.10...v0.9.11

v0.9.10

16 Jan 21:49
Compare
Choose a tag to compare

What's Changed

  • Support methods bound to generic classes in #234
  • Workaround for __type_params__ bug in Python 3.12.0 in #236

Full Changelog: v0.9.9...v0.9.10