Releases: sizmailov/pybind11-stubgen
Releases · sizmailov/pybind11-stubgen
2.5.1
Changes:
🐛 Fixed: Missed numpy unsigned int types (#219) by @Yc7521
2.5
🐛 Fixed: Don't render pybind11 KeysView, ValuesView, ItemsView class definitions (#211)
🐛 Fixed: Escape backslashes in stub output (#208)
2.4.2
Changes:
- 🔁 Revert #196 due to poor review
2.4.1
Version 2.4.1 (Nov 25, 2023)
Changes:
- ✨ Automatically replace invalid enum expressions with corresponding valid expression & import (#196) contributed by @ringohoffman
- 🐛 Fixed: do not remove
self
parameter annotation when types do not match (#195) contributed by @ringohoffman
v2.4
Changes:
- ✨ Added
--numpy-array-use-type-var
flag which reformats the pybind11-generated numpy.ndarray[numpy.float32[m, 1]]
annotation as numpy.ndarray[tuple[M, Literal[1]], numpy.dtype[numpy.float32]]
contributed by @ringohoffman (#188)
2.3.7
Changes:
- 🐛 fix: Handle top-level list-like annotations as types (#183)
2.3.6
Changes:
- 🐛 fix: Missing
py::dtype
translation (#179)
2.3.5
Changes:
- 🐛 fix: Wrong import for lowercase
buffer
(#175), issue (#173)
2.3.4
Changes:
- 🐛 fix: Misleading warning that referred to ignored errors (#171)
2.3.3
Changes:
- 🐛 fix: The
typing.Annotated
does not exist in python < 3.9, use typing_extensions
(#168)