Skip to content

Commit 00a0aa9

Browse files
committed
v2.4.0 release
1 parent 6ca312b commit 00a0aa9

File tree

4 files changed

+62
-7
lines changed

4 files changed

+62
-7
lines changed

docs/changelog.rst

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,69 @@ Changelog
66
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
77
<http://semver.org>`_ policy.
88

9-
10-
v2.3.1 (Not yet released)
9+
v2.4.0 (Sep 19, 2019)
1110
-----------------------------------------------------
1211

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+
1338
* ``py::details::overload_cast_impl`` is available in C++11 mode, can be used
1439
like ``overload_cast`` with an additional set of parantheses.
1540
`1581 <https://github.com/pybind/pybind11/pull/1581>`_.
1641

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+
1772
v2.3.0 (June 11, 2019)
1873
-----------------------------------------------------
1974

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
# built documents.
6262
#
6363
# The short X.Y version.
64-
version = '2.3'
64+
version = '2.4'
6565
# The full version, including alpha/beta/rc tags.
66-
release = '2.3.dev1'
66+
release = '2.4.0'
6767

6868
# The language for content autogenerated by Sphinx. Refer to documentation
6969
# for a list of supported languages.

include/pybind11/detail/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
#endif
9494

9595
#define PYBIND11_VERSION_MAJOR 2
96-
#define PYBIND11_VERSION_MINOR 3
97-
#define PYBIND11_VERSION_PATCH dev1
96+
#define PYBIND11_VERSION_MINOR 4
97+
#define PYBIND11_VERSION_PATCH 0
9898

9999
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
100100
#if defined(_MSC_VER)

pybind11/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (2, 3, 'dev1')
1+
version_info = (2, 4, 0)
22
__version__ = '.'.join(map(str, version_info))

0 commit comments

Comments
 (0)