Pybind11-stubgen

Latest version: v2.5.1

Safety actively analyzes 701762 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

2.1

Changes:

- ✨ Add --stub-extension CLI option (142)

2.0.2

Changes:

- 🐛 Fix: missing `isinstance` check (138)

2.0.1

Changes:

- 🐛 Fix: missing subdirectories for top-level submodules (136)

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 as `numpy.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.dev1

Changes:

- 🐛 Fix missing remap of `numpy.ndarray.flags` (128)
- ✨ Process `scipy.sparse.*` types the same as `numpy.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](https://peps.python.org/pep-0585/) (#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)

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.