Skip to content

Update dependency sphinx-autodoc-typehints to v2

Tine Wittler requested to merge renovate/sphinx-autodoc-typehints-2.x into master

This MR contains the following updates:

Package Type Update Change
sphinx-autodoc-typehints (changelog) dev-dependencies major ^1.7 -> ^2.1

Release Notes

tox-dev/sphinx-autodoc-typehints

v2.1.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/2.0.1...2.1.0

v2.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/2.0.0...2.0.1

v2.0.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.25.3...2.0.0

v1.25.3

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.25.2...1.25.3

v1.25.2

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.25.1...1.25.2

v1.25.1

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.25.0...1.25.1

v1.25.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.24.1...1.25.0

v1.24.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.24.0...1.24.1

v1.24.0

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.23.3...1.24.0

v1.23.3

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.23.2...1.13.2

v1.23.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.23.1...1.23.2

v1.23.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.23.0...1.23.1

v1.23.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.22...1.23.0

v1.22

Compare Source

  • Allow Sphinx explicitly to write in parallel.
  • Fixed crash when documenting ParamSpecArgs

v1.21.8

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.21.7...1.27.8

v1.21.7

Compare Source

  • Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument type would be rendered incorrectly (issue 308)

  • Fixed napoleon handling of numpy docstrings with no specified return type.

v1.21.6

Compare Source

  • Fix a Field list ends without a blank line warning (issue 305).

v1.21.5

Compare Source

  • More robust determination of rtype location / fix issue 302

v1.21.4

Compare Source

  • Improvements to the location of the return type

v1.21.3

Compare Source

  • Use format_annotation to render class attribute type annotations

v1.21.2

Compare Source

  • Fix overloads support

v1.21.1

Compare Source

  • Fix spacing between :rtype: and directives

v1.21.0

Compare Source

What's Changed

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

v1.20.2

Compare Source

  • Fix Optional role to be data.

v1.20.1

Compare Source

  • Fixed default options not displaying for parameters without type hints.

v1.20.0

Compare Source

What's Changed

New Contributors

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

v1.19.5

Compare Source

What's Changed

New Contributors

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

v1.19.4

Compare Source

What's Changed

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

v1.19.3

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.19.2...1.19.3

v1.19.2

Compare Source

  • Fix incorrect domain used for collections.abc.Callable.

v1.19.1

Compare Source

  • Fix bug for recursive type alias.

v1.19.0

Compare Source

v1.18.3

Compare Source

  • Support and require nptyping>=2.1.2

v1.18.2

Compare Source

  • Support and require nptyping>=2.1.1

v1.18.1

Compare Source

  • Fix mocked module import not working when used as guarded import

v1.18.0

Compare Source

  • Support and require nptyping>=2
  • Handle UnionType

v1.17.1

Compare Source

  • Mark it as requiring nptyping<2

v1.17.0

Compare Source

  • Add typehints_use_rtype option
  • Handles TypeError when getting source code via inspect

v1.16.0

Compare Source

  • Add support for type subscriptions with multiple elements, where one or more elements are tuples; e.g., nptyping.NDArray[(Any, ...), nptyping.Float]
  • Fix bug for arbitrary types accepting singleton subscriptions; e.g., nptyping.Float[64]
  • Resolve forward references
  • Expand and better handle TypeVar
  • Add intershpinx reference link for ... to Ellipsis (as is just an alias)

v1.15.3

Compare Source

  • Prevents reaching inner blocks that contains if TYPE_CHECKING

v1.15.2

Compare Source

  • Log a warning instead of crashing when a type guard import fails to resolve
  • When resolving type guard imports if the target module does not have source code (such is the case for C-extension modules) do nothing instead of crashing

v1.15.1

Compare Source

  • Fix fully_qualified should be typehints_fully_qualified

v1.15.0

Compare Source

  • Resolve type guard imports before evaluating annotations for objects
  • Remove set_type_checking_flag flag as this is now done by default
  • Fix crash when the inspect module returns an invalid python syntax source
  • Made formatting function configurable using the option typehints_formatter

v1.14.1

Compare Source

  • Fixed normalize_source_lines() messing with the indentation of methods with decorators that have parameters starting with def.
  • Handle ValueError or TypeError being raised when signature of an object cannot be determined
  • Fix KeyError being thrown when argument is not documented (e.g. cls argument for class methods, and self for methods)

v1.14.0

Compare Source

  • Added typehints_defaults config option allowing to automatically annotate parameter defaults.

v1.13.1

Compare Source

  • Fixed NewType inserts a reference as first argument instead of a string

v1.13.0

Compare Source

  • Dropped Python 3.6 support
  • Python 3.10 support
  • Normalize async functions properly
  • Allow py310 style annotations (PEP-563)

v1.12.0

Compare Source

  • Dropped Python 3.5 support
  • Added the simplify_optional_unions config option (MR by tillhainbach)
  • Fixed indentation of multiline strings (MR by Yuxin Wu)

v1.11.1

Compare Source

  • Changed formatting of None to point to the Python stdlib docs (MR by Dominic Davis-Foster)
  • Updated special dataclass handling (MR by Lihu Ben-Ezri-Ravin)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Tine Wittler

Merge request reports