What's Changed * Add workaround for Python<=3.10 `get_type_hints()` bug in https://github.com/brentyi/tyro/pull/157 * Add support for `datetime.{date,time,datetime}` types in https://github.com/brentyi/tyro/pull/155 * Improve error messages for misplaced subcommand options.
- Added `config=` argument to `tyro.cli()`, which takes a sequence of `tyro.conf.*` markers. - Error message improvements for custom constructors and sequences over nested types.
- Expanded type narrowing support for generics with type parameters bound to `Any`. - Support `collections.abc.Sequence`. - Error message improvements. - `tyro.conf.arg(prefix_name=False)` now applies recursively when custom constructors are passed in.
Performance and error message improvements. - Refactoring to shorten `tyro.cli()` stack traces. - Optimized string operations. `tyro.cli()` should run ~15% faster. - Cleaner error messages for unsupported type annotations and subcommand helpers (145).