Skip to content

v52.3.0

Choose a tag to compare

@xavdid xavdid released this 10 Aug 22:13
· 11 commits to master since this release
  • #3422 Surface object property on EventNotification

  • #3416 add/adjust event parsing helpers

    • Added methods that return which return their respective Event/EventNotification class instances without verifying authenticity. Use them when you've previously verified an event (e.g. you verified, put the event in a queue, and are now processing). Supports events from AWS EventBridge and Azure Event Grid natively.
      • EventUtility.ConstructEventWithoutVerification(json)
      • StripeClient.ParseEventNotificationWithoutVerification(json)
    • Added EventUtility.GenerateSignatureHeader(payload, secret), which computes a full Stripe-Signature header for the given payload. Useful for unit tests!
  • #3420 Add stripe.major_api_version constant

See the changelog for more details.