mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
changelog for version 2.2.4 & features targeted for 2.3.0
This commit is contained in:
parent
01839dce8d
commit
35c82c7250
@ -15,11 +15,76 @@ v2.3.0 (Not yet released)
|
|||||||
for non-MSVC compilers).
|
for non-MSVC compilers).
|
||||||
`#934 <https://github.com/pybind/pybind11/pull/934>`_.
|
`#934 <https://github.com/pybind/pybind11/pull/934>`_.
|
||||||
|
|
||||||
|
* Add basic support for tag-based static polymorphism, where classes
|
||||||
|
provide a method to returns the desired type of an instance.
|
||||||
|
`#1326 <https://github.com/pybind/pybind11/pull/1326>`_.
|
||||||
|
|
||||||
* Added support for write only properties.
|
* Added support for write only properties.
|
||||||
`#1144 <https://github.com/pybind/pybind11/pull/1144>`_.
|
`#1144 <https://github.com/pybind/pybind11/pull/1144>`_.
|
||||||
|
|
||||||
* The ``value()`` method of ``py::enum_`` now accepts an optional docstring
|
* A number of improvements related to enumerations:
|
||||||
that will be shown in the documentation of the associated enumeration.
|
|
||||||
|
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 <https://github.com/pybind/pybind11/pull/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 <https://github.com/pybind/pybind11/pull/1160>`_.
|
||||||
|
|
||||||
|
3. check for already existing enum value and throw an error if present.
|
||||||
|
`#1453 <https://github.com/pybind/pybind11/pull/1453>`_.
|
||||||
|
|
||||||
|
* added ``py::ellipsis()`` method for slicing of multidimensional NumPy arrays
|
||||||
|
`#1502 <https://github.com/pybind/pybind11/pull/1502>`_.
|
||||||
|
|
||||||
|
* ``pybind11_add_module()``: allow including Python as a ``SYSTEM`` include path.
|
||||||
|
`#1416 <https://github.com/pybind/pybind11/pull/1416>`_.
|
||||||
|
|
||||||
|
v2.2.4 (September 11, 2018)
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
* Use new Python 3.7 Thread Specific Storage (TSS) implementation if available.
|
||||||
|
`#1454 <https://github.com/pybind/pybind11/pull/1454>`_,
|
||||||
|
`#1517 <https://github.com/pybind/pybind11/pull/1517>`_.
|
||||||
|
|
||||||
|
* Fixes for newer MSVC versions and C++17 mode.
|
||||||
|
`#1347 <https://github.com/pybind/pybind11/pull/1347>`_,
|
||||||
|
`#1462 <https://github.com/pybind/pybind11/pull/1462>`_.
|
||||||
|
|
||||||
|
* Propagate return value policies to type-specific casters
|
||||||
|
when casting STL containers.
|
||||||
|
`#1455 <https://github.com/pybind/pybind11/pull/1455>`_.
|
||||||
|
|
||||||
|
* Allow ostream-redirection of more than 1024 characters.
|
||||||
|
`#1479 <https://github.com/pybind/pybind11/pull/1479>`_.
|
||||||
|
|
||||||
|
* Set ``Py_DEBUG`` define when compiling against a debug Python build.
|
||||||
|
`#1438 <https://github.com/pybind/pybind11/pull/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 <https://github.com/pybind/pybind11/pull/1442>`_.
|
||||||
|
|
||||||
|
* CMake build system: Remember Python version in cache file.
|
||||||
|
`#1434 <https://github.com/pybind/pybind11/pull/1434>`_.
|
||||||
|
|
||||||
|
* Fix for custom smart pointers: use ``std::addressof`` to obtain holder
|
||||||
|
address instead of ``operator&``.
|
||||||
|
`#1435 <https://github.com/pybind/pybind11/pull/1435>`_.
|
||||||
|
|
||||||
|
* Properly report exceptions thrown during module initialization.
|
||||||
|
`#1362 <https://github.com/pybind/pybind11/pull/1362>`_.
|
||||||
|
|
||||||
|
* Fixed a segmentation fault when creating empty-shaped NumPy array.
|
||||||
|
`#1371 <https://github.com/pybind/pybind11/pull/1371>`_.
|
||||||
|
|
||||||
|
* The version of Intel C++ compiler must be >= 2017, and this is now checked by
|
||||||
|
the header files. `#1363 <https://github.com/pybind/pybind11/pull/1363>`_.
|
||||||
|
|
||||||
|
* A few minor typo fixes and improvements to the test suite, and
|
||||||
|
patches that silence compiler warnings.
|
||||||
|
|
||||||
v2.2.3 (April 29, 2018)
|
v2.2.3 (April 29, 2018)
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user