Skip to content

Release notes

liyuliang5 edited this page Jul 7, 2025 · 37 revisions

V1.0.2

  1. BUG Fix:Fix BpmnFlowParser parse jsonPrettySchema exception
  2. BUG Fix:Adjust Recording flow execution history switch(FlowConstants.FLOW_PROPERTY_RECORD_HISTORY)process logic
  3. Function Change:Catch exception in COMPLETE Event of FlowEngine
  4. Function Enhance:Supporting exp format of EventNodeAction
  5. Function Enhance:Supporting start node of FlowNodeAction
  6. Function Enhance:More flexible configuration of post handler
  7. Other:Change test cases directory

V1.0.3

  1. Function Enhance: add filter of NodePreHandler and NodePostHanlder.

V1.0.4

  1. Function Enhance:Add Event support on transition of fsm.
  2. Function Enhance:init style changed from listen ContextRefreshEvent to implementing SmartLifecycle interface.

V1.0.5

  1. Function Enhance:Add interrupt ability of flow engine and fsm.
  2. Bug Fix:Fix fug about parsing 'createExp' of fsm.

V1.0.6

  1. Function Enhance: Bpmn flow definition add self PreHandler and Action ability.
  2. Function Enhance: Flow engine and Fsm add init check.
  3. Bug Fix: Fix bpmn parellel gateway bug.

V1.0.7

  1. New Feature: Flow definition and flow parser support customize elements. Demo can be seen in funcall_test_001.json of easyflow-extension moduel.
  2. New Feature: Add ReusableThreadFlowRunner for parallel nodes.
  3. Function Enhance: Supporting put null value into Param、Result and Context.
  4. Function Enhance: Add preNodes property in pre part of flow definition. Demo can be seen in flow_prehandler_001.json.
  5. New Feature: Add FlowUtil and FsmUtil for accessing node or state properties.
  6. Module Adjust: Add easyflow-flow-extension module for extension function of jd-easyflow.
  7. New Feature: Add FunCall(Function Call) function supporting param transfer.
  8. New Feature: Add FlowSession supporting data transfer cross flow request.

V1.0.8

1、New Feature: Adding Flow level PreHandler and PostHandler.

V1.0.9

  1. New Feature: Add InterruptNodeAction and InterruptFlowListener in easyflow-flow module.
  2. New Feature: Add parse listener in FlowParser and FsmParser.
  3. New Feature: Add more support about "Inclusive Gateway" in easyflow-bpmn module.
  4. New Feature: Add "Terminate End Event" support in easyflow-bpmn module.

V1.1.0

  1. New Feature: Bpmn module adding Sub Process, Call Activity, Transaction, Loop support.
  2. Feature Enhance: Enhance function of FlowNodeAction.
  3. Feature Enhance: Upgrade bpmn js to v13.2.1.
  4. Other: Remove dependencies of commons-io and commons-collection.
  5. Other: Add database script about persistence(process-latest.sql).

V1.1.1

  1. New Feature: Support multiple flow in one flow definition file
  2. New Feature: Bpmn module adding Complex Gateway、Pool、Data Store support
  3. Feature Enhance: Add log flag on flow definition
  4. Feature Adjust: Move LoopNodeAction to core module easyflow-flow

V1.1.2

  1. Feature Enhance: Supporting more bpmn elements
  2. Bug Fix: Fix bpmn default flow converter bug

V1.1.3

  1. Feature Adjust: Format of fsm and flow parse listener is changed to createExp format
  2. Feature Adjust: The name of Listener and Filter in BPMN panel is changed to Listeners and Filters

V1.1.4

  1. New Feature: Flow and Fsm elements implement LifeCycle interface
  2. New Feature: Fsm add filter support

V1.1.5

  1. Bug Fix: Fix escaped character incorrect issue when converting BPMN xml to json
  2. Feature Enhance: Adding 'category' form element on BPMN Designer
  3. Other: Adding field and index on database script

V1.1.6

  1. Feature Enhance: Adding Biz Context to the Context of Flow Engine and Fsm Context & Adding dataMap to Result
  2. Feature Enhance: Adding properties to FlowEngine and FsmManager
  3. Feature Enhance: Adding timeout support on FlowEngine Multi-Thread Runner
  4. Feature Enhance: Adding row mode of properties element on BPMN Pannel
  5. Feature Enhance: Adding TransitionUtil for manually Post
  6. Performance Optimize: Optimize Map performance of SPEL root
  7. Performance Optimize: Change Stack to ArrayDeque of FlowContextImpl

