v5.0.0
Version Number
5.0.0-816
New Features
- SCMOD-10362: GraalVM JavaScript engine added
The worker has been enhanced to support Graal.js scripts in Workflows. This allows ECMAScript 2020 features
to be included in customization scripts. Existing Nashorn scripts continue to be supported.
Bug Fixes
- SCMOD-9981: Fix for index out of bounds exception when the
CAF_WORKFLOW_ACTIONfield was missing - SCMOD-10917: Fix for some script errors not being recorded in the index when there were errors in multiple actions
Known Issues
- None
Breaking Changes
- Due to moving to Graal.js all
conditionFunctionelements in Workflows must be updated so that the function is named
conditionand be Graal.js compatible. - Any
context.jsscripts must be Graal.js compatible. - The
thisScriptObjectfield exposed byworkflow-control.jsis no longer an object. It is now a string containing
theaddFailuresfunction definition. Consumers must be updated toeval()this string into their context in order to
access the function. - All downstream Workers must be upgraded to Worker-Document framework 4.5.0 to support executing Graal.js scripts.
Release Artifacts
Maven
com.github.cafdataprocessing:worker-workflow-container:5.0.0-816(pom.md5,pom.sha1,pom)com.github.cafdataprocessing:worker-workflow-aggregator:5.0.0-816(pom.md5,pom.sha1,pom)com.github.cafdataprocessing:worker-workflow:5.0.0-816(jar.md5,jar.sha1,jar,javadoc.jar.md5,javadoc.jar.sha1,javadoc.jar,pom.md5,pom.sha1,pom,sources.jar.md5,sources.jar.sha1,sources.jar)com.github.cafdataprocessing:worker-workflow-testing:5.0.0-816(jar.md5,jar.sha1,jar,javadoc.jar.md5,javadoc.jar.sha1,javadoc.jar,pom.md5,pom.sha1,pom,sources.jar.md5,sources.jar.sha1,sources.jar)
Docker
cafdataprocessing/worker-workflow:5.0.0(Static Tag)cafdataprocessing/worker-workflow:5.0(Dynamic Tag)cafdataprocessing/worker-workflow:5(Dynamic Tag)cafdataprocessing/worker-workflow:latest(Dynamic Tag)