mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
Update changelog and authors
This commit is contained in:
parent
7dcbfe228e
commit
bccbc10a65
@ -106,8 +106,9 @@ Tomasz Miąsko,
|
||||
Dean Moldovan,
|
||||
Ben Pritchard,
|
||||
Jason Rhinelander,
|
||||
Boris Schäling, and
|
||||
Pim Schellart.
|
||||
Boris Schäling,
|
||||
Pim Schellart,
|
||||
Ivan Smirnov.
|
||||
|
||||
### License
|
||||
|
||||
|
@ -27,6 +27,23 @@ Breaking changes queued for v2.0.0 (Not yet released)
|
||||
* ``make_iterator()`` improvements for better compatibility with various types
|
||||
(now uses prefix increment operator)
|
||||
* ``arg()`` now accepts a wider range of argument types for default values
|
||||
* Added support for registering structured dtypes via ``PYBIND11_NUMPY_DTYPE()`` macro.
|
||||
* Added ``PYBIND11_STR_TYPE`` macro which maps to the ``builtins.str`` type.
|
||||
* Added a simplified ``buffer_info`` constructor for 1-dimensional buffers.
|
||||
* Format descriptor strings should now be accessed via ``format_descriptor::format()``
|
||||
(for compatibility purposes, the old syntax ``format_descriptor::value`` will still
|
||||
work for non-structured data types).
|
||||
* Added a class wrapping NumPy array descriptors: ``dtype``.
|
||||
* Added buffer/NumPy support for ``char[N]`` and ``std::array<char, N>`` types.
|
||||
* ``array`` gained new constructors accepting dtype objects.
|
||||
* Added constructors for ``array`` and ``array_t`` explicitly accepting shape and
|
||||
strides; if strides are not provided, they are deduced assuming C-contiguity.
|
||||
Also added simplified constructors for 1-dimensional case.
|
||||
* Added constructors for ``str`` from ``bytes`` and for ``bytes`` from ``str``.
|
||||
This will do the UTF-8 decoding/encoding as required.
|
||||
* Added constructors for ``str`` and ``bytes`` from zero-terminated char pointers,
|
||||
and from char pointers and length.
|
||||
* Added ``memoryview`` wrapper type which is constructible from ``buffer_info``.
|
||||
* Various minor improvements of library internals (no user-visible changes)
|
||||
|
||||
1.8.1 (July 12, 2016)
|
||||
|
Loading…
Reference in New Issue
Block a user