Skip to content

Releases: data-apis/array-api-extra

v0.11.4

Choose a tag to compare

@lucascolley lucascolley released this 07 Sep 18:49
1c9100b

What's Changed

Full Changelog: v0.11.3...v0.11.4

v0.11.3

Choose a tag to compare

@lucascolley lucascolley released this 07 Sep 16:05
83a8175

Highlights

Support for https://github.com/mdhaber/mparray arrays.

What's Changed

Full Changelog: v0.11.2...v0.11.3

v0.11.2

Choose a tag to compare

@lucascolley lucascolley released this 26 Aug 14:48
0ee92bd

This release adds a few new features and should not have broken anything.

Highlights

New functions

  • nanmean — NaN-ignoring mean function.

New parameters

  • cov has gained a new correction parameter for degrees of freedom correction, and new fweights and aweights parameters for frequency and importance weighting.

What's Changed

New Contributors

Full Changelog: v0.11.1...v0.11.2

v0.11.1

Choose a tag to compare

@lucascolley lucascolley released this 12 Aug 11:28
dc9e6b5

array-api-extra v0.11.1 is the culmination of over two months of contributions, and brings many new features! While a lot of new functionality has been added, we have not intentionally broken any existing behaviour, hence upgrading should take little-to-no effort — please open an issue if that is not the case!

Highlights

New functions

This release adds 9 new functions:

New parameters

The assertions in xpx.testing have gained a new check_device parameter, and by default check that the devices of the actual and desired arrays match.

Continuous integration

The CI matrix has been expanded to test on linux-aarch64, osx-arm64, and win-64 platforms, in addition to linux-64. Tests with known array backends and with free-threaded Python are now exercised regularly across all of these platforms.

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.11.1

v0.11.0

Choose a tag to compare

@lucascolley lucascolley released this 10 Jun 09:54
842457a

Highlights

  • Support for v2025.12 of the standard.
  • xpx.testing assertions now produce cleaner pytest tracebacks.
  • py.typed is now correctly included in the package.

Breaking changes

  • xpx.testing assertions no longer raise an AssertionError when an xp argument is provided and the namespace of the desired array differs from xpdesired will instead be coerced with xp.asarray in this case. This allows for more concise expression of the desired array without loss of strictness.

Deprecations

  • broadcast_shapes and expand_dims are deprecated — their functionality now exists in v2025.12 of the standard.

What's Changed

Full Changelog: v0.10.3...v0.11.0

v0.10.3

Choose a tag to compare

@lucascolley lucascolley released this 03 Jun 14:33
6f99fc8

https://github.com/data-apis/array-api-extra/releases/tag/v0.10.2 did not publish to PyPI due to a misconfigured GHA workflow. This release aims to fix that.

What's Changed

Full Changelog: v0.10.2...v0.10.3

v0.10.2

Choose a tag to compare

@lucascolley lucascolley released this 03 Jun 14:12
57cd7b3

Highlights

  • New testing utilities are exposed under the xpx.testing namespace to help users transition from assertion functions in np.testing. See the documentation at https://data-apis.org/array-api-extra/api-testing.html.
  • A new function angle has been added, corresponding to np.angle.

What's Changed

New Contributors

Full Changelog: v0.10.1...v0.10.2

v0.10.1

Choose a tag to compare

@lucascolley lucascolley released this 27 Feb 17:14
02afc63

Highlights

  • xpx.testing.lazy_xp_function now has support for tagging methods of classes which is robust to inheritance.

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.10.1

v0.10.0

Choose a tag to compare

@lucascolley lucascolley released this 24 Feb 01:07
03863e8

Highlights

  • Support for Python 3.14. No more support for Python 3.10.
  • New vectorized version of the standard's searchsorted
  • kwargs support in apply_where

What's Changed

Full Changelog: v0.9.2...v0.10.0

v0.9.2

Choose a tag to compare

@lucascolley lucascolley released this 03 Jan 13:37
87cb64a

Highlights

  • New function union1d for the (flattened) union of two arrays
  • A crash in create_diagonal when broadcasting is fixed

What's Changed

Full Changelog: v0.9.1...v0.9.2