You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,11 @@ This release changes the pinned API version to `2025-05-28.preview`.
42
42
* Add support for `tax_transaction_attempts` on `Tax::Association`
43
43
* Add support for `confirm_config` on `Terminal::Reader::Action::ConfirmPaymentIntent` and `Terminal::Reader::ConfirmPaymentIntentParams`
44
44
45
+
## 15.2.1 - 2025-06-04
46
+
*[#1617](https://github.com/stripe/stripe-ruby/pull/1617) Fix `nil` requestor in `Webhook.construct_event` to allow for event data refresh
47
+
* Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
48
+
* Raised in https://github.com/stripe/stripe-ruby/issues/1616
49
+
45
50
## 15.2.0 - 2025-05-29
46
51
This release changes the pinned API version to `2025-05-28.basil`.
47
52
@@ -224,15 +229,15 @@ This release changes the pinned API version to `2025-05-28.preview`.
224
229
*Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
*See [the wiki](https://github.com/stripe/stripe-ruby/wiki/Static-Type-Annotations) for more details
227
-
232
+
228
233
* [#1543](https://github.com/stripe/stripe-ruby/pull/1543) Support for APIs in the new API version 2025-03-31.basil
229
234
230
235
This release changes the pinned API version to `2025-03-31.basil`.
231
-
236
+
232
237
### ⚠️ Breaking changes due to changes in the Stripe API
233
238
234
239
Please review details for the breaking changes and alternatives in the [StripeAPI changelog](https://docs.stripe.com/changelog/basil) before upgrading.
235
-
240
+
236
241
*Remove support for resources `SubscriptionItemUsageRecordSummary`and`SubscriptionItemUsageRecord`
237
242
*Remove support for`create` method on resource `SubscriptionItemUsageRecord`
238
243
*Remove support for`list` method on resource `SubscriptionItemUsageRecordSummary`
@@ -242,9 +247,9 @@ This release changes the pinned API version to `2025-05-28.preview`.
242
247
* [#1553](https://github.com/stripe/stripe-ruby/pull/1553) Remove public idempotent_replayed? method
243
248
* ⚠️ Remove the `idempotent_replayed?` method on `StripeError`
244
249
*The information is accessible indirectly via the raw response headers, `StripeResponse.http_headers`. For example, use `resource.last_response.http_headers['Idempotent-Replayed']`
245
-
250
+
246
251
### Additions to the Stripe API
247
-
252
+
248
253
*Add support fornew resource `InvoicePayment`
249
254
*Add support for`list`and`retrieve` methods on resource `InvoicePayment`
250
255
@@ -255,16 +260,16 @@ This release changes the pinned API version to `2025-05-28.preview`.
255
260
*Add support for`succeed_input_collection`and`timeout_input_collection`test helper methods on resource `Terminal.Reader`
256
261
* [#1545](https://github.com/stripe/stripe-ruby/pull/1545) fix ruby merge conflict for beta
257
262
258
-
## 13.5.0-beta.1 - 2025-02-07
259
-
* [#1527](https://github.com/stripe/stripe-ruby/pull/1527) Update generated code for beta
* ⚠️ Bugfix:`invoice`and`line_item_id` can be passed to `update` method in`InvoiceLineItem`.
@@ -394,7 +399,7 @@ This release changes the pinned API version to `2025-05-28.preview`.
394
399
## 13.0.0 - 2024-10-01
395
400
* [#1458](https://github.com/stripe/stripe-ruby/pull/1458) Support for APIs in the new API version 2024-09-30.acacia
396
401
397
-
This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading.
402
+
This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Changelog](https://docs.stripe.com/changelog/acacia#2024-09-30.acacia) and carefully review the API changes before upgrading.
398
403
399
404
### ⚠️ Breaking changes
400
405
@@ -539,7 +544,7 @@ This release changes the pinned API version to `2025-05-28.preview`.
539
544
* [#1418](https://github.com/stripe/stripe-ruby/pull/1418) Add missing static method for verify on BankAccount
This release changes the pinned API version to 2024-06-20. Please read the [APIUpgradeGuide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
547
+
This release changes the pinned API version to 2024-06-20. Please read the [APIChangelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading.
543
548
544
549
### Additions
545
550
@@ -600,7 +605,7 @@ This release changes the pinned API version to `2025-05-28.preview`.
*This release changes the pinned API version to `2024-04-10`. Please read the [APIUpgradeGuide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading.
608
+
*This release changes the pinned API version to `2024-04-10`. Please read the [APIChangelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading.
604
609
605
610
### ⚠️ Breaking changes
606
611
@@ -829,9 +834,8 @@ Updated stable APIs to the latest version
829
834
- [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
830
835
831
836
## 10.0.0 - 2023-10-16
832
-
833
-
-This release changes the pinned API version to `2023-10-16`. Please read the [APIUpgradeGuide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
*This release changes the pinned API version to `2023-10-16`. Please read the [APIChangelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
@@ -1180,7 +1184,7 @@ Updated stable APIs to the latest version
1180
1184
1181
1185
- [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
1182
1186
1183
-
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
1187
+
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15.
1184
1188
1185
1189
"⚠️" symbol highlights breaking changes.
1186
1190
@@ -1235,7 +1239,7 @@ Breaking changes that arose during code generation of the library that we postpo
1235
1239
1236
1240
## 7.0.0 - 2022-08-02
1237
1241
1238
-
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
1242
+
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-08-01.
Keep in mind that there are different method signatures depending on the action:
121
-
122
-
- When operating on a collection (e.g. `.list`, `.create`) the method signature is
123
-
`method(params, opts)`.
124
-
- When operating on resource (e.g. `.capture`, `.update`) the method signature is
125
-
`method(id, params, opts)`.
126
-
- One exception is that `retrieve`, despite being an operation on a resource, has the signature
127
-
`retrieve(id, opts)`. In addition, it will accept a Hash for the `id` param but will extract the
128
-
`id` key out and use the others as options.
129
-
130
94
### StripeClient vs legacy pattern
131
95
132
96
We introduced the `StripeClient` class in v13 of the Ruby SDK. The legacy pattern used prior to that version is still available to use but will be marked as deprecated soon. Review the [migration guide to use StripeClient](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v13) to move from the legacy pattern.
@@ -138,15 +102,15 @@ Once the legacy pattern is deprecated, new API endpoints will only be accessible
138
102
Both indexer and accessors can be used to retrieve values of resource properties.
0 commit comments