This page summarises items scheduled for the following release to the Patchworks Production environment:
Patchworks core (backend)
1.20.0
18th June 2024 @ 8am
Patchworks dashboard (frontend)
1.15.0
18th June 2024 @ 8am
New features, updates, and enhancements of note are summarised by product area, below:
CPT-2931
CPT-2961
Improved logs for regex transform failures
The following transform functions use a regex expression to split strings according to a user provided delimiter: Last word
, First word
, split
.
CPT-2954
CPT-2951
CPT-2914
MySQL database access from PHP scripts
CPT-2927
Field tags duplicated when multiple schema items are present
CPT-2765
Cache lookup transform - fail on miss option
The cache lookup transform function now includes a fail on miss
option. When this option is ON, the map shape will fail if the cache lookup
transform function is configured to use a cache key that can't be found in the given cache. If this option is OFF, a missing cache key will not cause the map shape to fail.
s
Script shape - script deployment & retries If a script shape is configured to use a script that needs to be re-deployed, deployment is attempted automatically. In the event that the first attempt fails, it is retried up to three times. After three failed attempts, the step fails and further checks should be made.
Logs have been enhanced for cases where one of these transforms fails because the specified delimiter is not escaped. Now, an invalid regex statement
error message is provided, with details about which transform has failed.
My connectors pagination The page now includes pagination. If more than 50 connectors are installed, page numbers are now available so you can step through pages.
Custom scripts - write flow run logs
To provide more visibility on what a script is doing, you can now add a message to scripts for output to logs (both live and retrospective).
This is achieved using a logs
array key in a script, with required output added as strings (maximum of 500 characters).
The PDO_MYSQL
extension has been added for PHP, providing access from PHP to MySQL databases.
Fixed issue where the field tags list for an endpoint would include duplicate entries if the schema includes duplicate data (i.e. where an actual payload rather than a schema was provided).