|
2 | 2 | # deprecation staging area
|
3 | 3 | ##==============================================================================
|
4 | 4 |
|
5 |
| - |
6 |
| -##============================================================================== |
7 |
| -## Remove in 0.10 |
8 |
| -##============================================================================== |
9 |
| - |
10 |
| -# temporary promote with warning |
11 |
| -Base.promote_rule(::Type{DateTime}, ::Type{ZonedDateTime}) = DateTime |
12 |
| -function Base.convert(::Type{DateTime}, ts::ZonedDateTime) |
13 |
| - @warn "DFG now uses ZonedDateTime, temporary promoting and converting to DateTime local time" |
14 |
| - return DateTime(ts, Local) |
15 |
| -end |
16 |
| - |
17 |
| -export listSolvekeys |
18 |
| - |
19 |
| -@deprecate listSolvekeys(x...) listSolveKeys(x...) |
20 |
| - |
21 |
| -export InferenceType |
22 |
| -export FunctorSingleton, FunctorPairwise, FunctorPairwiseMinimize |
23 |
| - |
24 |
| -abstract type InferenceType end |
25 |
| - |
26 |
| -# These will become AbstractPrior, AbstractRelativeFactor, and AbstractRelativeFactorMinimize in 0.9. |
27 |
| -abstract type FunctorSingleton <: FunctorInferenceType end |
28 |
| -abstract type FunctorPairwise <: FunctorInferenceType end |
29 |
| -abstract type FunctorPairwiseMinimize <: FunctorInferenceType end |
30 |
| - |
31 |
| -# I don't know how to deprecate this, any suggestions? |
32 |
| -const AbstractBigDataEntry = AbstractDataEntry |
33 |
| - |
34 |
| -@deprecate GeneralBigDataEntry(args...; kwargs...) GeneralDataEntry(args...; kwargs...) |
35 |
| -@deprecate MongodbBigDataEntry(args...) MongodbDataEntry(args...) |
36 |
| -@deprecate FileBigDataEntry(args...) FileDataEntry(args...) |
37 |
| - |
38 |
| -# TODO entities/DFGVariable.jl DFGVariableSummary.bigData getproperty and setproperty! |
39 |
| -# TODO entities/DFGVariable.jl DFGVariable.bigData getproperty and setproperty! |
40 |
| -@deprecate getBigData(args...) getDataBlob(args...) |
41 |
| -@deprecate addBigData!(args...) addDataBlob!(args...) |
42 |
| -@deprecate updateBigData!(args...) updateDataBlob!(args...) |
43 |
| -@deprecate deleteBigData!(args...) deleteDataBlob!(args...) |
44 |
| -@deprecate listStoreEntries(args...) listDataBlobs(args...) |
45 |
| -@deprecate hasBigDataEntry(args...) hasDataEntry(args...) |
46 |
| - |
47 |
| - |
48 |
| -@deprecate getBigDataEntry(args...) getDataEntry(args...) |
49 |
| -@deprecate addBigDataEntry!(args...) addDataEntry!(args...) |
50 |
| -@deprecate updateBigDataEntry!(args...) updateDataEntry!(args...) |
51 |
| -@deprecate deleteBigDataEntry!(args...) deleteDataEntry!(args...) |
52 |
| -@deprecate getBigDataKeys(args...) listDataEntries(args...) |
53 |
| -@deprecate getBigDataEntries(args...) getDataEntries(args...) |
54 |
| -@deprecate getDataEntryElement(args...) getDataEntryBlob(args...) |
55 |
| - |
56 |
| - |
57 | 5 | ##==============================================================================
|
58 | 6 | ## Remove in 0.11
|
59 | 7 | ##==============================================================================
|
|
0 commit comments