Skip to content

v0.9.0

Compare
Choose a tag to compare
@david-waltermire david-waltermire released this 22 Aug 00:29
· 141 commits to main since this release

What's Changed

  • Fixed allowed values behavior during validation by @david-waltermire-nist in #74
    • Refactored IConstraintValidator API to avoid misuse by calling the previous validate methods directly, instead of the visitor method.
    • Fixed allowed values validation logic preventing constraint sets allowing other values to fail. Fixes #76.
  • Documentation improvements by @david-waltermire-nist in #86
    • Updating to latest metaschema schema.
    • Renamed IBoundNamedModelDefinition to IBoundModelDefinition.
    • Renamed INamedDefinitionTypeInfo to IDefinitionTypeInfo.
    • Renamed INamedModelDefinitionTypeInfo to IModelDefinitionTypeInfo.
    • Renamed IInlineNamedDefinition to IInlineDefinition.
    • Renamed INamedModelDefinition to IModelDefinition.
    • Removed INamedValuedDefinition; using IValuedDefinition instead.
    • Removing INamedDefinition; using IDefinition instead.
    • Added support for arbitrary properties in a Metaschema definition or instance.
    • Added support for formal-name and description.
    • Addressed cycle handling in Metapath evaluation against models with definition cycles.
    • Started work on reference documentation generation.
  • Setup spotbugs by @david-waltermire-nist in #92
    • Configured spotbugs for static analysis. Resolves #84.
    • Fixed compile warnings, and PMD and spotbugs errors.
    • Switched null analysis annotations to use spotbugs provided annotations.
  • Support for default values and some additional fixes by @david-waltermire-nist in #100
    • Added support for default values in the core Metaschema models, including the XML and bound Java object implementations.
    • Refactored binding annotations to provide a more maintainable implementation.
    • Cleaned up and moved some Metaschema data type classes.
    • Fixed a bug causing binding errors for fields that are not bound on a bound class.
    • Fixed a defect in generating assembly constraints.
    • Added method to iterate over an ISequence
    • Refactored build to eliminate extraneous dependencies.
  • Refactoring index constraints by @david-waltermire-nist in #102
    • Refactored index constraints to use the new IIndex class. This will help in the future with further enhancements around use of indexes.
    • Added and integrated a ConstraintValidationFinding builder for generating new findings.
    • Improved error handling to emit validation errors instead of exceptions. This will result in the reporting of index lookup misses as findings.

Dependency Changes

Full Changelog: v0.8.1...v0.9.0

Download

This release is on Maven Central.