Releases: scikit-hep/awkward
Releases · scikit-hep/awkward
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
Version 2.1.1
New features
- feat: add support for arrays in
from_buffers
by @agoose77 in #2319 - feat: validate
axis
in L1 by @agoose77 in #2285 - feat: add examples to header-only module by @agoose77 in #2288
Bug-fixes and performance
- fix: support typetracer in
ak.unflatten
by @agoose77 in #2293 - fix: view for unknown scalar by @agoose77 in #2294
- fix: common backend in functions accepting multiple arrays by @agoose77 in #2297
- fix: support unknown scalars in
__getitem__
by @agoose77 in #2314 - fix: fail early if index is too dimensional by @agoose77 in #2304
- fix: uneccessary use of
nplike_of
by @agoose77 in #2315 - fix: jupyterlite dependency changes by @agoose77 in #2318
Other
- refactor: rename util functions by @agoose77 in #2316
- docs: update version switcher (#2299)Co-authored-by: Jim Pivarski [email protected] by @agoose77 in #2299
- docs: add Gitter badge by @agoose77 in #2298
- docs: add deployment notes to contributing guide by @agoose77 in #2300
- chore(deps): bump aws-actions/configure-aws-credentials from 1 to 2 by @dependabot in #2290
- chore(deps): bump amannn/action-semantic-pull-request from 5.1.0 to 5.2.0 by @dependabot in #2321
- chore(deps): bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by @dependabot in #2308
- chore(deps): bump pypa/cibuildwheel from 2.12.0 to 2.12.1 by @dependabot in #2309
- chore(deps): bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 by @dependabot in #2322
- ci: fix parsing of docs version by @agoose77 in #2301
Full Changelog: v2.1.0...v2.1.1
Version 1.10.3
This is a bug-fix release, motivated by PR #2311, which fixes a memory leak investigated in issues #1127, #1280, #2275, and #2310 (500 days from first sighting).
New features
(none!)
Bug-fixes and performance
- fix: DECREFing PyObject*s from Python C API calls in v1. by @jpivarski in #2311
Other
(none!)
Full Changelog: v1.10.2...v1.10.3
Version 2.1.0
Version 2.0.10
New features
Bug-fixes and performance
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
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
- fix: set dtype in
full_like
by @agoose77 in #2251 - fix: use
simplified
inak._do.merge_as_union
by @agoose77 in #2240 - fix: support unknown content length in
to_packed
by @agoose77 in #2263 - fix: run-lengths with typetracer by @agoose77 in #2259
- fix: add trivial
nan_to_num
impl by @agoose77 in #2266 - fix: add
ak.broadcast_fields
by @agoose77 in #2267 - fix: keep column order in all tests by @ianna in #2276
Other
- test: numba cuda tests by @ianna in #2264
- docs: add missing entries to toctree by @agoose77 in #2270
- docs: fix build for latest theme by @agoose77 in #2274
- docs: RDataFrame add multi-threaded example by @ianna in #2269
- docs: add Numba CUDA guide (#2260)Co-authored-by: Angus Hollands [email protected] Co-authored-by: Jim Pivarski [email protected] Co-authored-by: Jim Pivarski [email protected] by @ianna in #2260
- chore: use scikit-build-core 0.2's build-dir by @henryiii in #2252
- chore: more Ruff by @henryiii in #2184
- chore: update pre-commit hooks by @pre-commit-ci in #2255
- chore: update pre-commit hooks by @pre-commit-ci in #2272
- chore: Ruff updates from dev guidelines (#2268)Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jim Pivarski [email protected] by @henryiii in #2268
Full Changelog: v2.0.8...v2.0.9
Version 2.0.8
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
- fix: keep
EmptyArray
inremove_structure
by @agoose77 in #2219 - fix: add
is_c_contiguous
method to Cupy by @ianna in #2221 - fix: boolean indexing with non-zero starting offsets by @agoose77 in #2216
- fix: add license to _backends by @ianna in #2224
- fix: use of size in
to_RegularArray
by @agoose77 in #2226 - fix: indexing into
RegularArray
with typetracer by @agoose77 in #2227 - fix: support length-zero outer arrays in almost_equal by @agoose77 in #2210
- fix: support options in
ak.merge_union_of_records
by @agoose77 in #2236 - fix: don't merge non-union parameters by @agoose77 in #2241
- fix: boolean slicing with non-packed arrays by @agoose77 in #2246
Other
- refactor: add type hints for
Content._getitem_XXX
by @agoose77 in #2223 - refactor: drop
NumpyLike.known_shape
by @agoose77 in #2228 - refactor: change
Content._getitem_range
to use explicit indices by @agoose77 in #2220 - docs: fix example for
merge_union_of_records
by @agoose77 in #2213 - docs: add 1.10 legacy docs to
switcher.json
by @agoose77 in #2217 - docs: reintroduce Content documentation from v1 reST files. by @jpivarski in #2231
- docs: add
how-to-examine-type.md
by @agoose77 in #2013 - docs: improve ragged indexing docs by @agoose77 in #2247
- chore: include cuda kernel tests in sdist by @agoose77 in #2218
- chore(deps): bump amannn/action-semantic-pull-request from 5.0.2 to 5.1.0 by @dependabot in #2232
- chore: update pre-commit hooks by @pre-commit-ci in #2215
Full Changelog: v2.0.7...v2.0.8