-
Notifications
You must be signed in to change notification settings - Fork 46
/
api-changes.json
69 lines (69 loc) · 3.68 KB
/
api-changes.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"0.3.0" : {
"revapi" : {
"ignore" : [
{
"code" : "java.method.removed",
"regex" : true,
"old" : "method .* org\.revapi\.Difference\.Builder::.*",
"justification" :
"These were not really removed but their signature changed slightly due to refactoring and generics. The code is still source compatible."
},
{
"code" : "java.class.removed",
"old" : "class org.revapi.Report",
"justification" :
"In Revapi 0.3.0 this would be reported as java.class.externalClassNoLongerExposedInAPI. The report class was referenced through the chain of calls that changed due to the changes in the Difference.Builder."
},
{
"code" : "java.method.returnTypeChanged",
"old" : "method org.revapi.Difference.Builder org.revapi.Report.Builder::addProblem()",
"justification" : "Return type changed to better differentiate use cases."
},
{
"code" : "java.method.visibilityReduced",
"old" : "method void org.revapi.Difference.Builder::<init>(org.revapi.Report.Builder)",
"justification" : "This was made a private no-arg constructor because the user code is not meant to instantiate these directly."
}
]
}
},
"0.4.0" : {
"revapi" : {
"ignore" : [
{
"code": "java.method.parameterTypeChanged",
"old" : "method parameter java.lang.String org.revapi.java.spi.Util::toHumanReadableString(===javax.lang.model.element.AnnotationValue===)",
"justification" : "Thanks to using Java8 APIs the toHumanReadableString(TypeMirror) and toHumanReadableString(Element) could be merged together to use AnnotatedConstruct"
},
{
"code": "java.method.parameterTypeChanged",
"old" : "method parameter java.lang.String org.revapi.java.spi.Util::toHumanReadableString(===javax.lang.model.element.Element===)",
"justification" : "Thanks to using Java8 APIs the toHumanReadableString(TypeMirror) and toHumanReadableString(Element) could be merged together to use AnnotatedConstruct"
},
{
"code": "java.method.removed",
"old" : "method java.lang.String org.revapi.java.spi.Util::toHumanReadableString(javax.lang.model.type.TypeMirror)",
"justification" : "Thanks to using Java8 APIs the toHumanReadableString(TypeMirror) and toHumanReadableString(Element) could be merged together to use AnnotatedConstruct"
}
]
}
},
"0.5.0": {
"revapi": {
"ignore": [
{
"code": "java.method.addedToInterface",
"new": "method java.util.EnumSet<org.revapi.java.spi.Check.Type> org.revapi.java.spi.Check::getInterest()",
"justification": "Optimization of the number of checks needed to be performed per element."
},
{
"code": "java.method.noLongerStatic",
"regex": true,
"old": "method boolean org\\.revapi\\.java\\.spi\\.CheckBase::is.*",
"justification": "Had to make these instance methods instead of static so that their behavior is overridable in the subclasses."
}
]
}
}
}