Major version release. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Pull requests included in this release (cf. #815) (⚠️ = breaking changes):
- ⚠️ #813: Convert library to use built-in
Net::HTTP
- ⚠️ #816: Make
code
argument inCardError
named instead of positional. - ⚠️ #817: Drop support for very old Ruby versions.
- #818: Bump Rubocop to latest version
- #819: Ruby minimum version increase followup
- ⚠️ #820: Remove old deprecated methods
- ⚠️ #823: Remove all alias for list methods
- ⚠️ #826: Remove
UsageRecord.create
method - ⚠️ #827: Remove
IssuerFraudRecord
- #811: Add
ErrorObject
toStripeError
exceptions - #828: Tweak retry logic to be a little more like stripe-node
- #829: Reset connections when connection-changing configuration changes (optional)
- #830: Fix inverted sign for 500 retries
- ⚠️#831: Remove a few more very old deprecated methods
- #832: Minor cleanup in
StripeClient
- #833: Do better bookkeeping when tracking state in
Thread.current
- #834: Add
Invoice.list_upcoming_line_items
method