Skip to content

Commit 8716970

Browse files
committed
Add changelog entries for 2.0 release
1 parent 0b47a05 commit 8716970

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/changelog.md

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

3+
## 2.0 (2024-06-27)
4+
5+
### Major Changes
6+
7+
- array-api-strict has a new set of [flags](array-api-strict-flags) that can
8+
be used to dynamically enable or disable features in array-api-strict. These
9+
flags allow you to change the supported array API version, enable or disable
10+
[extensions](https://data-apis.org/array-api/latest/extensions/index.html),
11+
enable or disable features that rely on data-dependent shapes, and enable or
12+
disable boolean indexing. Future versions may add additional flags to allow
13+
changing other optional or varying behavior in the standard.
14+
15+
- Added experimental support for the
16+
[2023.12](https://data-apis.org/array-api/2023.12/changelog.html#v2023-12)
17+
version of the array API standard. The default version is still 2022.12, but
18+
the version can be changed to 2023.12 using the aforementioned flags, either
19+
by calling
20+
{func}`array_api_strict.set_array_api_strict_flags(api_version='2023.12')
21+
<array_api_strict.set_array_api_strict_flags>` or setting the environment
22+
variable {envvar}`ARRAY_API_STRICT_API_VERSION=2023.12
23+
<ARRAY_API_STRICT_API_VERSION>`.
24+
25+
### Minor Changes
26+
27+
- Calling `iter()` on an array now correctly raises `TypeError`.
28+
29+
- Add some missing names to `__all__`.
30+
331
## 1.1.1 (2024-04-29)
432

533
- Fix the `api_version` argument to `__array_namespace__` to accept

0 commit comments

Comments
 (0)