From 35c82c725097f2d58208f233c4b42a1e2face560 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 11 Sep 2018 10:08:48 +0200 Subject: [PATCH] changelog for version 2.2.4 & features targeted for 2.3.0 --- docs/changelog.rst | 69 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index c6ef76b59..9162048ac 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -15,11 +15,76 @@ v2.3.0 (Not yet released) for non-MSVC compilers). `#934 `_. +* Add basic support for tag-based static polymorphism, where classes + provide a method to returns the desired type of an instance. + `#1326 `_. + * Added support for write only properties. `#1144 `_. -* The ``value()`` method of ``py::enum_`` now accepts an optional docstring - that will be shown in the documentation of the associated enumeration. +* A number of improvements related to enumerations: + + 1. The ``enum_`` implementation was rewritten from scratch to reduce + code bloat. Rather than instantiating a full implementation for each + enumeration, most code is now contained in a generic base class. + `#1511 `_. + + 2. The ``value()`` method of ``py::enum_`` now accepts an optional + docstring that will be shown in the documentation of the associated + enumeration. `#1160 `_. + + 3. check for already existing enum value and throw an error if present. + `#1453 `_. + +* added ``py::ellipsis()`` method for slicing of multidimensional NumPy arrays + `#1502 `_. + +* ``pybind11_add_module()``: allow including Python as a ``SYSTEM`` include path. + `#1416 `_. + +v2.2.4 (September 11, 2018) +----------------------------------------------------- + +* Use new Python 3.7 Thread Specific Storage (TSS) implementation if available. + `#1454 `_, + `#1517 `_. + +* Fixes for newer MSVC versions and C++17 mode. + `#1347 `_, + `#1462 `_. + +* Propagate return value policies to type-specific casters + when casting STL containers. + `#1455 `_. + +* Allow ostream-redirection of more than 1024 characters. + `#1479 `_. + +* Set ``Py_DEBUG`` define when compiling against a debug Python build. + `#1438 `_. + +* Untangle integer logic in number type caster to work for custom + types that may only be castable to a restricted set of builtin types. + `#1442 `_. + +* CMake build system: Remember Python version in cache file. + `#1434 `_. + +* Fix for custom smart pointers: use ``std::addressof`` to obtain holder + address instead of ``operator&``. + `#1435 `_. + +* Properly report exceptions thrown during module initialization. + `#1362 `_. + +* Fixed a segmentation fault when creating empty-shaped NumPy array. + `#1371 `_. + +* The version of Intel C++ compiler must be >= 2017, and this is now checked by + the header files. `#1363 `_. + +* A few minor typo fixes and improvements to the test suite, and + patches that silence compiler warnings. v2.2.3 (April 29, 2018) -----------------------------------------------------