Releases: scikit-hep/awkward
Releases Β· scikit-hep/awkward
Version 2.8.10
New features
- feat: preserve field order when replacing existing fields in with_field by @DylanModesitt in #3681
- feat: add to_/from_safetensors by @pfackeldey in #3685
Bug-fixes and performance
- fix: update image cell in thinking-in-arrays.ipynb by @ianna in #3660
- fix: prefix with an underscore unused variables by @ianna in #3672
- fix(ci): fix issues with dependencies for GPU tests by @ariostas in #3673
- fix: convert integer-like objects to python integers in shapes by @ikrommyd in #3662
- fix: avoid recursion limit when concatenating
EmptyArrays by @ikrommyd in #3664 - fix: only check
VirtualNDArray'sshapeversuscountinfrom_buffersif both are known by @ikrommyd in #3667 - fix: preserve the type when indexed by an empty array by @TaiSakuma in #3678
- fix: ensure masked string/bytestring dtypes can hold 'nan' fill value⦠by @JamesBrofos in #3692
- fix: add missing units to datetime/timedelta in a test by @TaiSakuma in #3688
- fix: pass attrs parameter to wrap_layout in from_* by @DylanModesitt in #3687
- fix: use jax's
__setitem__syntax inak.merge_union_of_recordsto make it work with the jax backend by @ikrommyd in #3596
Other
- chore(deps): bump pypa/cibuildwheel from 3.1 to 3.2 in the actions group by @dependabot[bot] in #3665
- chore(deps): bump the actions group with 2 updates by @dependabot[bot] in #3670
- chore: update pre-commit hooks by @pre-commit-ci[bot] in #3671
- chore: mac os 13 hosted runner image is closing down by @ianna in #3666
- chore: improve pyproject.toml from sp-repo-review checks by @henryiii in #3677
- chore(deps): bump astral-sh/setup-uv from 6 to 7 in the actions group by @dependabot[bot] in #3689
- chore: small inconsistency/typo with the non-jax case below by @ikrommyd in #3698
- chore(deps): bump the actions group with 2 updates by @dependabot[bot] in #3699
- docs: add TaiSakuma as a contributor for code by @allcontributors[bot] in #3679
- docs: add DylanModesitt as a contributor for code by @allcontributors[bot] in #3684
- docs: add JamesBrofos as a contributor for code by @allcontributors[bot] in #3693
- test: add cuda tests for virtual arrays by @ikrommyd in #3459
- test: add a test on flattering empty arrays by @TaiSakuma in #3700
New Contributors
- @DylanModesitt made their first contribution in #3681
- @TaiSakuma made their first contribution in #3678
- @JamesBrofos made their first contribution in #3692
Full Changelog: v2.8.9...v2.8.10
Version 2.8.9
New features
- feat: cuda reducers - add
combinationsfor n>2,argminandargmax, and fixmin. by @ianna in #3645 - feat: add axis=None reducer specializations by @pfackeldey in #3653
- feat: add 'how=' to ak.unzip by @pfackeldey in #3655
Bug-fixes and performance
- fix: virtual array deep copy generator reference + better error message for
assert_neverby @ikrommyd in #3644 - fix: SVG bug in diagram depicting ragged aggregation by @jpivarski in #3648
- fix: json signedness fixes by @ianna in #3651
- fix: cartoon combinations by @ianna in #3654
- perf: detect & fastpath no-op range slices in all layout types by @pfackeldey in #3642
Other
- chore(deps): bump the actions group with 4 updates by @dependabot[bot] in #3650
- docs: fix
touch_datatypo by @ikrommyd in #3641 - docs: update CONTRIBUTING guidelines by @ianna in #3656
Full Changelog: v2.8.8...v2.8.9
Version 2.8.8
New features
- feat: adapt
__array__according to numpy guidelines by @ikrommyd in #3592 - feat: ensure ability to pickle
ak.Arrayandak.RecordwithVirtualArraybuffers by @ikrommyd in #3612 - feat: skip materialization of placeholders in
to_packedby @ikrommyd in #3637
Bug-fixes and performance
- fix: catch off-by-one out of bound error by @agoose77 in #3621
- fix: avoid unnecessary recursion if not needed by @pfackeldey in #3611
- fix:
VirtualArray's deep copy + accidental.dataaccess by @ikrommyd in #3599 - fix: allow arrays with
Nones in single argument usage ofak.whereby @ikrommyd in #3563 - fix: properly handle
VirtualArrayinnplike.asarrayby @ikrommyd in #3597 - fix: do not materialize before custom pickling by @ikrommyd in #3633
- fix: do not force LE data-order in form.py by @nileshpatra in #3629
- fix: make
to_packedwork for typetracer backedIndexedOptionArray,BitMaskedArray, andUnionArrayby @ikrommyd in #3608 - perf: add slots to virtual array to reduce instance alloc size by @pfackeldey in #3613
- perf: avoid method chaining for some shape_generators by @pfackeldey in #3615
Other
- chore: update pre-commit hooks by @pre-commit-ci[bot] in #3602
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot[bot] in #3624
- chore: remove
materialize_if_virtualby @ikrommyd in #3632 - chore(deps): bump actions/attest-build-provenance from 2.4.0 to 3.0.0 in the actions group by @dependabot[bot] in #3635
- chore: update pre-commit hooks by @pre-commit-ci[bot] in #3634
- test: test the virtual array generator before calling
.shapein copy test by @ikrommyd in #3631 - refactor: VirtualArrays by @pfackeldey in #3620
- docs: add nileshpatra as a contributor for code by @allcontributors[bot] in #3638
- ci: move job to deploy doc preview to a separte workflow by @ariostas in #3627
- ci: doc previews for PRs from forks by @ariostas in #3625
New Contributors
- @nileshpatra made their first contribution in #3629
Full Changelog: v2.8.7...v2.8.8
Version 2.8.7
Version 2.8.6
New features
(none!)
Bug-fixes and performance
- fix: first maybe materialize, then check for PlaceholderArray by @pfackeldey in #3566
- fix:
ak.anyandak.combinationswithcudabackend kernels by @ianna in #3561 - fix: length0 array repr by @pfackeldey in #3564
- fix: to_buffers for duplicate fields in records by @pfackeldey in #3567
- fix: overflow error when concatenating more than 128 regular arrays by @ikrommyd in #3568
- fix: patch emscripten RPath by @henryiii in #3575
- fix: removal of
pyarrow.lib.PyExtensionTypein pyarrow 21 by @ikrommyd in #3581 - fix: filter also for new (v0.7.0) LinearizeTracer type by @pfackeldey in #3586
- refactor: define common nplike method to get pointer to memory by @pfackeldey in #3565
Other
- chore: update CITATION.cff by @ianna in #3571
- chore(ci): bump minimal pyarrow version being tested by @ariostas in #3584
- chore(deps): bump pypa/cibuildwheel from 3.0 to 3.1 in the actions group by @dependabot[bot] in #3591
- chore: update zenodo citation in README by @ikrommyd in #3574
- chore: fix pyodide link in README by @ikrommyd in #3576
- chore: update pre-commit hooks by @pre-commit-ci[bot] in #3569
- docs: add missing funding badges by @ariostas in #3588
Full Changelog: v2.8.5...v2.8.6
Version 2.8.5
New features
(none!)
Bug-fixes and performance
- fix:
cudfstrings column by @ianna in #3555 - fix:
ak.categoriesshould returnNoneif no categories are present by @pfackeldey in #3553 - fix: combinations explicit cuda test for
n == 0by @ianna in #3554 - fix: cuda atomicMin and atomicMax for
<double>s by @Moelf in #3545 - fix: error if a complex JAX arrays type is passed to Awkward's C++ kernels by @pfackeldey in #3546
- fix: too many dashes in jupyter repr by @pfackeldey in #3552
- fix: use older manylinux for CPython 3.10 and 3.9 by @henryiii in #3558
- fix: use
std::memcpyinstead of*reinterpret_castby @APN-Pucky in #3514
Other
- chore(deps): bump the actions group across 1 directory with 2 updates by @dependabot in #3549
- chore: use PEP 639 license by @henryiii in #3559
- ci: add workflow to run GPU tests on selfhosted runner by @ariostas in #3543
- ci: run cuda kernel tests by @ariostas in #3551
- docs: Add MODE talk + update publications by @Saransh-cpp in #3547
- docs: add APN-Pucky as a contributor for code by @allcontributors in #3557
- docs: add Moelf as a contributor for code by @allcontributors in #3556
Full Changelog: v2.8.4...v2.8.5
Version 2.8.4
New features
(none!)
Bug-fixes and performance
- fix: simplify unmasked array by @ianna in #3518
- fix: numpy 2.3 compatibility by @ikrommyd in #3534
- fix: improve type consistency in
to_packedfornum_noneby @ianna in #3538 - fix: make awkward compatible with numexpr 2.11 by @ikrommyd in #3533
- fix: do not use
atol=np.infin a jax test andxfailsorting test which fails by @ikrommyd in #3542
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3523
- chore: update pre-commit hooks by @ianna in #3524
- chore: update pre-commit hooks by @pre-commit-ci in #3515
- chore: restrict numpy and numexpr for now by @ianna in #3539
- ci: change pre-commit autoupdate to a monthly schedule by @ariostas in #3516
- ci: fix Windows 3.13 by @henryiii in #3536
- revert: "fix: numpy 2.3 compatibility" by @ianna in #3537
- test: fix test names by @Saransh-cpp in #3532
Full Changelog: v2.8.3...v2.8.4
Version 2.8.3
New features
- feat: add a ref to the original 'unclipped' buffer generator by @pfackeldey in #3497
- feat: improve assertion error message in kernels by @pfackeldey in #3498
- feat: do not allow records, primitives, or bare strings in
ak.materialize(+ docs display fix) by @ikrommyd in #3501
Bug-fixes and performance
- fix: more meaningful assertion error in length calculation in case of column optimization problems in dask-awkward by @ikrommyd in #3499
- fix: use cmath instead of bit mask for infinite doubles by @APN-Pucky in #3505
- fix: runtime for
ak.combinationswith cuda backend by @ianna in #3502 - fix: pass backend to RecordArray by @ianna in #3507
- fix: pass backend to EmptyArray by @ikrommyd in #3508
- fix: Python 3.13 classifier to awkward-cpp by @APN-Pucky in #3510
Other
- docs: fix a small typo in
IndexedArraydocstring by @ikrommyd in #3496 - chore: update pre-commit hooks by @pre-commit-ci in #3500
- chore: update pre-commit hooks by @pre-commit-ci in #3506
New Contributors
- @APN-Pucky made their first contribution in #3505
Full Changelog: v2.8.2...v2.8.3
Version 2.8.2
New features
- feat: add segmented argmin and argmax by @ianna in #3449
- feat: change argmin and argmax algorithms to handle big data by @ianna in #3450
- feat: implement segment count_nonzero reducer by @ianna in #3452
- feat: support
unknown_lengthfor virtual arrays in order to read without any materialization by @ikrommyd in #3475 - feat: enable jax backend for virtual arrays by @ikrommyd in #3451
- feat: Add a parquet uuid calculation by @NJManganelli in #3440
Bug-fixes and performance
- fix: typo in
UnionArraycombinations by @ikrommyd in #3438 - fix: pyarrow 19.0 support by @ianna in #3416
- fix: force gc in numba test by @ianna in #3448
- fix: highlevel function dispatch type hint by @pfackeldey in #3447
- fix: remove mixed numpy<->jax arrays in Jax backend by @pfackeldey in #3446
- fix: better support for pyright by @henryiii in #3453
- fix: setitem in ak firsts with jax backend by @pfackeldey in #3455
- fix: replace some
__setitem__calls with.at[where].set(value)for the jax backend by @ikrommyd in #3457 - fix: remove duplicate failing raggedtensor test when you have a GPU on the system by @ikrommyd in #3461
- fix: single int slicing for named axis by @pfackeldey in #3469
- fix: add
ptrimplementation and fix__setitem__forIndexandtocarryrawto makeak.(arg)combinationswork for the jax backend by @ikrommyd in #3471 - fix: check for
errorbeingNonein the output of validity kernels by @ikrommyd in #3479 - fix: minor things required for the whole ci to work with virtual arrays by @ikrommyd in #3484
- fix: jax reducers returning incorrect output values or lengths by @ikrommyd in #3464
- fix: avoid calling
shape_generatorinsidegeneratorif it has already been called by @ikrommyd in #3490 - fix: add field metadata to record its option type by @ianna in #3478
- fix: add
maps_as_pydictsparameter toto_pylistby @ianna in #3492 - fix: consistent materializing length across all layouts by @ikrommyd in #3489
Other
- refactor: move
form_with_unique_keyshere by @pfackeldey in #3482 - revert: "fix: setitem in ak firsts with jax backend" by @ianna in #3460
- docs: minor fixes to JAX guide + add VJP example by @Saransh-cpp in #3439
- docs: add ikrommyd as a contributor for test by @allcontributors in #3472
- docs: add NJManganelli as a contributor for code by @allcontributors in #3481
- chore: update pre-commit hooks by @pre-commit-ci in #3436
- chore: update pre-commit hooks by @pre-commit-ci in #3443
- chore: update pre-commit hooks by @pre-commit-ci in #3445
- chore: update pre-commit hooks by @pre-commit-ci in #3470
- chore: use ubuntu-latest for coverage by @ianna in #3473
- chore: update pre-commit hooks by @pre-commit-ci in #3476
- chore: update pre-commit hooks by @pre-commit-ci in #3486
- chore: update pyarrow version in the full testing requirements by @ianna in #3487
- chore: remove the upper pin on pyarrow by @ianna in #3493
- chore(deps): bump scientific-python/upload-nightly-action from 0.6.1 to 0.6.2 in the actions group by @dependabot in #3442
- chore(deps): bump the actions group with 2 updates by @dependabot in #3485
New Contributors
- @NJManganelli made their first contribution in #3440
Full Changelog: v2.8.1...v2.8.2