diff --git a/README.md b/README.md index 09336d7..6505d87 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ Release notes are available [release_notes.md](release_notes.md). de.bild.backend polymorphia - 1.4.0 + 1.5.0 ``` diff --git a/pom.xml b/pom.xml index d9faa56..6a37620 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.bild.backend polymorphia - 1.4.0 + 1.5.0 ${project.groupId}:${project.artifactId} diff --git a/release_notes.md b/release_notes.md index c70ed98..a854cb1 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,6 +1,14 @@ Release Notes ======= +##1.5.0 +Abstract classes have been removed from indexing within PolymorphicReflectionCodec + +##1.4.0 +Improved handling for "legacy" entities that have no discriminator while encoding + +## 1.3.0 + ## 1.2.0 - bug fix for polymorphic type detection diff --git a/src/test/java/de/bild/codec/legacy/NoDiscriminatorForPolymorphicLeafClassesTest.java b/src/test/java/de/bild/codec/legacy/NoDiscriminatorForPolymorphicLeafClassesTest.java index 6cc0de2..7505ebc 100644 --- a/src/test/java/de/bild/codec/legacy/NoDiscriminatorForPolymorphicLeafClassesTest.java +++ b/src/test/java/de/bild/codec/legacy/NoDiscriminatorForPolymorphicLeafClassesTest.java @@ -154,7 +154,7 @@ public void reorderingDocumentTest() { Assert.assertNotNull(documentContainer); Assert.assertEquals(documentContainer.documents.size(), 2); for (AbstractDocumentResult document : documentContainer.documents) { - MatcherAssert.assertThat(document, IsInstanceOf.instanceOf(AbstractDocumentResult.class)); + MatcherAssert.assertThat(document, IsInstanceOf.instanceOf(DocumentResult.class)); } for (UrlResult url : documentContainer.urls) { MatcherAssert.assertThat(url, IsInstanceOf.instanceOf(UrlResult.class));