Releases: scikit-hep/awkward
Releases · scikit-hep/awkward
Version 2.4.0
New features
- feat:
Form.expected_from_buffers
for names/dtypesak.from_buffers
needs. by @jpivarski in #2660 - feat: support out-of-band buffers in pickling by @agoose77 in #2665
- feat: add
touch_data
toak.typetracer
by @agoose77 in #2672 - feat: add support for custom picklers by @agoose77 in #2682
- feat!: deprecate
forget_length
, add parameters totypetracer_with_report
by @agoose77 in #2671 - feat!: remove deprecations for 1.4.0 release by @agoose77 in #2688* fix: support placeholders in shape-only routines by @agoose77 in #2652
Bug-fixes and performance
- fix: multiple-output ufuncs e.g.
divmod
by @agoose77 in #2654 - fix: support unflattening a typetracer-backed array at
axis != 0
by @agoose77 in #2657 - fix: fix IPython inspection by @agoose77 in #2658
- fix: using
numba.core.errors.Numba<Error>
instead ofError
in a Numba typing context. by @jpivarski in #2659 - fix: raise error for invalid object in
from_dlpack
by @agoose77 in #2662 - fix: fix/harden broadcasting through tuples by @agoose77 in #2663
- fix: update string to search for in determing parquet column list separator by @douglasdavis in #2670
- fix: guard
broadcast_and_apply
from mixed backends by @agoose77 in #2678 - fix: support typetracer in
ak.str.
operations by @agoose77 in #2679
Other
- chore: update pre-commit hooks by @pre-commit-ci in #2645
- chore: update pre-commit hooks by @pre-commit-ci in #2677
- chore: bump numba and pyarrow test pins by @agoose77 in #2684
- chore: bump C++ standard version by @agoose77 in #2685
- chore(deps): bump aws-actions/configure-aws-credentials from 2 to 3 by @dependabot in #2669
- test: keep testing Windows 32-bit. by @jpivarski in #2681
Full Changelog: v2.3.3...v2.4.0
Version 2.3.3
New features
- feat: add support for
__arrow_array__
by @agoose77 in #2650 - feat: add
__dlpack__
,from_dlpack
support by @agoose77 in #2649
Bug-fixes and performance
- fix: rename cppyy test by @ianna in #2643
- fix: support
highlevel=False
in all branches forfrom_parquet
by @agoose77 in #2646 - fix: support non-hashable values in
parameters_union
by @agoose77 in #2651 - fix: remove unneeded cast by @agoose77 in #2653
Other
- chore(deps): bump pypa/gh-action-pypi-publish from 1.8.9 to 1.8.10 by @dependabot in #2641
Full Changelog: v2.3.2...v2.3.3
Version 2.3.2
New features
- feat: add support for expected termination of transform functions by @agoose77 in #2595
- feat: export error classes by @agoose77 in #2613
- feat: unpickle arrays made in Awkward v1 (as v2). by @jpivarski in #2604
- feat: use pyarrow for string functions by @jpivarski in #2616
- feat: add support for dictionary encoding from Arrow by @agoose77 in #2630
- feat: add CPU kernel for
to_numpy
support for strings/bytestrings by @agoose77 in #2631
Bug-fixes and performance
- fix: don't decorate non-
Exception
subclasses by @agoose77 in #2587 - fix: use
to_backend_array()
instead ofasarray
by @agoose77 in #2592 - fix:
artefacts
→artifacts
inpyproject.toml
by @agoose77 in #2612 - fix: adjust for numexpr 2.8.5, which hid getContext's frame_depth argument by @jpivarski in #2617
- fix: add inline to prevent multiple definitions by @ManasviGoyal in #2606
- fix: support lists of strings in
ak.zip
withoptiontype_outside_record=True
by @agoose77 in #2623 - fix: support
counts=len(array)
inak.unflatten
by @agoose77 in #2632 - fix: support non
int64
index inListArray
'spad_none
by @agoose77 in #2634 - fix:
assert nextlen == 0
in reducer should also allowunknown_length
by @jpivarski in #2610
Other
- refactor: add new
module
andname
arguments tohigh_level_function
decorator by @agoose77 in #2620 - docs: add guide on unflattening and grouping by @agoose77 in #2622
- docs: remove reference to old arrayclass by @agoose77 in #2640
- docs: initial user-guide pass for string functions by @agoose77 in #2635
- chore(deps): bump pypa/cibuildwheel from 2.13.1 to 2.14.1 by @dependabot in #2584
- chore(deps): bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 by @dependabot in #2580
- chore: update pre-commit hooks by @pre-commit-ci in #2565
- chore: update pre-commit hooks by @pre-commit-ci in #2585
- chore: update pre-commit hooks by @pre-commit-ci in #2619
- chore: use 2x faster black mirror by @henryiii in #2633
- chore: drop 3.7 classifier by @agoose77 in #2636
- chore(deps): bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.9 by @dependabot in #2639
- chore(deps): bump pypa/cibuildwheel from 2.14.1 to 2.15.0 by @dependabot in #2629
Full Changelog: v2.3.1...v2.3.2
Version 1.10.4
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