github stripe/stripe-ruby v15.0.0

5 months ago

Breaking change

  • #1574 Rename object_id in V2::Core::EventService::ListParams to object_id_

    • ⚠️ Change name of parameter from object_id to object_id_ on Stripe::V2::Core::EventService::ListParams to avoid conflict with Ruby native attribute, as found in #1567
    • This is a no-op unless you are using this specific parameter that was introduced in v14.0.0
  • #1576 Explicitly pass through custom headers in retrieve

    • Fix custom options passing for resource-based retrieve
  • #1571 Validate all instance variable keys returned from the API

    • Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in #1564
      • We do not set instance variables for invalid field names (as defined by the Ruby spec). We recommend for custom hash map response fields, use the [] accessor.
        c = client.v1.customers.retrieve("cus_123")
        c.metadata["invalid-variable-name!"]
        c.metadata["valid_key_name_works_too"]
  • #1575 Remove unused youtube playlist link

  • #1573 Remove link for stale youtube video playlist

See the changelog for more details.

Don't miss a new stripe-ruby release

NewReleases is sending notifications on new releases.