Skip to content

Commit 5bdc78d

Browse files
build(deps): bump confluent.version from 8.1.0 to 8.1.1 (#212)
* build(deps): bump confluent.version from 8.1.0 to 8.1.1 Bumps `confluent.version` from 8.1.0 to 8.1.1. Updates `io.confluent:kafka-json-serializer` from 8.1.0 to 8.1.1 - [Commits](confluentinc/schema-registry@v8.1.0...v8.1.1) Updates `io.confluent:kafka-json-schema-serializer` from 8.1.0 to 8.1.1 - [Commits](confluentinc/schema-registry@v8.1.0...v8.1.1) Updates `io.confluent:kafka-protobuf-serializer` from 8.1.0 to 8.1.1 - [Commits](confluentinc/schema-registry@v8.1.0...v8.1.1) --- updated-dependencies: - dependency-name: io.confluent:kafka-json-serializer dependency-version: 8.1.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.confluent:kafka-json-schema-serializer dependency-version: 8.1.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.confluent:kafka-protobuf-serializer dependency-version: 8.1.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix: update schema compatibility checks to use STRICT comparison --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joost van de Wijgerd <jwijgerd@gmail.com>
1 parent 6bb62ae commit 5bdc78d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

main/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<netty.version>4.2.7.Final</netty.version>
5252
<micrometer.version>1.16.0</micrometer.version>
5353
<fast-uuid.version>0.2.0</fast-uuid.version>
54-
<confluent.version>8.1.0</confluent.version>
54+
<confluent.version>8.1.1</confluent.version>
5555
<victools.version>4.38.0</victools.version>
5656
<joda-time.version>2.14.0</joda-time.version>
5757
<logback.version>1.5.23</logback.version>

main/runtime/src/test/java/org/elasticsoftware/akcestest/schemas/JsonSchemaTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ public void testSchemaCompatibility() throws IOException {
8888

8989
List<Difference> differencesV2 = SchemaDiff.compare(schema1.rawSchema(), schema2.rawSchema())
9090
.stream().filter(diff ->
91-
!SchemaDiff.COMPATIBLE_CHANGES.contains(diff.getType()) &&
91+
!SchemaDiff.COMPATIBLE_CHANGES_STRICT.contains(diff.getType()) &&
9292
!Difference.Type.REQUIRED_PROPERTY_ADDED_TO_UNOPEN_CONTENT_MODEL.equals(diff.getType())).toList();
9393

9494
assertEquals(0, differencesV2.size());
9595

9696
List<Difference> differencesV3 = SchemaDiff.compare(schema2.rawSchema(), schema3.rawSchema())
9797
.stream().filter(diff ->
98-
!SchemaDiff.COMPATIBLE_CHANGES.contains(diff.getType()) &&
98+
!SchemaDiff.COMPATIBLE_CHANGES_STRICT.contains(diff.getType()) &&
9999
!Difference.Type.REQUIRED_PROPERTY_ADDED_TO_UNOPEN_CONTENT_MODEL.equals(diff.getType())).toList();
100100

101101
assertEquals(0, differencesV3.size());

main/shared/src/main/java/org/elasticsoftware/akces/schemas/KafkaSchemaRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private void validateBackwardCompatibility(String schemaName, SchemaType<?> sche
229229
JsonSchema localSchema, JsonSchema previousSchema) {
230230
List<Difference> differences = SchemaDiff.compare(previousSchema.rawSchema(), localSchema.rawSchema())
231231
.stream().filter(diff ->
232-
!SchemaDiff.COMPATIBLE_CHANGES.contains(diff.getType()) &&
232+
!SchemaDiff.COMPATIBLE_CHANGES_STRICT.contains(diff.getType()) &&
233233
!Difference.Type.REQUIRED_PROPERTY_ADDED_TO_UNOPEN_CONTENT_MODEL.equals(diff.getType()))
234234
.toList();
235235

0 commit comments

Comments
 (0)