- Static arrays are automatically unwrapped when creating a
StructArray{<:StaticArray}#186
pop!is now supported onStructVectors #190
- Renamed
fieldarraystoStructArrays.components#167 getpropertyis no longer used to access fields of a struct. It is replaced byStructArrays.component(x, i)#167. This is only relevant for structs with custom layout.- Inner constructors are bypassed on
getindex#145 - Broadcast on
StructArrays now returns aStructArray#136
fieldarraysnow returns a tuple of arrays for aStructArray{<:Tuple}push!now only works if theStructArrayand the element have the same propertynames- The special constructor
StructArray(first_col => last_col)is no longer supported
- Renamed
columnstofieldarrays StructArray{T}(args...)has been deprecated in favor ofStructArray{T}(args::Tuple)
- Added
collect_structarrayfunction to collect an iterable of structs into aStructArraywithout having to allocate an array of structs StructArray{T}(undef, dims)andStructArray(v::AbstractArray)now support anunwrapkeyword argument to specify on which types to do recursive unnesting of array of structs to struct of arrays