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)

Release version Release date

1.13.7

21st March 2024

Patchworks dashboard (frontend)

Release version Release date

1.10.3

21st March 2024

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

TypeSummaryRef #
Bug

CPT-1857

Bug

CPT-2569

Process flows

TypeSummaryRef #
New

CPT-2199

New

CPT-2119

New

CPT-2119

Enhancement

CPT-2104

Enhancement

CPT-1507

Breaking change

CPT-1901

Bug

CPT-2582

Bug

CPT-2567

Bug

CPT-2463

Custom scripts

TypeSummaryRef #
Enhancement

CPT-2439

General UI

TypeSummaryRef #
Bug

Long company names Fixed issue where a very long company name caused UI anomalies.

CPT-2435

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:

PhaseChangeRelease date

1

Warning phase If a process flow runs and an invalid input type is passed into a transform function, a warning message will be displayed in the run logs. This message includes the name of the transform function that needs to be checked/updated. Any issues identified in this way will not cause the process flow to fail at this time. However, if identified issues are not resolved, the process flow will fail when Phase 2 of this change is released.

This release

2

Enforcement phase If a process flow runs and an invalid input type is passed into a transform function, the process flow will fail.

Future release (not less than two weeks later)

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