Releases: scikit-hep/awkward
Releases · scikit-hep/awkward
Version 2.7.4
New features
- feat: add a non-touching
ak.zip
, called'ak.zip_no_broadcast'
by @pfackeldey in #3390
Bug-fixes and performance
(none!)
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3389
- chore(deps): bump the actions group with 2 updates by @dependabot in #3388
Full Changelog: v2.7.3...v2.7.4
Version 2.7.3
New features
- feat: add pretty nbytes repr to .show and jupyter repr by @pfackeldey in #3348
- feat: improve error message when indexing placeholder arrays by @pfackeldey in #3353
Bug-fixes and performance
- perf: make the ak.Array.mask weakly dependent on the array itself by @pfackeldey in #3347
- perf: add caches to reduce python overhead by @pfackeldey in #3359
- fix: current failing jax tests for
jax>=0.4.36
by @pfackeldey in #3340 - fix: placeholder arrays in record
__repr__
by @pfackeldey in #3342 - fix: stacktraces for custom exception handling by @pfackeldey in #3343
- fix: control attrs better as described in issue #3277 by @pfackeldey in #3344
- fix: enforce string-only keys in
.attrs
by @pfackeldey in #3350 - fix:
nbytes
property ofak.Record
by @pfackeldey in #3352 - fix: hash of
HashableDict
by @pfackeldey in #3355 - fix:
datetime.datetime.utcfromtimestamp
deprecation warning by @ianna in #3338 - fix: version check in to_cudf for API change by @martindurant in #3339
- fix: nbytes repr for typetracers with nbytes=unknown_length by @pfackeldey in #3361
- fix: update Chicago Taxi Dataset URL to Zenodo by @jpivarski in #3357
- fix: always check '.length' for 'unknown_length' by @jpivarski in #3332
- fix:
_getitem_at_placeholder
checks by @pfackeldey in #3368 - fix: resulting setitem layout type for ak.Record by @pfackeldey in #3372
- fix: change
primitive_policy
to allow converting Numpy arrays by @ianna in #3375 - fix: placeholder array repr with extra info by @pfackeldey in #3378
- fix: set allow_lazy to True to avoid touching potential placeholders by @pfackeldey in #3379
- fix: remove unsafe lru cache by @pfackeldey in #3384
- fix: test Pyodide with cibuildwheel and fix 32-bit issue by @henryiii in #3270
Other
- docs: add a performance tip to
ak.transform
docstring by @pfackeldey in #3369 - docs: add HavryliukAY as a contributor for code by @allcontributors in #3376
- refactor: propagate attrs & behavior with dict-like
ak.Array
input data by @pfackeldey in #3374 - refactor: simplify attrs & fix its pickability (for e.g. dask.distributed) by @pfackeldey in #3383
- ci: use native arm for wheels by @henryiii in #3381
- chore: remove WASM building in docs.yml by @jpivarski in #3333
- chore: use
_util.native_to_byteorder
function inak.from_buffers
by @pfackeldey in #3354 - chore: remove duplicate code by @pfackeldey in #3360
- chore: update pre-commit hooks by @pre-commit-ci in #3336
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3358
- chore: update pre-commit hooks by @pre-commit-ci in #3367
- chore(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 in the actions group by @dependabot in #3366
- chore: update pre-commit hooks by @pre-commit-ci in #3377
- chore: native Apple Silicon wheels by @henryiii in #3382
- chore: check if 32bit right broadcasting test pass again by @pfackeldey in #3386
- chore: reducing warnings by @henryiii in #3387
- chore: minor cleanup by @henryiii in #3385
Full Changelog: v2.7.2...v2.7.3
Version 2.7.2
This is the first version built with MacOS 13 instead of MacOS 12.
New features
- feat: Content.form_with_key_path() by @jpivarski in #3311
- feat: allow
np.array
s inak.full_like
as fill_value by @pfackeldey in #3315
Bug-fixes and performance
- fix: sorting of record arrays without fields (
ak.zip(tuple(...))
) by @pfackeldey in #3314 - fix: concatenation of empty records by @pfackeldey in #3316
- fix: extend limit on number of regular arrays to concatenate by @ianna in #3312
- fix: typetracer lengths for optiontypes in 'ak.where' broadcastings by @pfackeldey in #3322
- fix: handle type tracer correctly in indexed option array flattening by @lgray in #3325
- fix: Upstream API changes in cuDF 24.10 by @jpivarski in #3328 (but actually by @martindurant; see #3309)
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3319
- chore(deps): bump the actions group with 2 updates by @dependabot in #3318
- chore: upgrade macos-12 -> macos-13 by @jpivarski in #3327
- chore: update pre-commit hooks by @pre-commit-ci in #3323
Full Changelog: v2.7.1...v2.7.2
Version 2.7.1
New features
(none!)
Bug-fixes and performance
- fix: test from_raggedtensor on CUDA by @ianna in #3298
- fix: use None when ndims can't be inferred from a layout-like obj by @pfackeldey in #3299
- fix: ak.argcombinations should allow negative axis by @jpivarski in #3301
- fix: restrict
named_axis
inferring toak.Arrays/ak.Records/ak.HighLevelContexts
by default by @pfackeldey in #3304
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3303
- chore: update pre-commit hooks by @pre-commit-ci in #3307
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3306
Full Changelog: v2.7.0...v2.7.1
Version 2.7.0
This release drops support for Python 3.8. The supported Python versions are now 3.9 through 3.13 (inclusive). Other than that, it does not differ from 2.6.10.
New features
(none!)
Bug-fixes and performance
(none!)
Other
- chore: remove Python 3.8, ensure Python 3.13 is included by @jpivarski in #3295
Full Changelog: v2.6.10...v2.7.0
Version 2.6.10
New features
- feat: named axis for
ak.Array
by @pfackeldey in #3238 - feat: to/from TensorFlow Tensor by @maxymnaumchyk in #3292
- feat: updated LayoutBuilder.h (added functors) for C++11 compatibility by @jpivarski in #3281
Bug-fixes and performance
- fix: make sure 'at' is a cupy zero dim array by @ianna in #3271
- fix: add cuda backend support for
to_raggedtensor
andfrom_raggedtensor
functions by @maxymnaumchyk in #3263 - fix: test
from_raggedtensor
on GPU by @ianna in #3288 - fix: correct handling of keepdims and mask_identity for weighted mean by @nj-vs-vh in #3291
Other
- docs: add tacaswell as a contributor for maintenance by @allcontributors in #3273
- docs: add basnijholt as a contributor for maintenance by @allcontributors in #3287
- docs: add nj-vs-vh as a contributor for code by @allcontributors in #3293
- chore: update pre-commit hooks by @pre-commit-ci in #3275
- chore: delete
.DS_Store
and add it to .gitignore by @basnijholt in #3286 - chore(deps): bump the actions group across 1 directory with 2 updates by @dependabot in #3290
- test: add simple slice test to cuda by @martindurant in #3242
- chore: update pre-commit hooks by @pre-commit-ci in #3284
- chore: increase try-it version of Awkward to 2.6.4 by @jpivarski in #3279
New Contributors
- @basnijholt made their first contribution in #3286
- @nj-vs-vh made their first contribution in #3291
Full Changelog: v2.6.9...v2.6.10
Version 2.6.9
New features
- feat: Add to_cudf by @martindurant in #3051
- feat: to/from PyTorch Tensor by @maxymnaumchyk in #3259
Bug-fixes and performance
- perf: avoid inflating UnmaskedArrays in broadcasting when you can by @jpivarski in #3254
- fix: TypeError fix for
can_cast
by @ianna in #3255 - fix: ListArray slicing on GPU by @ianna in #3248
- fix: ak.typetracer.length_one_if_typetracer with option and union types by @jpivarski in #3266
Other
- docs: add ariostas as a contributor for code by @allcontributors in #3240
- docs: add maxymnaumchyk as a contributor for code by @allcontributors in #3241
- docs: pybind11 demo project should have NumPy own the data by @jpivarski in #3261
- ci: use official GHA for uv by @henryiii in #3269
- ci: restore Windows 32-bit wheels by @henryiii in #3268
- chore: update RapidJSON by @tacaswell in #3249
- chore: update affiliation in CITATION.cff by @ManasviGoyal in #3251
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3260
- chore: update pre-commit hooks by @pre-commit-ci in #3245
New Contributors
- @tacaswell made their first contribution in #3249
Full Changelog: v2.6.8...v2.6.9
Version 2.6.8
New features
- feat: Add ak.array_equal by @tcawlfield in #3215
- feat: to TensorFlow RaggedTensor by @maxymnaumchyk in #3210
- feat: provide a way for
Form.select_columns
to distinguish structural dots from dots in the names of record fields by @tcawlfield in #3222
Bug-fixes and performance
- fix: 2881 akconcatenate fails trying to concatenate too many nested arrays by @tcawlfield in #3207
- fix: adjust checks in ForthMachine to prevent segfault when num_items is negative by @ariostas in #3209
- fix: generalize
Index.ptr
by @jpivarski in #3206 - fix: add
ak.array_equal
to NEP18 overrides, documentation, and add one more test by @tcawlfield in #3225 - fix: cuda max reducer bugfix and more tests by @ianna in #3228
- fix: empty arrays in ak.to_parquet with extensionarray=True by @jpivarski in #3234
- fix: GPU complex reducer prod for empty lists by @ianna in #3235
Other
- test: loosen message on test_2757 due to upstream Cython changes by @jpivarski in #3224
- style: fix documentation by @maxymnaumchyk in #3227
- ci: add 3.13 wheels by @henryiii in #3217
- chore: update pre-commit hooks by @pre-commit-ci in #3204
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3233
New Contributors
- @ariostas made their first contribution in #3209
- @maxymnaumchyk made their first contribution in #3210
Full Changelog: v2.6.7...v2.6.8
Version 2.6.7
New features
- feat: combinations kernels by @ManasviGoyal in #3150
- feat: complex reducers by @ManasviGoyal in #3149
Bug-fixes and performance
- fix: use classic linker with AppleClang 15+ by @henryiii in #3167
- fix: unexpected behaviour of akwhere with arrays containing nones by @tcawlfield in #3168
- fix: out of bounds index access issue in argmin and argmax complex in CPU kernel by @ManasviGoyal in #3176
- fix: refine the implementation of copy_behaviors by @Saransh-cpp in #3177
- fix: ak.to_parquet for a record-like non-Record by @jpivarski in #3175
- fix: proposal for #2947 by @maxgalli in #3191
- fix: requesting layout.form should not touch shape by @jpivarski in #3189
- fix: issue #3118 and #3185 by @pfackeldey in #3193
- fix: change np.integer to numbers.Integral by @maxgalli in #3195
Other
- ci: fix incorrect SDist name by @henryiii in #3201
- docs: add maxgalli as a contributor for code by @allcontributors in #3198
- docs: add pfackeldey as a contributor for code by @allcontributors in #3199
- chore(deps): bump the actions group across 1 directory with 4 updates by @dependabot in #3184
- chore: update pre-commit hooks by @pre-commit-ci in #3172
- chore(deps): bump docker/setup-qemu-action from 3.1.0 to 3.2.0 in the actions group across 1 directory by @dependabot in #3190
New Contributors
- @maxgalli made their first contribution in #3191
- @pfackeldey made their first contribution in #3193
Full Changelog: v2.6.6...v2.6.7
Version 2.6.6
New features
- feat: add slicing CUDA kernels by @ManasviGoyal in #3140
- feat: add some misc CUDA kernels by @ManasviGoyal in #3141
- feat: Adding awkward.semipublic submodule by @tcawlfield in #3152
- feat: 3154 from_parquet should be able to read partial columns by @tcawlfield in #3156
- feat: add reduce kernels by @ManasviGoyal in #3136
- feat: copy_behaviors to make sub-classing easy by @Saransh-cpp in #3137
Bug-fixes and performance
- fix: use grid-stride looping for kernels with variable-length loops by @ManasviGoyal in #3130
- fix: don't let CuPy iterate over Index with Python for loops by @jpivarski in #3142
- fix: correct dtypes for numpy v2 by @ianna in #3159
- fix: ak.from_numpy should fail on zero-dimensional arrays. by @tcawlfield in #3161
Other
- test: reducer CUDA kernel tests by @ManasviGoyal in #3162
- ci: Ensure attestations for awkward-cpp sdist and wheels by @matthewfeickert in #3135
- ci: faster wheel builds by @henryiii in #3146
- chore: update pre-commit hooks by @pre-commit-ci in #3139
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3153
- chore: trying atomics and tree reduction for CUDA reducer kernels by @ManasviGoyal in #3123
- chore: update pre-commit hooks by @pre-commit-ci in #3145
Full Changelog: v2.6.5...v2.6.6