Skip to content

v21.2.0

Latest

Choose a tag to compare

@xavdid xavdid released this 10 Aug 22:11
  • #2119 Surface object property on EventNotification

  • #2117 Emit Claude Code plugin hint at module load time

  • #2115 Fix v2 timestamp phpdoc type annotations (#2114)

  • #2105 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)
      • BaseStripeClient::constructEventWithoutVerification($payload)
      • BaseStripeClient::parseEventNotificationWithoutVerification($payload)
    • Added WebhookSignature::generateSignatureHeader($payload, $secret, $timestamp = null), which computes a full Stripe-Signature header for the given payload. Useful for unit tests!
  • #2112 Add stripe.major_api_version constant

See the changelog for more details.