File tree Expand file tree Collapse file tree 3 files changed +71
-2
lines changed Expand file tree Collapse file tree 3 files changed +71
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.2 (2024-11-11)
4+
5+ ### Major Changes
6+
7+ - Preliminary support for the draft 2024.12 version of the standard is now
8+ implemented. This is disabled by default, but can be enabled with the [ flags
9+ API] ( array-api-strict-flags ) , e.g., by calling
10+ ` set_array_api_strict_flags(api_version='2024.12') ` or setting
11+ ` ARRAY_API_STRICT_API_VERSION=2024.12 ` .
12+
13+ Note that this support is still preliminary and still relatively untested.
14+ Please [ report any
15+ issues] ( https://github.com/data-apis/array-api-strict/issues ) you find.
16+
17+ The following functions are implemented for 2024:
18+
19+ - ` diff `
20+ - ` nextafter `
21+ - ` reciprocal `
22+ - ` take_along_axis `
23+ - The ` 'max dimensions' ` key of ` __array_namespace_info__().capabilities() ` .
24+
25+ Some planned changes to the 2024.12 standard, including scalar support for
26+ array functions, is not yet implemented but will be in a future version.
27+
28+ ### Minor Changes
29+
30+ - ` __array_namespace_info__() ` now returns a class instead of a module. This
31+ prevents extraneous names that aren't part of the standard from appearing on
32+ it.
33+
334## 2.1.3 (2024-11-08)
435
5- ## Major Changes
36+ ### Major Changes
637
738- Revert the change to require NumPy >= 2.1 and Python >= 3.10 from
839 array-api-strict 2.1.2. array-api-strict now requires NumPy >= 1.21 and
1849
1950## 2.1.2 (2024-11-07)
2051
21- ## Major Changes
52+ ### Major Changes
2253
2354- array-api-strict now requires NumPy >= 2.1 and Python >= 3.10
2455
Original file line number Diff line number Diff line change @@ -197,4 +197,5 @@ git_filter_repo.py --path numpy/array_api/ --path-rename numpy/array_api:array_a
197197
198198api.rst
199199changelog.md
200+ releasing.md
200201```
Original file line number Diff line number Diff line change 1+ # Releasing
2+
3+ To release array-api-strict:
4+
5+ - Create a release branch and make a PR on GitHub.
6+
7+ - Update ` changelog.md ` with the changes for the release.
8+
9+ - Make sure the CI is passing on the release branch PR. Also double check that
10+ you have properly pulled ` main ` and merged it into the release branch so
11+ that the branch contains all the necessary changes for the release.
12+
13+ - When you are ready to make the release, create a tag with the release number
14+
15+ ```
16+ git tag -a 2.2 -m "array-api-strict 2.2"
17+ ```
18+
19+ and push it up to GitHub
20+
21+ ```
22+ git push origin --tags
23+ ```
24+
25+ This will trigger the ` publish-package ` build on GitHub Actions. Make sure
26+ that build works correctly and pushes the release up to PyPI. If something
27+ goes wrong, you may need to delete the tag from GitHub and try again.
28+
29+ Note that the ` array_api_strict.__version__ ` version as well as the version
30+ in the package metadata is all automatically computed from the tag, so it is
31+ not necessary to update the version anywhere else.
32+
33+ - Once the release is published, you can merge the PR.
34+
35+ - The conda-forge bot will automatically send a PR to the
36+ [ array-api-strict-feedstock] ( https://github.com/conda-forge/array-api-strict-feedstock )
37+ updating the version, which you should merge.
You can’t perform that action at this time.
0 commit comments