From 270996fb22bbc8cb50cc3f1ca126c4381c10b9b7 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 13 Sep 2024 14:27:24 -0400 Subject: [PATCH 1/2] docs: update changelog for 2.13.6 Signed-off-by: Henry Schreiner --- docs/changelog.rst | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 0145317743..5d8229ca10 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -31,6 +31,36 @@ New Features: * The ``array_caster`` in pybind11/stl.h was enhanced to support value types that are not default-constructible. `#5305 `_ +* Added ``py::warnings`` namespace with ``py::warnings::warn`` and ``py::warnings::new_warning_type`` that provides the interface for Python warnings. + `#5291 `_ + +Version 2.13.6 (September 13, 2024) +----------------------------------- + +New Features: + +* A new ``self._pybind11_conduit_v1_()`` method is automatically added to all + ``py::class_``-wrapped types, to enable type-safe interoperability between + different independent Python/C++ bindings systems, including pybind11 + versions with different ``PYBIND11_INTERNALS_VERSION``'s. + `#5296 `_ + + +Bug fixes: + +* Using ``__cpp_nontype_template_args`` instead of ``__cpp_nontype_template_parameter_class``. + `#5330 `_ + +* Properly translate C++ exception to Python exception when creating Python buffer from wrapped object. + `#5324 `_ + + +Documentation: + +* Adds an answer (FAQ) for "What is a highly conclusive and simple way to find memory leaks?". + `#5340 `_ + + Version 2.13.5 (August 22, 2024) -------------------------------- @@ -238,6 +268,17 @@ Other: * Update docs and noxfile. `#5071 `_ +Version 2.12.1 (September 13, 2024) +----------------------------------- + +New Features: + +* A new ``self._pybind11_conduit_v1_()`` method is automatically added to all + ``py::class_``-wrapped types, to enable type-safe interoperability between + different independent Python/C++ bindings systems, including pybind11 + versions with different ``PYBIND11_INTERNALS_VERSION``'s. + `#5296 `_ + Version 2.12.0 (March 27, 2024) ------------------------------- @@ -413,6 +454,17 @@ Other: * An ``assert()`` was added to help Coverty avoid generating a false positive. `#4817 `_ +Version 2.11.2 (September 13, 2024) +----------------------------------- + +New Features: + +* A new ``self._pybind11_conduit_v1_()`` method is automatically added to all + ``py::class_``-wrapped types, to enable type-safe interoperability between + different independent Python/C++ bindings systems, including pybind11 + versions with different ``PYBIND11_INTERNALS_VERSION``'s. + `#5296 `_ + Version 2.11.1 (July 17, 2023) ------------------------------ From a7d817650a8c5c9a90a3ced40b82b3a088211fc4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 13 Sep 2024 14:42:42 -0400 Subject: [PATCH 2/2] docs: mention supported versions --- docs/changelog.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 5d8229ca10..a91082113f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -42,7 +42,8 @@ New Features: * A new ``self._pybind11_conduit_v1_()`` method is automatically added to all ``py::class_``-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 - versions with different ``PYBIND11_INTERNALS_VERSION``'s. + versions with different ``PYBIND11_INTERNALS_VERSION``'s. Supported on + pybind11 2.11.2, 2.12.1, and 2.13.6+. `#5296 `_ @@ -276,7 +277,8 @@ New Features: * A new ``self._pybind11_conduit_v1_()`` method is automatically added to all ``py::class_``-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 - versions with different ``PYBIND11_INTERNALS_VERSION``'s. + versions with different ``PYBIND11_INTERNALS_VERSION``'s. Supported on + pybind11 2.11.2, 2.12.1, and 2.13.6+. `#5296 `_ @@ -462,7 +464,8 @@ New Features: * A new ``self._pybind11_conduit_v1_()`` method is automatically added to all ``py::class_``-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 - versions with different ``PYBIND11_INTERNALS_VERSION``'s. + versions with different ``PYBIND11_INTERNALS_VERSION``'s. Supported on + pybind11 2.11.2, 2.12.1, and 2.13.6+. `#5296 `_