From d4885c5d16d07da6c1133d02dd550b50cd9fdf1e Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 16 Jun 2023 09:25:14 +0200 Subject: [PATCH] changelog update --- docs/changelog.rst | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 05823d379..a0d0ca539 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -16,11 +16,26 @@ isolated from each other. Releases that don't explicitly mention an ABI version below inherit that of the preceding release. -Version 1.5.0 (TBA) -------------------- - -* Support for exception chaining. (commit `041520 - `__). +Version 1.5.0 (Aug 7, 2023) +--------------------------- + +* New low-level interface for wrapping existing C++ instances via + :cpp:func:`nb::inst_take_ownership() ` + :cpp:func:`nb::inst_reference() `. Also added convenience + functions to replace the contents of an instance with that of another. + :cpp:func:`nb::inst_replace_copy() ` along with + :cpp:func:`nb::inst_replace_move() ` (commit `1c462d + `__). +* Added a low-level abstraction around :cpp:func:`nb::type_get_slot() + ` around ``PyType_GetSlot``, but with more consistent behavior + across Python versions.(commit `1c462d (commit `d555e9 + https://github.com/wjakob/nanobind/commit/d555e9de1c45394f5be5d62dc999c603d651c8c4`__). +* Support for creating :ref:`chained exceptions ` via the + :cpp:func:`nb::raise_from() ` and :cpp:func:`nb::chain_error() + ` functions. (commits `041520 + `__ + and `beb699 + `__). * The :cpp:func:`nb::list::append() ` method now performs perfect forwarding. (commit `2219d0 `__). @@ -40,6 +55,12 @@ Version 1.5.0 (TBA) `__). * Switch to the new Python 3.12 error status API if available. (commit `36751c `__). +* The ``nb::list`` and ``nb::tuple`` default constructors now construct an empty list/tuple instead + of an invalid null-initialized handle. + (commit `506185 `__) +* Added a non-throwing function :cpp:func:`nb::try_cast() ` as an + alternative to :cpp:func:`nb::cast() `. (commit `6ca852 + `__). * Various minor fixes and improvements. * ABI version 10.