v7.2.1
Highlights
-
nflow-engine
- Optimize fetching workflow instance with large history with many modified state variables.
-
nflow-rest-api-spring-web
andnflow-netty
- Change REST API calls to use a dedicated thread pool for all blocking database operations to avoid blocking the netty EventLoop thread.
Details
nflow-engine
- Fix SQL performance / memory issue when getting single workflow instance with action state variables, when the instance has lots of actions with lots of state variables. The old code fetched all state variables of all actions of the instance, the new code only fetches the state variables for the actions that will be returned.
- Fix instantiation of @StateVar(instantiateIfNotExists=true) Mutable - the result was incorrectly a Mutable wrapped in Mutable.
- Fix potential resource leaks
- Dependency updates:
- spring 5.2.8
- jackson 2.12.0
- hikaricp 3.4.5
- jodatime 2.10.8
- mysql 8.0.20
- node 12.16.2
- netty 0.9.11
- apache cxf 3.4.1
- commons-lang3 3.11
- hibernate validator 6.1.7.Final
- mariadb 2.7.1
- metrics 4.1.16
- mssql 8.4.1.jre8
- mysql 8.0.22
- postgresql 42.2.18
- swagger 1.6.2
- jetty 9.4.35.v20201120
- mockito 3.6.28
- spotbugs 4.2.0
nflow-explorer
- Dependency updates:
- autoprefixer 9.7.6
- node-sass 4.14.1
- http-proxy 1.18.1
- ini 1.3.7
- bl 1.2.3
- Dependency updates:
- nflow-rest-api-spring-web
- Change deendency from spring-web to spring-webflux to be able to use Project Reactor's types.
- Introduce a thread pool in SchedulerService and wrap all blocking database calls in the REST API to it.