V1.1.7

  1. New Feature: Adding customizing ElEvaluator ability

V1.1.8

  1. Function Adjust:Inner key prefix adjust to start with underline(_).
  2. Performance Optimize:Flow performance optimize
  3. Feature Enhance:Add methods and constants about namespace
  4. New Feature: Add POC class of flow engine and fsm

V1.1.9

  1. Feature Enhance: Adding parentContext and parentNodeContext field in FlowContext, And applying to FlowNodeAction.
  2. Spel Mistake Correct:'seDataMap' method name in FlowParam、FlowResult、FsmParam and FsmResult correct to 'setDataMap'

V1.2.0

  1. API MODIFY!: Decoupling common-lang3 jar. Replace org.apache.commons.lang3.tuple.Pair/Triple with com.jd.easyflow.flow.util.Pair/Triple
  2. Function Enhance: Adding listener and filter of FlowPreandler and FlowPostHandler
  3. Dependency Adjust: Changing the version of activiti-bpmn-converter from 7.1.134 to 7.1.0.M6

V1.2.1

  1. New Feature: Adding timeout ciruit breaker in flow extension module
  2. Function Optimize: Adjusting Spring ApplicationContext of Flow Engine and Fsm Manager injecting manner

V1.2.2

  1. Function Adjust:FlowContextImpl and FlowSessionImpl Support put null value (throw exception before)
  2. Function Adjust:The type of currentLoopIndex in LoopNodeAction change from int to long
  3. Function Adjust:Spel context in TimeoutNodeActionFilter adding timeoutConfig
  4. Function Enhance:Adding log flag in InclusiveCheckPreHandler/MultiCheckPreHandler/SessionMultiCheckPreHandler.

V1.3.0

  1. Adjust log flag logic of flow engine.
  2. Add timeoutMillis on TimeoutNodeActionFilter and Add interruptOnTimeout on TimeoutTemplate.
  3. I18n adjustment.

V1.3.1

  1. Bug Fix. Fix BPMN Designer Unique ID validation logic
  2. Dependency upgrade. Upgrade spring to 5.3.39
  3. Naming correct. Correct "pannel" to "panel" in BPMN Designer code

V1.4.0

  1. New Feature Release. Open source process and task module.

V1.4.1

  1. Function Optimize: Optimize log print about exception print, supporting logFlag
  2. Bug Fix: Fix bpmn file exporting issue
  3. Bug Fix: Fix parallel gateway and inclusive gateway NPE exception in special scenario

V1.4.2

  1. Function Optimize: Optimize log print about JSON print
  2. Function Enhance: Add 'result' field in event object of FLOW_ENGINE_COMPLETE and FSM_MANAGER_COMPLETE event
  3. Bug Fix: Fix return null in ExpFilter issue
  4. Function Optimize: Add field in ActionParseParam, PostParseParam and PreParseParam
  5. Function Enhance: Add global pre and post listener on FlowParser and FsmParser
  6. Function Adjust: Add NodeContext and FlowContext on param of NodePrePropertyGetter

V1.5.0

  1. Function Adjustment: FlowContext, FlowContextImpl, FlowParam, FlowResult have removed the setData method. The dataMap or data is initialized to ConcurrentHashMap.
  2. Function Adjustment: properties of Flow, FlowNode, NodeImpl, Fsm, State, StateImpl is adjusted to fixed ConcurrentHashMap.
  3. Function Enhancement: Add buildAndInit method in FlowBuilder, FsmBuilder.
  4. New Function: Add throwExceptionOnTimeout field in MultipleThreadFlowRunner and ReusableThreadFlowRunner, default to false.
  5. Code Improvement: Add JsonIgonre annotation in FlowContext, Flow, FsmContext.
  6. Function Enhancement: Add parseEl field in FlowParseEvent, FsmParseEvent.
  7. Function Enhancement: Full support for inclusive gateways has been implemented. See InclusiveCheckPreHandler, ProcessInclusiveCheckHelper, and other related classes for details.
  8. New Function: MultiCheckPreHandler and InclusiveCheckPreHandler have added a list of executing preceding nodes, with the key being FlowConstants.NODECTX_PREVIOUS_NODES.
  9. Function Adjustment: NodePrePropertyGetter has changed getCheckType(NodeContext nodeContext, FlowContext flowContext) back to getCheckType(), and added the getPreNodes() method.
  10. Function Enhancement: Added FlowNodeLinkUtil and FsmStateLinkUtil for connectivity judgment of process definitions. Enhanced process definition connectivity check capabilities. See AllFlowNodeLinkChecker, FlowNodeLinkCheckFlowParseListener, AllFsmStateLinkChecker, FsmStateLinkCheckFsmParseListener, and other related classes for details.
  11. Function Adjustment: Adjusted the package path of ExpNodeActionDotCheckFlowParseListener.
  12. Function Enhancement: The timeout extension module has added TimeoutFlowFilter. Added a singleton method getInstance to TimeoutTemplate.
  13. Function Adjustment: Adjusted the logic for getting preCheckType and configPreCheckNodes in StdProcessFlowListener. Generally, there is no impact on most scenarios.
  14. Function Adjustment: Removed the defaultExecMode field from TaskClientService.
  15. Function Adjustment: Corrected the SQL file syntax.
  16. Function Adjustment: Added dataviewcfg.selectTypeTip to the message of dataview.

