Skip to content

Latest commit

 

History

History
159 lines (125 loc) · 6.62 KB

RELEASE_NOTES.md

File metadata and controls

159 lines (125 loc) · 6.62 KB

Release Notes

XMLUnit for Java 2.5.1 - /Not Released, yet/

  • Made Travis build work with OpenJDK6 again. PR #101 by @PascalSchumacher.

  • add a new experimental project xmlunit-placeholders which aims to use ${xmlunit.FOO} expressions inside of the control document to allow for a DSL-like approach of defining more complex tests. This initial seed only supports ${xmlunit.ignore} which can be used to make XMLUnit ignore the element containing this text. PR #105 by @zheng-wang.

XMLUnit for Java 2.5.0 - /Released 2017-09-03/

  • CommentLessSource, DiffBuilder#ignoreComments and CompareMatcher#ignoreComments now all use XSLT version 2.0 stylesheets in order to strip comments. New constructors and methods have been added if you need a different version of XSLT (in particular if you need 1.0 which used to be the default up to XMLUnit 2.4.0). Issue #99.

XMLUnit for Java 2.4.0 - /Released 2017-07-23/

  • made DefaultComparisonFormatter more subclass friendly. Issue #93.

XMLUnit for Java 2.3.0 - /Released 2016-11-12/

  • JAXPValidator and ValidationMatcher now accept using Schema instances for the schema when validating instance documents. Issue #89.

  • updated test dependency to Mockito 2.1.0 PR #87 by @PascalSchumacher.

XMLUnit for Java 2.2.1 - /Released 2016-06-19/

  • The DocumentBuilderFactory set on DiffBuilder wasn't used properly when ignoreWhitespace or normalizeWhitespace has been set. Issue #86.

XMLUnit for Java 2.2.0 - /Released 2016-06-04/

  • Input.fromByteArray and Input.fromString now return Sources that can be used multiple times. Issue #84.

  • The DocumentBuilderFactory used by DOMDifferenceEngine is now configurable. Issue #83.

XMLUnit for Java 2.1.1 - /Released 2016-04-09/

  • 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 - /Released 2016-03-26/

  • 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 - /Released 2016-03-06/

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

XMLUnit for Java 2.0.0-alpha-04 - /Released 2016-02-06/

  • 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.
  • 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 - /Released 2015-12-13/

  • 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 - /Released 2015-11-21/

This is the initial alpha release of XMLUnit.NET. We expect the API to change for the next release based on user feedback.