Releases: data-apis/array-api-extra
Release list
v0.11.4
What's Changed
- CD: use fixed
update-feedstock-versionaction by @lucascolley in #974 - REL: prepare v0.11.4 by @lucascolley in #975
Full Changelog: v0.11.3...v0.11.4
v0.11.3
Highlights
Support for https://github.com/mdhaber/mparray arrays.
What's Changed
- MAINT: bump version to 0.11.3.dev0 by @lucascolley in #956
- ENH: add
mparraybackend by @mdhaber in #963 - TST: skip tests that convert MPArray to NumPy array by @mdhaber in #966
- MAINT: remove duplicate
__all__by @lucascolley in #967 - CD: automate conda-forge update by @lucascolley in #971
- REL: prepare v0.11.3 by @lucascolley in #972
- STY: move doctest conftest under
docsby @lucascolley in #973
Full Changelog: v0.11.2...v0.11.3
v0.11.2
This release adds a few new features and should not have broken anything.
Highlights
- The API reference documentation has been organised into categories.
- Doctesting with https://github.com/scipy/scipy_doctest has been introduced, to ensure that examples in the documentation show correct output.
New functions
nanmean— NaN-ignoring mean function.
New parameters
covhas gained a newcorrectionparameter for degrees of freedom correction, and newfweightsandaweightsparameters for frequency and importance weighting.
What's Changed
- MAINT: bump version to
v0.11.2.dev0by @lucascolley in #909 - ENH: cov: expose correction and weights parameters by @bruAristimunha in #690
- TST: improve xfail message for torch
covtest_deviceby @lucascolley in #915 - DOC: organise API reference by @Johnkothapalli in #920
- DOC: split API reference into sub-pages by @lucascolley in #925
- DEV: improve PR template by @fbourgey in #926
- MAINT: refactor library to split up large files by @lucascolley in #928
- STY/DOC: reduce
fromimports, fix internal docstrings by @lucascolley in #929 - DOC: disable overloads section by @fbourgey in #923
- STY: reduce
fromimports some more by @lucascolley in #930 - DOC: fix generated API source links by @Boulea7 in #919
- MAINT: hide some typing hacks away by @lucascolley in #934
- MAINT: tidy repo root by @lucascolley in #935
- MAINT: improve
nanmax,nanminandnansumby @qbarthelemy in #939 - MAINT: fix Pixi workspace compat with pixi-build-api-version 7 by @lucascolley in #949
- TST/DOC: set up doctesting by @fbourgey in #921
- ENH: add
nanmeanby @ushnah in #910 - REL: prepare v0.11.2 by @lucascolley in #955
New Contributors
- @Johnkothapalli made their first contribution in #920
- @Boulea7 made their first contribution in #919
- @qbarthelemy made their first contribution in #939
Full Changelog: v0.11.1...v0.11.2
v0.11.1
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:
unravel_index— convert a flat index or array of flat indices into a tuple of coordinate arrays.diag_indices,tril_indices,triu_indices— helpers for indexing arrays.nanmin,nanmax,nansum— NaN-aware reduction functions.deg2rad,rad2deg— helpers for converting between radians and degrees.
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
- MAINT: bump to v0.11.1.dev0 by @lucascolley in #793
- ENH: add
unravel_indexby @OmarManzoor in #773 - CI/DEV: bump to Pixi v0.71.2 by @lucascolley in #818
- ENH: pad: normalize
pad_widthon the host for torch by @rgommers in #832 - ENH: add
diag_indices,tril_indices,triu_indicesby @bruAristimunha in #692 - TST: Added test to check if
_funcs.__all__is in sync by @prady0t in #828 - ENH: add
nanminby @OmarManzoor in #804 - DOC: simplify installation instructions by @sapunyangkut in #849
- DOC: pin
sphinx-autodoc-typehintsto fix autosummaries by @lucascolley in #855 - ENH: testing: Add
check_deviceparameter by @prady0t in #835 - ENH: add
nuniquedelegation by @floze-the-genius in #861 - ENH: add
nanmaxby @OmarManzoor in #847 - TYP: add
ArrayNamespacealias by @ColumbusLabs in #870 - DEV: use
startfor open-docs on Windows by @ColumbusLabs in #869 - DOC: update README users list by @fbourgey in #880
- ENH: add
nansumby @ushnah in #879 - deps: exclude Pixi deps newer than 7d old by @lucascolley in #890
- deps: bump nogil env to py314t by @lucascolley in #891
- ENH: add
deg2radandrad2degby @fbourgey in #882 - STY: use
tombito format TOMl, use TOML 1.1 syntax in Pixi manifest by @lucascolley in #893 - TST: test with nogil
sparseby @lucascolley in #894 - deps: unpin
sphinx-autodoc-typehintsby @lucascolley in #895 - deps: remove upper pins by @lucascolley in #896
- deps: tidy CUDA deps by @lucascolley in #897
- BLD: make
packagedefinition concise by @lucascolley in #898 - CI/DEV: add linux-arm, macos, windows CI by @lucascolley in #899
- DEV/DOC: overhaul dev workflow docs by @lucascolley in #902
- DOC: rework index, move scope discussion to new library design page by @lucascolley in #905
- DOC/DEV: rework delegation guidance by @lucascolley in #903
- CI: don’t use ubuntu-slim for x64 nogil job by @lucascolley in #906
- CI: remove
sparsefrom nogil env by @lucascolley in #907 - REL: bump version to v0.11.1 by @lucascolley in #908
New Contributors
- @rgommers made their first contribution in #832
- @bruAristimunha made their first contribution in #692
- @sapunyangkut made their first contribution in #849
- @floze-the-genius made their first contribution in #861
- @ColumbusLabs made their first contribution in #870
- @fbourgey made their first contribution in #880
- @ushnah made their first contribution in #879
Full Changelog: v0.11.0...v0.11.1
v0.11.0
Highlights
- Support for v2025.12 of the standard.
xpx.testingassertions now produce cleaner pytest tracebacks.py.typedis now correctly included in the package.
Breaking changes
xpx.testingassertions no longer raise anAssertionErrorwhen anxpargument is provided and the namespace of thedesiredarray differs fromxp—desiredwill instead be coerced withxp.asarrayin this case. This allows for more concise expression of the desired array without loss of strictness.
Deprecations
broadcast_shapesandexpand_dimsare deprecated — their functionality now exists in v2025.12 of the standard.
What's Changed
- BLD: a couple build improvements by @lucascolley in #786
- ENH: testing: hiding assertion internals in pytest traceback by @prady0t in #781
- API: testing: relax condition that
desiredmatchxpin assertions by @lucascolley in #785 - DOC: add missing
searchsortedentry by @lucascolley in #788 - DEP/TST/DOC: adjustments for v2025.12 of the standard by @lucascolley in #787
- REL: prepare v0.11.0 release by @lucascolley in #791
Full Changelog: v0.10.3...v0.11.0
v0.10.3
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
- CD: use
ubuntu-latestfor publishing dist by @lucascolley in #775 - REL: bump version to v0.10.3 by @lucascolley in #776
Full Changelog: v0.10.2...v0.10.3
v0.10.2
Highlights
- New testing utilities are exposed under the
xpx.testingnamespace to help users transition from assertion functions innp.testing. See the documentation at https://data-apis.org/array-api-extra/api-testing.html. - A new function
anglehas been added, corresponding tonp.angle.
What's Changed
- MAINT: bump version to
0.10.2.dev0by @lucascolley in #638 - DEV: turn off renovate for SciPy by @lucascolley in #639
- MAINT: lock to array-api-compat 1.14.0 by @lucascolley in #656
- DOC: add SysIdentPy to users by @lucascolley in #673
- TST: re-enable xpassing JAX tests by @lucascolley in #672
- MAINT: housekeeping after upstream progress by @lucascolley in #674
- DOC: fix SciPy vendoring example link by @lucascolley in #676
- TYP: add
pyreflyby @lucascolley in #695 - CI: add
zizmorby @lucascolley in #697 - CI: turn off deployment for environment by @lucascolley in #699
- DEV: add default environments for tasks by @lucascolley in #703
- DEV: add
writeableto ignored typos by @lucascolley in #711 - TYP: bump basedpyright by @lucascolley in #712
- DEV: bump Pixi to v0.68.0 by @lucascolley in #722
- ENH: delegate
broadcast_shapesby @Cyril-36 in #713 - ENH: testing: special case 0D-arrays for
check_shape=Falseby @prady0t in #729 - ENH: testing: add
verboseandequal_nanoptions by @prady0t in #730 - MAINT: remove NBSP char by @lucascolley in #733
- BUG: testing: fix
check_shape=Falsewith broadcasting by @prady0t in #735 - ENH: add
angleby @prady0t in #718 - DOC: add GLASS to users section by @lucascolley in #742
- ENH: testing: support 0-D arrays for
rtolandatolby @prady0t in #743 - BUG: testing: convert
torchtensors with conjugate bit set to NumPy by @prady0t in #744 - CI: use ubuntu-slim runners by @lucascolley in #745
- BUG: testing: fixing
torchconjugate bit resolve by @prady0t in #746 - ENH: testing: add
dlpackconversion support by @prady0t in #749 - ENH: testing: add
xpparam to assertion functions by @prady0t in #747 - ENH: add delegation for
kronby @Enderdead in #516 - CD: fix docs deployment by @lucascolley in #756
- ENH: testing: make assertion functions public by @lucascolley in #753
- ENH: testing: add
assert_close_nulpby @prady0t in #758 - CI: de-duplicate docs build on PRs by @lucascolley in #760
- MAINT: add
testingto__all__by @prady0t in #765 - REL: bump version to 0.10.2 by @lucascolley in #774
New Contributors
Full Changelog: v0.10.1...v0.10.2
v0.10.1
Highlights
xpx.testing.lazy_xp_functionnow has support for tagging methods of classes which is robust to inheritance.
What's Changed
- MAINT: bump version to
0.10.1.dev0by @lucascolley in #630 - ENH: testing.lazy_xp_function: method, classmethod, staticmethod inheritance support by @steppi in #582
- REL: prepare v0.10.1 by @lucascolley in #637
New Contributors
Full Changelog: v0.10.0...v0.10.1
v0.10.0
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
- MAINT: bump to v0.10.0.dev0 by @lucascolley in #575
- MAINT: drop Python 3.10 by @lucascolley in #573
- BLD/DEV: switch to meson-python and pixi-build by @lucascolley in #583
- MAINT: officially support Python 3.14 by @lucascolley in #567
- ENH: apply_where: add kwargs support by @mdhaber in #624
- ENH: Add vectorized
searchsortedby @mdhaber in #531 - TST/DOC/DEV: add missing
lazy_xp_functioncalls, update contributing docs by @lucascolley in #627 - REL: prepare v0.10.0 by @lucascolley in #629
Full Changelog: v0.9.2...v0.10.0
v0.9.2
Highlights
- New function
union1dfor the (flattened) union of two arrays - A crash in
create_diagonalwhen broadcasting is fixed
What's Changed
- DEV: bump to v0.9.2.dev0 by @lucascolley in #528
- DOC: add missing functions by @lucascolley in #529
- ENH: new function
union1dby @OmarManzoor in #495 - BUG: create_diagonal: remove delegation for
ndim >= 2by @Enderdead in #544 - TYP: fix mypy failure by @lucascolley in #550
- CI: bump pixi version by @lucascolley in #560
- CI: actually bump pixi version by @lucascolley in #561
- REL: prepare v0.9.2 by @lucascolley in #574
Full Changelog: v0.9.1...v0.9.2