@@ -15,6 +15,64 @@ IN DEVELOPMENT
15
15
16
16
Changes will be summarized here periodically.
17
17
18
+ New Features:
19
+
20
+ * Support for Python 3.7 was removed. (Official end-of-life: 2023-06-27).
21
+ `#5191 <https://github.com/pybind/pybind11/pull/5191 >`_
22
+
23
+ Support for CMake older than 3.15 and some older compilers will also be removed.
24
+
25
+ Version 2.13.2 (August 13, 2024)
26
+ --------------------------------
27
+
28
+ New Features:
29
+
30
+ * A ``pybind11::detail::type_caster_std_function_specializations `` feature was added, to support specializations for
31
+ ``std::function ``'s with return types that require custom to-Python conversion behavior (to primary use case is to catch and
32
+ convert exceptions).
33
+ `#4597 <https://github.com/pybind/pybind11/pull/4597 >`_
34
+
35
+
36
+ Changes:
37
+
38
+
39
+ * Use ``PyMutex `` instead of ``std::mutex `` for internal locking in the free-threaded build.
40
+ `#5219 <https://github.com/pybind/pybind11/pull/5219 >`_
41
+
42
+ * Add a special type annotation for C++ empty tuple.
43
+ `#5214 <https://github.com/pybind/pybind11/pull/5214 >`_
44
+
45
+ * When compiling for WebAssembly, add the required exception flags (CMake 3.13+).
46
+ `#5298 <https://github.com/pybind/pybind11/pull/5298 >`_
47
+
48
+ Bug fixes:
49
+
50
+ * Make ``gil_safe_call_once_and_store `` thread-safe in free-threaded CPython.
51
+ `#5246 <https://github.com/pybind/pybind11/pull/5246 >`_
52
+
53
+ * A missing ``#include <algorithm> `` in pybind11/typing.h was added to fix build errors (in case user code does not already depend
54
+ on that include).
55
+ `#5208 <https://github.com/pybind/pybind11/pull/5208 >`_
56
+
57
+ * Fix regression introduced in #5201 for GCC<10.3 in C++20 mode.
58
+ `#5205 <https://github.com/pybind/pybind11/pull/5205 >`_
59
+
60
+
61
+ .. fix(cmake)
62
+
63
+ * Remove extra = when assigning flto value in the case for Clang in CMake.
64
+ `#5207 <https://github.com/pybind/pybind11/pull/5207 >`_
65
+
66
+
67
+ Tests:
68
+
69
+ * Adding WASM testing to our CI (Pyodide / Emscripten via scikit-build-core).
70
+ `#4745 <https://github.com/pybind/pybind11/pull/4745 >`_
71
+
72
+ * clang-tidy (in GitHub Actions) was updated from clang 15 to clang 18.
73
+ `#5272 <https://github.com/pybind/pybind11/pull/5272 >`_
74
+
75
+
18
76
Version 2.13.1 (June 26, 2024)
19
77
------------------------------
20
78
0 commit comments