@@ -6,14 +6,69 @@ Changelog
6
6
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
7
7
<http://semver.org> `_ policy.
8
8
9
-
10
- v2.3.1 (Not yet released)
9
+ v2.4.0 (Sep 19, 2019)
11
10
-----------------------------------------------------
12
11
12
+ * Try harder to keep pybind11-internal data structures separate when there
13
+ are potential ABI incompatibilities. Fixes crashes that occurred when loading
14
+ multiple pybind11 extensions that were e.g. compiled by GCC (libstdc++)
15
+ and Clang (libc++).
16
+ `1588 <https://github.com/pybind/pybind11/pull/1588 >`_ and
17
+ `c9f5a <https://github.com/pybind/pybind11/commit/c9f5a >`_.
18
+
19
+ * Added support for ``__await__ ``, ``__aiter__ ``, and ``__anext__ `` protocols.
20
+ `1842 <https://github.com/pybind/pybind11/pull/1842 >`_.
21
+
22
+ * ``pybind11_add_module() ``: don't strip symbols when compiling in
23
+ ``RelWithDebInfo `` mode. `1980
24
+ <https://github.com/pybind/pybind11/pull/1980> `_.
25
+
26
+ * ``enum_ ``: Reproduce Python behavior when comparing against invalid values
27
+ (e.g. ``None ``, strings, etc.). Add back support for ``__invert__() ``.
28
+ `1912 <https://github.com/pybind/pybind11/pull/1912 >`_,
29
+ `1907 <https://github.com/pybind/pybind11/pull/1907 >`_.
30
+
31
+ * List insertion operation for ``py::list ``.
32
+ Added ``.empty() `` to all collection types.
33
+ Added ``py::set::contains() `` and ``py::dict::contains() ``.
34
+ `1887 <https://github.com/pybind/pybind11/pull/1887 >`_,
35
+ `1884 <https://github.com/pybind/pybind11/pull/1884 >`_,
36
+ `1888 <https://github.com/pybind/pybind11/pull/1888 >`_.
37
+
13
38
* ``py::details::overload_cast_impl `` is available in C++11 mode, can be used
14
39
like ``overload_cast `` with an additional set of parantheses.
15
40
`1581 <https://github.com/pybind/pybind11/pull/1581 >`_.
16
41
42
+ * ``overload_cast_impl `` is now available in C++11.
43
+ `1581 <https://github.com/pybind/pybind11/pull/1581 >`_.
44
+
45
+ * Fixed ``get_include() `` on Conda.
46
+ `1877 <https://github.com/pybind/pybind11/pull/1877 >`_.
47
+
48
+ * ``stl_bind.h ``: negative indexing support.
49
+ `1882 <https://github.com/pybind/pybind11/pull/1882 >`_.
50
+
51
+ * Minor CMake fix to add MinGW compatibility.
52
+ `1851 <https://github.com/pybind/pybind11/pull/1851 >`_.
53
+
54
+ * GIL-related fixes.
55
+ `1836 <https://github.com/pybind/pybind11/pull/1836 >`_,
56
+ `8b90b <https://github.com/pybind/pybind11/commit/8b90b >`_.
57
+
58
+ * Other very minor/subtle fixes and improvements.
59
+ `1329 <https://github.com/pybind/pybind11/pull/1329 >`_,
60
+ `1910 <https://github.com/pybind/pybind11/pull/1910 >`_,
61
+ `1863 <https://github.com/pybind/pybind11/pull/1863 >`_,
62
+ `1847 <https://github.com/pybind/pybind11/pull/1847 >`_,
63
+ `1890 <https://github.com/pybind/pybind11/pull/1890 >`_,
64
+ `1860 <https://github.com/pybind/pybind11/pull/1860 >`_,
65
+ `1848 <https://github.com/pybind/pybind11/pull/1848 >`_,
66
+ `1821 <https://github.com/pybind/pybind11/pull/1821 >`_,
67
+ `1837 <https://github.com/pybind/pybind11/pull/1837 >`_,
68
+ `1833 <https://github.com/pybind/pybind11/pull/1833 >`_,
69
+ `1748 <https://github.com/pybind/pybind11/pull/1748 >`_,
70
+ `1852 <https://github.com/pybind/pybind11/pull/1852 >`_.
71
+
17
72
v2.3.0 (June 11, 2019)
18
73
-----------------------------------------------------
19
74
0 commit comments