docstub 0.5.0¶
We’re happy to announce the feature release of docstub 0.5.0 on 2025-10-25! This release supports Python 3.12 to 3.14.
Enhancement¶
Improve output and error reporting. All output of docstub is now controllable with the existing
--verboseoption and the new--quietoption. Also indicate the (severity) level of output with a single char, e.g. “I” for information or “W” for warnings (#79).Automatically add a
py.typedfile alongside generated stubs. This ensures that type checkers can make use of the stubs (#98).Include stubs for docstub in the distribution packages (#96).
Deprecations¶
Remove array expressions inspired by scikit-image. This impacts forms like
(M, 3) int array. Instead, prefer the more expressive convention used by scikit-learn, for example,array of dtype int and shape (M, 3)(#77).
Bug Fixes¶
Documentation¶
Setup HTML documentation on Read the Docs (#84).
Update documentation and add a glossary with a few central terms (#84).
Add a dedicated installation guide to the documentation (#97).
Add a short section on “Distributing stubs files” to the introduction guide. This also describes docstubs behavior regarding
py.typedfiles (#98).Improve introduction statement in introduction guide (#100).
DevOps¶
Add (some) suggestions from repo-review (#81).
Bump actions/checkout from 4 to 5 in the actions group (#82).
Use
macos-latestrunner (#85).Bump actions/setup-python and pypa/gh-action-pypi-publish (#86).
Add zizmor as pre-commit hook (#87).
Add 14 days cooldown period to dependabot (#88).
Test on Python 3.14 (#90).
Explicitly place Read the Docs ethical ads (#92).
Pad ethical ad from Read the Docs (#93).
Add the version string to the sidebar in the HTML docs (#95).
Prevent
.github/scripts/assert-unchanged.shfrom exiting early (#98).
Maintenance¶
Contributors¶
3 authors added to this release (alphabetically):
Lars GrĂĽter (@lagru)
Seth G (@geographika)
3 reviewers added to this release (alphabetically):
Dan Baston (@dbaston)
Lars GrĂĽter (@lagru)
Seth G (@geographika)