Skip to content

Commit

Permalink
Release 2.4 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
sizmailov authored Nov 21, 2023
1 parent 60728d3 commit adbd6a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

Version 2.4 (Nov 21, 2023)
--------------------------
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)


Version 2.3.7 (Nov 18, 2023)
--------------------------
Changes:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pybind11-stubgen [-h]
[--ignore-all-errors]
[--enum-class-locations REGEX:LOC]
[--numpy-array-wrap-with-annotated|
--numpy-array-use-type-var|
--numpy-array-remove-parameters]
[--print-invalid-expressions-as-is]
[--print-safe-value-reprs REGEX]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
maintainer_email="sergei.a.izmailov@gmail.com",
description="PEP 561 type stubs generator for pybind11 modules",
url="https://github.com/sizmailov/pybind11-stubgen",
version="2.3.7",
version="2.4",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="BSD",
Expand Down

0 comments on commit adbd6a3

Please sign in to comment.