Releases: rafaqz/DimensionalData.jl
v0.15.0
DimensionalData v0.15.0
Breaking changes:
DimDataset
is nowDimStack
. But there is a fallback const forconst DimDataset = DimStack
set
will no longer set metadata with aDict
. It must beisa Metadata
set
will no longer set name withNothing
. it must beNoName()
- Minor changes to the output of
view
when no index is given, or when a matrix is indexed linearly. The original behaviour can be considered a bug.
Breaking changes to unexported methods:
- sel2indices/_sel2indices and dims2indices/_dims2indices have been refactored
Closed issues:
- Fix indexing with unordered vectors (#94)
- Index dimensions with Selectors (#129)
@dim
will raise an error if only import part ofDimensionalData
(#167)- Clarify object equality (#182)
Dataset
is vague. Rename toStack
(#201)- Would be nice if dimensions printed their length (#206)
- docstring for
sel2indices
and extending it (#207)
Merged pull requests:
v0.14.0
DimensionalData v0.14.0
Contains breaking changes to reverse
: both index and array are now reversed together. This shouldn't affect general use as IndexOrder
sorts this out either way, but indexing directly into the dimension values will now be in reverse.
Closed issues:
- Move to using only
Dim{:X}
style dimensions (#179) - Should
reverse
also reverse the dimension? (#190) - ArgumentError: mode step 1.0 does not match index step -1.0 (#194)
- Indexing with
end
fails in simple cases (#195) - Indexing along non-existent dimensions should produce a warning (#196)
Merged pull requests:
v0.13.3
DimensionalData v0.13.3
Merged pull requests:
v0.13.2
v0.13.1
DimensionalData v0.13.1
Closed issues:
- Incremental compilation may be fatally broken
unique(A::AbstractDimArray)
(#184)
Merged pull requests:
- Add
diff
method forDimArray
s (#183) (@singularitti) - fix method duplication warning in unique (#185) (@rafaqz)
v0.13.0
DimensionalData v0.13.0
Breaking Changes
This release contains a number of breaking changes.
- The dim macro is slightly changed - shortname is overkill and basically never different from the type name in practice.
Now the macro is limited to the form:
@dim Ti TimeDim "Time" # supertype is TimeDim, name is "Time"
@dim Ti "Time" # supertype is Dimension, name is "Time"
@dim Ti TimeDim # supertype is TimeDim, nameis "Ti"
@dim Ti # supertype is Dimension, name is "Ti"
-
The
shortname
method is also removed. -
The
name
field ofDimension
andDimArray
is now a Symbol - not a string. This is for simplicity and interop with other interfaces like Tables.jl where keys areSymbol
. Constructors should still work, but warn if you use aString
forname
. Thename
method for allAbstractDimArray
is also expected to return aSymbol
. The@dim
macro still uses aString
- as a symbol is no different to a type in macro args, and doesn't help us with dispatch. -
Array types that defined
dims
but are not<: AbstractDimArray
will have lost a number of Base methods. This is basically no longer supported - there are too many method ambiguities for it to be practical to dispatch on dims (I doubt this was actually in use anyway).
Closed issues:
- Datasets? (#80)
otherdims
is type unstable (#164)- Should
val
&data
be merged? (#169) - Is there a way to set a dim to a different type? (#170)
- Separate
Forward
andReverse
by purpose (#171) - DimDataset (#172)
- Should
A
inabstract type AbstractDimArray{T,N,D<:Tuple,A} <: AbstractArray{T,N} end
be constrained? (#174) - What is
A
here? A bug? (#175) - Does
val
supportsval(A::AbstractDimArray, dims::Tuple) => Tuple
now? (#177)
Merged pull requests:
v0.12.1
DimensionalData v0.12.1
Closed issues:
- What does the dim name Ti stand for? (#154)
- How to make a stable iterator over slices of
otherdims
? (#165) dimwise
errors for dimension with eltype Date (#166)
Merged pull requests:
- Update course.md (#155) (@musm)
- Fix a typo in docs of
dimwise
(#159) (@singularitti) - Update docs of
dimnum
,hasdim
(#160) (@singularitti) - Update examples of
otherdims
&commondims
(#161) (@singularitti) - Small fixes to README.md (#163) (@singularitti)
- Fix dimwise (#168) (@rafaqz)
v0.12.0
DimensionalData v0.12.0
Closed issues:
- Implement * (or other unicode symbol) as in xarray (#41)
- Document dims types and dispatch for devs (#90)
- handle rot* methods (#138)
- How to select every "singular splice" of a given dimension? (#140)
- getindex with Tuple? (#143)
- Fix broadcast over wrapped arrays like CuArray (#146)
Merged pull requests:
v0.11.2
DimensionalData v0.11.2
Merged pull requests: