Skip to content

Releases: xmlunit/xmlunit

XMLUnit for Java 2.1.1

09 Apr 05:08
Compare
Choose a tag to compare

This release fixes a single bug in the CompareMatcher and ValidationMatcher. If you are not using the Hamcrest matchers, there is no need to upgrade from 2.1.0.

The full list of changes:

  • various code style fixes PR #74, PR #75, PR #78, PR #79, PR #80 by @georgekankava.
  • CompareMatcher and ValidationMatcher threw NullPointerExceptions when combined with another failing Matcher. Issue #81.

XMLUnit for Java 2.1.0

26 Mar 05:58
Compare
Choose a tag to compare

The headline feature of this new release are new Hamcrest Matchers for XPath assertions.

In addition a few DifferenceEvaluator implementations have been added
that may help when transitioning from XMLUnit for Java 1.x and a few
bugs have been fixed, smaller improvements been made.

The full list of changes:

  • fixed swapped constant assignments in DifferenceEvaluators
    PR #53 by @cboehme.
  • added CompareMatcher#withNamespaceContext
    PR #54 by @cboehme.
  • DiffBuilder#withNamespaceContext falsely claimed the map would
    pass prefixes to URIs rather than the other way around.
    PR #62 and issue #52 by @mariusneo.
  • various code style fixes
    PR #64, PR #65, PR #67, PR #68, PR #69, PR #70 and PR #71 by
    @georgekankava.
  • new hasXPath matchers that check for the existence of an XPath
    inside of a piece of XML or verify additional assertions on the
    XPath's stringified result.
    PR #63 and PR #66 by @mariusneo.
  • added new implementations inside DifferenceEvaluators for common
    tasks like changing the outcome for specific differences or ignoring
    changes inside the XML prolog.
  • DiffBuilder.withComparisonFormatter now also fully applies to the
    Differences contained within the Diff.
    Issue #55

XMLUnit for Java 2.0.0

06 Mar 05:47
Compare
Choose a tag to compare

After three alpha releases this is the first release of XMLUnit for Java 2.x.

Change when compared to 2.0.0-alpha-04 are

  • implemented DiffBuilder.withComparisonFormatter mentioned in user
    guide.
    Issue #51
  • eliminated dead-stores.
    PR #52 by
    @georgekankava.

XMLUnit for Java 2.0.0-alpha-04

06 Feb 05:53
Compare
Choose a tag to compare
Pre-release

This is the third alpha release of XMLUnit for Java 2.0.0.

The implementation is considered stable enough for a production release. This is an alpha release as we need more people to try out the API in order to call it final.

Breaking Changes since 2.0.0-alpha-03

  • the schemaURI in Validator has been pushed down to
    ParsingValidator since it is only used inside this class.
  • the mapping of DifferenceEngine#setNamespaceContext has been
    inverted from prefix -> URI to URI -> prefix in order to be
    consistent with the same concept in XPathEngine.

Other Changes since 2.0.0-alpha-03

  • CommentLessSource uses an XSLT stylesheet internally which lacked
    the required version attribute. PR
    #47 by
    @phbenisc.
  • Comparison now also contains the XPath of the parent of the
    compared nodes or attributes which is most useful in cases of
    missing nodes/attributes because the XPath on one side is null in
    these cases.
    Issue #48
    implemented via PR #50
    by @eguib.

XMLUnit for Java 2.0.0-alpha-03

13 Dec 05:24
Compare
Choose a tag to compare
Pre-release

This is the second alpha release of XMLUnit for Java 2.0.0.

The implementation is considered stable enough for a production release. This is an alpha release as we need more people to try out the API in order to call it final.

Changes since 2.0.0-alpha-02

  • the xmlunit-parent POM no longer uses the deprecated
    org.sonatype.oss:oss-parent as its parent.
  • added new overloads to XPathEngine
  • fixed the XPath context used by the byXPath element selector so
    that "." now refers to the current element.
    Issue #39
  • ElementSelectors#conditionalBuilder now stops at the first
    predicate returning true, even if the associated ElementSelector
    returns false.
    Issue #40

XMLUnit for Java 2.0.0-alpha-02

21 Nov 06:43
Compare
Choose a tag to compare
Pre-release

This is the initial alpha release of XMLUnit for Java 2.0.0.

The implementation is considered stable enough for a production release. This is an alpha release as we need more people to try out the API in order to call it final.