Skip to content

Commit

Permalink
Merge pull request #83 from asmeurer/release
Browse files Browse the repository at this point in the history
2.1.1 release
  • Loading branch information
asmeurer authored Nov 7, 2024
2 parents e83238c + 2d3ebd9 commit ae02e78
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ jobs:
repository-url: https://test.pypi.org/legacy/
print-hash: true

- name: Create GitHub Release from a Tag
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*

- name: Publish distribution 📦 to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
with:
print-hash: true

- name: Create GitHub Release from a Tag
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*
23 changes: 22 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
# Changelog

## 2.1.1 (2024-11-07)

### Major Changes

- Remove the `__array__` method from array-api-strict arrays. This means they
will no longer be implicitly converted to NumPy arrays when passed to `np`
functions. This method was previously implemented as a convenience, but it
isn't part of the array API standard. To portably convert an array API
strict array to a NumPy array, use `np.from_dlpack(x)`

### Minor Changes

- Use a more robust implementation of `clip()` that handles corner cases better.

- Fix the definition of `sign()` for complex numbers when using NumPy 1.x.

- Correctly use the array's device when promoting scalars. (Thanks to
[@betatim](https://github.com/betatim))

- Correctly propagate the input array's device in `asarray()`. (Thanks to
[@betatim](https://github.com/betatim))

## 2.1 (2024-10-18)

## Major Changes
### Major Changes

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

0 comments on commit ae02e78

Please sign in to comment.