Workflow and webhook fixes found while writing the guides
Writing the guides turned up bugs. A failed run no longer locks a contact out, webhook retries pass a 5-minute check, and limits let through their full number.
Improved
1- APIBehaviour change: a list request whose filter is sent as JSON text, instead of filter[field]=value, is now read as a filter. Before, it was ignored and the answer held every row. A filter that is not a JSON object is refused with 400.
Fixed
12- WorkflowsA workflow set to Once only now lets a contact in again after their run failed, as the docs say. A lock taken on their first event refused them for a year.
- WorkflowsA workflow with a Max concurrent limit no longer fills up with skipped runs. Each skipped repeat event kept a place, until the workflow refused every new run with concurrency_limit.
- WebhooksEvery webhook attempt, retries included, is now signed when it is sent, with the endpoint's current address and secret. A retry no longer fails your receiver's 5-minute timestamp check, and one after you rotate the secret uses the new one. The event id and body stay the same.
- FormsA public form now takes exactly its limit: by default 20 submissions an hour from one address and 5,000 a day for your organization. The last one allowed was refused before.
- PlatformBeta and newsletter sign-ups, visitor uploads, the per-minute email sending limits and the 240 webhook deliveries a minute per organization had the same miscount. They now let their full number through too.
- EnterpriseWhen a company replaces its directory, the new one no longer blocks the people of the old one. Anyone the new directory had not sent yet was blocked and signed out, even people who sign in only by single sign-on.
- NotificationsSending a notification for an event you switched off now answers channels, with email and push false, and notifiedCount 0, beside sent: false. Code that read result.channels.email threw before.
- NotificationsDeleting a custom notification event now deletes the email template made for it, as the dialog says. A new event with the same slug, its short id, could pick up the old template.
- ContentFAQ questions now come back in the order their collection keeps, through the API and the SDK's faqs.questions(). They came back newest first. Set the order with Move up and Move down on the collection's page.
- ContentA top-level blog or docs folder now has its address, so the post editor's folder picker shows it, where it showed empty brackets.
- EmailThe email editor no longer warns about {{name}} and {{email}} in a campaign to your audience. Both are filled in for every recipient.
- EmailThe email history now shows each subject with its merge tags filled in, where it showed the raw tags. Sign-in codes and links read [hidden], there and in the inbox title of a workflow's email.