Skip to content

Releases: sizmailov/pybind11-stubgen

2.5.1

29 Mar 01:22
cf58aa6
Compare
Choose a tag to compare

Changes:
🐛 Fixed: Missed numpy unsigned int types (#219) by @Yc7521

2.5

05 Mar 01:47
7ce3b75
Compare
Choose a tag to compare
2.5
🐛 Fixed: Don't render pybind11 KeysView, ValuesView, ItemsView class definitions (#211)
🐛 Fixed: Escape backslashes in stub output (#208)

2.4.2

27 Nov 01:29
99f14a1
Compare
Choose a tag to compare

Changes:

  • 🔁 Revert #196 due to poor review

2.4.1

25 Nov 10:51
6cfda36
Compare
Choose a tag to compare

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

21 Nov 09:59
adbd6a3
Compare
Choose a tag to compare

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

18 Nov 10:29
223fa12
Compare
Choose a tag to compare

Changes:

  • 🐛 fix: Handle top-level list-like annotations as types (#183)

2.3.6

24 Oct 11:45
afc508f
Compare
Choose a tag to compare

Changes:

  • 🐛 fix: Missing py::dtype translation (#179)

2.3.5

24 Oct 09:40
1b004b5
Compare
Choose a tag to compare

Changes:

  • 🐛 fix: Wrong import for lowercase buffer (#175), issue (#173)

2.3.4

23 Oct 02:48
2f969a1
Compare
Choose a tag to compare

Changes:

  • 🐛 fix: Misleading warning that referred to ignored errors (#171)

2.3.3

22 Oct 03:29
ff57b28
Compare
Choose a tag to compare

Changes:

  • 🐛 fix: The typing.Annotated does not exist in python < 3.9, use typing_extensions (#168)