# StaticArrays 1.5, StaticArraysCore and BSON.jl

**URL:** <https://discourse.julialang.org/t/staticarrays-1-5-staticarrayscore-and-bson-jl/84473>\
**Category:** Package Management\
**Tags:** question, package, bson, staticarrays\
**Created:** [July 19, 2022, 3:43pm UTC](https://discourse.julialang.org/t/staticarrays-1-5-staticarrayscore-and-bson-jl/84473 "2022-07-19T15:43:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josuagrw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josuagrw/32/1015_2.png) [@josuagrw](https://discourse.julialang.org/u/josuagrw)\
**Post date:** [July 19, 2022, 3:43pm UTC](https://discourse.julialang.org/t/staticarrays-1-5-staticarrayscore-and-bson-jl/84473/1 "2022-07-19T15:43:30Z")

</div>

What is the correct way to save and load StaticArrays in package version 1.5?

Basically, I used to be able to import

```julia
using StaticArrays
using BSON

```

and storing/loading worked fine.

Now the code above works for storing but not for loading data and instead I need

```julia
using StaticArraysCore
using BSON

```

Is that correct? Am I missing something? Is StaticArraysCore meant to be a dependency or an “internal” module which should only be used _via_ StaticArrays.jl?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [July 19, 2022, 3:54pm UTC](https://discourse.julialang.org/t/staticarrays-1-5-staticarrayscore-and-bson-jl/84473/2 "2022-07-19T15:54:34Z")

</div>

Perhaps `StaticArrays` should export the name `StaticArraysCore`, then it works. It looks like `JLD2` doesn’t have this problem though, so possibly BSON can be fixed too though. Perhaps you can open an issue at the [StaticArrays.jl repo](https://github.com/JuliaArrays/StaticArrays.jl).

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [July 21, 2022, 12:46pm UTC](https://discourse.julialang.org/t/staticarrays-1-5-staticarrayscore-and-bson-jl/84473/3 "2022-07-21T12:46:55Z")

</div>

Opened an issue:

[https://github.com/JuliaArrays/StaticArrays.jl/issues/1061](https://github.com/JuliaArrays/StaticArrays.jl/issues/1061)
