Skip to content

Releases: scikit-hep/awkward

Version 2.0.10

07 Mar 16:36
5f5c3f4
Compare
Choose a tag to compare

New features

  • feat: make header-only libraries a CMake project by @agoose77 in #2280

Bug-fixes and performance

  • fix: apply subset of fixes for downstream dask usage by @agoose77 in #2283

Other

  • docs: fix URI to header-only LayoutBuilder examples by @agoose77 in #2279
  • chore: update pre-commit hooks (#2286)Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> by @pre-commit-ci in #2286

Full Changelog: v2.0.9...v2.0.10

Version 2.0.9

03 Mar 19:03
bb4279f
Compare
Choose a tag to compare

New features

  • feat: keep column order after filtering flag by @ianna in #2234
  • feat: Awkward Arrays in Numba's CUDA target by @ianna in #1809
  • feat: add 'highlevel' and 'behavior' arguments to 'ak.from_rdataframe' function by @ianna in #2258

Bug-fixes and performance

Other

Full Changelog: v2.0.8...v2.0.9

Version 2.0.8

16 Feb 17:10
Compare
Choose a tag to compare

New features

  • feat: allow awkward type arrays filtering based on rdfentry by @ianna in #2202
  • feat!: re-introduce unknown-length by @agoose77 in #2229

Bug-fixes and performance

Other

Full Changelog: v2.0.7...v2.0.8

Version 2.0.7

04 Feb 01:18
20b3da8
Compare
Choose a tag to compare

Bug-fixes and performance

  • fix: re-order cases to handle NumPy scalar types properly by @agoose77 in #2125
  • fix: specify dtype for buffers in from_rdataframe. by @agoose77 in #2145
  • fix: unify typestr with _repr by @agoose77 in #2158
  • fix: update type_to_name for Layout builder cxx_14 target by @ianna in #2165
  • fix: Layout builders clean and length bug fixes by @ianna in #2171
  • fix: support mask_identity=True for axis=None in ptp, std, etc. by @agoose77 in #2172
  • fix: preserve dimensions for keepdims=True, axis=None reductions by @agoose77 in #2177
  • fix: some usages of len(layout) under typetracer by @agoose77 in #2181
  • fix: rdataframe memory check by @ianna in #2155
  • fix: rework parameter merging rules by @agoose77 in #2179
  • fix: don't raise NotImplementedError when reading empty array from Parquet by @dsavoiu in #2194
  • fix: ignore object arrays by @agoose77 in #2206
  • fix: ak.values_astype now turns 'unknown' type into the requested type. by @jpivarski in #2196

Other

New Contributors

Full Changelog: v2.0.6...v2.0.7

Version 2.0.6

13 Jan 18:42
aa202ee
Compare
Choose a tag to compare

New features

Bug-fixes and performance

  • fix: support scalars in tuple (and list) arguments provided to __array_function__ by @agoose77 in #2045
  • fix: support option-in-record for fill_none by @agoose77 in #2065
  • fix: support unzipping ak.Record by @agoose77 in #2077
  • fix: render keyword and varargs by @agoose77 in #2074
  • fix: don't try to re-wrap array_function overload results by @agoose77 in #2079
  • fix: support merging of RegularArray and NumpyArray by @agoose77 in #2063
  • fix: correct NumPy zero-size broadcasting by @agoose77 in #2083
  • fix: implement explicit translation for NEP-18 by @agoose77 in #2089
  • fix: listarray - slicing expects scalars by @ianna in #2069
  • fix: off-by-one error in run_lengths by @agoose77 in #2093
  • fix: broken links due to cpp split by @agoose77 in #2087
  • fix: unflatten should accept non-packed counts by @agoose77 in #2097
  • fix: remove string casting from ak.to_layout by @agoose77 in #2098
  • fix: support categorical counts in ak.unflatten by @agoose77 in #2099
  • fix: use pickleable closure for ak.mixin_class_method by @agoose77 in #2102
  • fix: be more permissive with sort translation by @agoose77 in #2112
  • fix: merging 1D NumpyArray with option by @agoose77 in #2105
  • fix: support is_indexed types in ak.fill_none by @agoose77 in #2111
  • fix: use object.__new__(ak.Array) for pickling constructor by @agoose77 in #2113
  • fix: remove Long64_t from common header-only by @ianna in #2084
  • fix: TypeTracerArray binary operators, ak.Array.__str__ with a typetracer, attempts to call touch_data on non-typetracers, ...? by @jpivarski in #2115
  • fix: add ScalarType and treat bare strings as char arrays by @agoose77 in #2116
  • fix: ensure Exception if branch evaluates for Awkward type by @agoose77 in #2019

Other

Full Changelog: v2.0.5...v2.0.6

Version 2.0.5

01 Jan 23:27
08a099a
Compare
Choose a tag to compare

New features

(none!)

Bug-fixes and performance

  • fix: remove unused keyword arg by @agoose77 in #2046
  • fix: support regular_to_jagged in Content._recursively_apply / ak.transform by @agoose77 in #2048
  • fix: read behavior from highlevel ak.ArrayBuilder by @agoose77 in #2052
  • fix: rebuild invalid check pointers in ArrayBuilder by @agoose77 in #2055

Other

Full Changelog: v2.0.4...v2.0.5

Version 2.0.4

23 Dec 19:44
5af040b
Compare
Choose a tag to compare

This follows quickly on 2.0.3, which removed a feature and a function argument. Removing the feature is still the right thing to do (see the 2.0.3 release notes), but the function argument needs to go through a deprecation cycle, since libraries like dask-awkward pass arguments through to Awkward. Removing flatten_records as an argument introduces an error, even if the surviving case of flatten_records=False is desired.

This will also be a good exercise of the deprecation schedule in 2.x.

New features

(none!)

Bug-fixes and performance

  • fix: soft-deprecate flatten_records instead of hard-deprecation by @agoose77 in #2036

Other

(none!)

Full Changelog: v2.0.3...v2.0.4

Version 2.0.3

23 Dec 18:09
bd3efcc
Compare
Choose a tag to compare

Backward-incompatible changes

  • The flatten_records argument of all reducers (ak.all, ak.any, ..., ak.var) has effectively been removed: setting it now raises an error (PR #2020). This argument applies a reducer to all contents of a record, merging fields, and it had to be removed to properly implement axis=None. The old default, flatten_records=False, is now the only behavior, and to get the equivalent of flatten_records=True, you can use ak.ravel:
ak.sum(array, flatten_records=True)

becomes

ak.sum(ak.ravel(array))

Note: yanked from PyPI in favor of 2.0.4.

New features

  • feat: add data-touch reporting to the type-tracer. by @jpivarski in #2027

Bug-fixes and performance

  • fix: extend TypeTracerArray with eq, ne, and array_ufunc. by @jpivarski in #2021
  • fix: add support for Long64_t by @ianna in #2023
  • fix: replace protocol with direct subclass by @agoose77 in #2029
  • fix: support UnknownLength in ak.types.ArrayType by @agoose77 in #2031
  • refactor!: use exclusively axis=-1 reduction for axis=None by @agoose77 in #2020

Other

Full Changelog: v2.0.2...v2.0.3

Version 2.0.2

16 Dec 18:54
7e6f504
Compare
Choose a tag to compare

New features

Bug-fixes and performance

(none!)

Other

(none!)

Full Changelog: v2.0.1...v2.0.2

Version 2.0.1

15 Dec 19:10
3fc4adb
Compare
Choose a tag to compare

New features

Bug-fixes and performance

Other

Full Changelog: v2.0.0...v2.0.1