diff --git a/docs/changelog.rst b/docs/changelog.rst index bc2c2e76f..039f5ef9c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -15,6 +15,34 @@ case, both modules must use the same nanobind ABI version, or they will be 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 + `__). +* The :cpp:func:`nb::list::append() ` method now performs perfect + forwarding. (commit `2219d0 + `__). +* Many improvements to the handling of return value policies in + :cpp:class:`nb::ndarray\<..\> ` to avoid unnecessary copies. (commit `ffd22b + `__, + `a79575 + `__, + and `6f0c3f + `__). +* The :cpp:class:`nb::ndarray\<..\> ` class now has an additional + convenience constructor that takes the shape and (optionally) strides using + ``std::initializer_list``. (commit `041520 + `__). +* Inference of ``automatic*`` return value policy was entirely moved to the + base C++ class type caster. (commit `1ff9df + `__). +* Switch to the new Python 3.12 error status API if available. (commit `36751c + `__). +* Various minor fixes and improvements. +* ABI version 10. + Version 1.4.0 (June 8, 2023) ---------------------------- diff --git a/docs/porting.rst b/docs/porting.rst index 8c9e83d2a..7bc11190d 100644 --- a/docs/porting.rst +++ b/docs/porting.rst @@ -327,7 +327,6 @@ Removed features include: pybind11, however. - ● Buffer protocol binding (``.def_buffer()``) was removed in favor of :cpp:class:`nb::ndarray\<..\> `. -- ● Features to facilitate pickling and unpickling were removed. - ● Support for evaluating Python code strings was removed. Bullet points marked with ● may be reintroduced eventually, but this will diff --git a/src/nb_internals.cpp b/src/nb_internals.cpp index a9c560620..0fd307b01 100644 --- a/src/nb_internals.cpp +++ b/src/nb_internals.cpp @@ -17,7 +17,7 @@ /// Tracks the ABI of nanobind #ifndef NB_INTERNALS_VERSION -# define NB_INTERNALS_VERSION 9 +# define NB_INTERNALS_VERSION 10 #endif /// On MSVC, debug and release builds are not ABI-compatible!