Skip to content

Commit 166982c

Browse files
committed
Move the changelog into the docs
1 parent a5025d3 commit 166982c

File tree

3 files changed

+48
-45
lines changed

3 files changed

+48
-45
lines changed

CHANGELOG.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/changelog.md

docs/changelog.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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.

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,6 @@ git_filter_repo.py --path numpy/array_api/ --path-rename numpy/array_api:array_a
203203
```{toctree}
204204
:titlesonly:
205205
:hidden:
206+
207+
changelog.md
206208
```

0 commit comments

Comments
 (0)