@@ -15,6 +15,60 @@ IN DEVELOPMENT
1515
1616Changes will be summarized here periodically.
1717
18+ Version 2.10.2 (Dec 20, 2022)
19+ -----------------------------
20+
21+ Changes:
22+
23+ * ``scoped_interpreter `` constructor taking ``PyConfig ``.
24+ `#4330 <https://github.com/pybind/pybind11/pull/4330 >`_
25+
26+ * ``pybind11/eigen/tensor.h `` adds converters to and from ``Eigen::Tensor `` and
27+ ``Eigen::TensorMap ``.
28+ `#4201 <https://github.com/pybind/pybind11/pull/4201 >`_
29+
30+ * ``PyGILState_Check() ``'s were integrated to ``pybind11::handle ``
31+ ``inc_ref() `` & ``dec_ref() ``. The added GIL checks are guarded by
32+ ``PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF ``, which is the default only if
33+ ``NDEBUG `` is not defined.
34+ `#4246 <https://github.com/pybind/pybind11/pull/4246 >`_
35+
36+ * Add option for enable/disable enum members in docstring.
37+ `#2768 <https://github.com/pybind/pybind11/pull/2768 >`_
38+
39+ * Fixed typing of ``KeysView ``, ``ValuesView `` and ``ItemsView `` in ``bind_map ``.
40+ `#4353 <https://github.com/pybind/pybind11/pull/4353 >`_
41+
42+ Bug fixes:
43+
44+ * Bug fix affecting only Python 3.6 under very specific, uncommon conditions:
45+ move ``PyEval_InitThreads() `` call to the correct location.
46+ `#4350 <https://github.com/pybind/pybind11/pull/4350 >`_
47+
48+ * Fix segfault bug when passing foreign native functions to functional.h.
49+ `#4254 <https://github.com/pybind/pybind11/pull/4254 >`_
50+
51+ Build system improvements:
52+
53+ * Support setting PYTHON_LIBRARIES manually for Windows ARM cross-compilation
54+ (classic mode).
55+ `#4406 <https://github.com/pybind/pybind11/pull/4406 >`_
56+
57+ * Extend IPO/LTO detection for ICX (a.k.a IntelLLVM) compiler.
58+ `#4402 <https://github.com/pybind/pybind11/pull/4402 >`_
59+
60+ * Allow calling ``find_package(pybind11 CONFIG) `` multiple times from separate
61+ directories in the same CMake project and properly link Python (new mode).
62+ `#4401 <https://github.com/pybind/pybind11/pull/4401 >`_
63+
64+ * ``multiprocessing_set_spawn `` in pytest fixture for added safety.
65+ `#4377 <https://github.com/pybind/pybind11/pull/4377 >`_
66+
67+ * Fixed a bug in two pybind11/tools cmake scripts causing "Unknown arguments specified" errors.
68+ `#4327 <https://github.com/pybind/pybind11/pull/4327 >`_
69+
70+
71+
1872Version 2.10.1 (Oct 31, 2022)
1973-----------------------------
2074
@@ -95,7 +149,6 @@ Bug fixes:
95149 finalization.
96150 `#4192 <https://github.com/pybind/pybind11/pull/4192 >`_
97151
98-
99152Performance and style:
100153
101154* Reserve space in set and STL map casters if possible. This will prevent
0 commit comments