You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
4.6 KiB

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