2016-01-17 21:36:43 +00:00
|
|
|
.. _changelog:
|
|
|
|
|
|
|
|
Changelog
|
|
|
|
#########
|
|
|
|
|
2016-05-03 12:16:18 +00:00
|
|
|
1.8 (Not yet released)
|
2016-04-30 20:00:44 +00:00
|
|
|
----------------------
|
2016-05-17 13:35:29 +00:00
|
|
|
* Prevent implicit conversion of floating point values to integral types in
|
|
|
|
function arguments
|
2016-05-05 18:33:54 +00:00
|
|
|
* Transparent conversion of sparse and dense Eigen data types
|
2016-05-03 12:16:18 +00:00
|
|
|
* Fixed incorrect default return value policy for functions returning a shared
|
|
|
|
pointer
|
|
|
|
* Don't allow casting a ``None`` value into a C++ lvalue reference
|
|
|
|
* Fixed a crash in ``enum_::operator==`` that was triggered by the ``help()`` command
|
|
|
|
* Improved detection of whether or not custom C++ types can be copy/move-constructed
|
|
|
|
* Extended ``str`` type to also work with ``bytes`` instances
|
|
|
|
* Added ``[[noreturn]]`` attribute to ``pybind11_fail()`` to quench some
|
|
|
|
compiler warnings
|
|
|
|
* Various minor ``iterator`` and ``make_iterator()`` improvements
|
|
|
|
* Minor CMake build system improvements on Windows
|
|
|
|
* Many ``mkdoc.py`` improvements (enumerations, template arguments, ``DOC()``
|
|
|
|
macro accepts more arguments)
|
|
|
|
* Documentation improvements (pickling support, ``keep_alive``)
|
2016-04-30 20:00:44 +00:00
|
|
|
|
2016-04-30 17:58:33 +00:00
|
|
|
1.7 (April 30, 2016)
|
2016-04-21 10:23:20 +00:00
|
|
|
----------------------
|
2016-04-25 21:25:40 +00:00
|
|
|
* Added a new ``move`` return value policy that triggers C++11 move semantics.
|
2016-04-29 08:06:24 +00:00
|
|
|
The automatic return value policy falls back to this case whenever a rvalue
|
2016-04-25 21:25:40 +00:00
|
|
|
reference is encountered
|
2016-04-26 21:19:19 +00:00
|
|
|
* Significantly more general GIL state routines that are used instead of
|
|
|
|
Python's troublesome ``PyGILState_Ensure`` and ``PyGILState_Release`` API
|
2016-04-29 08:06:24 +00:00
|
|
|
* Redesign of opaque types that drastically simplifies their usage
|
2016-04-30 17:58:33 +00:00
|
|
|
* Extended ability to pass values of type ``[const] void *``
|
2016-04-25 21:25:40 +00:00
|
|
|
* ``keep_alive`` fix: don't fail when there is no patient
|
2016-04-29 08:06:24 +00:00
|
|
|
* ``functional.h``: acquire the GIL before calling a Python function
|
2016-04-25 21:25:40 +00:00
|
|
|
* Added Python RAII type wrappers ``none`` and ``iterable``
|
|
|
|
* Added ``*args`` and ``*kwargs`` pass-through parameters to
|
|
|
|
``pybind11.get_include()`` function
|
2016-04-29 08:06:24 +00:00
|
|
|
* Iterator improvements and fixes
|
|
|
|
* Documentation on return value policies and opaque types improved
|
2016-04-21 10:23:20 +00:00
|
|
|
|
2016-04-30 17:58:33 +00:00
|
|
|
1.6 (April 30, 2016)
|
|
|
|
----------------------
|
|
|
|
* Skipped due to upload to PyPI gone wrong and inability to recover
|
|
|
|
(https://github.com/pypa/packaging-problems/issues/74)
|
|
|
|
|
2016-04-21 10:23:20 +00:00
|
|
|
1.5 (April 21, 2016)
|
2016-04-11 16:46:11 +00:00
|
|
|
----------------------
|
2016-04-17 19:54:31 +00:00
|
|
|
* For polymorphic types, use RTTI to try to return the closest type registered with pybind11
|
2016-04-13 11:45:09 +00:00
|
|
|
* Pickling support for serializing and unserializing C++ instances to a byte stream in Python
|
2016-04-13 21:33:00 +00:00
|
|
|
* Added a convenience routine ``make_iterator()`` which turns a range indicated
|
|
|
|
by a pair of C++ iterators into a iterable Python object
|
|
|
|
* Added ``len()`` and a variadic ``make_tuple()`` function
|
2016-04-15 15:50:40 +00:00
|
|
|
* Addressed a rare issue that could confuse the current virtual function
|
|
|
|
dispatcher and another that could lead to crashes in multi-threaded
|
|
|
|
applications
|
2016-04-13 21:33:00 +00:00
|
|
|
* Added a ``get_include()`` function to the Python module that returns the path
|
|
|
|
of the directory containing the installed pybind11 header files
|
2016-04-13 00:37:36 +00:00
|
|
|
* Documentation improvements: import issues, symbol visibility, pickling, limitations
|
2016-04-21 10:21:14 +00:00
|
|
|
* Added casting support for ``std::reference_wrapper<>``
|
2016-04-11 16:46:11 +00:00
|
|
|
|
2016-04-07 07:06:49 +00:00
|
|
|
1.4 (April 7, 2016)
|
2016-03-08 17:04:43 +00:00
|
|
|
--------------------------
|
2016-03-08 18:40:32 +00:00
|
|
|
* Transparent type conversion for ``std::wstring`` and ``wchar_t``
|
2016-04-07 06:49:37 +00:00
|
|
|
* Allow passing ``nullptr``-valued strings
|
2016-04-06 15:55:41 +00:00
|
|
|
* Transparent passing of ``void *`` pointers using capsules
|
2016-04-07 06:49:37 +00:00
|
|
|
* Transparent support for returning values wrapped in ``std::unique_ptr<>``
|
2016-03-09 15:38:28 +00:00
|
|
|
* Improved docstring generation for compatibility with Sphinx
|
2016-04-06 15:55:41 +00:00
|
|
|
* Nicer debug error message when default parameter construction fails
|
|
|
|
* Support for "opaque" types that bypass the transparent conversion layer for STL containers
|
|
|
|
* Redesigned type casting interface to avoid ambiguities that could occasionally cause compiler errors
|
2016-04-11 16:46:11 +00:00
|
|
|
* Redesigned property implementation; fixes crashes due to an unfortunate default return value policy
|
2016-03-09 15:38:28 +00:00
|
|
|
* Anaconda package generation support
|
2016-03-08 17:04:43 +00:00
|
|
|
|
|
|
|
1.3 (March 8, 2016)
|
2016-02-07 16:32:37 +00:00
|
|
|
--------------------------
|
2016-02-22 16:32:44 +00:00
|
|
|
|
|
|
|
* Added support for the Intel C++ compiler (v15+)
|
|
|
|
* Added support for the STL unordered set/map data structures
|
2016-03-08 17:04:43 +00:00
|
|
|
* Added support for the STL linked list data structure
|
2016-02-22 16:32:44 +00:00
|
|
|
* NumPy-style broadcasting support in ``pybind11::vectorize``
|
2016-04-11 16:46:11 +00:00
|
|
|
* pybind11 now displays more verbose error messages when ``arg::operator=()`` fails
|
2016-03-08 17:04:43 +00:00
|
|
|
* pybind11 internal data structures now live in a version-dependent namespace to avoid ABI issues
|
|
|
|
* Many, many bugfixes involving corner cases and advanced usage
|
2016-02-07 16:32:37 +00:00
|
|
|
|
|
|
|
1.2 (February 7, 2016)
|
2016-01-17 21:36:43 +00:00
|
|
|
--------------------------
|
2016-01-17 21:36:44 +00:00
|
|
|
|
2016-01-17 21:36:43 +00:00
|
|
|
* Optional: efficient generation of function signatures at compile time using C++14
|
2016-01-17 21:36:44 +00:00
|
|
|
* Switched to a simpler and more general way of dealing with function default
|
|
|
|
arguments. Unused keyword arguments in function calls are now detected and
|
|
|
|
cause errors as expected
|
2016-01-17 21:36:43 +00:00
|
|
|
* New ``keep_alive`` call policy analogous to Boost.Python's ``with_custodian_and_ward``
|
2016-01-17 21:36:44 +00:00
|
|
|
* New ``pybind11::base<>`` attribute to indicate a subclass relationship
|
2016-01-17 21:36:43 +00:00
|
|
|
* Improved interface for RAII type wrappers in ``pytypes.h``
|
|
|
|
* Use RAII type wrappers consistently within pybind11 itself. This
|
|
|
|
fixes various potential refcount leaks when exceptions occur
|
2016-04-11 16:46:11 +00:00
|
|
|
* Added new ``bytes`` RAII type wrapper (maps to ``string`` in Python 2.7)
|
2016-01-17 21:36:44 +00:00
|
|
|
* Made handle and related RAII classes const correct, using them more
|
|
|
|
consistently everywhere now
|
2016-01-17 21:36:43 +00:00
|
|
|
* Got rid of the ugly ``__pybind11__`` attributes on the Python side---they are
|
|
|
|
now stored in a C++ hash table that is not visible in Python
|
|
|
|
* Fixed refcount leaks involving NumPy arrays and bound functions
|
|
|
|
* Vastly improved handling of shared/smart pointers
|
|
|
|
* Removed an unnecessary copy operation in ``pybind11::vectorize``
|
|
|
|
* Fixed naming clashes when both pybind11 and NumPy headers are included
|
|
|
|
* Added conversions for additional exception types
|
2016-01-17 21:36:44 +00:00
|
|
|
* Documentation improvements (using multiple extension modules, smart pointers,
|
|
|
|
other minor clarifications)
|
2016-01-18 21:38:52 +00:00
|
|
|
* unified infrastructure for parsing variadic arguments in ``class_`` and cpp_function
|
2016-01-17 21:36:43 +00:00
|
|
|
* Fixed license text (was: ZLIB, should have been: 3-clause BSD)
|
|
|
|
* Python 3.2 compatibility
|
2016-01-29 10:48:40 +00:00
|
|
|
* Fixed remaining issues when accessing types in another plugin module
|
|
|
|
* Added enum comparison and casting methods
|
|
|
|
* Improved SFINAE-based detection of whether types are copy-constructible
|
|
|
|
* Eliminated many warnings about unused variables and the use of ``offsetof()``
|
2016-02-07 16:32:37 +00:00
|
|
|
* Support for ``std::array<>`` conversions
|
2016-01-17 21:36:43 +00:00
|
|
|
|
|
|
|
1.1 (December 7, 2015)
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
* Documentation improvements (GIL, wrapping functions, casting, fixed many typos)
|
|
|
|
* Generalized conversion of integer types
|
|
|
|
* Improved support for casting function objects
|
|
|
|
* Improved support for ``std::shared_ptr<>`` conversions
|
|
|
|
* Initial support for ``std::set<>`` conversions
|
|
|
|
* Fixed type resolution issue for types defined in a separate plugin module
|
|
|
|
* Cmake build system improvements
|
|
|
|
* Factored out generic functionality to non-templated code (smaller code size)
|
|
|
|
* Added a code size / compile time benchmark vs Boost.Python
|
|
|
|
* Added an appveyor CI script
|
|
|
|
|
|
|
|
1.0 (October 15, 2015)
|
|
|
|
------------------------
|
|
|
|
* Initial release
|