Releases: xmlunit/xmlunit
XMLUnit for Java 2.11.0
This release is identical to XMLUnit for Java 2.10.4 except for the dependency list of the xmlunit-jakarta-jaxb-impl modulle. If you don't use the module, you can ignore this release.
Up until XMLUnit 2.10.4 the xmlunit-jakarta-jaxb-impl module depended on org.glassfish.jaxb:jaxb-runtime making it more difficult to chose a different JAXB implementation than necessary (see #313). This dependency has now been removed.
If you use the xmlunit-jakarta-jaxb-impl module you may now need to specify the JAXB implementation you want to use explicitly. If you have excluded the module's dependency inside your own build configuration so far, you can now safely remove the exclusion.
XMLUnit for Java 2.10.4
XMLUnit for Java 2.10.3
This release fixes OSGi headers inside xmlunit-core's and xmlunit-legacy's manifests, it doesn't contain any other changes.
Full list of changes:
XMLUnit for Java 2.10.2
This release fixes a problem with the published POM of the xmlunit-legacy module. It doesn't contain any changes to any of the other modules.
XMLUnit for Java 2.10.1
-
placeholders can now also be used inside of the local part of
xsi:typeattributes.
PR #293 -
PlaceholderDifferenceEvaluator would cause ClassCastException for documents with
differences inxsi:typeattributes.
Issue #276 -
updated a bunch of Maven plugins, in particular we now create CylcloneDX files using
version 1.6 of the schema.
PR #292 -
updated bytebuddy dependency of xmlunit-assertj to 2.12.23 in order
to support Java 17 properly -
Migrated form TraciCI to CircleCI
Issue #289 -
Migrated to Sonatype's Central Portal
Issue #287 -
added a new BOM artifact xmlunit-bom
Issue #269 -
Comparisonhas earned a new convenience constructor.
PR #280 by
@hiufung-kwok -
Input.fromnow detectsReaderarguments and usesfromReader.
PR #281 by
@SThomasP
XMLUnit for Java 2.10.0
-
add a new
ElementSelectors.byNameAndAllAttributesvariant that filters attributes before deciding whether elements can be compared.
Inspired by Issue #259 -
By default the
TransformerFactorys created will now try to disable extension functions. If you need extension functions for your transformations you may want to pass in your own instance ofTransformerFactoryandTransformerFactoryConfigurermay help with that.
Inspired by Issue #264 -
JAXPXPathEnginewill now try to disable the execution of extension functions by default but usesXPathFactory#setPropertywhich is not available prior to Java 18. You may want to enable secure processing on anXPathFactoryinstance you pass toJAXPXPathEngineinstead - andXPathFactoryConfigurermay help with that.
XMLUnit for Java 2.9.1
-
fixed some AssertJ tests that didn't work on Windows.
Issue #252 and PR #253 by @Boiarshinov -
added overloads to
ElementSelectors.byXPaththat accept aXPathEngineargument.
Issue #255 -
added Cyclone DX SBOMs to release artifacts
XMLUnit for Java 2.9.0
The major change of XMLUnit for Java 2.9.0 is the addition of a new module xmlunit-jakarta-jaxb-impl that can be used in addition to xmlunit-core when you want to use the Jakarta XML Binding API in version 3. For details please see the user's guide.
The full list of changes of XMLUnit for Java 2.9.0 is:
-
added a new module
xmlunit-jakarta-jaxb-implthat makesInput.fromJaxbusejakarta.xml.bindrather thanjavax.xml.bind. For more details see the User's Guide.This change is not fully backwards compatible. The
JaxbBuilderclass has become abstract and thewithMarshallermethod has changed its signature. For most cases the change will not be noticed and for almost all other cases it should be enough to re-compile your code against XMLUnit 2.9.x. -
added
NodeFilters#satisfiesAllandsatifiesAnymethods to make it easier to combine multiple node filters. added to simplify the use case of #249
XMLUnit for Java 2.8.4
XMLUnit for Java 2.8.3
-
added a new
fullDescriptionmethod toDiffthat provides a string-representation of all differences - not just the first one liketoStringdoes.
PR #235 fixing #232 by @Boiarshinov -
made sure AssertJ's methods to override the assertion message like
withFailMessageare honored.
#225 -
adjusted unit tests so they pass when AssertJ 3.19.0 is used.
PR #212 by mmathesius