Skip to content

Version 2.0.0rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jpivarski jpivarski released this 25 Oct 20:51
· 1035 commits to main since this release
cf26ac0

This is the first (pre) release of Awkward 2, after main and main-v1 have diverged (considerably). There is no awkward._v2 submodule in this release. Any instances of

import awkward._v2 as ak

need to be changed to

import awkward as ak

to use this release. Also, there is no guarantee that Awkward 1 code will work in this release; it is a (slightly) backward incompatible major release, but not final until 2.0.0 (no "rc" number).

New features

  • feat: replace v1 with v2 (preserve-history) by @agoose77 in #1721
  • feat: add _v2 proxy module by @agoose77 in #1730
  • feat: make ak.from_json with schema ignore unspecified fields (instead of error). by @jpivarski in #1770
  • feat: add new "fields" key to RecordForm by @agoose77 in #1773
  • feat: support scalars in TypeTracer operations by @agoose77 in #1774
  • feat: add RegularArray._reduce_next implementation by @agoose77 in #1811
  • feat: Array Builder in Numba - add missing methods by @ianna in #1677
  • feat: to/from RDataFrame support for bool type arrays by @ianna in #1829
  • feat: preserve None in np.ravel() by @agoose77 in #1826

Bug-fixes and performance

  • fix: ensure behavior is taken from wrapped array in ak.Array by @agoose77 in #1715
  • refactor!: disable iteration of records by @agoose77 in #1725
  • fix: Record is not in contents, but in record by @ianna in #1739
  • fix: use proper lengths in ByteMaskedArray.mergemany by @agoose77 in #1749
  • fix: don't assume trailing . for module name in is_XXX_buffer by @agoose77 in #1743
  • fix: kernel name in IndexedArray by @agoose77 in #1754
  • fix: use raise with ak._errors.wrap_error by @agoose77 in #1760
  • fix: use dict representation of Form in pickling by @agoose77 in #1768
  • fix: ignore unknown JAX "buffer" types & fix nplike mixing by @agoose77 in #1769
  • fix: propagate mask through from_numpy by @agoose77 in #1777
  • fix: use the flag for non-persistence by @ianna in #1781
  • fix: simplify ListOffsetArray_reduce_nonlocal_outstartsstops by @agoose77 in #1796
  • fix: allow empty sublists in ak.run_lengths by @agoose77 in #1795
  • fix: ak.prod for booleans had been incorrectly casting output by @jpivarski in #1827
  • fix: visit all layout nodes with ak.fill_none(..., axis=None) by @agoose77 in #1830
  • perf: only stringify function arguments if nplike is delayed. by @jpivarski in #1825

Other

Full Changelog: v1.10.1...v2.0.0rc1