From 8dce3a53405a585120f783baceeb2eb4f86d8a3a Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 5 Sep 2024 09:23:43 +0900 Subject: [PATCH] changelog updates --- docs/changelog.rst | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 67f600e4..45ea75da 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -28,18 +28,41 @@ Version 2.2.0 (TBA) keyword arguments to constructors. Note that the improvements only apply to Python 3.9+. -* nanobind now allows :cpp:class:`nb::enum_\() ` bindings to specify - :cpp:class:`nb::is_flag() ` annotation, which produces an - enumeration type derived from `enum.Flag`. This enables bitwise combination - of enumerators using compatible operators (``&``, ``|``, ``^``, and ``~``). +* A new :cpp:class:`nb::is_flag() ` annotation in + :cpp:class:`nb::enum_\() ` bindings produces enumeration types + derived from `enum.Flag`, enabling bitwise combination using compatible + operators (``&``, ``|``, ``^``, and ``~``). The :cpp:class:`nb::is_flag() ` annotation can further be combined with :cpp:class:`nb::is_arithmetic() `, which yields an enumeration deriving from `enum.IntFlag`. +* Support return value policy customization in the type casters of + ``Eigen::Ref<>`` and ``Eigen::Map<>`` (commit `67316e + `__). + * Added the :cpp:class:`bytearray` wrapper type. (PR `#654 `__) +* The :cpp:class:`nb::ellipsis ` type now renders as ``...`` when + used in :cpp:class:`nb::typed\<...\> ` (PR `#705 + `__). + +* The :cpp:class:`nb::sig("...") ` annotation now supports `inline type + parameter lists + `__ such + as ``def first[T](l: Sequence[T]) -> T`` (PR `#709 + `__). + +* Fixed implicit conversion of complex nd-arrays. (issue `#709 + `__) + +* Minor fixes and improvements (PR `#696 + `__, `#693 + `__, `#675 + `__, commit `75d259 + `__). + * ABI version 15. @@ -58,7 +81,7 @@ Version 2.1.0 (Aug 11, 2024) This change was prompted by discussion `#605 `__. -* Switch nanobind wheel generation from `setuptools +* Switched nanobind wheel generation from `setuptools `__ to `scikit-build-core `__ (PR `#618 `__). @@ -88,7 +111,7 @@ Version 2.1.0 (Aug 11, 2024) `#595 `__, `#647 `__). -* The nd-array wrapper :cpp::class:`nb::ndarray ` now properly handles +* The nd-array wrapper :cpp:class:`nb::ndarray ` now properly handles CuPy arrays (`#594 `__). * Added :cpp:func:`nb::hash() `, a wrapper for the Python ``hash()``