@@ -9,14 +9,13 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
9
9
Changes will be added here periodically from the "Suggested changelog entry"
10
10
block in pull request descriptions.
11
11
12
- IN DEVELOPMENT
13
- --------------
12
+ Version 2.10.0 (Jul 15, 2022)
13
+ -----------------------------
14
14
15
15
Removed support for Python 2.7, Python 3.5, and MSVC 2015. Support for MSVC
16
16
2017 is limited due to availability of CI runners; we highly recommend MSVC
17
17
2019 or 2022 be used. Initial support added for Python 3.11.
18
18
19
-
20
19
New features:
21
20
22
21
* ``py::anyset `` & ``py::frozenset `` were added, with copying (cast) to
@@ -70,6 +69,9 @@ Changes:
70
69
requiring ``NDEBUG ``, allowing use with release builds if desired.
71
70
`#3913 <https://github.com/pybind/pybind11/pull/3913 >`_
72
71
72
+ * Implicit conversion of the literal ``0 `` to ``pybind11::handle `` is now disabled.
73
+ `#4008 <https://github.com/pybind/pybind11/pull/4008 >`_
74
+
73
75
74
76
Bug fixes:
75
77
@@ -98,6 +100,14 @@ Bug fixes:
98
100
* Fix cast from pytype rvalue to another pytype.
99
101
`#3949 <https://github.com/pybind/pybind11/pull/3949 >`_
100
102
103
+ * Ensure proper behavior when garbage collecting classes with dynamic attributes in Python >=3.9.
104
+ `#4051 <https://github.com/pybind/pybind11/pull/4051 >`_
105
+
106
+ * A couple long-standing ``PYBIND11_NAMESPACE ``
107
+ ``__attribute__((visibility("hidden"))) `` inconsistencies are now fixed
108
+ (affects only unusual environments).
109
+ `#4043 <https://github.com/pybind/pybind11/pull/4043 >`_
110
+
101
111
* ``pybind11::detail::get_internals() `` is now resilient to in-flight Python
102
112
exceptions.
103
113
`#3981 <https://github.com/pybind/pybind11/pull/3981 >`_
@@ -147,6 +157,9 @@ Performance and style:
147
157
* Optimize c++ to python function casting by using the rvalue caster.
148
158
`#3966 <https://github.com/pybind/pybind11/pull/3966 >`_
149
159
160
+ * Optimize Eigen sparse matrix casting by removing unnecessary temporary.
161
+ `#4064 <https://github.com/pybind/pybind11/pull/4064 >`_
162
+
150
163
* Avoid potential implicit copy/assignment constructors causing double free in
151
164
``strdup_gaurd ``.
152
165
`#3905 <https://github.com/pybind/pybind11/pull/3905 >`_
@@ -182,6 +195,9 @@ Build system improvements:
182
195
183
196
Backend and tidying up:
184
197
198
+ * New theme for the documentation.
199
+ `#3109 <https://github.com/pybind/pybind11/pull/3109 >`_
200
+
185
201
* Remove idioms in code comments. Use more inclusive language.
186
202
`#3809 <https://github.com/pybind/pybind11/pull/3809 >`_
187
203
0 commit comments