File tree Expand file tree Collapse file tree 2 files changed +28
-7
lines changed Expand file tree Collapse file tree 2 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,14 @@ jobs:
102
102
repository-url : https://test.pypi.org/legacy/
103
103
print-hash : true
104
104
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
-
111
105
- name : Publish distribution 📦 to PyPI
112
106
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
113
107
uses : pypa/gh-action-pypi-publish@v1.12.2
114
108
with :
115
109
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/*
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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 ) )
3
24
4
25
## 2.1 (2024-10-18)
5
26
6
- ## Major Changes
27
+ ### Major Changes
7
28
8
29
- The default version of the array API standard is now 2023.12. 2022.12 can
9
30
still be enabled via the [ flags API] ( array-api-strict-flags ) .
You can’t perform that action at this time.
0 commit comments