Development ‐ Form.io Server Upgrade - bcgov/SIMS GitHub Wiki

Form.io server should be upgraded frequently to avoid too many major versions gap. While upgrading it, the current enterprise version can be used as a reference. The version can be checked in the form.io release notes looking for the current match between formiojs (client lib) and the formio (server), as shown below.

image

Form.io Client Lib

The formiojs lib is used in the Web portal and should be updated using the npm command.

Form.io Server

The form.io Server version is defined along the make files (DevOps and Sources) in the constant FORMIO_SOURCE_REPO_TAG and also in the GitHub actions as default value.

In a regular server version upgrade where no other dependencies need to be upgraded (e.g. node version), the version should be changed in the below places.

Once the above places are changed, the make forms will rebuild the local server, and the Env Setup - Build Forms Server can be used to test the new build in Openshift.