Skip to content

Commit ae02e78

Browse files
authored
Merge pull request #83 from asmeurer/release
2.1.1 release
2 parents e83238c + 2d3ebd9 commit ae02e78

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

.github/workflows/publish-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ jobs:
102102
repository-url: https://test.pypi.org/legacy/
103103
print-hash: true
104104

105-
- name: Create GitHub Release from a Tag
106-
uses: softprops/action-gh-release@v2
107-
if: startsWith(github.ref, 'refs/tags/')
108-
with:
109-
files: dist/*
110-
111105
- name: Publish distribution 📦 to PyPI
112106
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
113107
uses: pypa/gh-action-pypi-publish@v1.12.2
114108
with:
115109
print-hash: true
110+
111+
- name: Create GitHub Release from a Tag
112+
uses: softprops/action-gh-release@v2
113+
if: startsWith(github.ref, 'refs/tags/')
114+
with:
115+
files: dist/*

docs/changelog.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
11
# Changelog
22

3+
## 2.1.1 (2024-11-07)
4+
5+
### Major Changes
6+
7+
- Remove the `__array__` method from array-api-strict arrays. This means they
8+
will no longer be implicitly converted to NumPy arrays when passed to `np`
9+
functions. This method was previously implemented as a convenience, but it
10+
isn't part of the array API standard. To portably convert an array API
11+
strict array to a NumPy array, use `np.from_dlpack(x)`
12+
13+
### Minor Changes
14+
15+
- Use a more robust implementation of `clip()` that handles corner cases better.
16+
17+
- Fix the definition of `sign()` for complex numbers when using NumPy 1.x.
18+
19+
- Correctly use the array's device when promoting scalars. (Thanks to
20+
[@betatim](https://github.com/betatim))
21+
22+
- Correctly propagate the input array's device in `asarray()`. (Thanks to
23+
[@betatim](https://github.com/betatim))
324

425
## 2.1 (2024-10-18)
526

6-
## Major Changes
27+
### Major Changes
728

829
- The default version of the array API standard is now 2023.12. 2022.12 can
930
still be enabled via the [flags API](array-api-strict-flags).

0 commit comments

Comments
 (0)