@@ -9,14 +9,13 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
99Changes will be added here periodically from the "Suggested changelog entry"
1010block in pull request descriptions.
1111
12- IN DEVELOPMENT
13- --------------
12+ Version 2.10.0 (Jul 15, 2022)
13+ -----------------------------
1414
1515Removed support for Python 2.7, Python 3.5, and MSVC 2015. Support for MSVC
16162017 is limited due to availability of CI runners; we highly recommend MSVC
17172019 or 2022 be used. Initial support added for Python 3.11.
1818
19-
2019New features:
2120
2221* ``py::anyset `` & ``py::frozenset `` were added, with copying (cast) to
@@ -70,6 +69,9 @@ Changes:
7069 requiring ``NDEBUG ``, allowing use with release builds if desired.
7170 `#3913 <https://github.com/pybind/pybind11/pull/3913 >`_
7271
72+ * Implicit conversion of the literal ``0 `` to ``pybind11::handle `` is now disabled.
73+ `#4008 <https://github.com/pybind/pybind11/pull/4008 >`_
74+
7375
7476Bug fixes:
7577
@@ -98,6 +100,14 @@ Bug fixes:
98100* Fix cast from pytype rvalue to another pytype.
99101 `#3949 <https://github.com/pybind/pybind11/pull/3949 >`_
100102
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+
101111* ``pybind11::detail::get_internals() `` is now resilient to in-flight Python
102112 exceptions.
103113 `#3981 <https://github.com/pybind/pybind11/pull/3981 >`_
@@ -147,6 +157,9 @@ Performance and style:
147157* Optimize c++ to python function casting by using the rvalue caster.
148158 `#3966 <https://github.com/pybind/pybind11/pull/3966 >`_
149159
160+ * Optimize Eigen sparse matrix casting by removing unnecessary temporary.
161+ `#4064 <https://github.com/pybind/pybind11/pull/4064 >`_
162+
150163* Avoid potential implicit copy/assignment constructors causing double free in
151164 ``strdup_gaurd ``.
152165 `#3905 <https://github.com/pybind/pybind11/pull/3905 >`_
@@ -182,6 +195,9 @@ Build system improvements:
182195
183196Backend and tidying up:
184197
198+ * New theme for the documentation.
199+ `#3109 <https://github.com/pybind/pybind11/pull/3109 >`_
200+
185201* Remove idioms in code comments. Use more inclusive language.
186202 `#3809 <https://github.com/pybind/pybind11/pull/3809 >`_
187203
0 commit comments