Skip to content

Commit c15c31c

Browse files
committed
changelog updates
1 parent 8f602e1 commit c15c31c

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

docs/changelog.rst

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,30 @@ below inherit that of the preceding release.
1818
Version 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 custom arithmetic types (e.g. ``__fp16``) in ndarrays.
31+
(commit `49eab2
32+
<https://github.com/wjakob/nanobind/commit/49eab2845530f84a1f029c5c1c5541ab3c1f9adc>`__).
33+
34+
3. Shape constraints like ``nb::shape<nb::any, nb::any, nb::any>`` are
35+
tedious to write. Now, there is a shorter form: ``nb::ndim<3>``. (commit
36+
`1350a5
37+
<https://github.com/wjakob/nanobind/commit/1350a5e15b28e80ffc2130a779f3b8c559ddb620>`__).
38+
39+
4. Added an explicit constructor that can be used to add or remove ndarray
40+
constraints. (commit `a1ac207
41+
<https://github.com/wjakob/nanobind/commit/a1ac207ab82206b8e50fe456f577c02270014fb3>`__).
42+
43+
* Added the wrapper class :cpp:class:`nb::weakref <weakref>`. (commit `78887f
44+
<https://github.com/wjakob/nanobind/commit/78887fc167196a7568a5cef8f8dfbbee09aa7dc4>`__).
3245

3346
* Added the methods :cpp:func:`nb::dict::contains() <dict::contains>` and
3447
:cpp:func:`nb::mapping::contains() <mapping::contains>` to the Python type

0 commit comments

Comments
 (0)