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)
1.13.7
21st March 2024
Patchworks dashboard (frontend)
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
CPT-1857
CPT-2569
Process flows
CPT-2199
CPT-2119
CPT-2119
CPT-2104
CPT-1507
CPT-1901
CPT-2582
CPT-2567
CPT-2463
Custom scripts
CPT-2439
General UI
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:
1
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