Releases: data-apis/array-api-extra
Releases · data-apis/array-api-extra
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
v0.9.1
Highlights
- New functions
isin,partition, andargpartition covis now vectorized- Delegation to existing libraries added for many functions
nuniquehas a faster implementation
What's Changed
- DEV: bump to v0.9.1.dev0 by @lucascolley in #422
- MAINT: update lock file to unblock CI by @lucascolley in #445
- PERF: Do not use stable sort in
nuniqueby @cakedev0 in #447 - ENH:
expand_dimsdelegation by @Enderdead in #450 - ENH: delegate
sincfunction by @Enderdead in #453 - ENH:
atleast_nddelegation by @Enderdead in #454 - ENH:
covdelegation by @adriagarp in #451 - ENH: add
partitionandargpartitionfunctions by @cakedev0 in #449 - MAINT: fix pytorch py310 dep by @lucascolley in #468
- BUG: preserve device for scalars with array input by @OmarManzoor in #479
- ENH: add new function
isinby @OmarManzoor in #485 - MAINT: Pixi maintenance by @crusaderky in #496
- ENH: setdiff1d: add delegation by @Enderdead in #456
- ENH: vectorize
covby @mdhaber in #507 - ENH: delegate
create_diagonalfunction by @Enderdead in #501 - BUG: Fix delegation behaviour with
atleast_3dby @Enderdead in #514 - REL: bump to v0.9.1 by @lucascolley in #527
New Contributors
- @cakedev0 made their first contribution in #447
- @Enderdead made their first contribution in #450
- @adriagarp made their first contribution in #451
- @OmarManzoor made their first contribution in #479
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- DEV: bump version to v0.9.0.dev0 (again) by @lucascolley in #410
- TST: JAX 0.7.0 by @crusaderky in #416
- MAINT: renovate to skip JAX by @crusaderky in #420
- ENH:
lazy_xp_functionsupport for iterators by @crusaderky in #418 - REL: prepare v0.9.0 by @lucascolley in #421
Full Changelog: v0.8.2...v0.9.0
v0.8.2
Highlights
- New function
nan_to_numfor replacing non-numerical array entries with numbers
What's Changed
- ENH: Implement
nan_to_numfunction by @paddyroddy in #398 - DOC: add paddy to all contributors by @lucascolley in #406
- REL: v0.8.2 by @lucascolley in #409
New Contributors
- @paddyroddy made their first contribution in #398
Full Changelog: v0.8.1...v0.8.2
v0.8.1
Highlights
- Enhanced free-threading support with in-tree tests using
pytest-run-parallel
What's Changed
- MAINT: bump to sparse >=0.17 by @crusaderky in #318
- docs: add mdhaber as a contributor for test by @allcontributors[bot] in #319
- TYP: replace basedmypy with mypy by @crusaderky in #329
- ENH: Free-threading support by @crusaderky in #330
- DEV: add pull request template by @lucascolley in #342
- DEV: replace pre-commit with lefthook+Pixi by @lucascolley in #344
- CI/deps: clean up workflows and renovate config by @lucascolley in #352
- DOC: organise README badges by @lucascolley in #364
- REL: v0.8.1 by @lucascolley in #401
Full Changelog: v0.8.0...v0.8.1