Skip to content

Commit 6553855

Browse files
committed
Bump version to 15.2.0
1 parent c3f9f45 commit 6553855

File tree

3 files changed

+36
-8
lines changed

3 files changed

+36
-8
lines changed

CHANGELOG.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
# Changelog
2+
## 15.2.0 - 2025-05-29
3+
This release changes the pinned API version to `2025-05-28.basil`.
4+
5+
* [#1605](https://github.com/stripe/stripe-ruby/pull/1605) Update generated code
6+
* Add support for `attach_payment` method on resource `Invoice`
7+
* Add support for `collect_inputs` method on resource `Terminal::Reader`
8+
* Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal::Reader`
9+
* Add support for `pix_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
10+
* Add support for `disputes_list` and `payment_disputes` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
11+
* Add support for `refund_and_dispute_prefunding` on `Balance`
12+
* Add support for `balance_type` on `BalanceTransaction`
13+
* Change `Billing::Alert::CreateParams::UsageThreshold.meter` to be required
14+
* Add support for `location` and `reader` on `Charge::PaymentMethodDetail::Affirm` and `Charge::PaymentMethodDetail::WechatPay`
15+
* Add support for `payment_method_remove` on `Checkout::Session::CreateParams::SavedPaymentMethodOption`
16+
* Add support for `setup_future_usage` on `Checkout::Session::PaymentMethodOption::NaverPay`
17+
* Change `ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id` and `PaymentMethod::NaverPay.buyer_id` to be required
18+
* Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
19+
* Add support for `sex`, `unparsed_place_of_birth`, and `unparsed_sex` on `Identity::VerificationReport::Document` and `Identity::VerificationSession::VerifiedOutput`
20+
* Add support for `billing_thresholds` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase::Item`, `Invoice::CreatePreviewParams::ScheduleDetail::Phase`, `Invoice::CreatePreviewParams::SubscriptionDetail::Item`, `Subscription::CreateParams::Item`, `Subscription::CreateParams`, `Subscription::UpdateParams::Item`, `Subscription::UpdateParams`, `SubscriptionItem::CreateParams`, `SubscriptionItem::UpdateParams`, `SubscriptionItem`, `SubscriptionSchedule::CreateParams::DefaultSetting`, `SubscriptionSchedule::CreateParams::Phase::Item`, `SubscriptionSchedule::CreateParams::Phase`, `SubscriptionSchedule::DefaultSetting`, `SubscriptionSchedule::Phase::Item`, `SubscriptionSchedule::Phase`, `SubscriptionSchedule::UpdateParams::DefaultSetting`, `SubscriptionSchedule::UpdateParams::Phase::Item`, `SubscriptionSchedule::UpdateParams::Phase`, and `Subscription`
21+
* Add support for `satispay` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
22+
* Add support for `capture_method` on `PaymentIntent::PaymentMethodOption::Billie`
23+
* Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
24+
* Add support for `network_decline_code` on `Refund::DestinationDetail::Paypal`
25+
* Add support for `metadata` on `Tax::Calculation::CreateParams::LineItem` and `Tax::CalculationLineItem`
26+
* Add support for `return_url` on `Terminal::Reader::Action::ProcessPaymentIntent::ProcessConfig` and `Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig`
27+
* Add support for `collect_inputs` on `Terminal::Reader::Action`
28+
* [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
29+
230
## 15.1.0 - 2025-04-30
331

432
This release changes the pinned API version to `2025-04-30.basil`.
@@ -34,12 +62,12 @@
3462
* [#1576](https://github.com/stripe/stripe-ruby/pull/1576) Explicitly pass through custom headers in retrieve
3563
* Fix custom options passing for resource-based retrieve
3664
* [#1571](https://github.com/stripe/stripe-ruby/pull/1571) Validate all instance variable keys returned from the API
37-
* Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in https://github.com/stripe/stripe-ruby/issues/1564
38-
* We do not set instance variables for invalid field names (as defined by the [Ruby spec](https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident)). We recommend for custom hash map response fields, use the `[]` accessor.
39-
```ruby
40-
c = client.v1.customers.retrieve("cus_123")
41-
c.metadata["invalid-variable-name!"]
42-
c.metadata["valid_key_name_works_too"]
65+
* Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in https://github.com/stripe/stripe-ruby/issues/1564
66+
* We do not set instance variables for invalid field names (as defined by the [Ruby spec](https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident)). We recommend for custom hash map response fields, use the `[]` accessor.
67+
```ruby
68+
c = client.v1.customers.retrieve("cus_123")
69+
c.metadata["invalid-variable-name!"]
70+
c.metadata["valid_key_name_works_too"]
4371
```
4472
* [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
4573
* [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15.1.0
1+
15.2.0

lib/stripe/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Stripe
4-
VERSION = "15.1.0"
4+
VERSION = "15.2.0"
55
end

0 commit comments

Comments
 (0)