mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Changelog for v2.1.0 (#759)
This commit is contained in:
parent
b16421edb1
commit
62e5fef09e
@ -6,11 +6,93 @@ Changelog
|
|||||||
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
|
Starting with version 1.8.0, pybind11 releases use a `semantic versioning
|
||||||
<http://semver.org>`_ policy.
|
<http://semver.org>`_ policy.
|
||||||
|
|
||||||
v2.0.2 (not yet released)
|
v2.1.0 (not yet released)
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
* Use -x flag to strip shared libraries on OSX
|
* pybind11 now performs function overload resolution in two phases. The first
|
||||||
`#595 <https://github.com/pybind/pybind11/pull/595>`_.
|
phase only considers exact type matches, while the second allows for implicit
|
||||||
|
conversions to take place. A special ``noconvert()`` syntax can be used to
|
||||||
|
completely disable implicit conversions for specific arguments.
|
||||||
|
`#643 <https://github.com/pybind/pybind11/pull/643>`_,
|
||||||
|
`#634 <https://github.com/pybind/pybind11/pull/634>`_,
|
||||||
|
`#650 <https://github.com/pybind/pybind11/pull/650>`_.
|
||||||
|
|
||||||
|
* Fixed a regression where static properties no longer worked with classes
|
||||||
|
using multiple inheritance. The ``py::metaclass`` attribute is no longer
|
||||||
|
necessary (and deprecated as of this release) when binding classes with
|
||||||
|
static properties.
|
||||||
|
`#679 <https://github.com/pybind/pybind11/pull/679>`_,
|
||||||
|
|
||||||
|
* Classes bound using ``pybind11`` can now use custom metaclasses.
|
||||||
|
`#679 <https://github.com/pybind/pybind11/pull/679>`_,
|
||||||
|
|
||||||
|
* ``py::args`` and ``py::kwargs`` can now be mixed with other positional
|
||||||
|
arguments when binding functions using pybind11.
|
||||||
|
`#611 <https://github.com/pybind/pybind11/pull/611>`_.
|
||||||
|
|
||||||
|
* Improved support for C++11 unicode string and character types; added
|
||||||
|
extensive documentation regarding pybind11's string conversion behavior.
|
||||||
|
`#624 <https://github.com/pybind/pybind11/pull/624>`_,
|
||||||
|
`#636 <https://github.com/pybind/pybind11/pull/636>`_,
|
||||||
|
`#715 <https://github.com/pybind/pybind11/pull/715>`_.
|
||||||
|
|
||||||
|
* pybind11 can now avoid expensive copies when converting Eigen arrays to NumPy
|
||||||
|
arrays (and vice versa). `#610 <https://github.com/pybind/pybind11/pull/610>`_.
|
||||||
|
|
||||||
|
* The "fast path" in ``py::vectorize`` now works for any full-size group of C or
|
||||||
|
F-contiguous arrays. The non-fast path is also faster since it no longer performs
|
||||||
|
copies of the input arguments (except when type conversions are necessary).
|
||||||
|
`#610 <https://github.com/pybind/pybind11/pull/610>`_.
|
||||||
|
|
||||||
|
* Added fast, unchecked access to NumPy arrays via a proxy object.
|
||||||
|
`#746 <https://github.com/pybind/pybind11/pull/746>`_.
|
||||||
|
|
||||||
|
* Transparent support for class-specific ``operator new`` and
|
||||||
|
``operator delete`` implementations.
|
||||||
|
`#755 <https://github.com/pybind/pybind11/pull/755>`_.
|
||||||
|
|
||||||
|
* Slimmer and more efficient STL-compatible iterator interface for sequence types.
|
||||||
|
`#662 <https://github.com/pybind/pybind11/pull/662>`_.
|
||||||
|
|
||||||
|
* Improved custom holder type support.
|
||||||
|
`#607 <https://github.com/pybind/pybind11/pull/607>`_.
|
||||||
|
|
||||||
|
* ``nullptr`` to ``None`` conversion fixed in various builtin type casters.
|
||||||
|
`#732 <https://github.com/pybind/pybind11/pull/732>`_.
|
||||||
|
|
||||||
|
* ``enum_`` now exposes its members via a special ``__members__`` attribute.
|
||||||
|
`#666 <https://github.com/pybind/pybind11/pull/666>`_.
|
||||||
|
|
||||||
|
* ``std::vector`` bindings created using ``stl_bind.h`` can now optionally
|
||||||
|
implement the buffer protocol. `#488 <https://github.com/pybind/pybind11/pull/488>`_.
|
||||||
|
|
||||||
|
* Automated C++ reference documentation using doxygen and breathe.
|
||||||
|
`#598 <https://github.com/pybind/pybind11/pull/598>`_.
|
||||||
|
|
||||||
|
* Added minimum compiler version assertions.
|
||||||
|
`#727 <https://github.com/pybind/pybind11/pull/727>`_.
|
||||||
|
|
||||||
|
* Improved compatibility with C++1z.
|
||||||
|
`#677 <https://github.com/pybind/pybind11/pull/677>`_.
|
||||||
|
|
||||||
|
* Improved ``py::capsule`` API. Can be used to implement cleanup
|
||||||
|
callbacks that are involved at module destruction time.
|
||||||
|
`#752 <https://github.com/pybind/pybind11/pull/752>`_.
|
||||||
|
|
||||||
|
* Various minor improvements and fixes.
|
||||||
|
`#595 <https://github.com/pybind/pybind11/pull/595>`_,
|
||||||
|
`#588 <https://github.com/pybind/pybind11/pull/588>`_,
|
||||||
|
`#589 <https://github.com/pybind/pybind11/pull/589>`_,
|
||||||
|
`#603 <https://github.com/pybind/pybind11/pull/603>`_,
|
||||||
|
`#619 <https://github.com/pybind/pybind11/pull/619>`_,
|
||||||
|
`#648 <https://github.com/pybind/pybind11/pull/648>`_,
|
||||||
|
`#695 <https://github.com/pybind/pybind11/pull/695>`_,
|
||||||
|
`#720 <https://github.com/pybind/pybind11/pull/720>`_,
|
||||||
|
`#723 <https://github.com/pybind/pybind11/pull/723>`_,
|
||||||
|
`#729 <https://github.com/pybind/pybind11/pull/729>`_,
|
||||||
|
`#724 <https://github.com/pybind/pybind11/pull/724>`_,
|
||||||
|
`#742 <https://github.com/pybind/pybind11/pull/742>`_,
|
||||||
|
`#753 <https://github.com/pybind/pybind11/pull/753>`_.
|
||||||
|
|
||||||
v2.0.1 (Jan 4, 2017)
|
v2.0.1 (Jan 4, 2017)
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user