forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrevapi.json
More file actions
78 lines (77 loc) · 4.17 KB
/
revapi.json
File metadata and controls
78 lines (77 loc) · 4.17 KB
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
70
71
72
73
74
75
76
77
78
// Configures Revapi (https://revapi.org/getting-started.html) to check API compatibility between
// successive driver versions.
{
"revapi": {
"java": {
"filter": {
"packages": {
"regex": true,
"exclude": [
"com\\.datastax\\.oss\\.protocol\\.internal(\\..+)?",
"com\\.datastax\\.(oss|dse)\\.driver\\.internal(\\..+)?",
"com\\.datastax\\.oss\\.driver\\.shaded(\\..+)?",
"com\\.datastax\\.oss\\.simulacron(\\..+)?",
// Don't re-check sibling modules that this module depends on
"com\\.datastax\\.(oss|dse)\\.driver\\.api\\.core(\\..+)?",
"com\\.datastax\\.(oss|dse)\\.driver\\.api\\.querybuilder(\\..+)?"
]
}
}
},
"ignore": [
{
"regex": true,
"code": "java.annotation.attributeValueChanged",
"old": "@interface com\.datastax\.oss\.driver\.api\.mapper\.annotations\..*",
"annotationType": "java.lang.annotation.Retention",
"attribute": "value",
"oldValue": "java.lang.annotation.RetentionPolicy.CLASS",
"newValue": "java.lang.annotation.RetentionPolicy.RUNTIME",
"justification": "JAVA-2369: Change mapper annotations retention to runtime"
},
{
"code": "java.annotation.added",
"old": "@interface com.datastax.oss.driver.api.mapper.annotations.Computed",
"new": "@interface com.datastax.oss.driver.api.mapper.annotations.Computed",
"annotation": "@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)",
"justification": "Oversight, should have been annotated this way from the start"
},
{
"code": "java.annotation.added",
"old": "@interface com.datastax.oss.driver.api.mapper.annotations.Computed",
"new": "@interface com.datastax.oss.driver.api.mapper.annotations.Computed",
"annotation": "@java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD})",
"justification": "Oversight, should have been annotated this way from the start"
},
{
"code": "java.annotation.added",
"old": "@interface com.datastax.oss.driver.api.mapper.annotations.TransientProperties",
"new": "@interface com.datastax.oss.driver.api.mapper.annotations.TransientProperties",
"annotation": "@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)",
"justification": "Oversight, should have been annotated this way from the start"
},
{
"code": "java.annotation.added",
"old": "@interface com.datastax.oss.driver.api.mapper.annotations.TransientProperties",
"new": "@interface com.datastax.oss.driver.api.mapper.annotations.TransientProperties",
"annotation": "@java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE})",
"justification": "Oversight, should have been annotated this way from the start"
},
{
"code": "java.method.addedToInterface",
"new": "method java.lang.String com.datastax.oss.driver.api.mapper.MapperContext::getExecutionProfileName()",
"justification": "JAVA-2633: Add execution profile argument to DAO factory method (accept API break -- it's unlikely that MapperContext will be implemented outside of the driver)"
},
{
"code": "java.method.addedToInterface",
"new": "method com.datastax.oss.driver.api.core.config.DriverExecutionProfile com.datastax.oss.driver.api.mapper.MapperContext::getExecutionProfile()",
"justification": "JAVA-2633: Add execution profile argument to DAO factory method (accept API break -- it's unlikely that MapperContext will be implemented outside of the driver)"
},
{
"code": "java.method.addedToInterface",
"new": "method com.datastax.oss.driver.api.mapper.result.MapperResultProducer com.datastax.oss.driver.api.mapper.MapperContext::getResultProducer(com.datastax.oss.driver.api.core.type.reflect.GenericType<?>)",
"justification": "JAVA-2792: Allow custom results in the mapper (accept API break -- it's unlikely that MapperContext will be implemented outside of the driver)"
}
]
}
}