From c15c31ca19f3095a713616a1006e1507ca1c241d Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 11 Sep 2023 23:40:49 +0200 Subject: [PATCH] changelog updates --- docs/changelog.rst | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index da32ca518..346183214 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -18,17 +18,30 @@ below inherit that of the preceding release. Version 1.6.0 (TBA) ------------------- -* Two small :cpp:class:`nb::ndarray\<..\> ` improvements. (commit - `7abcdd - `__). - - 1. Added the ability to impose additional ndarray constraints following - runtime checks via the :cpp:func:`.impose() ` method. - See the :ref:`ndarray documentation ` for - an example. - - 2. Shape constraints like ``nb::shape`` - are tedious to write. Now, there is a shorter form: ``nb::ndim<3>``. +* Several :cpp:class:`nb::ndarray\<..\> ` improvements: + + 1. CPU loops involving nanobind ndarrays weren't getting properly vectorized. + This release of nanobind adds *views*, which provide an efficient + abstraction that enables better code generation. See the documentation + section on :ref:`array views ` for details. + (commit `8f602e + `__). + + 2. Added support for custom arithmetic types (e.g. ``__fp16``) in ndarrays. + (commit `49eab2 + `__). + + 3. Shape constraints like ``nb::shape`` are + tedious to write. Now, there is a shorter form: ``nb::ndim<3>``. (commit + `1350a5 + `__). + + 4. Added an explicit constructor that can be used to add or remove ndarray + constraints. (commit `a1ac207 + `__). + +* Added the wrapper class :cpp:class:`nb::weakref `. (commit `78887f + `__). * Added the methods :cpp:func:`nb::dict::contains() ` and :cpp:func:`nb::mapping::contains() ` to the Python type