v1.1.0
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
- Bump org.xmlresolver:xmlresolver from 6.0.4 to 6.0.9 by @dependabot in #87
- Bump commons-cli:commons-cli from 1.8.0 to 1.9.0 by @dependabot in #88
- Bump dependency.antlr4.version from 4.13.1 to 4.13.2 by @dependabot in #93
- Ignoring broken documentation links by @david-waltermire in #105
- Adjusted UUID item type to be a child type of IStringItem to allow fa… by @david-waltermire in #103
- Ensure unexpected constraint errors are logged by @david-waltermire in #104
- Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.13.1 to 3.15.0 by @dependabot in #97
- Bump github/codeql-action from 3.26.0 to 3.26.6 by @dependabot in #99
- Bump actions/upload-artifact from 4.3.5 to 4.4.0 by @dependabot in #100
- Bump nl.talsmasoftware:lazy4j from 1.0.3 to 2.0.0 by @dependabot in #92
- Bump io.hosuaby:inject-resources-junit-jupiter from 0.3.3 to 1.0.0 by @dependabot in #84
- Bump actions/setup-java from 4.2.2 to 4.3.0 by @dependabot in #107
- Metapath expression evaluator subcommand by @david-waltermire in #102
- Bump github/codeql-action from 3.26.6 to 3.26.7 by @dependabot in #116
- Bump dependency.pmd.version from 7.4.0 to 7.5.0 by @dependabot in #109
- Bump org.jmock:jmock-junit5 from 2.13.0 to 2.13.1 by @dependabot in #111
- Bump com.fasterxml.woodstox:woodstox-core from 6.7.0 to 7.0.0 by @dependabot in #112
- Code cleanup and Javadocs by @david-waltermire in #106
- Mermaid diagram generation for module by @david-waltermire in #78
- Support disabling schema and/or constraint validation when validating content by @david-waltermire in #114
- Remove the warning around improperly contextualized expression by @david-waltermire in #115
Full Changelog: v1.0.2...v1.1.0