V1.6.0

  1. Feature Enhancement: FlowEventListener adds the base class BaseFlowEventListener, and the built-in listeners are adjusted to inherit from this class. The acceptedEvents attribute can be configured.
  2. Feature Enhancement: Each Filter in the flow module adds a base class for easier use by the user.
  3. Feature Enhancement: All Filters in the flow module are uniformly managed in the newly added FilterManager. The get/set methods for Filters in Flow and FlowEngine are removed. The internal processing logic of all Filters is optimized, and FilterChain is adjusted from a class to an interface.
  4. New Feature: The Filter in the flow module adds the getOrder method. On the one hand, it supports sorting Filters by order from large to small. On the other hand, if the order is less than 0, it will be executed after the listener. The base class BaseFilter has the order attribute. The related functions in the process module also add order support.
  5. Function Adjustment: The reference of the currentNode returned by runNode in BaseFlowRunner is adjusted (no impact if the NodeContext return value of the node Filter remains unchanged). After executing FlowPreHandler, the result is placed in the context for the Listener to use (this Listener is rarely used).
  6. Function Adjustment: Some set methods in NodeContext are adjusted from public to protected to prevent accidental calls in NodeAction. If needed, NodeContextAccessor can be used.
  7. Feature Enhancement: EventNodeAction and EventPostHandler add the autoAddEventFlowListener field, which is true by default. It automatically adds EventFlowListener without the need for configuration in the process definition.
  8. Feature Enhancement: The process definition parsing adds support for types such as event and interrupt. When parsing BPMN, it is directly parsed as "type": "event".
  9. New Functionality: The buildAndInit method of FlowBuilder adds a flowParser parameter.
  10. Feature Enhancement: The conditional branch in ConditionalNodePostHandler is adjusted from Map to object to improve performance. The result of ExecutorNodePostHandler is adjusted from List to Object to support more types. The parsing capability of AbstractNodePostHandler is enhanced, supporting the configuration of createExp, and dataMap also supports createExp and fixedValue.
  11. Feature Enhancement: FlowNodeLinkUtil adds support for toMap, and FsmStateLinkUtil adds support for toState.
  12. Function Adjustment: The usage of the filter result in the state machine TransitionImpl is adjusted (no impact if the migration filter result remains unchanged).
  13. Bug Fix: The problem with the dataview self custom control is fixed.

V1.6.1

  1. Bug Fix: Fix inner filter of flow engine issue.
  2. Function Enhancement: Add BaseNodeFilter.

V1.6.2

  1. New Feature: The easyflow-flow, easyflow-flow-bpmn, and easyflow-process modules have added compensation capabilities.
  2. New Feature: The easyflow-flow-extension module has added a dead loop node checker.
  3. New Feature: The easyflow-flow-extension module has added thread-level Interrupt capability after process interruption.
  4. New Feature: The easyflow-process-client module has added a check for the NO_OPENING mode of the start node.
  5. Enhancement: The easyflow-process-client module has added the ability for nodes to flow back to themselves.
  6. Enhancement: MultipleThreadFlowRunner has added support for interruption after exceptions.
  7. Enhancement: The put method of NodeContext has been adjusted to be thread-safe.
  8. Enhancement: FlowNodeAction has added the ability to rewrite the logic for handling input and output parameters.
  9. Enhancement: Nodes have added the NODECTX_NEXT_NODES attribute for logical post-nodes.
  10. Optimization: Lock granularity has been refined.
  11. Code Optimization: Some redundant code has been deleted.
Clone this wiki locally