Skip to content

Releases: data-apis/array-api-extra

v0.10.3

03 Jun 14:33
6f99fc8

Choose a tag to compare

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

03 Jun 14:12
57cd7b3

Choose a tag to compare

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

27 Feb 17:14
02afc63

Choose a tag to compare

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

24 Feb 01:07
03863e8

Choose a tag to compare

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

03 Jan 13:37
87cb64a

Choose a tag to compare

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

v0.9.1

21 Nov 22:14
80240a2

Choose a tag to compare

Highlights

  • New functions isin, partition, and argpartition
  • cov is now vectorized
  • Delegation to existing libraries added for many functions
  • nunique has a faster implementation

What's Changed

New Contributors

Full Changelog: v0.9.0...v0.9.1

v0.9.0

09 Sep 11:01
2059369

Choose a tag to compare

What's Changed

Full Changelog: v0.8.2...v0.9.0

v0.8.2

27 Aug 20:59
1194565

Choose a tag to compare

Highlights

  • New function nan_to_num for replacing non-numerical array entries with numbers

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.8.2

v0.8.1

26 Aug 15:18
aed27d9

Choose a tag to compare

Highlights

  • Enhanced free-threading support with in-tree tests using pytest-run-parallel

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

03 Jun 15:47
d073b7e

Choose a tag to compare

Highlights

  • xpx.testing.lazy_xp_function with jax_jit=True now handles functions which accept and return arbitrary wrappers around JAX arrays, by treating all arguments and return types that are not JAX arrays as static.
    • the static_argnums and static_argnames parameters are deprecated in favour of this.
  • xpx.one_hot: new function to create one-hot vector arrays
  • xpx.default_dtype: a convenience function for common queries to xp.__array_namespace_info__().default_dtypes()
  • support for PyTorch device='meta'

Progress has also been made towards exposing functions like assert_equal under xpx.testing, but this API is still private for now.

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.8.0