|
4 | 4 |
|
5 | 5 | This changelog is organized by specification version and notes all changes with respect to the previous version. Within the section for a specific version (e.g., v2022.12), separate sections are used for (a) changes to existing APIs and requirements, (b) new APIs and new requirements, and (c) errata. |
6 | 6 |
|
| 7 | +## v2025.12 |
| 8 | + |
| 9 | +### Updates |
| 10 | + |
| 11 | +> Updates to existing APIs and requirements. |
| 12 | +
|
| 13 | +#### Normative |
| 14 | + |
| 15 | +- Clarify guidance regarding device placement of returned output arrays ([gh-919](https://github.com/data-apis/array-api/pull/919)) |
| 16 | + |
| 17 | +#### APIs |
| 18 | + |
| 19 | +- `__array_namespace__`: remove guidance recommending that the returned namespace only include those names which are part of this specification ([gh-931](https://github.com/data-apis/array-api/pull/931)) |
| 20 | +- `__array_namespace_info__().default_device`: clarify support for `None` when the default device is not predictable ([gh-961](https://github.com/data-apis/array-api/pull/961)) |
| 21 | +- `__setitem__`: specify type promotion behavior when the `value` argument is an array ([gh-920](https://github.com/data-apis/array-api/pull/920)) |
| 22 | +- `asarray`: clarify that behavior when providing a nested sequence is unspecified ([gh-917](https://github.com/data-apis/array-api/pull/917)) |
| 23 | +- `clip`: clarify type promotion behavior when providing scalar values for `min` and/or `max` arguments ([gh-926](https://github.com/data-apis/array-api/pull/926)) |
| 24 | +- `expand_dims`: add support for specifying a tuple of axis positions ([gh-988](https://github.com/data-apis/array-api/pull/988)) |
| 25 | +- `permute_dims`: add support for negative axes ([gh-980](https://github.com/data-apis/array-api/pull/980)) |
| 26 | + |
| 27 | +##### Scalar Argument Support |
| 28 | + |
| 29 | +The following APIs were updated to support both scalar and array arguments for one or more arguments: |
| 30 | + |
| 31 | +- `searchsorted`: add scalar argument support ([gh-982](https://github.com/data-apis/array-api/pull/982)) |
| 32 | + |
| 33 | +* * * |
| 34 | + |
| 35 | +### Additions |
| 36 | + |
| 37 | +> New APIs and requirements added to the specification. |
| 38 | +
|
| 39 | +#### APIs |
| 40 | + |
| 41 | +The following APIs were added to the specification: |
| 42 | + |
| 43 | +- `broadcast_shapes`: broadcast one or more shapes against one another ([gh-983](https://github.com/data-apis/array-api/pull/983)) |
| 44 | +- `isin`: test for each element in `x1` whether the element is in `x2` ([gh-959](https://github.com/data-apis/array-api/pull/959)) |
| 45 | + |
| 46 | +#### Extensions |
| 47 | + |
| 48 | +The following APIs were added to optional specification extensions: |
| 49 | + |
| 50 | +- `linalg.eig`: return the eigenvalues and eigenvectors of a real or complex matrix ([gh-978](https://github.com/data-apis/array-api/pull/978)) |
| 51 | +- `linalg.eigvals`: return the eigenvalues of a real or complex matrix ([gh-978](https://github.com/data-apis/array-api/pull/978)) |
| 52 | + |
| 53 | +* * * |
| 54 | + |
| 55 | +### Breaking Changes |
| 56 | + |
| 57 | +The following is a list of breaking changes relative to the previous version of the specification: |
| 58 | + |
| 59 | +#### APIs |
| 60 | + |
| 61 | +- `__array_namespace_info__().devices`: return a tuple rather than a list ([gh-981](https://github.com/data-apis/array-api/pull/981)) |
| 62 | +- `broadcast_arrays`: return a tuple rather than a list ([gh-981](https://github.com/data-apis/array-api/pull/981)) |
| 63 | +- `meshgrid`: return a tuple rather than a list ([gh-981](https://github.com/data-apis/array-api/pull/981)) |
| 64 | + |
| 65 | +* * * |
| 66 | + |
| 67 | +### Errata |
| 68 | + |
| 69 | +The following is a list of fixes and points of clarification with regard to the previous version of the specification: |
| 70 | + |
| 71 | +- `clip`: clarify type promotion behavior when providing scalar values for `min` and/or `max` arguments ([gh-926](https://github.com/data-apis/array-api/pull/926)) |
| 72 | +- `linalg.eigh`: fix typing for output tuple ([gh-924](https://github.com/data-apis/array-api/pull/924)) |
| 73 | +- `meshgrid`: fix typing for `indexing` argument ([gh-915](https://github.com/data-apis/array-api/pull/915)) |
| 74 | +- `sqrt`: fix special case for complex-valued input ([gh-987](https://github.com/data-apis/array-api/pull/987)) |
| 75 | + |
| 76 | +* * * |
| 77 | + |
7 | 78 | ## v2024.12 |
8 | 79 |
|
9 | 80 | ### Updates |
|
0 commit comments