@@ -15,11 +15,76 @@ v2.3.0 (Not yet released)
15
15
for non-MSVC compilers).
16
16
`#934 <https://github.com/pybind/pybind11/pull/934 >`_.
17
17
18
+ * Add basic support for tag-based static polymorphism, where classes
19
+ provide a method to returns the desired type of an instance.
20
+ `#1326 <https://github.com/pybind/pybind11/pull/1326 >`_.
21
+
18
22
* Added support for write only properties.
19
23
`#1144 <https://github.com/pybind/pybind11/pull/1144 >`_.
20
24
21
- * The ``value() `` method of ``py::enum_ `` now accepts an optional docstring
22
- that will be shown in the documentation of the associated enumeration.
25
+ * A number of improvements related to enumerations:
26
+
27
+ 1. The ``enum_ `` implementation was rewritten from scratch to reduce
28
+ code bloat. Rather than instantiating a full implementation for each
29
+ enumeration, most code is now contained in a generic base class.
30
+ `#1511 <https://github.com/pybind/pybind11/pull/1511 >`_.
31
+
32
+ 2. The ``value() `` method of ``py::enum_ `` now accepts an optional
33
+ docstring that will be shown in the documentation of the associated
34
+ enumeration. `#1160 <https://github.com/pybind/pybind11/pull/1160 >`_.
35
+
36
+ 3. check for already existing enum value and throw an error if present.
37
+ `#1453 <https://github.com/pybind/pybind11/pull/1453 >`_.
38
+
39
+ * added ``py::ellipsis() `` method for slicing of multidimensional NumPy arrays
40
+ `#1502 <https://github.com/pybind/pybind11/pull/1502 >`_.
41
+
42
+ * ``pybind11_add_module() ``: allow including Python as a ``SYSTEM `` include path.
43
+ `#1416 <https://github.com/pybind/pybind11/pull/1416 >`_.
44
+
45
+ v2.2.4 (September 11, 2018)
46
+ -----------------------------------------------------
47
+
48
+ * Use new Python 3.7 Thread Specific Storage (TSS) implementation if available.
49
+ `#1454 <https://github.com/pybind/pybind11/pull/1454 >`_,
50
+ `#1517 <https://github.com/pybind/pybind11/pull/1517 >`_.
51
+
52
+ * Fixes for newer MSVC versions and C++17 mode.
53
+ `#1347 <https://github.com/pybind/pybind11/pull/1347 >`_,
54
+ `#1462 <https://github.com/pybind/pybind11/pull/1462 >`_.
55
+
56
+ * Propagate return value policies to type-specific casters
57
+ when casting STL containers.
58
+ `#1455 <https://github.com/pybind/pybind11/pull/1455 >`_.
59
+
60
+ * Allow ostream-redirection of more than 1024 characters.
61
+ `#1479 <https://github.com/pybind/pybind11/pull/1479 >`_.
62
+
63
+ * Set ``Py_DEBUG `` define when compiling against a debug Python build.
64
+ `#1438 <https://github.com/pybind/pybind11/pull/1438 >`_.
65
+
66
+ * Untangle integer logic in number type caster to work for custom
67
+ types that may only be castable to a restricted set of builtin types.
68
+ `#1442 <https://github.com/pybind/pybind11/pull/1442 >`_.
69
+
70
+ * CMake build system: Remember Python version in cache file.
71
+ `#1434 <https://github.com/pybind/pybind11/pull/1434 >`_.
72
+
73
+ * Fix for custom smart pointers: use ``std::addressof `` to obtain holder
74
+ address instead of ``operator& ``.
75
+ `#1435 <https://github.com/pybind/pybind11/pull/1435 >`_.
76
+
77
+ * Properly report exceptions thrown during module initialization.
78
+ `#1362 <https://github.com/pybind/pybind11/pull/1362 >`_.
79
+
80
+ * Fixed a segmentation fault when creating empty-shaped NumPy array.
81
+ `#1371 <https://github.com/pybind/pybind11/pull/1371 >`_.
82
+
83
+ * The version of Intel C++ compiler must be >= 2017, and this is now checked by
84
+ the header files. `#1363 <https://github.com/pybind/pybind11/pull/1363 >`_.
85
+
86
+ * A few minor typo fixes and improvements to the test suite, and
87
+ patches that silence compiler warnings.
23
88
24
89
v2.2.3 (April 29, 2018)
25
90
-----------------------------------------------------
0 commit comments