Skip to content

Commit 0c6bd16

Browse files
committed
Add changelog entries for 1.5 release
1 parent 2ec2dce commit 0c6bd16

File tree

1 file changed

+65
-19
lines changed

1 file changed

+65
-19
lines changed

CHANGELOG.md

+65-19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,52 @@
1-
# 1.4.1 (2024-01-18)
1+
# Array API Compat Changelog
22

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
450

551
- Add support for the upcoming NumPy 2.0 release.
652

@@ -17,14 +63,14 @@
1763
- Fix linalg.cholesky returning the conjugate of the expected upper
1864
decomposition for numpy and cupy.
1965

20-
# 1.4 (2023-09-13)
66+
## 1.4 (2023-09-13)
2167

22-
## Major Changes
68+
### Major Changes
2369

2470
- Releases are now made with GitHub Actions (thanks
2571
[@matthewfeickert](https://github.com/matthewfeickert)).
2672

27-
## Minor Changes
73+
### Minor Changes
2874

2975
- Fix `torch.result_type()` cross-kind promotion
3076
([@lucascolley](https://github.com/lucascolley)).
@@ -34,42 +80,42 @@
3480
- Add requires-python metadata to the package
3581
([@matthewfeickert](https://github.com/matthewfeickert)).
3682

37-
# 1.3 (2023-06-20)
83+
## 1.3 (2023-06-20)
3884

39-
## Major Changes
85+
### Major Changes
4086

4187
- Add [2022.12](https://data-apis.org/array-api/2022.12/) standard support.
4288
This includes things like adding complex dtype support, adding the new
4389
`take` function, and various minor changes in the specification.
4490

45-
## Minor Changes
91+
### Minor Changes
4692

4793
- Support `"cpu"` in CuPy `to_device()`.
4894

4995
- Return a new array in NumPy/CuPy `reshape(copy=False)`.
5096

5197
- Fix signatures for PyTorch `broadcast_to` and `permute_dims`.
5298

53-
# 1.2 (2023-04-03)
99+
## 1.2 (2023-04-03)
54100

55-
## Major Changes
101+
### Major Changes
56102

57103
- Support the linalg extension in the `array_api_compat.torch` namespace.
58104

59105
- Add `isdtype()`.
60106

61-
## Minor Changes
107+
### Minor Changes
62108

63109
- Fix the `k` keyword argument to `tril` and `triu` in `torch`.
64110

65-
# 1.1.1 (2023-03-10)
111+
## 1.1.1 (2023-03-10)
66112

67-
## Major Changes
113+
### Major Changes
68114

69115
- Rename `get_namespace()` to `array_namespace()` (`get_namespace()` is
70116
maintained as a backwards compatible alias).
71117

72-
## Minor Changes
118+
### Minor Changes
73119

74120
- The minimum supported NumPy version is now 1.21. Fixed a few issues with
75121
NumPy 1.21 (with `unique_*` and `asarray`), although there are also a few
@@ -91,9 +137,9 @@
91137
- Add `torch` wrappers for `ones`, `empty`, and `zeros` so that `shape` can be
92138
passed as a keyword argument.
93139

94-
# 1.1 (2023-02-24)
140+
## 1.1 (2023-02-24)
95141

96-
## Major Changes
142+
### Major Changes
97143

98144
- Added support for PyTorch.
99145

@@ -104,14 +150,14 @@
104150
- All wrapper functions that wrap existing library functions now pass through
105151
arbitrary `**kwargs`.
106152

107-
## Minor Changes
153+
### Minor Changes
108154

109155
- Added CI to run against the [array API testsuite](https://github.com/data-apis/array-api-tests).
110156

111157
- Fix `sort(stable=False)` and `argsort(stable=False)` with CuPy.
112158

113-
# 1.0 (2022-12-05)
159+
## 1.0 (2022-12-05)
114160

115-
## Major Changes
161+
### Major Changes
116162

117163
- Initial release. Includes support for NumPy and CuPy.

0 commit comments

Comments
 (0)