Releases: scikit-hep/awkward
Releases · scikit-hep/awkward
Version 2.3.1
New features
(none!)
Bug-fixes and performance
- fix: added kernel specializations for
awkward_ListOffsetArray_reduce_local_nextparents_64
by @jpivarski in #2572
Other
(none!)
Full Changelog: v2.3.0...v2.3.1
Version 2.3.0
New features
- feat: LayoutBuilder in Numba by @ianna in #2408
- feat: move string features into core by @agoose77 in #2547
- feat: add new
__list__
parameter for list-based array types by @agoose77 in #2549 - feat!: deprecate string behavior classes by @agoose77 in #2528
- feat!: apply retroactive deprecations by @agoose77 in #2566
Bug fixes and performance
- fix: support dict-likes in form.from_dict, convert fields to list by @agoose77 in #2548
- fix: check validity error properly by @agoose77 in #2550
- fix: string broadcasting by @agoose77 in #2552
- fix: make C++ LayoutBuilder API consistent with the Numba's by @ianna in #2553
- fix: convert unknown-length to index in
ListOffsetArray.to_RegularArray
by @agoose77 in #2560 - fix: prefer known to unknown lengths in broadcasting by @agoose77 in #2561
- fix: broadcasting of regular strings by @agoose77 in #2564
- fix: restore NEP-18 overloads for concatenate and where by @agoose77 in #2567
Other
- chore: update pre-commit hooks by @pre-commit-ci in #2532
- chore: update pyodide parts a bit by @henryiii in #2538
- chore: move C++ format configuration by @agoose77 in #2554
- chore: drop Python 3.7 by @agoose77 in #2557
- chore: ruff moved to astral-sh by @henryiii in #2562
- chore: target-version no longer needed by Black or Ruff by @henryiii in #2563
- chore(deps): bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 by @dependabot in #2546
- ci: cap
pydantic<2
to fix WASM build by @agoose77 in #2558 - refactor: drop unused
if
by @agoose77 in #2543
Full Changelog: v2.2.4...v2.3.0
v2.2.4
New features
- feat!: canonicalise
union
ofindexed
by @agoose77 in #2527 - feat: add array dispatcher (inline) by @agoose77 in #2531
Bug fixes and performance
- fix: patch
NDArrayOperatorsMixin
by @agoose77 in #2534 - fix: improve performance of
Form.select_columns
by @agoose77 in #2536
Other
- refactor: add internal
with_operation_context
by @agoose77 in #2525 - chore: update pre-commit hooks by @pre-commit-ci in #2522
- chore(deps): bump pypa/cibuildwheel from 2.13.0 to 2.13.1 by @dependabot in #2521
Full Changelog: v2.2.3...v2.2.4
Version 2.2.3
New features
- feat!: deprecate
to_NumpyForm
's ``dtype` argument by @agoose77 in #2503 - feat!: deprecate the time
__unit__
parameter by @agoose77 in #2518
Bug fixes and performance
- fix: don't project records during broadcasting; push index down by @agoose77 in #2524
- fix: protect ak.to_parquet against memory explosion when args are swapped. by @jpivarski in #2523
- fix: str of
KeyError
for <3.11 by @agoose77 in #2519 - fix: support
axis != -1
for record reduction by @agoose77 in #2514
Other
- refactor: dead c++ elimination by @agoose77 in #2504
- refactor: move responsibility for positional reducers to
Reducer.apply
by @agoose77 in #2507
Full Changelog: v2.2.2...v2.2.3
Version 2.2.2
New features
- feat!: drop string broadcasting overloading by @agoose77 in #2474
- feat: add
Index._touch_XXX
methods by @agoose77 in #2478 - feat: add
ak.typetracer.length_one_if_typetracer
by @jpivarski in #2499 - feat: add placeholder array by @agoose77 in #2479
Bug-fixes and performance
- fix!: raise error when flattening strings by @agoose77 in #2471
- fix:
ak.concatenate
for typetracer by @agoose77 in #2497 - fix: always touch arguments to kernels by @agoose77 in #2472
- fix: check
start_at_zero
in_compact_offsets
by @agoose77 in #2477 - fix: convert index to shape item by @agoose77 in #2466
- fix: formatting error message (missing space). by @jpivarski in #2485
- fix: rename tonumbatype function to conform by @ianna in #2482
- fix: request non-option results for overloaded positional record reducers by @agoose77 in #2502
- fix: starts handling in
RegularArray._reduce_next
by @agoose77 in #2492 - fix: touch offsets in kernel call by @agoose77 in #2469
- fix: trim content when broadcasting by @agoose77 in #2489
- fix: use offsets for starts to handle length-0 arrays by @agoose77 in #2488
- refactor: cleanup and type hints by @agoose77 in #2476
- refactor: improve kernel error handling logic (1 of 3) by @agoose77 in #2505
- refactor: move JAX reducer dispatch to
ak._do.reduce
(2 of 3) by @agoose77 in #2506 - refactor: simplify reducer boilerplate (3 of 3) by @agoose77 in #2509
Other
- chore(deps): bump docker/setup-qemu-action from 2.1.0 to 2.2.0 by @dependabot in #2511
- chore(deps): bump pypa/cibuildwheel from 2.12.3 to 2.13.0 by @dependabot in #2481
- chore: add more type hints! by @agoose77 in #2473
- chore: update pre-commit hooks by @pre-commit-ci in #2467
- chore: update pre-commit hooks by @pre-commit-ci in #2500
- chore: upgrade CI micromamba action by @agoose77 in #2494
Full Changelog: v2.2.1...v2.2.2
Version 2.2.1
New features
- feat: add validity error for duplicate record field by @agoose77 in #2447
- feat: add
empty_if_typetracer
& expose more of typetracer to L2 by @agoose77 in #2127 - feat!: remove use of
typestr
inak.types.Type
by @agoose77 in #2454 - feat: improve performance of behavior lookups by @agoose77 in #2464
- feat: support record reducer overloads by @agoose77 in #2458
Bug-fixes and performance
- fix:
ak.to_numpy
does not properly convert lists of empty string by @agoose77 in #2449 - fix: handle indexed nodes in
ak.almost_equal
by @agoose77 in #2460
Other
- ci: annotate pytest failures on GHA by @agoose77 in #2448
- chore: update pre-commit hooks by @pre-commit-ci in #2461
- docs: update contributing guide by @agoose77 in #2453
- refactor: reorganise sentinel definitions by @agoose77 in #2459
Full Changelog: v2.2.0...v2.2.1
Version 2.2.0
New features
- feat: canonicalise
union[?X, Y]
intounion[?X, ?Y]
by @agoose77 in #2427 - feat: add
ak.forms.from_type
by @agoose77 in #2425 - feat: add
ak.enforce_type
by @agoose77 in #2365 - feat!: deprecate
length_zero_array
highlevel argument by @agoose77 in #2437
Bug-fixes and performance
- fix: avoid reference cycles with the error-handling machinery by @agoose77 in #2442
- fix: proper unknown size broadcasting for all-regular by @agoose77 in #2444
Other
- ci: publish to PyPI with OIDC by @agoose77 in #2450
- chore(deps): bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by @dependabot in #2445
- chore: update pre-commit hooks by @pre-commit-ci in #2446
- chore: prepare 2.2.0 release by @agoose77 in #2451
- chore: update pre-commit hooks by @pre-commit-ci in #2443
- docs: add
broadcast_fields
to toctree by @agoose77 in #2436
Full Changelog: v2.1.4...v2.2.0
Version 2.1.4
New features
- feat!: raise error for out-of-bounds axis in
ak.cartesian
by @agoose77 in #2411 - feat: make
ak.numba.GrowableBuffer
visible by @ianna in #2403
Bug-fixes and performance
- fix: unify C++ and Python
GrowableBuffer::extend
algorithm by @ianna in #2396 - fix: return empty list if broadcasting no arrays by @agoose77 in #2407
- fix: only convert NEP18 arguments to layouts if required by @agoose77 in #2409
- fix: partially fix string broadcasting by @agoose77 in #2410
- fix: correctly convert unknown scalar from kernel to a length by @agoose77 in #2417
- fix: support unknown lengths when broadcasting unions by @agoose77 in #2418
- fix: consistently set a
resize
default value to 8 - that is passed to GrowableBuffer by @ianna in #2421 - fix:
is_equal_to
bug inUnionArray
by @agoose77 in #2426 - fix: handle reordered contents in
ak.almost_equal
by @agoose77 in #2424 - fix: typetracer
nplike.repeat
&ak.with_field
by @agoose77 in #2429
Other
- ci: attach header-only artifact to release by @agoose77 in #2406
- chore: update pre-commit hooks by @pre-commit-ci in #2423
- chore(deps): bump pypa/cibuildwheel from 2.12.1 to 2.12.3 by @dependabot in #2415
- refactor: add custom axis error by @agoose77 in #2412
Full Changelog: v2.1.3...v2.1.4
Version 2.1.3
New features
(none!)
Bug-fixes and performance
- fix: support empty records in
ak.with_field
by @agoose77 in #2387 - fix: only format exception for primary context by @agoose77 in #2388
- fix: only touch data in
nplike.asarray
if copy is required by @agoose77 in #2395 - fix: update
GrowableBuffer::move_to
algorithm by @ianna in #2394 - fix: don't touch for
ascontiguousarray
by @agoose77 in #2397
Other
- refactor: implement
nplike
registry (1 of 2) by @agoose77 in #2389 - refactor: implement
Backend
registry (2 of 2) by @agoose77 in #2390 - refactor: use existing
unset
sentinel by @agoose77 in #2391 - ci: add workflow to ensure C++ is released by @agoose77 in #2398
- chore(deps): bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.5 by @dependabot in #2356
- chore: update pre-commit hooks by @pre-commit-ci in #2342
Full Changelog: v2.1.2...v2.1.3
Version 2.1.2
New features
- feat: use cppyy for JIT by @ianna in #2306
- feat!: rename cpptype by @agoose77 in #2331
- feat: implemented GrowableBuffer in Numba as a start toward LayoutBuilder by @jpivarski in #2349
- feat: add
to_backend
toak.record.Record
by @agoose77 in #2355 - feat: add type equality
is_equal_to
member by @agoose77 in #2368
Bug-fixes and performance
- fix: expose array interface for CUDA by @agoose77 in #2327
- fix: test untested path in
ak.cartesian
& broadcasting by @agoose77 in #2329 - fix:
ak.cartesian
for typetracer by @agoose77 in #2295 - fix: Numba string reference count memory leak. by @jpivarski in #2332
- fix: generate an array view when an Array C++ type is requested by @ianna in #2335
- fix: do not expose an
rdfentry_
column by @ianna in #2343 - fix: generate RDataSource API based on ROOT attribute by @ianna in #2345
- fix: simplify depth limit test to support bigger-than-depth values by @agoose77 in #2347
- fix: use cppyy include by @ianna in #2348
- fix: convert ufunc arguments to same backend by @agoose77 in #2354
- fix: support N-d sequences in
TypeTracer.asarray
by @agoose77 in #2361 - fix: make
from_iter
require iterables! by @agoose77 in #2353 - fix: avoid stack overflow with std::unique_ptr linked list by @ianna in #2366
- fix:
ak.unzip
visits all contents by @agoose77 in #2373 - fix: remove spurious typetracer conversion by @agoose77 in #2375
Other
- refactor: hide
awkward.typing
by @agoose77 in #2324 - refactor: move
_parameters_XXX
functions into_parameters
submodule by @agoose77 in #2325 - refactor: move
merge_as_union
toak_concatenate
by @agoose77 in #2351 - refactor: improve broadcasting logic readability by @agoose77 in #2359
- refactor: wrap exceptions at catch time by @agoose77 in #2370
- docs: fix pyodide (again!) by @agoose77 in #2326
- docs: add import statement by @raybellwaves in #2358
- docs: update mybinder link to example notebook by @raybellwaves in #2357
- docs: fix extra for pyodide by @agoose77 in #2360
- docs: add raybellwaves as a contributor for doc by @allcontributors in #2379
- chore: update pre-commit hooks by @pre-commit-ci in #2313
- chore: update pre-commit hooks by @pre-commit-ci in #2328
New Contributors
- @raybellwaves made their first contribution in #2358
Full Changelog: v2.1.1...v2.1.2