Skip to content

Commit

Permalink
Update NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniedie authored Mar 17, 2021
1 parent fb21c74 commit 541d7f4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# ComponentArrays.jl NEWS
Notes on new features (minor releases). For more details on bugfixes and non-feature-adding changes (patch releases), check out the [releases page](https://github.com/jonniedie/ComponentArrays.jl/releases).

### v0.9.0
- Construct `ComponentArray`s from `Dict`s!
```julia
julia> d = Dict(:a=>rand(3), :b=>rand(2,2))
Dict{Symbol, Array{Float64, N} where N} with 2 entries:
:a => [0.996693, 0.148683, 0.203083]
:b => [0.68759 0.41585; 0.900591 0.377475]

julia> ComponentArray(d)
ComponentVector{Float64}(a = [0.9966932920820444, 0.14868304847436709, 0.20308284992079573], b = [0.6875902095731583 0.415850281435181; 0.9005909643364229 0.3774747843717925])
```

### v0.8.0
- Generated `valkeys` function for fast iteration over `ComponentVector` subcomponents!
```julia
Expand Down

0 comments on commit 541d7f4

Please sign in to comment.