Skip to content

Commit 3b1dbeb

Browse files
committed
v2.5.0 release
1 parent bb9c91c commit 3b1dbeb

File tree

4 files changed

+50
-5
lines changed

4 files changed

+50
-5
lines changed

docs/changelog.rst

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

9+
v2.5.0 (Mar 31, 2020)
10+
-----------------------------------------------------
11+
12+
* Use C++17 fold expressions in type casters, if available. This can
13+
improve performance during overload resolution when functions have
14+
multiple arguments.
15+
`#2043 <https://github.com/pybind/pybind11/pull/2043>`_.
16+
17+
* Changed include directory resolution in ``pybind11/__init__.py``
18+
and installation in ``setup.py``. This fixes a number of open issues
19+
where pybind11 headers could not be found in certain environments.
20+
`#1995 <https://github.com/pybind/pybind11/pull/1995>`_.
21+
22+
* C++20 ``char8_t`` and ``u8string`` support. `#2026
23+
<https://github.com/pybind/pybind11/pull/2026>`_.
24+
25+
* CMake: search for Python 3.9. `bb9c91
26+
<https://github.com/pybind/pybind11/commit/bb9c91>`_.
27+
28+
* Fixes for MSYS-based build environments.
29+
`#2087 <https://github.com/pybind/pybind11/pull/2087>`_,
30+
`#2053 <https://github.com/pybind/pybind11/pull/2053>`_.
31+
32+
* STL bindings for ``std::vector<...>::clear``. `#2074
33+
<https://github.com/pybind/pybind11/pull/2074>`_.
34+
35+
* Read-only flag for ``py::buffer``. `#1466
36+
<https://github.com/pybind/pybind11/pull/1466>`_.
37+
38+
* Exception handling during module initialization.
39+
`bf2b031 <https://github.com/pybind/pybind11/commit/bf2b031>`_.
40+
41+
* Support linking against a CPython debug build.
42+
`#2025 <https://github.com/pybind/pybind11/pull/2025>`_.
43+
44+
* Fixed issues involving the availability and use of aligned ``new`` and
45+
``delete``. `#1988 <https://github.com/pybind/pybind11/pull/1988>`_,
46+
`759221 <https://github.com/pybind/pybind11/commit/759221>`_.
47+
48+
* Fixed a resource leak upon interpreter shutdown.
49+
`#2020 <https://github.com/pybind/pybind11/pull/2020>`_.
50+
51+
* Fixed error handling in the boolean caster.
52+
`#1976 <https://github.com/pybind/pybind11/pull/1976>`_.
53+
954
v2.4.3 (Oct 15, 2019)
1055
-----------------------------------------------------
1156

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.4'
64+
version = '2.5'
6565
# The full version, including alpha/beta/rc tags.
66-
release = '2.4.dev4'
66+
release = '2.5.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 4
97-
#define PYBIND11_VERSION_PATCH dev4
96+
#define PYBIND11_VERSION_MINOR 5
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, 4, 'dev4')
1+
version_info = (2, 5, 0)
22
__version__ = '.'.join(map(str, version_info))

0 commit comments

Comments
 (0)