Skip to content

Commit e01c897

Browse files
Bump version to 22.1.0-alpha.2
1 parent 1f01c99 commit e01c897

File tree

5 files changed

+23
-4
lines changed

5 files changed

+23
-4
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22

3+
## 22.1.0-alpha.2 - 2026-04-08
4+
* [#2657](https://github.com/stripe/stripe-node/pull/2657) Update generated code for private-preview
5+
* Add support for `payment_record` on `ApplicationFee.fee_source`
6+
* Add support for `beneficiary_account`, `beneficiary_details`, `sender_account`, and `sender_details` on `ChargeCaptureParams.payment_details.money_services.account_funding`, `ChargeUpdateParams.payment_details.money_services.account_funding`, `PaymentIntentCaptureParams.payment_details.money_services.account_funding`, `PaymentIntentConfirmParams.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_details.money_services.account_funding`, and `PaymentIntentUpdateParams.payment_details.money_services.account_funding`
7+
* Change type of `ChargeCaptureParams.payment_details.money_services.transaction_type`, `ChargeUpdateParams.payment_details.money_services.transaction_type`, `PaymentIntentCaptureParams.payment_details.money_services.transaction_type`, `PaymentIntentConfirmParams.payment_details.money_services.transaction_type`, `PaymentIntentCreateParams.payment_details.money_services.transaction_type`, and `PaymentIntentUpdateParams.payment_details.money_services.transaction_type` from `literal('account_funding')` to `emptyable(literal('account_funding'))`
8+
* Add support for `bizum` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `QuotePreviewInvoice.payment_settings.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
9+
* ⚠️ Add support for new value `bizum` on enums `Invoice.payment_settings.payment_method_types`, `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `QuotePreviewInvoice.payment_settings.payment_method_types`, `Subscription.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
10+
* Add support for `quantity_precision` on `PaymentIntentAmountDetailsLineItem`, `PaymentIntentCaptureParams.amount_details.line_items[]`, `PaymentIntentConfirmParams.amount_details.line_items[]`, `PaymentIntentCreateParams.amount_details.line_items[]`, `PaymentIntentDecrementAuthorizationParams.amount_details.line_items[]`, `PaymentIntentIncrementAuthorizationParams.amount_details.line_items[]`, and `PaymentIntentUpdateParams.amount_details.line_items[]`
11+
* Add support for `liquid_asset` and `wallet` on `PaymentIntentConfirmParams.payment_method_options.card.payment_details.money_services.account_funding`, `PaymentIntentConfirmParams.payment_method_options.card_present.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_method_options.card.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_method_options.card_present.payment_details.money_services.account_funding`, `PaymentIntentUpdateParams.payment_method_options.card.payment_details.money_services.account_funding`, and `PaymentIntentUpdateParams.payment_method_options.card_present.payment_details.money_services.account_funding`
12+
* Add support for `shared_payment_granted_token` on `PaymentMethod`
13+
* ⚠️ Change type of `Radar.CustomerEvaluation.event_type` from `string` to `enum('login'|'registration')`
14+
* ⚠️ Change type of `Radar.CustomerEvaluation.signals.account_sharing.risk_level` and `Radar.CustomerEvaluation.signals.multi_accounting.risk_level` from `string` to `enum`
15+
* Add support for `data` on `Radar.PaymentEvaluation.client_device_metadata_details` and `Radar.PaymentEvaluationCreateParams.client_device_metadata_details`
16+
* Add support for `sunbit` on `SharedPayment.GrantedToken.payment_method_details`
17+
* ⚠️ Add support for new value `sunbit` on enum `SharedPayment.GrantedToken.payment_method_details.type`
18+
* ⚠️ Remove support for values `bm_crn`, `bo_tin`, `bt_tpn`, `co_nit`, `ec_ruc`, `eg_tin`, `gh_tin`, `gy_tin`, `hn_rtn`, `jm_trn`, `jo_crn`, `ke_pin`, `ky_crn`, `lk_tin`, `mo_tin`, `mv_tin`, `ng_tin`, `pa_ruc`, `ph_tin`, `py_ruc`, `sl_tin`, `sv_nit`, `uy_ruc`, `vg_cn`, and `za_tin` from enums `V2.Core.Account.identity.business_details.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type`, `V2.Core.AccountTokenCreateParams.identity.business_details.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type`
19+
* ⚠️ Remove support for values `bm_pp`, `bo_ci`, `bt_cid`, `eg_tin`, `gh_pin`, `gy_tin`, `hn_rtn`, `jm_trn`, `jo_pin`, `ky_pp`, `lk_nic`, `mo_bir`, `mt_nic`, `mv_tin`, `pa_ruc`, `ph_tin`, `py_ruc`, `si_pin`, `sv_nit`, and `vg_pp` from enums `V2.Core.Account.identity.individual.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.individual.id_numbers[].type`, `V2.Core.AccountPerson.id_numbers[].type`, `V2.Core.AccountPersonCreateParams.id_numbers[].type`, `V2.Core.AccountPersonTokenCreateParams.id_numbers[].type`, `V2.Core.AccountPersonUpdateParams.id_numbers[].type`, `V2.Core.AccountTokenCreateParams.identity.individual.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type`
20+
* Add support for error type `CannotProceedError`
21+
322
## 22.1.0-alpha.1 - 2026-04-02
423
This release changes the pinned API version to 2026-04-01.preview and contains additional breaking changes. See the [GA changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#2200---2026-04-02) for more information.
524

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.1.0-alpha.1
1+
22.1.0-alpha.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stripe",
3-
"version": "22.1.0-alpha.1",
3+
"version": "22.1.0-alpha.2",
44
"description": "Stripe API wrapper",
55
"keywords": [
66
"stripe",

src/stripe.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ const defaultRequestSenderFactory: RequestSenderFactory = (stripe) =>
10761076
new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
10771077

10781078
export class Stripe {
1079-
static PACKAGE_VERSION = '22.1.0-alpha.1';
1079+
static PACKAGE_VERSION = '22.1.0-alpha.2';
10801080
static API_VERSION: typeof ApiVersion = ApiVersion;
10811081
static aiAgent =
10821082
typeof process !== 'undefined' && process.env

src/stripe.esm.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ const defaultRequestSenderFactory: RequestSenderFactory = (stripe) =>
10771077
new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
10781078

10791079
export class Stripe {
1080-
static PACKAGE_VERSION = '22.1.0-alpha.1';
1080+
static PACKAGE_VERSION = '22.1.0-alpha.2';
10811081
static API_VERSION: typeof ApiVersion = ApiVersion;
10821082
static aiAgent =
10831083
typeof process !== 'undefined' && process.env

0 commit comments

Comments
 (0)