Skip to content

v5.0.0 🚀

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Jul 04:18
7d82f0e

Breaking change

WebhookEvent.Data values now use JsonElement instead of string so webhook payloads can contain structured data such as customVariables.

Migrating from v4

String values must now be read with the appropriate JsonElement accessor:

var actionCode = webhookEvent.Data?["actionCode"].GetString();

var customVariables = webhookEvent.Data?["customVariables"];
var journeyType = customVariables?
    .GetProperty("action_journeyType")
    .GetString();

Applications remaining on v4 are unaffected.

New features

  • Support structured webhook values, including objects, arrays, numbers and booleans.
  • Support customVariables in webhook events.
  • Add ConstructLogEventBatch for batched log events.

Bug fixes

  • Improve invalid webhook payload handling and validation.

Full Changelog: v4.4.0...v5.0.0