Skip to content

Commit 2709f83

Browse files
authored
Merge pull request #193 from ev-br/release_2.5
DOC: add a v2.5 changelog
2 parents 349fd46 + d19d168 commit 2709f83

File tree

2 files changed

+69
-8
lines changed

2 files changed

+69
-8
lines changed

docs/changelog.md

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# Changelog
22

3+
## 2.5 (2026-02-23)
4+
5+
This release targets the 2025.12 revision of the Array API standard, and supports
6+
Python versions 3.10--3.14.
7+
8+
### Major Changes
9+
10+
- The default version of the array API standard is now 2025.12. Previous versions can
11+
still be enabled via the [flags API](array-api-strict-flags), e.g., by calling
12+
`set_array_api_strict_flags(api_version='2024.12')` or setting
13+
`ARRAY_API_STRICT_API_VERSION=2024.12`.
14+
15+
Note that this support is still relatively undertested. Please [report any
16+
issues](https://github.com/data-apis/array-api-strict/issues) you find.
17+
18+
- The following functions, new in the 2025.12 revision, are implemented:
19+
20+
- `isin`
21+
- `broadcast_shapes`
22+
- `linalg.eig`
23+
- `linalg.eigvals`
24+
25+
The following updates to existing APIs have been implemented, per the 2025.12 Array API
26+
standard revision:
27+
28+
- `searchsorted` now accepts a python scalar for its second argument,
29+
`x2`.
30+
- `expand_dims` now accepts tuples of axes.
31+
- `permute_dims` now accepts negative axes, with the usual meaning (`axis=-1` is
32+
the last axis, `-2` is the second-to-last axis, and so on).
33+
34+
The following functions now return tuples instead of lists:
35+
36+
- `__array_namespace_info__().devices`
37+
- `broadcast_arrays`
38+
- `meshgrid`
39+
40+
41+
- Array objects can now be pickled.
42+
43+
44+
### Minor Changes
45+
46+
- Several functions were diverging from the standard, and have been fixed to follow
47+
the 2025.12 revision of the standard:
48+
49+
- `clip` has been updated to accept python `int` scalars for its `min` and `max`
50+
arguments for clipping a floating-point array.
51+
- `clip` has been updated to always returns a copy of an input array.
52+
- `full` and `full_like` now reject array values for the `fill_value` argument.
53+
- `expand_dims` accepts its axis argument as either positional or keyword argument.
54+
55+
- `sign` of a complex zero, `sign(0 + 0j)` has been fixed to return zero.
56+
57+
58+
### Contributors
59+
60+
The following users contributed to this release:
61+
62+
Evgeni Burovski,
63+
Lucas Colley,
64+
Lucy Liu
65+
66+
367
## 2.4.1 (2025-07-27)
468

569
### Major Changes
@@ -8,7 +72,6 @@
872

973
- Support for Python versions 3.10 and 3.11 has been reinstated.
1074

11-
1275
### Minor Changes
1376

1477
- Arithmetic operations no longer accept NumPy arrays.

docs/index.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ libraries. Consuming library code should use the
1515
support the array API. Rather, it is intended to be used in the test suites of
1616
consuming libraries to test their array API usage.
1717

18-
array-api-strict currently supports the
19-
[2023.12](https://data-apis.org/array-api/latest/changelog.html#v2022-12)
20-
version of the standard.
21-
[2022.12](https://data-apis.org/array-api/latest/changelog.html#v2023-12)
22-
support is also implemented, [and can be enabled with a
23-
flag](array-api-strict-flags).
18+
`array-api-strict` currently supports the
19+
[2025.12](https://data-apis.org/array-api/2025.12/changelog.html)
20+
version of the standard. Support for previous versions is also implemented,
21+
[and can be enabled with a flag](array-api-strict-flags).
2422

2523
## Install
2624

@@ -37,7 +35,7 @@ and [Conda-forge](https://anaconda.org/conda-forge/array-api-strict)
3735
conda install --channel conda-forge array-api-strict
3836
```
3937

40-
array-api-strict supports NumPy 1.26 and NumPy 2.0.
38+
array-api-strict supports NumPy 1.26 and NumPy 2.0-2.4.
4139

4240
## Rationale
4341

0 commit comments

Comments
 (0)