mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-23 00:00:56 -04:00
Fixed changelog for major release 12.0.0 (#1436)
This commit is contained in:
parent
ec36441d3d
commit
cc23e71c72
14
CHANGELOG.md
14
CHANGELOG.md
@ -28,20 +28,6 @@
|
|||||||
|
|
||||||
This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
|
This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
|
||||||
|
|
||||||
### ⚠️ Breaking changes
|
|
||||||
|
|
||||||
* Singleton `retrieve` method now requires `params` to be passed as the first argument. Existing calls to singleton `retrieve` method with only `opts` argument will have to be updated to account for the addition of `params` argument.
|
|
||||||
```ruby
|
|
||||||
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
|
### Additions
|
||||||
|
|
||||||
* Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
|
* Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user