Skip to content

Commit c89d77a

Browse files
committed
Add changelog entries for a 2.1 release
1 parent cc61b49 commit c89d77a

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

Diff for: docs/changelog.md

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,32 @@
11
# Changelog
22

3-
### 2.0.1 (2024-07-01)
43

5-
## Minor Changes
4+
## 2.1 (2024-10-18)
5+
6+
## Major Changes
7+
8+
- The default version of the array API standard is now 2023.12. 2022.12 can
9+
still be enabled via the [flags API](array-api-strict-flags).
10+
11+
- Added support for multiple fake "devices", so that code testing against
12+
array-api-strict can check for proper device support. Currently there are
13+
three "devices", the "CPU" device, which is the default devices, and two
14+
pseudo "device" objects. This set of devices can be accessed with
15+
`array_api_strict.__array_namespace_info__().devices()` (requires the array
16+
API version to be set to 2023.12), and via the other array API APIs that
17+
return devices (like `x.device`). These devices do not correspond to any
18+
actual hardware and only exist for testing array API device semantics; for
19+
instance, implicitly combining arrays on different devices results in an
20+
exception. (Thanks to [@betatim](https://github.com/betatim)).
21+
22+
### Minor Changes
23+
24+
- Avoid implicitly relying on `__array__` in some places. These changes should
25+
not be usef visible.
26+
27+
## 2.0.1 (2024-07-01)
28+
29+
### Minor Changes
630

731
- Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
832
n-D arrays but also made 1-D arrays raise. The standard does not explicitly

0 commit comments

Comments
 (0)