Releases: stripe/stripe-ruby
Releases · stripe/stripe-ruby
v12.0.0
-
#1418 Add missing static method for verify on BankAccount
-
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes- Singleton
retrieve
method now requiresparams
to be passed as the first argument. Existing calls to singletonretrieve
method with onlyopts
argument will have to be updated to account for the addition ofparams
argument.
params = { expand: ["available"] } opts = { stripe_account: "acct_123" } # ❌ No longer works Stripe::Balance.retrieve(opts) # ✅ Correct way to call retrieve method Stripe::Balance.retrieve(params, opts)
Additions
- Add support for
finalize_amount
test helper method on resourceIssuing.Authorization
- Singleton
v11.7.0
- #1415 Deprecate StripeClient#request
- Add deprecation warning for
StripeClient#request
. This helper method will be removed in a future major version. To access response objects, use thelast_response
property on the returned resource instead. Refer to Accessing a response object in the README for usage details.
- Add deprecation warning for
v11.7.0-beta.1
- #1400 Update generated code for beta
- Keeping up with the changes from version 11.6.0
v11.6.0
- #1404 Add method to list invoice line items
- Add methods
list_lines()
on the classInvoice
to list the invoice line items
- Add methods
v11.5.0
- #999 DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
v11.5.0-beta.1
- #1395 Update generated code for beta
- No new beta features. Merging changes from the main branch.
v11.4.0
- #1397 Update generated code
- Add support for
update
test helper method on resourcesTreasury.OutboundPayment
andTreasury.OutboundTransfer
- Add support for
- #1399 Pass params to transfer reversal
- Allow
Stripe::Transfer.retrieve_reversal()
to accept a params hash as the third argument, followed by opts. No changes to existing calls are necessary, but in a future major version this method will be updated to only accept params as the first argument. Fixes #1393
- Allow
- #1389 Removed jaro_winkler as a dependency
- #1396 Start tracking
StripeClient#request
usage
v11.4.0-beta.1
- #1386 Update generated code for beta
v11.3.0
-
#1387 Update generated code
-
#1392 Deprecate Ruby methods based on OpenAPI spec
- Mark as deprecated the
approve
anddecline
methods inlib/stripe/resources/issuing/authorization.rb
. Instead, respond directly to the webhook request to approve an authorization.
- Mark as deprecated the
-
#1391 Add Ruby 3.3 to CI test matrix
v11.3.0-beta.1
- #1383 Update generated code for beta