// 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 Adding execution profile to mapper" } ] } }