This is a maintenance release, containing dependency updates, hardening and code cleanup.
Features:
- Make EnumValidator available in standalone mode (#86)
- Provide a Docker image (ghcr.io/red6/dmn-check:latest)
- Provide a picoli based cli
Misc:
- A lot of dependency updates
- Changes in the CI infrastructure
Features:
- Allow to specify the classpath for enum resolution explicitly.
Bugfixes:
- Only attempt to verify FEEL expressions and warn that other expression languages are currently unsupported (#83, #88, #98), thank you, @nairagit.
Bugfixes:
- Allow negative numbers in the typechecker (#87), thank you, @kishorehs123.
Bugfixes:
- Fix validation errors in the Gradle plugin.
Features:
- Validation Server With this release dmn-check includes a validation server module. This server is supposed to run standalone and accepts validation requests via HTTP. It is currently used for an experimental integration into the Camunda Modeler. A demo version is live at https://dmn-check.pascal-wittmann.de/demo/.
- A Gradle plugin that allows you to use dmn-check in your Gradle projects.
- A maven module plugin-base that provides common functionality for build system plugins.
- Adds failOnWarning flag to support failing validation on Warning severity (#18), thank you, Krzysztof Barczynski.
Bugfixes:
- Warn about conflicting rules for hit-policy collect and rule-order instead of reporting an error
- Warn about duplicate rules for hit-policy collect instead of reporting an error
Features:
- Support DMN-1.3
Bugfixes:
- Support for ItemComponents in ItemDefinitionAllowedValuesTypeValidator An ItemDefinition can consist of multiple ItemComponent with their own AllowedValues. Now the AllowedValues in ItemComponents are typechecked as well.
Bugfixes:
- Fix subsumption for string literals (issue #9)
- Enforce that negations are not nested in FEEL expressions
- Refine subsumption for variables
Bugfixes:
- Support null as an expression (issue #7)
- Ensure that a dash is not parsed as Empty within expressions
Bugfixes:
- Support expressions containing not in the subsumption check (issue #5)
Features:
- Add support for range expression - literal subsumptions
Bugfixes:
- Assemble a JAR with all the dependencies for the server module
Bugfixes:
- Release missing module dmn-check-server
- Change server port to 42000
With release 1.1.0 dmn-check was split into four maven projects
- core: containing api-level code
- validators: containing all validators that ship with dmn-check
- maven-plugin: containing the code for the Maven plugin
- server: containing a Spark webserver providing a validation service
together with a Camunda modeler plugin that interacts with the validation server.
Bugfixes:
- NullPointerException in enum validation
Features:
- Validate that there is exactly one leaf in a requirement graph
- Validate types of predefined input and output values
- Validate types of allowed values in item definitions
- Validate input data elements
- Validate id and name of definitions elements
Bugfixes:
- not() can contain arbitrary well-typed expressions
- Input variables without types are reported as warnings instead of errors
Features:
- Validate knowledge sources
- Validate requirement graphs (they have to be connected and acyclic)
- Validate that there is at least one decision
- Separate validator classed and packages in the configuration
Bugfixes:
- Fix incompatibilities between maven 3.3 and 3.5
Bugfixes:
- Enum validator searches for classes on the project classpath
Features:
- Check that id and name of decisions are set
Bugfixes:
- Fix detection of shadowed rules with strings
Bugfixes:
- Allow empty values in output entries
Features:
- New Validator for Enum constants
- Warn if an aggregation is used without a type
- Sort validation results descending by severity
- Improved error messages
Bugfixes:
- Allow empty strings in FEEL expressions
Features:
- Implement subtyping for FEEL expressions (integer is subtype of long and double)
Initial release.