2024 10 16 release notes (core)
Last updated
Last updated
This page summarises items scheduled for the following release to the Patchworks Core Production environment.
Release version | Release date |
---|---|
New features, updates, and enhancements of note are summarised by product area, below:
This update introduces a feature flag 'switch on' for a change that could cause some existing connector endpoints to break. The change (CPT-1085) relates to connector endpoints that SEND data via the request body, where the body format is set to none.
We have identified customers with existing endpoints that would be adversely affected by this change and we're in the process of reaching out to resolve any issues directly. If you are affected, this feature will NOT be switched on - all of your connectors will continue to operate normally.
If you are not affected, this feature will be switched on as part of this release.
Please check the Breaking changes section below for more information.
Type | Summary | Ref # |
---|---|---|
When configuring connector endpoints which are set to SEND
data via the request body
, behaviour associated with the body format
/ none
setting has changed.
Previously, if a connector endpoint includes static body content - or if your API passed payloads into the body - this content was passed into the request body even if the body format
option was set to none
. Now, all request body content is ignored if the body format
option is set to none
.
However, this change is behind a 'feature flag' which means this feature change is be switched on for customers in a controlled way.
This change has been released to prevent content from being sent erroneously.
An example of this is where an endpoint is defined to send specified JSON content in the body
with the body format
set to raw/json
.
Before this update, if this option was subsequently changed to none
(because existing JSON content is no longer required) but the specified content was not removed, it would continue to be sent.
If you have built connectors (using our connector builder) with an API that SENDs incoming payloads in the request body
, you may be affected.
A handful of Patchworks marketplace connectors are affected.
We have identified customers who may be affected and in these cases, this feature change is switched OFF. This means there is no change to how your connectors (and therefore process flows) behave.
If you are affected, we will be reaching out individually by email, before our release on the 16th October 2024. In this email, we will list any affected connectors and process flows. Then, you can either:
Check/update your own endpoints (see instructions below) - then notify Patchworks that you're happy for this feature change to be switched on
OR
Raise a support ticket for Patchworks assistance with required fixes and then switch the feature change on
All affected customers will be notified before the 16th October 2024. If you don't receive an email, you are not affected by this change and it will be switched ON from the 16th October 2024.
No. This feature change will remain switched off for affected customers until either:
You notify Patchworks that you've fixed your own endpoints and are ready for the feature change to be switched ON
OR
You have completed the required fixes on a call with Patchworks and confirmed that you're happy for the feature change to be switched ON.
Whilst there is no deadline, we strongly recommend that you take the time to ensure that affected endpoints are fixed so we can switch the feature change ON for your company profile. This will ensure that the body format
/ none
option functions as expected, removing the risk of payloads being passed inadvertently.
If you've fixed your own endpoints and are ready for the feature change to be switched ON, please get in touch with support. The feature change will then be switched on as soon as possible, and you will be notified when this is complete.
If you want to check/update your connector endpoints, the required steps are detailed below.
Step 1 Log in to the Patchworks dashboard, then select process flows > connectors & instances:
Step 2 Click the settings icon associated with a connector that you want to update:
Step 3 Click the endpoints tab:
Step 4 Click the name of the endpoint that you want to update:
If the connector includes a lot of endpoints, use CTRL+F to search for a specific part of the endpoint name.
Step 5 Click the body tab from the endpoint setup page:
You only need to change SEND
endpoints where the body format
option is set to none
and you expect body
content to be passed into the request.
Step 6 Click in the body format field and select raw from the dropdown list:
With this setting, any incoming payload will be sent in the request body.
Step 7 Set the data type as required (the default is JSON):
Step 8 Click the save and go back button at the bottom of the page.
Step 9 Repeat for each affected endpoint.
Step 10 This step is only required if affected endpoints are associated with a connector that has been uploaded to your private marketplace:
If an affected connector exists in your private marketplace, you should re-upload it so the latest version is available in future. See Changing a private marketplace connector for more information.
If an affected connector is part of a private marketplace process flow, you should delete the existing process flow from your marketplace and upload the latest version. See Changing other private marketplace resources for more information.
If an affected connector is part of a private marketplace blueprint, you should re-upload it so the latest version is available in future. See Changing a private marketplace blueprint for more information.
Type | Summary | Ref # |
---|---|---|
Type | Summary | Ref # |
---|---|---|
v2024-10-16
16th October 2024 @ 9am
CPT-3167
CPT-3436
CPT-3523
Body content none for SEND endpoints
This update introduces a feature flag to manage a potentially breaking change for connector endpoints SENDing requests with body format
set to none
.
Affected customers have been identified and will receive an email detailing affected endpoints. This change will stay switched OFF for affected customers. For everyone else, it is switched ON as part of this release.
For more information please see our Breaking changes section below.
CPT-1085
CPT-3551
Additional libraries for PHP and C#
The phpSpreadsheet library has been added for PHP 8.1 and 8.2, allowing you to read and write various spreadsheet file formats.
For C#, System.Xml.ReaderWriter and Newtonsoft.Json libraries have been added.
CPT-3527
Try/catch shape Our new try/catch shape gives you full control over how process flow exceptions are handled. Errors are caught, removed from the flow and sent down your defined path (for example, you might use the notify shape to alert contacts about issues and/or add exceptions to a cache for follow-up processing). Try/catch shape
Queue priority setting for process flows
A new queue priority
option is available in process flow settings. Use this to determine whether runs for this flow should be picked from your queue as a high
, low
, or regular
priority (the default is regular
).
Process flow settings
Improved error message for invalid endpoint URL If a connector request is calling / (i.e. the endpoint URL has not been defined), a clear message is now displayed in run logs, advising the user to check the request endpoint (previously an internal error message was given). Run logs
Endpoint names should not be unique between connectors
Fixed an issue where a duplicate name
error was incorrectly prompted when attempting to create an endpoint with the same name as another endpoint associated with a different connector. Endpoint names are not unique between connectors.
Connector endpoints