Skip to content

v33.3.0

Latest

Choose a tag to compare

@xavdid xavdid released this 10 Aug 22:07
  • #2265 Surface object property on EventNotification

  • #2256 add/adjust event parsing helpers

    • Added methods that 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.
      • Webhook.constructEventWithoutVerification(payload)
      • StripeClient.constructEventWithoutVerification(payload)
      • StripeClient.parseEventNotificationWithoutVerification(payload)
    • Added Webhook.Signature.generateSignatureHeader(payload, secret), which computes a full Stripe-Signature header for the given payload. Useful for unit tests!
  • #2263 add stripeobject deserialization helper for JsonObject

  • #2261 Add stripe.major_api_version constant

See the changelog for more details.