|
1 | 1 | # 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 | + |
2 | 30 | ## 15.1.0 - 2025-04-30
|
3 | 31 |
|
4 | 32 | This release changes the pinned API version to `2025-04-30.basil`.
|
|
34 | 62 | * [#1576](https://github.com/stripe/stripe-ruby/pull/1576) Explicitly pass through custom headers in retrieve
|
35 | 63 | * Fix custom options passing for resource-based retrieve
|
36 | 64 | * [#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"] |
43 | 71 | ```
|
44 | 72 | * [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
|
45 | 73 | * [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
|
|
0 commit comments