Releases: ManyBodyLab/PeriodicArrays.jl
Releases · ManyBodyLab/PeriodicArrays.jl
v2.0.0
PeriodicArrays v2.0.0
Breaking changes:
- PeriodicArray type signature: {T,N,A,F} → {T,N,A,F,G} (adds imap type param G)
- Internal field renamed from .map to .fmap; new .imap field added
- Source split into types.jl, indexing.jl, broadcast.jl, vector_interface.jl,
repeat.jl, circshift.jl, reverse.jl, mapped_ref.jl
New features:
- PeriodicArray now accepts an explicit imap for setindex! (defaults to
NegatedShiftMap(fmap) when omitted, preserving previous behaviour) - New MappedRef type and mapped_ref(arr, I...) for lazy mutable out-of-bounds
element access, fixing iterated mutation (e.g. x[i][j] = v)
Merged pull requests:
- feat: implement Base.circshift and Base.circshift! (#8) (@AFeuerpfeil)
- add testsets and known limitations to README (#9) (@AFeuerpfeil)
- v2.0.0 — imap, MappedRef, modular source layout (#10) (@AFeuerpfeil)
v1.1.1
PeriodicArrays v1.1.1
- Replaces Broadcast.ArrayStyle{PeriodicArray{T,N,A,F}} with a new PeriodicArrayStyle{N} <: AbstractArrayStyle{N} carrying dimensionality with proper style promotion rules.
- Adds _find_pa helper to recover the PeriodicArray (and its .map) from anywhere in a broadcast argument tree, fixing the fragile bc.args[1].map assumption.
- Fixes scalar-first broadcasts (1 .+ pa), mixed-element-type PA operations, and PA-with-plain-array broadcasts that previously errored or silently returned a plain Array.
- Bumps version to 1.1.1 (bug fix).
Merged pull requests:
- Bump gustavofreze/auto-assign from 2.0.0 to 2.1.0 (#4) (@dependabot[bot])
- Bump julia-actions/cache from 2 to 3 (#5) (@dependabot[bot])
- Bump codecov/codecov-action from 5 to 6 (#6) (@dependabot[bot])
- fix: replace ArrayStyle with PeriodicArrayStyle for correct broadcast dispatch (#7) (@AFeuerpfeil)
v1.1.0
PeriodicArrays v1.1.0
Changes
- Add support for
Base.repeatandBase.reverse
Merged pull requests:
- add support for
Base.repeat,Base.reverse& update README (#1) (@AFeuerpfeil) - Bump gustavofreze/auto-assign from 1.1.4 to 2.0.0 (#3) (@dependabot[bot])