@@ -18,17 +18,31 @@ below inherit that of the preceding release.
1818Version 1.6.0 (TBA)
1919-------------------
2020
21- * Two small :cpp:class: `nb::ndarray\< ..\> <ndarray> ` improvements. (commit
22- `7abcdd
23- <https://github.com/wjakob/nanobind/commit/7abcdd3cdf51bbc60984d48b3a4e82ce96f30500> `__).
24-
25- 1. Added the ability to impose additional ndarray constraints following
26- runtime checks via the :cpp:func: `.impose() <ndarray::impose> ` method.
27- See the :ref: `ndarray documentation <ndarray-runtime-specialization >` for
28- an example.
29-
30- 2. Shape constraints like ``nb::shape<nb::any, nb::any, nb::any> ``
31- are tedious to write. Now, there is a shorter form: ``nb::ndim<3> ``.
21+ * Several :cpp:class: `nb::ndarray\< ..\> <ndarray> ` improvements:
22+
23+ 1. CPU loops involving nanobind ndarrays weren't getting properly vectorized.
24+ This release of nanobind adds *views *, which provide an efficient
25+ abstraction that enables better code generation. See the documentation
26+ section on :ref: `array views <ndarray-views >` for details.
27+ (commit `8f602e
28+ <https://github.com/wjakob/nanobind/commit/8f602e187b0634e1df13ba370352cf092e9042c0> `__).
29+
30+ 2. Added support for nonstandard arithmetic types (e.g., ``__int128 `` or
31+ ``__fp16 ``) in ndarrays. See the :ref: `documentation section
32+ <ndarray-nonstandard>` for details. (commit `49eab2
33+ <https://github.com/wjakob/nanobind/commit/49eab2845530f84a1f029c5c1c5541ab3c1f9adc> `__).
34+
35+ 3. Shape constraints like :py:class: `nb::shape\< nb::any, nb::any, nb::any\>
36+ <shape> ` are tedious to write. Now, there is a shorter form:
37+ :py:class: `nb::ndim\< 3\> <ndim> `. (commit `1350a5
38+ <https://github.com/wjakob/nanobind/commit/1350a5e15b28e80ffc2130a779f3b8c559ddb620> `__).
39+
40+ 4. Added an explicit constructor that can be used to add or remove ndarray
41+ constraints. (commit `a1ac207
42+ <https://github.com/wjakob/nanobind/commit/a1ac207ab82206b8e50fe456f577c02270014fb3> `__).
43+
44+ * Added the wrapper class :cpp:class: `nb::weakref <weakref> `. (commit `78887f
45+ <https://github.com/wjakob/nanobind/commit/78887fc167196a7568a5cef8f8dfbbee09aa7dc4> `__).
3246
3347* Added the methods :cpp:func: `nb::dict::contains() <dict::contains> ` and
3448 :cpp:func: `nb::mapping::contains() <mapping::contains> ` to the Python type
0 commit comments