File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,22 @@ Changelog
22=========
33
44
5+ Version 2.2 (Sep 20, 2023)
6+ --------------------------
7+ Changes:
8+
9+ - 🐛 Fix: Python literals as default arg rendered as ` ... ` (#147 )
10+ - ✨ Add ` --print-safe-value-reprs=REGEX ` CLI option to override the print-safe flag
11+ of Value (for custom default value representations provided via ` pybind11::arg_v() ` ) (#147 )
12+ - ✨ Add ` --enum-class-locations=REGEX:LOC ` CLI option to rewrite enum values as valid
13+ Python expressions with correct imports. (#147 )
14+
15+ ⚠️ This release detects more invalid expressions in bindings code.
16+ Previously Enum-like representations (e.g. ` <MyEnum.Zero: 0> ` ) were always treated
17+ as non-printable values and were rendered as ` ... ` .
18+ The invalid expressions should be acknowledged by ` --enum-class-locations ` or ` --ignore-invalid-expressions ` .
19+
20+
521Version 2.1 (Sep 6, 2023)
622--------------------------
723Changes:
Original file line number Diff line number Diff line change 66 maintainer_email = "[email protected] " ,
77 description = "PEP 561 type stubs generator for pybind11 modules" ,
88 url = "https://github.com/sizmailov/pybind11-stubgen" ,
9- version = "2.1 " ,
9+ version = "2.2 " ,
1010 long_description = open ("README.md" ).read (),
1111 long_description_content_type = "text/markdown" ,
1212 license = "BSD" ,
You can’t perform that action at this time.
0 commit comments