github stripe/stripe-ruby v17.0.0

latest releases: v17.1.0-alpha.1, v17.1.0-beta.1
22 hours ago
  • #1698 Remove expanded instance variables after a resource has been updated
    • ⚠️ Removes dynamically added instance variables on subsequent non-expanded updates to a resource that had previously been expanded. For example,
    # expand `payments` field on an invoice
    invoice = Stripe::Invoice.retrieve(id: 'in_123', expand: ['payments'])
    
    # `pay` invoice without expanding `payments`, so that field would have stale data
    # Use `expand` to keep `payments` like this: `invoice.pay(expand: ['payments'])`
    invoice.pay
    
    # This is now nil instead of a stale Hash
    invoice.payments
  • #1699 Improve event notification example
  • #1693 Improve event notification example
  • #1691 Remove manual promotion code test
  • #1690 Update param in deprecation docs link
  • #1687 Update CHANGELOG.md to point to right API version

See the changelog for more details.

Don't miss a new stripe-ruby release

NewReleases is sending notifications on new releases.