Skip to content

Update sphinx-autodoc-typehints to 3.12.1#238

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-sphinx-autodoc-typehints-3.0.0-to-3.12.1
Open

Update sphinx-autodoc-typehints to 3.12.1#238
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-sphinx-autodoc-typehints-3.0.0-to-3.12.1

Conversation

@pyup-bot

@pyup-bot pyup-bot commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

This PR updates sphinx-autodoc-typehints from 3.0.0 to 3.12.1.

Changelog

3.11.0

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* ✨ feat(resolver): type C data descriptors from stub files by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/716


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

3.10.6

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(docstring): keep types on params with a trailing underscore by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/714
* ♻️ refactor(tests): fold per-issue test files into topical ones by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/715
* 🐛 fix(resolver): survive PEP 649 lazy annotation evaluation errors by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/713


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

3.10.5

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* process_signature: don't skip the first arg on bound instance methods by ilia-kats in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/705
* 🐛 fix(annotations): use class role for Ellipsis/NotImplementedType on 3.13+ by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/707

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

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

3.10.4

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(annotations): avoid NameError for TYPE_CHECKING-only annotations on 3.14 by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/704


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

3.10.3

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* Show version in error tracebacks by kdeldycke in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/687
* Support PEP 695 `type` statement and python 3.12+ `TypeAliasType` by lochhh in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/691
* Fix typehints_formatter cache warning by RazerM in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/696
* 🐛 fix(stubs): resolve type hints for PyO3 native submodules by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/702

New Contributors
* kdeldycke made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/687
* lochhh made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/691
* RazerM made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/696

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

3.10.2

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(ivar): tolerate malformed :ivar field entries by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/684


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

3.10.1

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(resolver): surface hints for no_type_check targets by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/681


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

3.10.0

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🔒 ci(workflows): add zizmor security auditing by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/672
* ✨ feat(resolver): auto-inject :vartype: for annotated instance vars by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/678
* 🐛 fix(intersphinx): skip union aliases in type mapping by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/679


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

3.9.11

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(stubs): resolve imports inside if-blocks in .pyi stubs by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/670
* 🐛 fix(stubs): evaluate stub-only definitions for annotation resolution by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/671


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

3.9.10

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(stubs): use __new__ param annotations not class vars by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/667
* 🐛 fix(stubs): prevent forward ref warnings from stub annotation pollution by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/668


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

3.9.9

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(stubs): resolve relative imports in .pyi stubs by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/663


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

3.9.8

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(docstring): preserve blank line after field list by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/659


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

3.9.7

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(resolver): resolve NamedTuple hints from class by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/657


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

3.9.6

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(stubs): resolve stub type hints for C/Rust extensions by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/655


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

3.9.5

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(stubs): resolve stub imports for type hint evaluation by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/654


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

3.9.4

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(stubs): strip all suffixes for extension modules by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/652


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

3.9.3

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(intersphinx): exclude builtin type aliases from mapping by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/650


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

3.9.2

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(intersphinx): handle objects without __qualname__ by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/648


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

3.9.1

<!-- Release notes generated using configuration in .github/release.yaml at main -->

What's Changed
* 🐛 fix(intersphinx): access inventory dict directly by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/647


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

3.9.0

<!-- Release notes generated using configuration in .github/release.yaml at 3.9.0 -->

What's Changed
* Add permissions to workflows by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/636
* ♻️ refactor(tests): consolidate test infrastructure and reach 100% coverage by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/635
* Move SECURITY.md to .github/SECURITY.md by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/639
* Switch FUNDING.yml to github: gaborbernat by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/640
* Standardize .github files to .yaml suffix by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/641
* ✨ feat(annotations): auto-remap internal type paths via intersphinx by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/644
* ✨ feat(overloads): add opt-out control for overload rendering by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/645
* 🐛 fix(resolver): resolve forward refs in nested attrs classes by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/646


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

3.8.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* ✨ feat(signatures): enable overload signature display by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/625
* ✨ feat(annotations): preserve documented type aliases by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/626
* ✨ feat(annotations): use annotationlib on 3.14+ for forward refs by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/627
* ♻️ refactor(core): extract format-specific submodules by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/628
* ✨ feat(warnings): add source location context by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/629
* ✨ feat(stubs): resolve type hints from .pyi stub files (161) by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/630
* ✨ feat(annotations): support Annotated with Doc() for param descriptions by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/631
* 🧪 test(output): normalize Sphinx text for stable comparisons by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/632
* ✨ feat(attrs): backfill type annotations for attrs classes by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/633
* 📝 docs(readme): rewrite with Diataxis framework by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/634


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

3.7.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Migrate type checking from mypy to ty by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/611
* Move from extras to dependency-groups by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/612
* 🐛 fix(types): resolve PEP 695 type params in annotations by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/614
* fix: separate injected :rtype: from preceding paragraph by lweyrich1 in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/615
* 🐛 fix(rtype): skip Return type for generators with Yields by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/616
* 🐛 fix(guard): silence ImportError for third-party guards by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/617
* 🐛 fix(sig): prevent KeyError in method lookup by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/620
* 🐛 fix(annotations): show NewType as alias name with supertype by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/622
* 🐛 fix(annotations): link enum variants in Literal types by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/623
* 🐛 fix(parser): prevent directive side-effects in snippet parsing by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/624

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

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

3.6.3

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* 🔧 build(tox): migrate from tox.ini to tox.toml by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/609
* Fix extra () after NewType in rendered output by Fridayai700 in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/608
* Fix ValueError on wrapper loops in inspect.unwrap by Fridayai700 in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/607
* Fix IndexError with always_document_param_types and braces-after defaults by Fridayai700 in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/605
* Fix warning for __new__ of NamedTuple subclasses by Fridayai700 in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/606

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

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

3.6.2

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Fix compatibility with 9.1.0 by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/595


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

3.6.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Include metadata in type hints by AllanChain in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/594

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

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

3.6.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Use Sphinx 9 class interface by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/589


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

3.5.2

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Preserve type information from docstrings if no type annotation is present and parameter has default value. by christianaguilera-foundry in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/576

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

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

3.5.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Declare 3.14 support by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/571


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

3.5.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Support Union type on its own by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/570


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

3.4.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Python 3.14 support by gaborbernat in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/569


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

3.3.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

* Warning types and subtypes by fajpunk in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/562

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

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

3.2.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Fixed broken changelog link by agronholm in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/530
* Fix issue 481 by nineteendo in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/533
* Don't add :rtype: None by grayjk in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/538
* Place rtype after directive by grayjk in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/537

New Contributors
* agronholm made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/530
* nineteendo made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/533
* grayjk made their first contribution in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/538

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

3.1.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does by b-kamphorst in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/525

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

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

3.0.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
* Fix roles for `types` module by flying-sheep in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/516
* Update Ruff to 0.9.1 by flying-sheep in https://github.com/tox-dev/sphinx-autodoc-typehints/pull/517


**Full Changelog**: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/3.0.0...3.0.1
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant