Releases: brentyi/tyro
Releases · brentyi/tyro
v0.9.19
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
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
Full Changelog: v0.9.17...v0.9.18
v0.9.17
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
v0.9.15
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
andextras.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
The release contains:
- Minor bug fixes.
- New configuration flags:
tyro.conf.FlagCreatePairsOff
andtyro.conf.HelptextFromCommentsOff
. - Helptext grouping refinements.
What's Changed
- Fix
tyro.conf.UseAppendAction
+ abstractSequence
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
Full Changelog: v0.9.13...v0.9.14