Skip to content

Commit 19e4132

Browse files
committed
Updated version/changelog for 2.2.2
1 parent 12006b8 commit 19e4132

File tree

4 files changed

+60
-5
lines changed

4 files changed

+60
-5
lines changed

docs/changelog.rst

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

9-
v2.3.0 (Not yet released)
9+
v2.2.2 (Not yet released)
1010
-----------------------------------------------------
1111

12-
* TBD
12+
* Fixed a segfault when combining embedded interpreter
13+
shutdown/reinitialization with external loaded pybind11 modules.
14+
`#1092 <https://github.com/pybind/pybind11/pull/1092>`_.
15+
16+
* Eigen support: fixed a bug where Nx1/1xN numpy inputs couldn't be passed as
17+
arguments to Eigen vectors (which for Eigen are simply compile-time fixed
18+
Nx1/1xN matrices).
19+
`#1106 <https://github.com/pybind/pybind11/pull/1106>`_.
20+
21+
* Clarified to license by moving the licensing of contributions from
22+
``LICENSE`` into ``CONTRIBUTING.md``: the licensing of contributions is not
23+
actually part of the software license as distributed. This isn't meant to be
24+
a substantial change in the licensing of the project, but addresses concerns
25+
that the clause made the license non-standard.
26+
`#1109 <https://github.com/pybind/pybind11/issues/1109>`_.
27+
28+
* Fixed a regression introduced in 2.1 that broke binding functions with lvalue
29+
character literal arguments.
30+
`#1128 <https://github.com/pybind/pybind11/pull/1128>`_.
31+
32+
* MSVC: fix for compilation failures under /permissive-, and added the flag to
33+
the appveyor test suite.
34+
`#1155 <https://github.com/pybind/pybind11/pull/1155>`_.
35+
36+
* Fixed ``__qualname__`` generation, and in turn, fixes how class names
37+
(especially nested class names) are shown in generated docstrings.
38+
`#1171 <https://github.com/pybind/pybind11/pull/1171>`_.
39+
40+
* Updated the FAQ with a suggested project citation reference.
41+
`#1189 <https://github.com/pybind/pybind11/pull/1189>`_.
42+
43+
* Added fixes for deprecation warnings when compiled under C++17 with
44+
``-Wdeprecated`` turned on, and add ``-Wdeprecated`` to the test suite
45+
compilation flags.
46+
`#1191 <https://github.com/pybind/pybind11/pull/1191>`_.
47+
48+
* Fixed outdated PyPI URLs in ``setup.py``.
49+
`#1213 <https://github.com/pybind/pybind11/pull/1213>`_.
50+
51+
* Fixed a refcount leak for arguments that end up in a ``py::args`` argument
52+
for functions with both fixed positional and ``py::args`` arguments.
53+
`#1216 <https://github.com/pybind/pybind11/pull/1216>`_.
54+
55+
* Fixed a potential segfault resulting from possible premature destruction of
56+
``py::args``/``py::kwargs`` arguments with overloaded functions.
57+
`#1223 <https://github.com/pybind/pybind11/pull/1223>`_.
58+
59+
* Fixed ``del map[item]`` for a ``stl_bind.h`` bound stl map.
60+
`#1229 <https://github.com/pybind/pybind11/pull/1229>`_.
61+
62+
* Fixed a regression from v2.1.x where the aggregate initialization could
63+
unintentionally end up at a constructor taking a templated
64+
``std::initializer_list<T>`` argument.
65+
`#1249 <https://github.com/pybind/pybind11/pull/1249>`_.
66+
67+
* Various other minor fixes.
1368

1469
v2.2.1 (September 14, 2017)
1570
-----------------------------------------------------

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# The short X.Y version.
6464
version = '2.2'
6565
# The full version, including alpha/beta/rc tags.
66-
release = '2.2.1'
66+
release = '2.2.2'
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
#define PYBIND11_VERSION_MAJOR 2
9595
#define PYBIND11_VERSION_MINOR 2
96-
#define PYBIND11_VERSION_PATCH 1
96+
#define PYBIND11_VERSION_PATCH 2
9797

9898
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
9999
#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, 2, 1)
1+
version_info = (2, 2, 2)
22
__version__ = '.'.join(map(str, version_info))

0 commit comments

Comments
 (0)