Skip to content

Commit 6ed7313

Browse files
authored
Merge pull request #1761 from stripe/jar/merge-ruby-private-preview
2 parents f740451 + b8f0160 commit 6ed7313

File tree

5 files changed

+53
-21
lines changed

5 files changed

+53
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
matrix:
5050
# following https://docs.stripe.com/sdks/versioning?lang=ruby#stripe-sdk-language-version-support-policy
51-
ruby-version: [2.6, 2.7, '3.0', 3.1, 3.2, 3.3, 3.4, jruby-9.4.0.0, truffleruby-head]
51+
ruby-version: [2.6, 2.7, '3.0', 3.1, 3.2, 3.3, 3.4, jruby-9.4.0.0, truffleruby-25.0.0]
5252
steps:
5353
- uses: extractions/setup-just@v2
5454
- uses: actions/checkout@v3

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3602014a6583f6c0fbfdde3c575839ac7d0b4e9c
1+
3602014a6583f6c0fbfdde3c575839ac7d0b4e9c

CHANGELOG.md

Lines changed: 49 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,36 @@
3131
* Add support for event notifications `V2PaymentsSettlementAllocationIntentCanceledEvent`, `V2PaymentsSettlementAllocationIntentCreatedEvent`, `V2PaymentsSettlementAllocationIntentErroredEvent`, `V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent`, `V2PaymentsSettlementAllocationIntentMatchedEvent`, `V2PaymentsSettlementAllocationIntentSettledEvent`, and `V2PaymentsSettlementAllocationIntentSubmittedEvent` with related object `V2::Payments::SettlementAllocationIntent`
3232
* Add support for event notifications `V2PaymentsSettlementAllocationIntentSplitCanceledEvent`, `V2PaymentsSettlementAllocationIntentSplitCreatedEvent`, and `V2PaymentsSettlementAllocationIntentSplitSettledEvent` with related object `V2::Payments::SettlementAllocationIntentSplit`
3333

