Skip to content

Support ArraysOfArrays v1 - #13

Merged
AntonOresten merged 1 commit into
MurrellGroup:mainfrom
oschulz:support-arraysofarrays-v1
Aug 27, 2026
Merged

Support ArraysOfArrays v1#13
AntonOresten merged 1 commit into
MurrellGroup:mainfrom
oschulz:support-arraysofarrays-v1

Conversation

@oschulz

@oschulz oschulz commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Hi! I maintain ArraysOfArrays.jl, which just had its v1.0 release, and I'm going through the downstream packages to offer compatibility PRs where they're needed — this is one of them.

What changed in ArraysOfArrays v1

The element type of VectorOfArrays and friends is now a view rather than a copy, several old constructors are deprecated, and nestedview is deprecated in favour of the array-of-arrays constructors.

What this PR changes

Just the compat entry:

-ArraysOfArrays = "0.6"
+ArraysOfArrays = "0.6, 1"

No source changes are needed. MergedArrays only touches two parts of the ArraysOfArrays API, and neither is affected by the v1 changes:

  • ArraysOfArrays.VectorOfArrays(vec(arrays)), the nested-arrays constructor, which behaves the same in v1.
  • Base.getindex(array::MergedArrayOfArrays, i::Integer) = collect(array.storage[i]), which collects the element — so the elements-are-now-views change is invisible here, and MergedArrayOfArrays keeps returning plain Arrays exactly as before.

Testing

I ran the test suite against both majors on Julia 1.12, with --depwarn=yes:

ArraysOfArrays Result
0.6.6 Test Summary: MergedArrays.jl | Pass 27 | Total 27 — passed
1.0.2 Test Summary: MergedArrays.jl | Pass 27 | Total 27 — passed

No deprecation warnings in either configuration.

One note, and a small request

This repo's CompatHelper workflow is currently in the disabled_inactivity state, so no automated compat bump would have arrived for the v1 release — hence the manual PR.

If this looks good to you, would you be willing to tag a patch release (0.3.1) once it's merged? The registry resolves compat from released versions, so without a tag MergedArrays would still hold users back to ArraysOfArrays 0.6. Happy to answer any questions about the v1 changes if something does come up.

🤖 Generated with Claude Code

Widen the ArraysOfArrays compat entry to "0.6, 1". The package only
uses `VectorOfArrays(nested)` and `collect`s elements on `getindex`, both
unchanged in v1, so no source changes are needed.

Created by generative AI.
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.55%. Comparing base (0558fb0) to head (f0c98dc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   95.55%   95.55%           
=======================================
  Files           1        1           
  Lines          45       45           
=======================================
  Hits           43       43           
  Misses          2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AntonOresten
AntonOresten merged commit bb16494 into MurrellGroup:main Aug 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants