Skip to content

v19.5.0

Latest

Choose a tag to compare

@xavdid xavdid released this 10 Aug 22:09
  • #1932 Handle break in auto-paging blocks

    • Rescues LocalJumpError to prevent crash when calling break inside an auto_paging_each
  • #1927 Surface object property on EventNotification

  • #1918 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#construct_event_without_verification(payload)
      • StripeClient#parse_event_notification_without_verification(payload)
  • #1924 Discard the connection when a request is interrupted

    • Fix connection reuse after a request is interrupted by a non-StandardError exception (e.g. from rack-timeout), which could cause subsequent requests to receive a previous request's response

See the changelog for more details.