Releases: sizmailov/pybind11-stubgen
Releases · sizmailov/pybind11-stubgen
v2.3.1: Make sure splitlines is not called on None (#161)
Changes:
- 🐛 fix: Crash on
None
-valued docstring of property getter (#161)
2.3
2.2.1
2.2
Changes:
- 🐛 Fix: Python literals as default arg rendered as
...
(#147) - ✨ Add
--print-safe-value-reprs=REGEX
CLI option to override the print-safe flag
of Value (for custom default value representations provided viapybind11::arg_v()
) (#147) - ✨ Add
--enum-class-locations=REGEX:LOC
CLI option to rewrite enum values as valid
Python expressions with correct imports. (#147)
<MyEnum.Zero: 0>
) were always treated as non-printable values and were rendered as ...
. The invalid expressions should be acknowledged by --enum-class-locations
or --ignore-invalid-expressions
.
2.1
2.0.2
2.0.1
2.0.dev1
Changes:
- 🐛 Fix missing remap of
numpy.ndarray.flags
(#128) - ✨ Process
scipy.sparse.*
types the same asnumpy.ndarray
with--numpy-array-wrap-with-annotated
(#128) - ✨ Support dynamic array size with
--numpy-array-wrap-with-annotated
(#128) - ❗️ Renamed CLI argument
--numpy-array-wrap-with-annotated-fixed-size
to--numpy-array-wrap-with-annotated
(#128)
2.0
Changes:
- 🐛 Explicitly set encoding of stubs to utf-8 (#133)
- 🐛 Fix value representation for collections with print-unsafe elements (#132)
- 🐛 Fix missing remap of
numpy.ndarray.flags
(#128) - ✨ Process
scipy.sparse.*
types the same asnumpy.ndarray
with--numpy-array-wrap-with-annotated
(#128) - ✨ Support dynamic array size with
--numpy-array-wrap-with-annotated
(#128) - ❗️ Renamed CLI argument
--numpy-array-wrap-with-annotated-fixed-size
to--numpy-array-wrap-with-annotated
(#128)
1.2
Changes:
- 🐛 Fix compatibility with Python 3.7..3.9 (#124)
- 🐛 Fix incorrect list of base classes (#123)
- ✨ Replace
typing
collections with builtin types (e.g.typing.List
->list
) according
to PEP 585 (#122) - ✨ Add missing translations of pybind types:
function
->Callable
,object
/handle
->typing.Any
(#121) - ✨ Support function-valued default arguments (#119)
- 🐛 Fix missing properties docstrings (#118)