Skip to content

Commit 3d8ec2f

Browse files
authored
Link to the /changelog page instead of /upgrades (#1622)
1 parent da9f0e0 commit 3d8ec2f

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

CHANGELOG.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
## 15.2.1 - 2025-06-04
33
* [#1617](https://github.com/stripe/stripe-ruby/pull/1617) Fix `nil` requestor in `Webhook.construct_event` to allow for event data refresh
4-
* Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
4+
* Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
55
* Raised in https://github.com/stripe/stripe-ruby/issues/1616
66

77
## 15.2.0 - 2025-05-29
@@ -82,15 +82,15 @@
8282
* Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
8383
![image](https://github.com/user-attachments/assets/1b6cd994-d3ea-4f47-8487-f5c7b9ebf885)
8484
* See [the wiki](https://github.com/stripe/stripe-ruby/wiki/Static-Type-Annotations) for more details
85-
85+
8686
* [#1543](https://github.com/stripe/stripe-ruby/pull/1543) Support for APIs in the new API version 2025-03-31.basil
8787

8888
This release changes the pinned API version to `2025-03-31.basil`.
89-
89+
9090
### ⚠️ Breaking changes due to changes in the Stripe API
9191

9292
Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/basil) before upgrading.
93-
93+
9494
* Remove support for resources `SubscriptionItemUsageRecordSummary` and `SubscriptionItemUsageRecord`
9595
* Remove support for `create` method on resource `SubscriptionItemUsageRecord`
9696
* Remove support for `list` method on resource `SubscriptionItemUsageRecordSummary`
@@ -100,16 +100,16 @@
100100
* [#1553](https://github.com/stripe/stripe-ruby/pull/1553) Remove public idempotent_replayed? method
101101
* ⚠️ Remove the `idempotent_replayed?` method on `StripeError`
102102
* The information is accessible indirectly via the raw response headers, `StripeResponse.http_headers`. For example, use `resource.last_response.http_headers['Idempotent-Replayed']`
103-
103+
104104
### Additions to the Stripe API
105-
105+
106106
* Add support for new resource `InvoicePayment`
107107
* Add support for `list` and `retrieve` methods on resource `InvoicePayment`
108-
108+
109109

110110
## 13.5.0 - 2025-02-24
111111
* [#1534](https://github.com/stripe/stripe-ruby/pull/1534) Update generated code
112-
* Fixed `Stripe::InvoiceLineItem.update` method.
112+
* Fixed `Stripe::InvoiceLineItem.update` method.
113113
* [#1536](https://github.com/stripe/stripe-ruby/pull/1536) Fix InvoiceLineItem parent class
114114
* Fix bug where `Stripe::InvoiceLineItem` had the incorrect parent class, making it error when `update` was called
115115
* [#1533](https://github.com/stripe/stripe-ruby/pull/1533) add codeowners file
@@ -138,7 +138,7 @@
138138
* [#1500](https://github.com/stripe/stripe-ruby/pull/1500) This release changes the pinned API version to `2024-12-18.acacia`.
139139

140140
* [#1507](https://github.com/stripe/stripe-ruby/pull/1507) Pass requestor to all deserialized objects including lists
141-
141+
142142
* Fixes bug where `StripeObject` retrieved from lists could not be used to make requests, such as `refresh`
143143

144144
## 13.2.0 - 2024-11-20
@@ -161,46 +161,46 @@
161161

162162
## 13.0.2 - 2024-10-23
163163
* [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
164-
164+
165165
* Fix bug where we would not return the mutated `self` object when calling `APIResource.retrieve`
166166

167167
## 13.0.1 - 2024-10-18
168168
* [#1471](https://github.com/stripe/stripe-ruby/pull/1471) update object tags for meter-related classes
169-
169+
170170
- fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server.
171171
* [#1470](https://github.com/stripe/stripe-ruby/pull/1470) Cleaned up examples and added documentation
172172
173173
## 13.0.0 - 2024-10-01
174174
* [#1458](https://github.com/stripe/stripe-ruby/pull/1458) Support for APIs in the new API version 2024-09-30.acacia
175-
176-
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.
177-
178-
### ⚠️ Breaking changes
179-
175+
176+
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.
177+
178+
### ⚠️ Breaking changes
179+
180180
Please refer to our [migration guide for v13](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v13) for more information about the backwards incompatible changes.
181-
181+
182182
#### ❗ `StripeClient` and related changes
183183
* Move `StripeClient` and requestor logic to `APIRequestor`.
184184
* `StripeClient#request` is still available, but is deprecated and will be removed. We encourage `StripeClient#raw_request` as a replacement (see other breaking changes for more detail).
185185
* Repurpose and introduce `StripeClient` as the the entry-point to the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm. Services are available under the `v1` and `v2` accessors.
186186
* No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
187187
* No extra API calls. All API endpoints can be accessed with a single method call. You don't have to call `retrieve` before doing an `update`.
188188
* No static methods. Much easier mocking.
189-
189+
190190
#### Other breaking changes
191-
191+
192192
* Adjust default values around retries for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
193193
- max retries: `0` -> `2`
194194
- max retry delay (seconds) `2` -> `5`
195195
* Remove `StripeClient#connection_manager`. This was a legacy method from years ago.
196-
* 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.
196+
* 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.
197197
```ruby
198198
params = { expand: ["available"] }
199199
opts = { stripe_account: "acct_123" }
200-
200+
201201
# ❌ No longer works
202202
Stripe::Balance.retrieve(opts)
203-
203+
204204
# ✅ Correct way to call retrieve method
205205
Stripe::Balance.retrieve(params, opts)
206206
```
@@ -209,7 +209,7 @@
209209
```ruby
210210
# Instead of
211211
Stripe::APIResource.request(:get, "/v1/endpoint", params, opts)
212-
212+
213213
# do
214214
client = Stripe::StripeClient.new(...)
215215
resp = client.raw_request(:get, "/v1/endpoint", params: params, opts: opts)
@@ -225,18 +225,18 @@
225225
# Before
226226
obj, api_key = StripeClient.execute_request(method, path, api_base: nil,
227227
api_key: nil, headers: {}, params: {}, usage: [])
228-
228+
229229
# is now, with base_address being one of [:api, :files, :connect, :meter_events]
230-
230+
231231
obj, opts = APIRequestor.execute_request(method, path, base_address,
232232
params: {}, opts: {}, usage: [])
233233
puts(opts) # will output {api_key: "sk_test_123", stripe_account: "acct_123"}
234234
```
235-
236-
235+
236+
237237
### Additions
238238
* Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` in the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview)
239-
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
239+
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
240240

241241

242242
## 12.6.0 - 2024-09-12
@@ -264,15 +264,15 @@
264264

265265
* [#1433](https://github.com/stripe/stripe-ruby/pull/1433) Add usage to raw_request call
266266
* [#1431](https://github.com/stripe/stripe-ruby/pull/1431) Add `raw_request`
267-
267+
268268
- Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url. This is an alternative to using `Stripe::APIResource.request(...)` to make custom requests, which is discouraged and will be broken in a future major version.
269269

270270
## 12.1.0 - 2024-07-05
271271
* [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
272272
* Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
273273
* [#1420](https://github.com/stripe/stripe-ruby/pull/1420) Update static methods for delete/list on BankAccount/Card to throw NotImplementedError
274-
* The below methods have been throwing `InvalidRequestError` because the urls used to make the requests have been buggy. Updating them to throw `NotImplementedError` instead just like their counterparts for update & retrieve because they cannot be implemented without the parent id.
275-
274+
* The below methods have been throwing `InvalidRequestError` because the urls used to make the requests have been buggy. Updating them to throw `NotImplementedError` instead just like their counterparts for update & retrieve because they cannot be implemented without the parent id.
275+
276276
Methods affected | Use these instead in the context of payment method | Use these in the context of external accounts
277277
------ | ------ | ----
278278
Stripe:: BankAccount.delete | Stripe::Customer.delete_source | Stripe::Account.delete_external_account
@@ -284,12 +284,12 @@
284284

285285
## 12.0.0 - 2024-06-24
286286
* [#1418](https://github.com/stripe/stripe-ruby/pull/1418) Add missing static method for verify on BankAccount
287-
* [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
288-
289-
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.
287+
* [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
288+
289+
This release changes the pinned API version to 2024-06-20. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading.
290290

291291
### Additions
292-
292+
293293
* Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
294294

295295
## 11.7.0 - 2024-06-13
@@ -329,7 +329,7 @@
329329
## 11.0.0 - 2024-04-10
330330
* [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
331331

332-
* This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading.
332+
* This release changes the pinned API version to `2024-04-10`. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading.
333333

334334
### ⚠️ Breaking changes
335335

@@ -439,7 +439,7 @@
439439
* Add support for `create`, `list`, and `update` methods on resource `Registration`
440440

441441
## 10.0.0 - 2023-10-16
442-
* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
442+
* This release changes the pinned API version to `2023-10-16`. Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
443443
* [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
444444
- Updated pinned API version
445445
* [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
@@ -563,7 +563,7 @@
563563
## 8.0.0 - 2022-11-16
564564
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
565565
566-
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.
566+
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.
567567
568568
"⚠️" symbol highlights breaking changes.
569569
@@ -601,7 +601,7 @@ Breaking changes that arose during code generation of the library that we postpo
601601

602602
## 7.0.0 - 2022-08-02
603603

604-
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.
604+
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.
605605

606606
"⚠️" symbol highlights breaking changes.
607607

0 commit comments

Comments
 (0)