34-
## 18.1.0-alpha.4 - 2025-12-04
35-
* [#1740](https://github.com/stripe/stripe-ruby/pull/1740) Update generated code for private-preview
36-
* Add support for event notifications `V2IamApiKeyCreatedEvent`, `V2IamApiKeyDefaultSecretRevealedEvent`, `V2IamApiKeyExpiredEvent`, `V2IamApiKeyPermissionsUpdatedEvent`, `V2IamApiKeyRotatedEvent`, and `V2IamApiKeyUpdatedEvent`
37-
* [#1739](https://github.com/stripe/stripe-ruby/pull/1739) Update generated code for private-preview
38-
* Add support for `check_scanning` on `AccountSession::Component`
39-
* Add support for `client` on `V2::Core::Event::Reason::Request`
40-
* Add support for `stripe_balance_payment` on `V2::MoneyManagement::ReceivedCredit` and `V2::MoneyManagement::ReceivedDebit`
41-
* Add support for `balance_transfer` on `V2::MoneyManagement::ReceivedDebit`
42-
* Add support for `include` on `V2::Core::EventListParams` and `V2::Core::EventRetrieveParams`
34+
## 18.1.0 - 2025-12-16
35+
This release changes the pinned API version to `2025-12-15.clover`.
4336

44-
## 18.1.0-alpha.3 - 2025-11-24
45-
* [#1737](https://github.com/stripe/stripe-ruby/pull/1737) Update generated code for private-preview
46-
* Add support for new resource `ProductCatalog::TrialOffer`
47-
* Add support for `create` method on resource `ProductCatalog::TrialOffer`
48-
* Remove support for `amount_subtotal_after_discount` on `DelegatedCheckout::RequestedSession::LineItemDetail` and `DelegatedCheckout::RequestedSession::TotalDetail`
49-
* Remove support for `amount_total`, `unit_amount_after_discount`, and `unit_discount` on `DelegatedCheckout::RequestedSession::LineItemDetail`
50-
* Add support for `amount_cart_discount` and `amount_items_discount` on `DelegatedCheckout::RequestedSession::TotalDetail`
51-
* Remove support for `amount_discount` on `DelegatedCheckout::RequestedSession::TotalDetail`
52-
* Add support for `payments_orchestration` on `PaymentIntentCreateParams` and `PaymentIntent`
37+
* [#1744](https://github.com/stripe/stripe-ruby/pull/1744) Update generated code
38+
* Add support for new resources `V2::Core::AccountLink`, `V2::Core::AccountPersonToken`, `V2::Core::AccountPerson`, `V2::Core::AccountToken`, and `V2::Core::Account`
39+
* Add support for `create` and `retrieve` methods on resources `V2::Core::AccountPersonToken` and `V2::Core::AccountToken`
40+
* Add support for `create` method on resource `V2::Core::AccountLink`
41+
* Add support for `close`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::Core::Account`
42+
* Add support for `create`, `delete`, `list`, `retrieve`, and `update` methods on resource `V2::Core::AccountPerson`
43+
* Add support for `customer_account` on `Billing::CreditBalanceSummaryRetrieveParams`, `Billing::CreditBalanceSummary`, `Billing::CreditBalanceTransactionListParams`, `Billing::CreditGrantCreateParams`, `Billing::CreditGrantListParams`, `Billing::CreditGrant`, `BillingPortal::SessionCreateParams`, `BillingPortal::Session`, `CashBalance`, `Checkout::SessionCreateParams`, `Checkout::SessionListParams`, `Checkout::Session`, `ConfirmationToken::PaymentMethodPreview`, `CreditNoteListParams`, `CreditNote`, `CustomerBalanceTransaction`, `CustomerCashBalanceTransaction`, `CustomerSessionCreateParams`, `CustomerSession`, `Customer`, `Discount`, `FinancialConnections::Account::AccountHolder`, `FinancialConnections::AccountListParams::AccountHolder`, `FinancialConnections::Session::AccountHolder`, `FinancialConnections::SessionCreateParams::AccountHolder`, `InvoiceCreateParams`, `InvoiceCreatePreviewParams`, `InvoiceItemCreateParams`, `InvoiceItemListParams`, `InvoiceItem`, `InvoiceListParams`, `Invoice`, `PaymentIntentCreateParams`, `PaymentIntentListParams`, `PaymentIntentUpdateParams`, `PaymentIntent`, `PaymentMethodAttachParams`, `PaymentMethodListParams`, `PaymentMethod`, `PromotionCodeCreateParams`, `PromotionCodeListParams`, `PromotionCode`, `QuoteCreateParams`, `QuoteListParams`, `QuoteUpdateParams`, `Quote`, `SetupAttempt`, `SetupIntentCreateParams`, `SetupIntentListParams`, `SetupIntentUpdateParams`, `SetupIntent`, `SubscriptionCreateParams`, `SubscriptionListParams`, `SubscriptionScheduleCreateParams`, `SubscriptionScheduleListParams`, `SubscriptionSchedule`, `Subscription`, `TaxId::Owner`, `TaxIdCreateParams::Owner`, `TaxIdListParams::Owner`, and `TaxId`
44+
* Add support for `metadata` on `Checkout::SessionCreateParams::LineItem` and `LineItem`
45+
* Add support for `payto_payments` on `Account::Capability`, `AccountCreateParams::Capability`, and `AccountUpdateParams::Capability`
46+
* Add support for `signer` on `AccountCreateParams::Document::ProofOfRegistration`, `AccountCreateParams::Document::ProofOfUltimateBeneficialOwnership`, `AccountUpdateParams::Document::ProofOfRegistration`, and `AccountUpdateParams::Document::ProofOfUltimateBeneficialOwnership`
47+
* Change `Billing::CreditBalanceSummaryRetrieveParams.customer`, `Billing::CreditBalanceTransactionListParams.customer`, `Billing::CreditGrantCreateParams.customer`, `BillingPortal::SessionCreateParams.customer`, `CustomerSessionCreateParams.customer`, `InvoiceItemCreateParams.customer`, `PaymentMethodAttachParams.customer`, and `SubscriptionCreateParams.customer` to be optional
48+
* Add support for `billing_cycle_anchor` on `BillingPortal::Configuration::Feature::SubscriptionUpdate`, `BillingPortal::ConfigurationCreateParams::Feature::SubscriptionUpdate`, and `BillingPortal::ConfigurationUpdateParams::Feature::SubscriptionUpdate`
49+
* Add support for `payto` on `Charge::PaymentMethodDetail`, `Checkout::Session::PaymentMethodOption`, `Checkout::SessionCreateParams::PaymentMethodOption`, `ConfirmationToken::PaymentMethodPreview`, `ConfirmationTokenCreateParams::PaymentMethodDatum`, `Invoice::PaymentSetting::PaymentMethodOption`, `InvoiceCreateParams::PaymentSetting::PaymentMethodOption`, `InvoiceUpdateParams::PaymentSetting::PaymentMethodOption`, `Mandate::PaymentMethodDetail`, `PaymentAttemptRecord::PaymentMethodDetail`, `PaymentIntent::PaymentMethodOption`, `PaymentIntentConfirmParams::PaymentMethodDatum`, `PaymentIntentConfirmParams::PaymentMethodOption`, `PaymentIntentCreateParams::PaymentMethodDatum`, `PaymentIntentCreateParams::PaymentMethodOption`, `PaymentIntentUpdateParams::PaymentMethodDatum`, `PaymentIntentUpdateParams::PaymentMethodOption`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `PaymentRecord::PaymentMethodDetail`, `SetupAttempt::PaymentMethodDetail`, `SetupIntent::PaymentMethodOption`, `SetupIntentConfirmParams::PaymentMethodDatum`, `SetupIntentConfirmParams::PaymentMethodOption`, `SetupIntentCreateParams::PaymentMethodDatum`, `SetupIntentCreateParams::PaymentMethodOption`, `SetupIntentUpdateParams::PaymentMethodDatum`, `SetupIntentUpdateParams::PaymentMethodOption`, `Subscription::PaymentSetting::PaymentMethodOption`, `SubscriptionCreateParams::PaymentSetting::PaymentMethodOption`, and `SubscriptionUpdateParams::PaymentSetting::PaymentMethodOption`
50+
* Add support for `expected_debit_date` on `Charge::PaymentMethodDetail::AcssDebit`, `Charge::PaymentMethodDetail::AuBecsDebit`, `Charge::PaymentMethodDetail::BacsDebit`, `Charge::PaymentMethodDetail::NzBankAccount`, `Charge::PaymentMethodDetail::SepaDebit`, `Charge::PaymentMethodDetail::UsBankAccount`, `PaymentAttemptRecord::PaymentMethodDetail::AcssDebit`, `PaymentAttemptRecord::PaymentMethodDetail::AuBecsDebit`, `PaymentAttemptRecord::PaymentMethodDetail::BacsDebit`, `PaymentAttemptRecord::PaymentMethodDetail::NzBankAccount`, `PaymentAttemptRecord::PaymentMethodDetail::SepaDebit`, `PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount`, `PaymentRecord::PaymentMethodDetail::AcssDebit`, `PaymentRecord::PaymentMethodDetail::AuBecsDebit`, `PaymentRecord::PaymentMethodDetail::BacsDebit`, `PaymentRecord::PaymentMethodDetail::NzBankAccount`, `PaymentRecord::PaymentMethodDetail::SepaDebit`, and `PaymentRecord::PaymentMethodDetail::UsBankAccount`
51+
* Add support for `line_items` on `Checkout::SessionUpdateParams`
52+
* Add support for `invoice` on `CustomerCustomerBalanceTransactionListParams`
53+
* Add support for `related_customer_account` on `Identity::VerificationSessionCreateParams`, `Identity::VerificationSessionListParams`, and `Identity::VerificationSession`
54+
* Change type of `InvoiceItem::Pricing::PriceDetail.price` and `InvoiceLineItem::Pricing::PriceDetail.price` from `string` to `expandable($Price)`
55+
* Add support for `subtotal` on `InvoiceLineItem`
56+
* Add support for `authorization_code`, `description`, `iin`, `installments`, `issuer`, `network_advice_code`, `network_decline_code`, and `stored_credential_usage` on `PaymentAttemptRecord::PaymentMethodDetail::Card` and `PaymentRecord::PaymentMethodDetail::Card`
57+
* Change `PaymentIntent.transfer_data` to be optional
58+
* Add support for `allow_redisplay` on `PaymentMethodListParams`
59+
* Add support for `reported_by` on `PaymentRecord`
60+
* Change `Product.tax_code` to be optional
61+
* Add support for `changes` on `V2::Core::Event`
62+
* [#1741](https://github.com/stripe/stripe-ruby/pull/1741) Format breaking change warning to improve discoverability
63+
* [#1742](https://github.com/stripe/stripe-ruby/pull/1742) Updated bundled CA certs
5364

5465
## 18.1.0-beta.1 - 2025-11-18
5566
This release changes the pinned API version to `2025-11-17.preview`.
@@ -79,6 +90,26 @@ This release changes the pinned API version to `2025-11-17.preview`.
7990
* Add support for thin event `V2CoreHealthEventGenerationFailureResolvedEvent`
8091
* Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `V2::Payments::OffSessionPayment`
8192

93+
## 18.1.0-alpha.4 - 2025-12-04
94+
* [#1740](https://github.com/stripe/stripe-ruby/pull/1740) Update generated code for private-preview
95+
* Add support for event notifications `V2IamApiKeyCreatedEvent`, `V2IamApiKeyDefaultSecretRevealedEvent`, `V2IamApiKeyExpiredEvent`, `V2IamApiKeyPermissionsUpdatedEvent`, `V2IamApiKeyRotatedEvent`, and `V2IamApiKeyUpdatedEvent`
96+
* [#1739](https://github.com/stripe/stripe-ruby/pull/1739) Update generated code for private-preview
97+
* Add support for `check_scanning` on `AccountSession::Component`
98+
* Add support for `client` on `V2::Core::Event::Reason::Request`
99+
* Add support for `stripe_balance_payment` on `V2::MoneyManagement::ReceivedCredit` and `V2::MoneyManagement::ReceivedDebit`
100+
* Add support for `balance_transfer` on `V2::MoneyManagement::ReceivedDebit`
101+
* Add support for `include` on `V2::Core::EventListParams` and `V2::Core::EventRetrieveParams`
102+
103+
## 18.1.0-alpha.3 - 2025-11-24
104+
* [#1737](https://github.com/stripe/stripe-ruby/pull/1737) Update generated code for private-preview
105+
* Add support for new resource `ProductCatalog::TrialOffer`
106+
* Add support for `create` method on resource `ProductCatalog::TrialOffer`
107+
* Remove support for `amount_subtotal_after_discount` on `DelegatedCheckout::RequestedSession::LineItemDetail` and `DelegatedCheckout::RequestedSession::TotalDetail`
108+
* Remove support for `amount_total`, `unit_amount_after_discount`, and `unit_discount` on `DelegatedCheckout::RequestedSession::LineItemDetail`
109+
* Add support for `amount_cart_discount` and `amount_items_discount` on `DelegatedCheckout::RequestedSession::TotalDetail`
110+
* Remove support for `amount_discount` on `DelegatedCheckout::RequestedSession::TotalDetail`
111+
* Add support for `payments_orchestration` on `PaymentIntentCreateParams` and `PaymentIntent`
112+
82113
## 18.1.0-alpha.2 - 2025-11-20
83114
This release changes the pinned API version to `2025-11-17.preview`.
84115

CODEGEN_VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3602014a6583f6c0fbfdde3c575839ac7d0b4e9c

OPENAPI_VERSION

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

0 commit comments

Comments
 (0)