Skip to content

What's New in Release 3.3.0

New features summary

Feature Summary
Prevent delivery from using all sessions Prevents long running delivieries from using all available sessions so that deliveries from other agreements are processed as well.
Move authorization server to own process Authorization server is moved to its own process and should therefore be started independently from the i-refactory.

Application Changes

Prevent delivery from using all sessions

For some delivery agreements the processing of a delivery can take a long time. Meanwhile, deliveries of other agreements are not processed. This change introduces new settings that allows you to control the amount of sessions the i-refactory uses to process a delivery. With these new settings, you can:

  • restrict the number of sessions used by deliveries (or delivery agreements)
  • reserve sessions for deliveries (or delivery agreements)

Authorization server moved to own process

The authorization server used to be part of the i-refactory process. Therefore, you had to restart the entire server if you changed the authorization related configuration. With release 3.3.0, the authorization server is no longer part of the i-refactory. As a result, you should now start both the i-refactory and authorization server.

Code changes

We have made several backend improvements in our code:

  • Cache: Rewrote method to remove records from the cache when they are no longer needed.
  • Flush Transactions: Simplified the module by removing the queue of flush transactions that need to be flushed to the database. Only one flush transaction exists at any point in time and this transaction has to be saved to the database before the next flush transaction can be created.

  • Locking: Rewrote the locking classes.

  • Connection

    • Rewrote activation of the ORM connection.
    • Rewrote method to execute a function with an existing session and have the changes automatically be committed or rollbacked.
  • Crud requests

    • Applied new coding standards.
    • Rewote the default crud request handlers to use async/await instead of promises.

NodeJS

The i-refactory runtime engine runs on NodeJS LTS version 12, 14 and 16.
We do not support running on NodeJS LTS version 10 anymore.

Upgrade

Upgrade Notes

Bug Fixes

Issue Summary
287 The status of active GDAL deliveries is no longer set to persisted if the server is stopped.
324 Calls to new Date() did not guarantee to be greater than or equal to previous calls to new Date(). This could result in a server crash.
325 Scheduled tasks of a delivery in a cancelling state could be processed when the server has crashed and is restarted.