Sphinx-autodoc-typehints

Latest version: v3.1.0

Safety actively analyzes 723607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

1.21.1

What's Changed
* Fix spacing between `:rtype:` and directives by jakelishman in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/294

New Contributors
* jakelishman made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/294

**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.21.0...1.21.1

1.21.0

What's Changed
* Put Literal args in code blocks by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/288
* Handle collections.abc.Callable as well as typing.Callable by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/289
* Remove redundant return type for attributes by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/287
* Put rtype before examples or usage section by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/290
* If module is _io, use io instead by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/291
* Handle types from types module by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/292


**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.20.2...1.21.0

1.20.2

What's Changed
* Set role to data when creating an Optional from `| None` by hoodmane in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/285

New Contributors
* hoodmane made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/285

**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.20.1...1.20.2

1.20.1

What's Changed
* Fixed default options not displaying for parameters without type hints. by BhavyeMathur in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/279


**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.20.0...1.20.1

1.20.0

What's Changed
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/268
* Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2 by dependabot in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/270
* Bump pypa/gh-action-pypi-publish from 1.5.2 to 1.6.1 by dependabot in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/271
* Bump pypa/gh-action-pypi-publish from 1.6.1 to 1.6.4 by dependabot in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/273
* Added options to retain original typehints in signatures by BhavyeMathur in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/278

New Contributors
* BhavyeMathur made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/278

**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.19.5...1.20.0

1.19.5

What's Changed
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/262
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/264
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/265
* Add link to pyproject-api docs as example of this extension by ketozhang in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/267

New Contributors
* ketozhang made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/267

**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.19.4...1.19.5

Page 7 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.