Update Jint and other Elsa dependencies to the latest compatible stable versions
Our application uses Elsa to execute business workflows and Jint to evaluate JavaScript expressions. We currently use Jint 4.7.1 in our application.
Please update Jint to the latest stable version compatible with Elsa and make any necessary adjustments to the JavaScript integration. We would like to use an up-to-date version of Jint in an officially supported Elsa configuration, without having to override the transitive dependency ourselves.
Additionally, please review the other NuGet dependencies across Elsa and, where possible, update them to their latest compatible stable versions. This should also include updating transitive dependencies through their respective parent packages.
Motivation
The main goal is to benefit from performance improvements, reduced memory allocations, and bug fixes available in newer versions.
For our use case, the most important areas are JavaScript expression evaluation, JavaScript-to-C# interoperability, and reliable operation when executing many workflow instances concurrently.
Ideally, performance improvements should be evaluated at the Elsa–Jint integration level, since standalone interpreter benchmarks may not reflect the performance of real workflows.
Expected outcome Update Jint and adapt Elsa’s JavaScript integration where necessary. Verify type conversions, CLR object and collection handling, workflow variable access, and asynchronous results. Update other dependencies to their latest compatible stable versions. Preserve compatibility with supported .NET versions and Elsa’s public API. Validate existing workflow behavior with regression tests. Cover execution, persistence, and resumption, and document any behavioral changes or required migration steps in the release notes.
For dependencies that cannot be updated without breaking changes, please document the relevant constraints and consider tracking those updates in separate issues.
Source: elsa-workflows/elsa-core