|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## 1.1.1 (2024-04-29) |
| 4 | + |
| 5 | +- Fix the `api_version` argument to `__array_namespace__` to accept |
| 6 | + `'2021.12'` or `'2022.12'`. |
| 7 | + |
| 8 | +## 1.1 (2024-04-08) |
| 9 | + |
| 10 | +- Fix the `copy` flag in `__array__` for NumPy 2.0. |
| 11 | + |
| 12 | +- Add full `copy=False` support to `asarray()`. This is emulated in NumPy 1.26 by creating |
| 13 | + the array and seeing if it is copied. For NumPy 2.0, the new native |
| 14 | + `copy=False` flag is used. |
| 15 | + |
| 16 | +- Add broadcasting support to `cross`. |
| 17 | + |
| 18 | +## 1.0 (2024-01-24) |
| 19 | + |
| 20 | +This is the first release of `array_api_strict`. It is extracted from |
| 21 | +`numpy.array_api`, which was included as an experimental submodule in NumPy |
| 22 | +versions prior to 2.0. Note that the commit history in this repository is |
| 23 | +extracted from the git history of numpy/array_api/ (see the [README](README.md)). |
| 24 | + |
| 25 | +Additionally, the following changes are new to `array_api_strict` from |
| 26 | +`numpy.array_api` in NumPy 1.26 (the last NumPy feature release to include |
| 27 | +`numpy.array_api`): |
| 28 | + |
| 29 | +- ``array_api_strict`` was made more portable. In particular: |
| 30 | + |
| 31 | + - ``array_api_strict`` no longer uses ``"cpu"`` as its "device", but rather a |
| 32 | + separate ``CPU_DEVICE`` object (which is not accessible in the namespace). |
| 33 | + This is because "cpu" is not part of the array API standard. |
| 34 | + |
| 35 | + - ``array_api_strict`` now uses separate wrapped objects for dtypes. |
| 36 | + Previously it reused the ``numpy`` dtype objects. This makes it clear |
| 37 | + which behaviors on dtypes are part of the array API standard (effectively, |
| 38 | + the standard only requires ``==`` on dtype objects). |
| 39 | + |
| 40 | +- ``numpy.array_api.nonzero`` now errors on zero-dimensional arrays, as |
| 41 | + required by the array API standard. |
| 42 | + |
| 43 | +- Support for the optional [fft |
| 44 | + extension](https://data-apis.org/array-api/latest/extensions/fourier_transform_functions.html) |
| 45 | + was added. |
0 commit comments