Skip to content

v1.1.0

Compare
Choose a tag to compare
@david-waltermire david-waltermire released this 14 Sep 13:11
· 114 commits to main since this release

Changelog

This minor release adds the following new features.

  • Adds a new CLI command that supports arbitrary Metapath evaluation in the command line interface (CLI).

    The command is metaschema-cli metapath eval.

    usage: metaschema-cli metapath eval -m=FILE_OR_URL --expression=EXPRESSION [<options>]
     -e,--expression=<EXPRESSION>   Metapath expression to execute
     -h,--help                      display this help message
     -i <FILE_OR_URL>               Metaschema content instance resource
     -m <FILE_OR_URL>               metaschema resource
        --no-color                  do not colorize output
     -q,--quiet                     minimize output to include only errors
        --show-stack-trace          display the stack trace associated with an error
        --version                   display the application version
    
  • Adds a new CLI command for generating a Mermaid diagram for a Metaschema module.

    usage: metaschema-cli generate-diagram [<options>] <metaschema-module-file-or-URL> [<destination-diagram-file>]
     -h,--help               display this help message
        --no-color           do not colorize output
        --overwrite          overwrite the destination if it exists
     -q,--quiet              minimize output to include only errors
        --show-stack-trace   display the stack trace associated with an error
        --version            display the application version
    
  • In the metaschema-cli validate-content command, you can now disable schema or constraint validation using arguments.

    --disable-constraint-validation   do not perform constraint validation
    --disable-schema-validation       do not perform schema validation
    
  • Removed a warning around improperly contextualized Metapaths, that was identifying cases in external constraints where sub contexts and constraint targets use an absolute path expression. This feature creates warnings in the CLI that add noise to the results without adding value.

    This change was checked against the OSCAL modules to ensure backwards compatibility and no impact to existing validations.

What's Changed

Full Changelog: v1.0.2...v1.1.0