Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 1 | .. _changelog: |
| 2 | |
| 3 | Changelog |
| 4 | ######### |
| 5 | |
Wenzel Jakob | bb79d7b | 2016-04-21 12:23:20 +0200 | [diff] [blame] | 6 | 1.6 (not yet released) |
| 7 | ---------------------- |
Wenzel Jakob | 1ac22e3 | 2016-04-25 23:25:40 +0200 | [diff] [blame] | 8 | * Added a new ``move`` return value policy that triggers C++11 move semantics. |
| 9 | The automatic return value policy falls back to this case when a rvalue |
| 10 | reference is encountered |
Wenzel Jakob | e84f557 | 2016-04-26 23:19:19 +0200 | [diff] [blame] | 11 | * Significantly more general GIL state routines that are used instead of |
| 12 | Python's troublesome ``PyGILState_Ensure`` and ``PyGILState_Release`` API |
Wenzel Jakob | 1ac22e3 | 2016-04-25 23:25:40 +0200 | [diff] [blame] | 13 | * ``keep_alive`` fix: don't fail when there is no patient |
| 14 | * ``functional.h``: acquire the GIL before calling Python function |
| 15 | * Added Python RAII type wrappers ``none`` and ``iterable`` |
| 16 | * Added ``*args`` and ``*kwargs`` pass-through parameters to |
| 17 | ``pybind11.get_include()`` function |
Wenzel Jakob | 1ac22e3 | 2016-04-25 23:25:40 +0200 | [diff] [blame] | 18 | * Documentation improvements: ``opaque``, return value policies |
Wenzel Jakob | bb79d7b | 2016-04-21 12:23:20 +0200 | [diff] [blame] | 19 | |
| 20 | 1.5 (April 21, 2016) |
Wenzel Jakob | 2c5d560 | 2016-04-11 18:46:11 +0200 | [diff] [blame] | 21 | ---------------------- |
Wenzel Jakob | c79dbe4 | 2016-04-17 21:54:31 +0200 | [diff] [blame] | 22 | * For polymorphic types, use RTTI to try to return the closest type registered with pybind11 |
Wenzel Jakob | d7efa4f | 2016-04-13 13:45:09 +0200 | [diff] [blame] | 23 | * Pickling support for serializing and unserializing C++ instances to a byte stream in Python |
Wenzel Jakob | b282595 | 2016-04-13 23:33:00 +0200 | [diff] [blame] | 24 | * Added a convenience routine ``make_iterator()`` which turns a range indicated |
| 25 | by a pair of C++ iterators into a iterable Python object |
| 26 | * Added ``len()`` and a variadic ``make_tuple()`` function |
Wenzel Jakob | b2b44a9 | 2016-04-15 17:50:40 +0200 | [diff] [blame] | 27 | * Addressed a rare issue that could confuse the current virtual function |
| 28 | dispatcher and another that could lead to crashes in multi-threaded |
| 29 | applications |
Wenzel Jakob | b282595 | 2016-04-13 23:33:00 +0200 | [diff] [blame] | 30 | * Added a ``get_include()`` function to the Python module that returns the path |
| 31 | of the directory containing the installed pybind11 header files |
Wenzel Jakob | 1c329aa | 2016-04-13 02:37:36 +0200 | [diff] [blame] | 32 | * Documentation improvements: import issues, symbol visibility, pickling, limitations |
Wenzel Jakob | dbe43ff | 2016-04-21 12:21:14 +0200 | [diff] [blame] | 33 | * Added casting support for ``std::reference_wrapper<>`` |
Wenzel Jakob | 2c5d560 | 2016-04-11 18:46:11 +0200 | [diff] [blame] | 34 | |
Wenzel Jakob | 33c2a04 | 2016-04-07 09:06:49 +0200 | [diff] [blame] | 35 | 1.4 (April 7, 2016) |
Wenzel Jakob | d2385e8 | 2016-03-08 18:04:43 +0100 | [diff] [blame] | 36 | -------------------------- |
Wenzel Jakob | 81dfd2c | 2016-03-08 19:40:32 +0100 | [diff] [blame] | 37 | * Transparent type conversion for ``std::wstring`` and ``wchar_t`` |
Wenzel Jakob | 0e6ca59 | 2016-04-07 08:49:37 +0200 | [diff] [blame] | 38 | * Allow passing ``nullptr``-valued strings |
Wenzel Jakob | 3411673 | 2016-04-06 17:55:41 +0200 | [diff] [blame] | 39 | * Transparent passing of ``void *`` pointers using capsules |
Wenzel Jakob | 0e6ca59 | 2016-04-07 08:49:37 +0200 | [diff] [blame] | 40 | * Transparent support for returning values wrapped in ``std::unique_ptr<>`` |
Wenzel Jakob | 4e455dd | 2016-03-09 16:38:28 +0100 | [diff] [blame] | 41 | * Improved docstring generation for compatibility with Sphinx |
Wenzel Jakob | 3411673 | 2016-04-06 17:55:41 +0200 | [diff] [blame] | 42 | * Nicer debug error message when default parameter construction fails |
| 43 | * Support for "opaque" types that bypass the transparent conversion layer for STL containers |
| 44 | * Redesigned type casting interface to avoid ambiguities that could occasionally cause compiler errors |
Wenzel Jakob | 2c5d560 | 2016-04-11 18:46:11 +0200 | [diff] [blame] | 45 | * Redesigned property implementation; fixes crashes due to an unfortunate default return value policy |
Wenzel Jakob | 4e455dd | 2016-03-09 16:38:28 +0100 | [diff] [blame] | 46 | * Anaconda package generation support |
Wenzel Jakob | d2385e8 | 2016-03-08 18:04:43 +0100 | [diff] [blame] | 47 | |
| 48 | 1.3 (March 8, 2016) |
Wenzel Jakob | 8ed2808 | 2016-02-07 17:32:37 +0100 | [diff] [blame] | 49 | -------------------------- |
Wenzel Jakob | cf2b87a | 2016-02-22 17:32:44 +0100 | [diff] [blame] | 50 | |
| 51 | * Added support for the Intel C++ compiler (v15+) |
| 52 | * Added support for the STL unordered set/map data structures |
Wenzel Jakob | d2385e8 | 2016-03-08 18:04:43 +0100 | [diff] [blame] | 53 | * Added support for the STL linked list data structure |
Wenzel Jakob | cf2b87a | 2016-02-22 17:32:44 +0100 | [diff] [blame] | 54 | * NumPy-style broadcasting support in ``pybind11::vectorize`` |
Wenzel Jakob | 2c5d560 | 2016-04-11 18:46:11 +0200 | [diff] [blame] | 55 | * pybind11 now displays more verbose error messages when ``arg::operator=()`` fails |
Wenzel Jakob | d2385e8 | 2016-03-08 18:04:43 +0100 | [diff] [blame] | 56 | * pybind11 internal data structures now live in a version-dependent namespace to avoid ABI issues |
| 57 | * Many, many bugfixes involving corner cases and advanced usage |
Wenzel Jakob | 8ed2808 | 2016-02-07 17:32:37 +0100 | [diff] [blame] | 58 | |
| 59 | 1.2 (February 7, 2016) |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 60 | -------------------------- |
Wenzel Jakob | 48548ea | 2016-01-17 22:36:44 +0100 | [diff] [blame] | 61 | |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 62 | * Optional: efficient generation of function signatures at compile time using C++14 |
Wenzel Jakob | 48548ea | 2016-01-17 22:36:44 +0100 | [diff] [blame] | 63 | * Switched to a simpler and more general way of dealing with function default |
| 64 | arguments. Unused keyword arguments in function calls are now detected and |
| 65 | cause errors as expected |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 66 | * New ``keep_alive`` call policy analogous to Boost.Python's ``with_custodian_and_ward`` |
Wenzel Jakob | 48548ea | 2016-01-17 22:36:44 +0100 | [diff] [blame] | 67 | * New ``pybind11::base<>`` attribute to indicate a subclass relationship |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 68 | * Improved interface for RAII type wrappers in ``pytypes.h`` |
| 69 | * Use RAII type wrappers consistently within pybind11 itself. This |
| 70 | fixes various potential refcount leaks when exceptions occur |
Wenzel Jakob | 2c5d560 | 2016-04-11 18:46:11 +0200 | [diff] [blame] | 71 | * Added new ``bytes`` RAII type wrapper (maps to ``string`` in Python 2.7) |
Wenzel Jakob | 48548ea | 2016-01-17 22:36:44 +0100 | [diff] [blame] | 72 | * Made handle and related RAII classes const correct, using them more |
| 73 | consistently everywhere now |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 74 | * Got rid of the ugly ``__pybind11__`` attributes on the Python side---they are |
| 75 | now stored in a C++ hash table that is not visible in Python |
| 76 | * Fixed refcount leaks involving NumPy arrays and bound functions |
| 77 | * Vastly improved handling of shared/smart pointers |
| 78 | * Removed an unnecessary copy operation in ``pybind11::vectorize`` |
| 79 | * Fixed naming clashes when both pybind11 and NumPy headers are included |
| 80 | * Added conversions for additional exception types |
Wenzel Jakob | 48548ea | 2016-01-17 22:36:44 +0100 | [diff] [blame] | 81 | * Documentation improvements (using multiple extension modules, smart pointers, |
| 82 | other minor clarifications) |
Wenzel Jakob | 6158716 | 2016-01-18 22:38:52 +0100 | [diff] [blame] | 83 | * unified infrastructure for parsing variadic arguments in ``class_`` and cpp_function |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 84 | * Fixed license text (was: ZLIB, should have been: 3-clause BSD) |
| 85 | * Python 3.2 compatibility |
Wenzel Jakob | cd4e6ae | 2016-01-29 11:48:40 +0100 | [diff] [blame] | 86 | * Fixed remaining issues when accessing types in another plugin module |
| 87 | * Added enum comparison and casting methods |
| 88 | * Improved SFINAE-based detection of whether types are copy-constructible |
| 89 | * Eliminated many warnings about unused variables and the use of ``offsetof()`` |
Wenzel Jakob | 8ed2808 | 2016-02-07 17:32:37 +0100 | [diff] [blame] | 90 | * Support for ``std::array<>`` conversions |
Wenzel Jakob | 1ae77fe | 2016-01-17 22:36:43 +0100 | [diff] [blame] | 91 | |
| 92 | 1.1 (December 7, 2015) |
| 93 | -------------------------- |
| 94 | |
| 95 | * Documentation improvements (GIL, wrapping functions, casting, fixed many typos) |
| 96 | * Generalized conversion of integer types |
| 97 | * Improved support for casting function objects |
| 98 | * Improved support for ``std::shared_ptr<>`` conversions |
| 99 | * Initial support for ``std::set<>`` conversions |
| 100 | * Fixed type resolution issue for types defined in a separate plugin module |
| 101 | * Cmake build system improvements |
| 102 | * Factored out generic functionality to non-templated code (smaller code size) |
| 103 | * Added a code size / compile time benchmark vs Boost.Python |
| 104 | * Added an appveyor CI script |
| 105 | |
| 106 | 1.0 (October 15, 2015) |
| 107 | ------------------------ |
| 108 | * Initial release |