Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@david-waltermire david-waltermire released this 06 Apr 05:02

This large minor release incorporates a bunch of bug fixes, new features, and code refactoring that will improve the stability, performance, and usefulness of runtimes built on this library.

What's New

Important Bug Fixes

  • Improved handling of static context when compiling Metapath expressions from external constraints. The static context from the constraint definition is used instead of the document being validated. This better supports prefix handling and other document specific cases. (#305)
  • Fixed bug in Metapath inline function declarations, which was causing parameters after the first to not be handled properly (#321)
  • Align use of logicalLocation to SARIF specification. Previously, this was being output as a single object, instead of an array. (#383)
  • JSON schema generation has been refactored and fixed to ensure that missing array items are not produced properly (#387, #394)
  • External constraint processing now ensures that constraints that target the same Metaschema definition from multiple locations in the model graph produce a single added constraint. Previously, some constraints were duplicated causing multiple errors to be produced for the same constraint. (#385, #400, #408, #410)
  • Some Metapath function results were not being cached properly due to the focus independence not being handled as intended. This was fixed and some named function characteristics were updated to reflect the appropriate behavior. (#399)
  • Aligned date, dateTime, time, and duration implementations with Metapath specification. Many functions were not handling timezones properly in cases where an implicit timezone was to be used relative to the dyanmic context. (#346)
  • Added missing support for processing let statements in the XML-based constraint loader. Address part of a solution for metaschema-framework/liboscal-java#112. (#382)

Breaking Changes

None.

What's Changed

Full Changelog: v2.1.0...v2.2.0