Skip to content

Commit b2917b2

Browse files
committed
DOC: add a changelog entry for 2.6
1 parent 875e4c7 commit b2917b2

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

docs/changelog.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog
22

3+
## 2.6 (2026-07-09)
4+
5+
- `__setitem__` method of array objects got stricter:
6+
7+
- `__setitem__` method now disallows device transfers: if the right-hand side
8+
argument is an array on a device which differs from the device of the left-hand
9+
argument, an error is raised. Note that this change follows
10+
the draft of a future Array API standard revision, see
11+
[gh-1005](https://github.com/data-apis/array-api/pull/1005) for discussion.
12+
- `None` is no longer allowed as an indexing key.
13+
14+
- Array objects expose a DLPack device number, via their `__dlpack_device__` method.
15+
- `from_dlpack` function now supports `copy=` argument.
16+
17+
- `Device` objects are now allowed to only support a subset of data types, and can
18+
have a device-dependent default data types. Note that this enhancement follows
19+
the draft of a future Array API standard revision, see
20+
[gh-1005](https://github.com/data-apis/array-api/pull/1005) for discussion.
21+
- A new device object, `Device("no_float64")` was added which only supports
22+
single-precision float and complex data types; this device mimics the behavior
23+
of a "metal"/MPS device which does not support double precision floats.
24+
Attempting to create an array with float64 or complex128 data type on this device
25+
raises an error.
26+
- The existing `Device("device2")` object has been modified: it supports float64 data
27+
type but defaults to float32 and complex64:
28+
`asarray([1.0], device=Device("device2")).dtype` is `float32`.
29+
30+
31+
### Contributors
32+
33+
The following users contributed to this release:
34+
35+
Evgeni Burovski,
36+
Lucas Colley,
37+
Ralf Gommers,
38+
Tim Head.
39+
40+
341
## 2.5 (2026-02-23)
442

543
This release targets the 2025.12 revision of the Array API standard, and supports

0 commit comments

Comments
 (0)