Skip to content

v3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Sep 11:43

ChunkSplitters v3.0.0

Diff since v2.6.0

This release is a major overhaul of the user interface.

Changes:

  • BREAKING The new lower compat bound for Julia is 1.10. This implies that support for the old LTS 1.6 has been dropped.
  • BREAKING The old main API function chunks is deprecated, and the new chunks function behaves differently.
  • BREAKING The new chunks has been introduced that returns an iterator that provides chunks of elements rather than chunks of indices of a given input collection. To avoid copies, it is based on view.
  • NEW FEATURE A new function index_chunks is introduced that returns the indices of the chunks.
  • BREAKING For performance reasons, the split keyword option now requires a Split instead of a Symbol. Concretely, :batch should be replaced by Consecutive() and :scatter should be replaced by RoundRobin().
  • BREAKING The keyword argument minchunksize has been renamed to minsize.
  • BREAKING getchunk isn't public API anymore (and has, internally, been renamed to getchunkindices). If you really need a replacement, consider using index_chunks(...)[i] instead.
  • BREAKING The old legacy API that relied on positional rather than keyword arguments has been dropped.

Merged pull requests:

Closed issues: