2024 03 21 release notes (core)

Release summary

The information detailed on this page refers to updates included in the following releases to the Patchworks Production environment:

Patchworks core (backend)

Patchworks dashboard (frontend)

New features, updates, and enhancements of note are summarised by product area, below:

This release includes preparation for an upcoming breaking change related to the validation of field mapping transform functions. Please ensure that you check the Breaking changes section.

Marketplace

Process flows

Custom scripts

General UI

Breaking changes

Input validation for all transform functions

Extra validation has been added to all field mapping transform functions, which means that input values must be of the expected type. For example, if a transform function is expecting a number value for its input and a string is provided, validation will now fail. Previously, validation was not enforced for all transform functions.

To ensure that customers have time to address any issues with existing process flows, this change will be implemented in two phases, as below:

Resolving transform input issues

If you see a transform function warning message in your logs, you should access settings for the map shape and review the relevant transform function - what type of data are we expecting to be passed in?

Next, check the incoming payload for data values associated with this transform - it's likely that they are not being provided in the expected format. The resolution may involve any of the following:

  • Change the data type associated with this value at source (if you have the option to do so).

  • Add a transform function immediately before, which changes to the data to the required type. For example, cast a string to a number or a number to a string.

  • Use a different transform function (if applicable).

Please contact support for assistance, if needed.

Last updated