|
1 | | -# 1.4.1 (2024-01-18) |
| 1 | +# Array API Compat Changelog |
2 | 2 |
|
3 | | -## Minor Changes |
| 3 | +## 1.5 (2024-03-07) |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- Add support for Dask ([@lithomas1](https://github.com/lithomas1)). |
| 8 | + |
| 9 | +- Add support for JAX. Note that unlike other array libraries, |
| 10 | + array-api-compat does not contain any wrappers for JAX functions. All JAX |
| 11 | + array API support is in JAX itself. Thus, there is no `array_api_compat.jax` |
| 12 | + submodule, and `array_namespace(<JAX array>)` returns the |
| 13 | + `jax.experimental.array_api` module. |
| 14 | + |
| 15 | +- The functions `is_numpy_array(x)`, `is_cupy_array(x)`, `is_torch_array(x)`, |
| 16 | + `is_dask_array(x)`, `is_jax_array(x)` are now part of the public |
| 17 | + `array_api_compat` API. |
| 18 | + |
| 19 | +- Add wrappers for the `fft` extension module for NumPy, CuPy, and PyTorch. |
| 20 | + |
| 21 | +### Minor Changes |
| 22 | + |
| 23 | +- Allow `'2022.12'` as the `api_version` in `array_namespace()`. `'2021.12'` |
| 24 | + is also supported but will issue a warning since the returned namespace will |
| 25 | + still be a 2022.12 compliant one. |
| 26 | + |
| 27 | +- Add wrapper for numpy.linalg.solve, which broadcasts the inputs according to |
| 28 | + the standard. |
| 29 | + |
| 30 | +- Add wrappers for various PyTorch linalg functions. |
| 31 | + |
| 32 | +- Fix a bug with `numpy.linalg.vector_norm(keepdims=True)`. |
| 33 | + |
| 34 | +- BREAKING: Update `vecdot` wrappers to apply `axes` before broadcasting, not |
| 35 | + after. This matches the updated 2023.12 standard wording, and also the |
| 36 | + behavior of the new `numpy.vecdot` gufunc in NumPy 2.0. |
| 37 | + |
| 38 | +- Fix some linalg functions which were supposed to be in both the main |
| 39 | + namespace and the linalg extension namespace. |
| 40 | + |
| 41 | +- Add Ruff to CI. ([@adonath](https://github.com/adonath)) |
| 42 | + |
| 43 | +- Test that internal definitions of `__all__` are self-consistent, which |
| 44 | + should help to avoid issues where wrappers are accidentally not exported to |
| 45 | + the compat namespaces properly. |
| 46 | + |
| 47 | +## 1.4.1 (2024-01-18) |
| 48 | + |
| 49 | +### Minor Changes |
4 | 50 |
|
5 | 51 | - Add support for the upcoming NumPy 2.0 release. |
6 | 52 |
|
|
17 | 63 | - Fix linalg.cholesky returning the conjugate of the expected upper |
18 | 64 | decomposition for numpy and cupy. |
19 | 65 |
|
20 | | -# 1.4 (2023-09-13) |
| 66 | +## 1.4 (2023-09-13) |
21 | 67 |
|
22 | | -## Major Changes |
| 68 | +### Major Changes |
23 | 69 |
|
24 | 70 | - Releases are now made with GitHub Actions (thanks |
25 | 71 | [@matthewfeickert](https://github.com/matthewfeickert)). |
26 | 72 |
|
27 | | -## Minor Changes |
| 73 | +### Minor Changes |
28 | 74 |
|
29 | 75 | - Fix `torch.result_type()` cross-kind promotion |
30 | 76 | ([@lucascolley](https://github.com/lucascolley)). |
|
34 | 80 | - Add requires-python metadata to the package |
35 | 81 | ([@matthewfeickert](https://github.com/matthewfeickert)). |
36 | 82 |
|
37 | | -# 1.3 (2023-06-20) |
| 83 | +## 1.3 (2023-06-20) |
38 | 84 |
|
39 | | -## Major Changes |
| 85 | +### Major Changes |
40 | 86 |
|
41 | 87 | - Add [2022.12](https://data-apis.org/array-api/2022.12/) standard support. |
42 | 88 | This includes things like adding complex dtype support, adding the new |
43 | 89 | `take` function, and various minor changes in the specification. |
44 | 90 |
|
45 | | -## Minor Changes |
| 91 | +### Minor Changes |
46 | 92 |
|
47 | 93 | - Support `"cpu"` in CuPy `to_device()`. |
48 | 94 |
|
49 | 95 | - Return a new array in NumPy/CuPy `reshape(copy=False)`. |
50 | 96 |
|
51 | 97 | - Fix signatures for PyTorch `broadcast_to` and `permute_dims`. |
52 | 98 |
|
53 | | -# 1.2 (2023-04-03) |
| 99 | +## 1.2 (2023-04-03) |
54 | 100 |
|
55 | | -## Major Changes |
| 101 | +### Major Changes |
56 | 102 |
|
57 | 103 | - Support the linalg extension in the `array_api_compat.torch` namespace. |
58 | 104 |
|
59 | 105 | - Add `isdtype()`. |
60 | 106 |
|
61 | | -## Minor Changes |
| 107 | +### Minor Changes |
62 | 108 |
|
63 | 109 | - Fix the `k` keyword argument to `tril` and `triu` in `torch`. |
64 | 110 |
|
65 | | -# 1.1.1 (2023-03-10) |
| 111 | +## 1.1.1 (2023-03-10) |
66 | 112 |
|
67 | | -## Major Changes |
| 113 | +### Major Changes |
68 | 114 |
|
69 | 115 | - Rename `get_namespace()` to `array_namespace()` (`get_namespace()` is |
70 | 116 | maintained as a backwards compatible alias). |
71 | 117 |
|
72 | | -## Minor Changes |
| 118 | +### Minor Changes |
73 | 119 |
|
74 | 120 | - The minimum supported NumPy version is now 1.21. Fixed a few issues with |
75 | 121 | NumPy 1.21 (with `unique_*` and `asarray`), although there are also a few |
|
91 | 137 | - Add `torch` wrappers for `ones`, `empty`, and `zeros` so that `shape` can be |
92 | 138 | passed as a keyword argument. |
93 | 139 |
|
94 | | -# 1.1 (2023-02-24) |
| 140 | +## 1.1 (2023-02-24) |
95 | 141 |
|
96 | | -## Major Changes |
| 142 | +### Major Changes |
97 | 143 |
|
98 | 144 | - Added support for PyTorch. |
99 | 145 |
|
|
104 | 150 | - All wrapper functions that wrap existing library functions now pass through |
105 | 151 | arbitrary `**kwargs`. |
106 | 152 |
|
107 | | -## Minor Changes |
| 153 | +### Minor Changes |
108 | 154 |
|
109 | 155 | - Added CI to run against the [array API testsuite](https://github.com/data-apis/array-api-tests). |
110 | 156 |
|
111 | 157 | - Fix `sort(stable=False)` and `argsort(stable=False)` with CuPy. |
112 | 158 |
|
113 | | -# 1.0 (2022-12-05) |
| 159 | +## 1.0 (2022-12-05) |
114 | 160 |
|
115 | | -## Major Changes |
| 161 | +### Major Changes |
116 | 162 |
|
117 | 163 | - Initial release. Includes support for NumPy and CuPy. |
0 commit comments