Releases: JuliaFolds2/ChunkSplitters.jl
Releases · JuliaFolds2/ChunkSplitters.jl
v3.2.0
v3.2.0
v3.1.2
ChunkSplitters v3.1.2
https://github.com/JuliaFolds2/ChunkSplitters.jl/blob/main/CHANGELOG.md
Merged pull requests:
- out of bounds error on empty iterator indexing (#59) (@lmiq)
- Allow
minsizeto exceed the collection length (#60) (@MasonProtter)
Closed issues:
- What should happen if length of collection is less than
n? (#58)
v3.1.1
v3.1.0
ChunkSplitters v3.1.0
- Recover compatibility with Julia 1.6 to 1.9. On Julia 1.6 an allocation test fails. At 1.9 all tests pass.
Merged pull requests:
v3.0.0
ChunkSplitters v3.0.0
This release is a major overhaul of the user interface.
Changes:
The new lower compat bound for Julia is 1.10. This implies that support for the old LTS 1.6 has been dropped.
The old main API function
chunksis deprecated, and the newchunksfunction behaves differently.The new
chunkshas 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 onview.A new function
index_chunksis introduced that returns the indices of the chunks.For performance reasons, the
splitkeyword option now requires aSplitinstead of aSymbol. Concretely,:batchshould be replaced byConsecutive()and:scattershould be replaced byRoundRobin().The keyword argument
minchunksizehas been renamed tominsize.getchunkisn't public API anymore (and has, internally, been renamed togetchunkindices). If you really need a replacement, consider usingindex_chunks(...)[i]instead.The old legacy API that relied on positional rather than keyword arguments has been dropped.
Merged pull requests:
- Changes for 3.0 (#48) (@carstenbauer)
- Simplify iterate method to remove allocation on 1.10. (#50) (@fredrikekre)
- Simplify enumerate iterate (#51) (@lmiq)
Closed issues:
- 3.0 (#47)
v2.6.0
ChunkSplitters v2.6.0
New features:
- add
minchunksizeoption. - add
BatchSplitandScatterSplittypes as (type-stable) default alternatives to symbols:batchand:scatter. Types are preferred and should be used to guarantee that the generation of the chunks do not allocate any intermediate.
Merged pull requests:
minchunksize+split::SplitStrategy(new default) (#46) (@carstenbauer)
v2.5.0
ChunkSplitters v2.5.0
- Support
eachindex(enumerate(chunks(...)))
Merged pull requests:
- implement eachindex(enumerate(...)) (#42) (@lmiq)
- Drop Compat dependency + Update CI (#44) (@carstenbauer)
Closed issues: