Release and Version History¶
Backlog (TODO)¶
Features and Improvements
Minor Improvements
Bugfixes
Miscellaneous
Deprecate
NOTHING,resolve_kwargsin2.X
1.0.2 (2026-04-28)¶
Minor Improvements
Modernize type hints for Python 3.10+: use
dict[str, Any],tuple[...], andX | Noneinstead oftyping.Dict,typing.Tuple,typing.Optional.Add return type annotations to
check_required,_validate, and__post_init__.Improve
to_kwargs()and_split_req_opt()efficiency by using inline dict comprehension instead of routing throughremove_optional(**...).Use idiomatic
value is not OPTinstead of(value is OPT) is Falseinremove_optional().
Bugfixes
Fix incorrect sentinel name
NAin module docstring (should beOPT).Fix docstring examples showing
prepare_kwargs(dict)instead of correctprepare_kwargs(**dict)syntax.Fix doctest showing
ValueErrorinstead ofParamErrorinprepare_kwargsdocstring.Remove incorrect
# pragma: no coverannotations on code paths that are actually covered by tests.
Miscellaneous
Migrate project tooling from Poetry/Makefile to uv/mise.
Update README with comprehensive usage examples and API reference table.
1.0.1 (2025-05-06)¶
Bugfixes
Add the old
NOTHINGAPI in>=0.1.1,<1.0.0back as an alias ofOPT.Add the old
resolve_kwargsAPI in>=0.1.1,<1.0.0back as an alias ofremove_optional.YANK 1.0.0.
1.0.0 (2025-05-05)¶
💥Breaking Changes
Public API are moved away from
func_argstofunc_args.apiname space.All public API in
func_args<1.0.0is removed.NOTHINGis replaced byfunc_args.api.OPT.resolve_kwargsis replaced byfunc_args.api.remove_optional.
Features and Improvements
- Add the following Public APIs.
func_args.api.T_KWARGSfunc_args.api.T_OPT_KWARGSfunc_args.api.ParamErrorfunc_args.api.REQfunc_args.api.OPTfunc_args.api.check_requiredfunc_args.api.remove_optionalfunc_args.api.prepare_kwargsfunc_args.api.BaseModelfunc_args.api.BaseFrozenModel
Upgrade the underlying
sentinelpackage to1.0.0.
0.1.1 (2023-02-16)¶
Features and Improvements
First release
add sentinel
NOTHING.add
resolve_kwargs.