stripe 12.7.0-beta.1 → 12.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +110 -303
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +11 -45
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +1 -32
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Accounts.d.ts +1 -40
- package/types/AccountsResource.d.ts +0 -71
- package/types/Charges.d.ts +0 -26
- package/types/Checkout/Sessions.d.ts +0 -24
- package/types/Checkout/SessionsResource.d.ts +2 -17
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/Discounts.d.ts +0 -10
- package/types/FinancialConnections/Accounts.d.ts +0 -74
- package/types/FinancialConnections/AccountsResource.d.ts +1 -75
- package/types/FinancialConnections/Sessions.d.ts +0 -50
- package/types/FinancialConnections/SessionsResource.d.ts +0 -39
- package/types/InvoiceItemsResource.d.ts +0 -88
- package/types/Invoices.d.ts +160 -42
- package/types/InvoicesResource.d.ts +0 -432
- package/types/Issuing/Authorizations.d.ts +0 -25
- package/types/Issuing/CardholdersResource.d.ts +2 -4
- package/types/Issuing/Cards.d.ts +0 -5
- package/types/Issuing/CardsResource.d.ts +0 -5
- package/types/Issuing/Transactions.d.ts +0 -17
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -11
- package/types/PaymentIntents.d.ts +157 -37
- package/types/PaymentIntentsResource.d.ts +0 -148
- package/types/PaymentMethods.d.ts +0 -16
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -520
- package/types/QuotesResource.d.ts +200 -2933
- package/types/SetupAttempts.d.ts +157 -1
- package/types/SetupIntents.d.ts +157 -30
- package/types/SetupIntentsResource.d.ts +0 -87
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -23
- package/types/SubscriptionItemsResource.d.ts +0 -147
- package/types/SubscriptionSchedules.d.ts +0 -221
- package/types/SubscriptionSchedulesResource.d.ts +1 -1232
- package/types/Subscriptions.d.ts +1 -57
- package/types/SubscriptionsResource.d.ts +0 -451
- package/types/Terminal/Readers.d.ts +0 -177
- package/types/Terminal/ReadersResource.d.ts +0 -171
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -44
- package/types/index.d.ts +0 -47
- package/cjs/resources/AccountSessions.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Transactions.js +0 -13
- package/cjs/resources/GiftCards/Cards.js +0 -29
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CardBundles.js +0 -17
- package/cjs/resources/Issuing/CardDesigns.js +0 -21
- package/cjs/resources/Orders.js +0 -42
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Registrations.js +0 -21
- package/cjs/resources/Tax/Settings.js +0 -16
- package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +0 -16
- package/esm/resources/AccountSessions.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Transactions.js +0 -10
- package/esm/resources/GiftCards/Cards.js +0 -26
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CardBundles.js +0 -14
- package/esm/resources/Issuing/CardDesigns.js +0 -18
- package/esm/resources/Orders.js +0 -39
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Registrations.js +0 -18
- package/esm/resources/Tax/Settings.js +0 -13
- package/esm/resources/TestHelpers/Issuing/CardDesigns.js +0 -13
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -27
- package/types/Capital/FinancingOffers.d.ts +0 -183
- package/types/Capital/FinancingOffersResource.d.ts +0 -94
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/InferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Transactions.d.ts +0 -85
- package/types/FinancialConnections/TransactionsResource.d.ts +0 -48
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/Issuing/CardBundles.d.ts +0 -48
- package/types/Issuing/CardBundlesResource.d.ts +0 -63
- package/types/Issuing/CardDesigns.d.ts +0 -58
- package/types/Issuing/CardDesignsResource.d.ts +0 -113
- package/types/Orders.d.ts +0 -1032
- package/types/OrdersResource.d.ts +0 -2647
- package/types/QuoteLines.d.ts +0 -548
- package/types/QuotePhases.d.ts +0 -196
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/Tax/Registrations.d.ts +0 -914
- package/types/Tax/RegistrationsResource.d.ts +0 -1158
- package/types/Tax/Settings.d.ts +0 -93
- package/types/Tax/SettingsResource.d.ts +0 -94
- package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +0 -55
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 12.7.0
|
|
4
|
-
* [#
|
|
5
|
-
* Add support for `
|
|
6
|
-
*
|
|
7
|
-
* Add support for `
|
|
8
|
-
* Add support for new value `
|
|
3
|
+
## 12.7.0 - 2023-05-25
|
|
4
|
+
* [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
|
|
5
|
+
* Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
6
|
+
* Change type of `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` from `string` to `enum`
|
|
7
|
+
* Add support for `zip` on `Charge.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
|
|
8
|
+
* Add support for new value `zip` on enums `CheckoutSessionCreateParams.payment_method_types[]` and `PaymentMethodCreateParams.type`
|
|
9
|
+
* Add support for new value `zip` on enums `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type`
|
|
10
|
+
* Add support for new value `zip` on enums `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
|
|
11
|
+
* Add support for new value `zip` on enum `PaymentMethod.type`
|
|
9
12
|
|
|
10
13
|
## 12.6.0 - 2023-05-19
|
|
11
14
|
* [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
|
|
@@ -15,18 +18,6 @@
|
|
|
15
18
|
* Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
|
|
16
19
|
* Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
|
|
17
20
|
|
|
18
|
-
## 12.6.0-beta.1 - 2023-05-11
|
|
19
|
-
* [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
|
|
20
|
-
* Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
|
|
21
|
-
* Change `Charge.payment_method_details.paypal.payer_id`, `Charge.payment_method_details.paypal.verified_email`, `Charge.payment_method_details.paypal.verified_name`, `SetupIntent.payment_method_options.paypal.currency`, and `Tax.Settings.locations` to be optional
|
|
22
|
-
* Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
|
|
23
|
-
* Add support for `reference` on `CheckoutSessionCreateParams.payment_method_options.paypal`, `Order.payment.settings.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntent.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, and `PaymentIntentUpdateParams.payment_method_options.paypal`
|
|
24
|
-
* Add support for `risk_correlation_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, and `PaymentIntentUpdateParams.payment_method_options.paypal`
|
|
25
|
-
* Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
|
|
26
|
-
* Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
|
|
27
|
-
* Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
|
|
28
|
-
* Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
|
|
29
|
-
|
|
30
21
|
## 12.5.0 - 2023-05-11
|
|
31
22
|
* [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
|
|
32
23
|
* Add support for `paypal` on `Charge.payment_method_details`, `CheckoutSessionCreateParams.payment_method_options`, `Mandate.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_options`
|
|
@@ -44,25 +35,12 @@
|
|
|
44
35
|
* Add support for `effective_percentage` on `TaxRate`
|
|
45
36
|
* Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
|
|
46
37
|
|
|
47
|
-
## 12.5.0-beta.1 - 2023-05-04
|
|
48
|
-
* [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
|
|
49
|
-
* Updated stable APIs to the latest version
|
|
50
|
-
|
|
51
38
|
## 12.4.0 - 2023-05-04
|
|
52
39
|
* [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
|
|
53
40
|
* Add support for `link` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
|
|
54
41
|
* Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
|
|
55
42
|
* [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
|
|
56
43
|
|
|
57
|
-
## 12.4.0-beta.1 - 2023-04-27
|
|
58
|
-
* [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
|
|
59
|
-
* Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
|
|
60
|
-
* Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
|
|
61
|
-
* Add support for `metadata` on `PaymentIntentCaptureParams`
|
|
62
|
-
* Add support for `checks` on `SetupAttempt.payment_method_details.card`
|
|
63
|
-
* Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
|
|
64
|
-
* Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
|
|
65
|
-
|
|
66
44
|
## 12.3.0 - 2023-04-27
|
|
67
45
|
* [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
|
|
68
46
|
* Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
|
|
@@ -71,12 +49,6 @@
|
|
|
71
49
|
* Add support for `checks` on `SetupAttempt.payment_method_details.card`
|
|
72
50
|
* Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
|
|
73
51
|
|
|
74
|
-
## 12.3.0-beta.1 - 2023-04-20
|
|
75
|
-
* [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
|
|
76
|
-
* Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
77
|
-
* Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
|
|
78
|
-
* Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
|
|
79
|
-
|
|
80
52
|
## 12.2.0 - 2023-04-20
|
|
81
53
|
* [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
|
|
82
54
|
* Change `Checkout.Session.currency_conversion` to be required
|
|
@@ -86,16 +58,6 @@
|
|
|
86
58
|
* [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
|
|
87
59
|
* [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
|
|
88
60
|
|
|
89
|
-
## 12.2.0-beta.1 - 2023-04-13
|
|
90
|
-
* [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
|
|
91
|
-
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
|
92
|
-
* Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
93
|
-
* Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
|
|
94
|
-
* Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
|
|
95
|
-
* Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
|
|
96
|
-
* Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
|
|
97
|
-
* Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
98
|
-
|
|
99
61
|
## 12.1.1 - 2023-04-13
|
|
100
62
|
No product changes.
|
|
101
63
|
|
|
@@ -104,16 +66,6 @@ No product changes.
|
|
|
104
66
|
* Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
|
|
105
67
|
* [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
|
|
106
68
|
|
|
107
|
-
## 12.1.0-beta.1 - 2023-04-06
|
|
108
|
-
* [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
|
|
109
|
-
* Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
|
|
110
|
-
* Add support for `transaction` on `Capital.FinancingTransaction.details`
|
|
111
|
-
* Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
|
|
112
|
-
* Change `IssuingCardholderCreateParams.type` to be optional
|
|
113
|
-
* Add support for `country` on `PaymentMethod.link`
|
|
114
|
-
* Add support for `status_details` on `PaymentMethod.us_bank_account`
|
|
115
|
-
* [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
|
|
116
|
-
|
|
117
69
|
## 12.0.0 - 2023-04-06
|
|
118
70
|
* [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
|
|
119
71
|
This was added to maintain backwards compatibility during the transition of stripe-node to a dual ES module / CommonJS package, and should not be functionally necessary.
|
|
@@ -156,11 +108,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
156
108
|
* Add support for `status_details` on `PaymentMethod.us_bank_account`
|
|
157
109
|
* [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
|
|
158
110
|
|
|
159
|
-
## 11.18.0-beta.1 - 2023-03-30
|
|
160
|
-
* [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
|
|
161
|
-
* Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
|
|
162
|
-
* Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
|
|
163
|
-
|
|
164
111
|
## 11.17.0 - 2023-03-30
|
|
165
112
|
* [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
|
|
166
113
|
* Remove support for `create` method on resource `Tax.Transaction`
|
|
@@ -170,21 +117,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
170
117
|
* This is not a breaking change, as `deleted` was never returned or accepted as input.
|
|
171
118
|
* Add support for `amount_tip` on `TerminalReaderPresentPaymentMethodParams.testHelpers`
|
|
172
119
|
|
|
173
|
-
## 11.17.0-beta.1 - 2023-03-23
|
|
174
|
-
* [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
|
|
175
|
-
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
|
176
|
-
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
|
177
|
-
* Add support for `financing_offer` on `Capital.FinancingSummary`
|
|
178
|
-
* Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
|
|
179
|
-
* Add support for `fx_rate` on `Checkout.Session.currency_conversion`
|
|
180
|
-
* Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
|
|
181
|
-
* Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
|
|
182
|
-
* Remove support for `preview` on `TaxCalculationCreateParams`
|
|
183
|
-
* Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
|
|
184
|
-
* Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
|
|
185
|
-
* Add support for `collect_inputs` on `Terminal.Reader.action`
|
|
186
|
-
* Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
|
|
187
|
-
|
|
188
120
|
## 11.16.0 - 2023-03-23
|
|
189
121
|
* [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
|
|
190
122
|
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
|
@@ -196,19 +128,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
196
128
|
* Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
|
|
197
129
|
* [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
|
|
198
130
|
|
|
199
|
-
## 11.16.0-beta.1 - 2023-03-17
|
|
200
|
-
* [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
|
|
201
|
-
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
|
202
|
-
* Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
|
|
203
|
-
* Add support for `paypal` on `Mandate.payment_method_details`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options`
|
|
204
|
-
* Add support for new value `automatic_async` on enums `Order.payment.settings.payment_method_options.afterpay_clearpay.capture_method`, `Order.payment.settings.payment_method_options.card.capture_method`, `OrderCreateParams.payment.settings.payment_method_options.afterpay_clearpay.capture_method`, `OrderCreateParams.payment.settings.payment_method_options.card.capture_method`, `OrderUpdateParams.payment.settings.payment_method_options.afterpay_clearpay.capture_method`, and `OrderUpdateParams.payment.settings.payment_method_options.card.capture_method`
|
|
205
|
-
* Add support for `setup_future_usage` on `Order.payment.settings.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntent.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, and `PaymentIntentUpdateParams.payment_method_options.paypal`
|
|
206
|
-
* Change `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.hosted_instructions_url`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.mobile_auth_url`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.expires_at`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_png`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_svg`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.hosted_instructions_url`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.mobile_auth_url`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.expires_at`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_png`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_svg`, and `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code` to be required
|
|
207
|
-
* Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
|
|
208
|
-
* Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
|
|
209
|
-
* Add support for `tax_breakdown` on `Tax.Calculation`
|
|
210
|
-
* Remove support for `tax_summary` on `Tax.Calculation`
|
|
211
|
-
|
|
212
131
|
## 11.15.0 - 2023-03-16
|
|
213
132
|
* [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
|
|
214
133
|
* Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
@@ -237,16 +156,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
237
156
|
* Add support for new value `cashapp` on enum `PaymentMethod.type`
|
|
238
157
|
* Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
239
158
|
|
|
240
|
-
## 11.15.0-beta.1 - 2023-03-09
|
|
241
|
-
* [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
|
|
242
|
-
* Updated stable APIs to the latest version
|
|
243
|
-
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
|
244
|
-
* Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
|
|
245
|
-
* Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
|
|
246
|
-
* Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
|
|
247
|
-
* Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
|
|
248
|
-
* Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
|
|
249
|
-
|
|
250
159
|
## 11.14.0 - 2023-03-09
|
|
251
160
|
* [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
|
|
252
161
|
* Add support for `card_issuing` on `IssuingCardholderCreateParams.individual` and `IssuingCardholderUpdateParams.individual`
|
|
@@ -257,25 +166,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
257
166
|
* [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
|
|
258
167
|
* [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
|
|
259
168
|
|
|
260
|
-
## 11.14.0-beta.2 - 2023-03-03
|
|
261
|
-
* [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
|
|
262
|
-
* Updated stable APIs to the latest version
|
|
263
|
-
* Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
|
|
264
|
-
* Add support for `prebilling` on `SubscriptionScheduleAmendParams`
|
|
265
|
-
* Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
|
|
266
|
-
* Add support for `tax_summary` on `Tax.Calculation`
|
|
267
|
-
* Remove support for `tax_breakdown` on `Tax.Calculation`
|
|
268
|
-
|
|
269
|
-
## 11.14.0-beta.1 - 2023-03-02
|
|
270
|
-
* [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
|
|
271
|
-
* Updated stable APIs to the latest version
|
|
272
|
-
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
|
273
|
-
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
|
274
|
-
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
|
275
|
-
* Remove support for `controller` on `AccountUpdateParams`
|
|
276
|
-
* Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
|
|
277
|
-
* Add support for new values `issuing_card_design.activated`, `issuing_card_design.deactivated`, and `issuing_card_design.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
278
|
-
|
|
279
169
|
## 11.13.0 - 2023-03-02
|
|
280
170
|
* [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
|
|
281
171
|
* Add support for new values `electric_vehicle_charging`, `emergency_services_gcas_visa_use_only`, `government_licensed_horse_dog_racing_us_region_only`, `government_licensed_online_casions_online_gambling_us_region_only`, `government_owned_lotteries_non_us_region`, `government_owned_lotteries_us_region_only`, and `marketplaces` on spending control categories.
|
|
@@ -284,14 +174,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
284
174
|
|
|
285
175
|
* [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
|
|
286
176
|
|
|
287
|
-
## 11.13.0-beta.1 - 2023-02-23
|
|
288
|
-
* [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
|
|
289
|
-
* Updated stable APIs to the latest version
|
|
290
|
-
* Add support for `manual_entry` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, and `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`
|
|
291
|
-
* Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
|
|
292
|
-
* Change `TaxTransactionCreateParams.reference` to be required
|
|
293
|
-
* Add support for new values `capital.financing_offer.accepted`, `capital.financing_offer.canceled`, `capital.financing_offer.created`, `capital.financing_offer.expired`, `capital.financing_offer.fully_repaid`, `capital.financing_offer.paid_out`, `capital.financing_offer.rejected`, and `capital.financing_offer.replacement_created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
294
|
-
|
|
295
177
|
## 11.12.0 - 2023-02-23
|
|
296
178
|
* [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
|
|
297
179
|
* Add support for new value `yoursafe` on enums `Charge.payment_method_details.ideal.bank`, `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethod.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `SetupAttempt.payment_method_details.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank`
|
|
@@ -299,15 +181,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
299
181
|
* Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
|
|
300
182
|
* [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
|
|
301
183
|
|
|
302
|
-
## 11.12.0-beta.1 - 2023-02-16
|
|
303
|
-
* [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
|
|
304
|
-
* Updated stable APIs to the latest version
|
|
305
|
-
* Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
|
|
306
|
-
* Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
|
|
307
|
-
* Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
|
|
308
|
-
* Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
|
|
309
|
-
* Add support for `reference` on `TaxTransactionCreateParams`
|
|
310
|
-
|
|
311
184
|
## 11.11.0 - 2023-02-16
|
|
312
185
|
* [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
|
|
313
186
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
|
@@ -322,32 +195,9 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
322
195
|
* [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
|
|
323
196
|
* [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
|
|
324
197
|
|
|
325
|
-
## 11.11.0-beta.1 - 2023-02-13
|
|
326
|
-
* [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
|
|
327
|
-
* Updated stable APIs to the latest version
|
|
328
|
-
* Add support for `currency_conversion` on `Checkout.Session`
|
|
329
|
-
* Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
|
|
330
|
-
* Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
|
|
331
|
-
|
|
332
198
|
## 11.10.0 - 2023-02-09
|
|
333
199
|
* [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
|
|
334
200
|
|
|
335
|
-
## 11.10.0-beta.1 - 2023-02-02
|
|
336
|
-
* [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
|
|
337
|
-
* Updated stable APIs to the latest version
|
|
338
|
-
* Add support for new resource `FinancialConnections.Transaction`
|
|
339
|
-
* Add support for `list` method on resource `Transaction`
|
|
340
|
-
* Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
|
|
341
|
-
* Change `CheckoutSessionCreateParams.payment_method_options.paypal.currency`, `IssuingCardholderCreateParams.individual.first_name`, `IssuingCardholderCreateParams.individual.last_name`, `IssuingCardholderUpdateParams.individual.first_name`, `IssuingCardholderUpdateParams.individual.last_name`, and `Quote.subscription_data_overrides[].bill_on_acceptance` to be optional
|
|
342
|
-
* Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
|
|
343
|
-
* Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
|
|
344
|
-
* Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
|
|
345
|
-
* Add support for `status_details` and `status` on `FinancialConnections.Session`
|
|
346
|
-
* Add support for new value `ownership` on enums `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]` and `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]`
|
|
347
|
-
* Add support for `account_number` on `PaymentMethod.us_bank_account`
|
|
348
|
-
* Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
|
|
349
|
-
* Add support for new values `customer.subscription.paused`, `customer.subscription.resumed`, `financial_connections.account.refreshed_inferred_balances`, `financial_connections.account.refreshed_ownership`, `financial_connections.account.refreshed_transactions`, and `financial_connections.session.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
350
|
-
|
|
351
201
|
## 11.9.1 - 2023-02-03
|
|
352
202
|
* [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
|
|
353
203
|
|
|
@@ -373,23 +223,12 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
373
223
|
* [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
|
|
374
224
|
* [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
|
|
375
225
|
|
|
376
|
-
## 11.9.0-beta.1 - 2023-01-26
|
|
377
|
-
* [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
|
|
378
|
-
* Updated stable APIs to the latest version
|
|
379
|
-
* Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
|
|
380
|
-
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
|
381
|
-
* Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
|
|
382
|
-
|
|
383
226
|
## 11.8.0 - 2023-01-26
|
|
384
227
|
* [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
|
|
385
228
|
* Add support for new value `BE` on enums `Checkout.Session.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`, `Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`, `PaymentIntent.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`, and `Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`
|
|
386
229
|
* Add support for new values `cs-CZ`, `el-GR`, `en-CZ`, and `en-GR` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`
|
|
387
230
|
* [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
|
|
388
|
-
|
|
389
|
-
## 11.8.0-beta.1 - 2023-01-19
|
|
390
|
-
* [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
|
|
391
|
-
* Updated stable APIs to the latest version
|
|
392
|
-
* Add support for `Tax.Settings` resource.
|
|
231
|
+
* This is technically a breaking change that explicitly defines package entry points and was mistakenly released in a minor version. If your application previously imported other internal files from stripe-node and this change breaks it, please open an issue detailing your use case.
|
|
393
232
|
|
|
394
233
|
## 11.7.0 - 2023-01-19
|
|
395
234
|
* [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
|
|
@@ -397,39 +236,10 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
397
236
|
* Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
398
237
|
* [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
|
|
399
238
|
|
|
400
|
-
## 11.7.0-beta.2 - 2023-01-12
|
|
401
|
-
* [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
|
|
402
|
-
* Updated stable APIs to the latest version
|
|
403
|
-
* Add support for new resource `Tax.Registration`
|
|
404
|
-
* Add support for `create`, `list`, and `update` methods on resource `Registration`
|
|
405
|
-
* Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
|
|
406
|
-
* Add support for `application` and `dashboard` on `Account.controller`
|
|
407
|
-
* Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
|
|
408
|
-
* Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
|
|
409
|
-
* Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
|
|
410
|
-
* Remove support for `index` on `QuoteLine.actions[].add_item.discounts[]`, `QuoteLine.actions[].remove_discount`, `QuoteLine.actions[].set_discounts[]`, `QuoteLine.actions[].set_items[].discounts[]`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts[]`, `SubscriptionSchedule.phases[].discounts[]`, and `SubscriptionSchedule.phases[].items[].discounts[]`
|
|
411
|
-
* Change `QuoteLine.actions[].add_discount.index` to be required
|
|
412
|
-
* Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
413
|
-
|
|
414
|
-
* Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
|
415
|
-
|
|
416
|
-
## 11.7.0-beta.1 - 2023-01-05
|
|
417
|
-
* [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
|
|
418
|
-
* Updated stable APIs to the latest version
|
|
419
|
-
* Add support for `mark_stale_quote` method on resource `Quote`
|
|
420
|
-
* Add support for `duration` and `line_ends_at` on `QuoteCreateParams.subscription_data.bill_on_acceptance.bill_until`, `QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`, `QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_until`, and `QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`
|
|
421
|
-
* Remove support for `line_starts_at` on `QuoteCreateParams.subscription_data.bill_on_acceptance.bill_until`, `QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`, `QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_until`, and `QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`
|
|
422
|
-
* Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
|
|
423
|
-
|
|
424
239
|
## 11.6.0 - 2023-01-05
|
|
425
240
|
* [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
|
|
426
241
|
* Add support for `card_issuing` on `Issuing.Cardholder.individual`
|
|
427
242
|
|
|
428
|
-
## 11.6.0-beta.1 - 2022-12-22
|
|
429
|
-
* [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
|
|
430
|
-
* Updated stable APIs to the latest version
|
|
431
|
-
* Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
|
|
432
|
-
|
|
433
243
|
## 11.5.0 - 2022-12-22
|
|
434
244
|
* [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
|
|
435
245
|
* Add support for new value `merchant_default` on enums `CashBalanceUpdateParams.settings.reconciliation_mode`, `CustomerCreateParams.cash_balance.settings.reconciliation_mode`, and `CustomerUpdateParams.cash_balance.settings.reconciliation_mode`
|
|
@@ -437,13 +247,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
437
247
|
* Change `CheckoutSessionCreateParams.cancel_url` to be optional
|
|
438
248
|
* Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
|
|
439
249
|
|
|
440
|
-
## 11.5.0-beta.1 - 2022-12-15
|
|
441
|
-
* [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
|
|
442
|
-
* Updated stable APIs to the latest version
|
|
443
|
-
* Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
|
|
444
|
-
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
|
445
|
-
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
|
446
|
-
|
|
447
250
|
## 11.4.0 - 2022-12-15
|
|
448
251
|
* [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
|
|
449
252
|
* Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
|
|
@@ -453,12 +256,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
453
256
|
* [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
|
|
454
257
|
* Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
|
|
455
258
|
|
|
456
|
-
## 11.3.0-beta.1 - 2022-12-08
|
|
457
|
-
* [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
|
|
458
|
-
* Updated stable APIs to the latest version
|
|
459
|
-
* [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
|
|
460
|
-
* Updated stable APIs to the latest version
|
|
461
|
-
|
|
462
259
|
## 11.2.0 - 2022-12-06
|
|
463
260
|
* [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
|
|
464
261
|
* Add support for `flow_data` on `BillingPortalSessionCreateParams`
|
|
@@ -482,6 +279,7 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
482
279
|
* Add support for `custom_text` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
|
|
483
280
|
* Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
|
|
484
281
|
|
|
282
|
+
|
|
485
283
|
## 11.0.0 - 2022-11-16
|
|
486
284
|
|
|
487
285
|
This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15
|
|
@@ -494,11 +292,62 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
494
292
|
* [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
|
|
495
293
|
* ⚠️ Remove support for `tos_shown_and_accepted` on `CheckoutSessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
|
|
496
294
|
|
|
497
|
-
|
|
498
|
-
*
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
295
|
+
### ⚠️ Changed
|
|
296
|
+
* Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
|
|
297
|
+
* Change `StripeSignatureVerificationError` to have `header` and `payload` fields instead of `detail`. To access these properties, use `err.header` and `err.payload` instead of `err.detail.header` and `err.detail.payload`. (#1574)
|
|
298
|
+
|
|
299
|
+
### ⚠️ Removed
|
|
300
|
+
* Remove `Orders` resource. (#1580)
|
|
301
|
+
* Remove `SKU` resource (#1583)
|
|
302
|
+
* Remove deprecated `CheckoutSessionCreateParams.subscription_data.items`. (#1580)
|
|
303
|
+
* Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
|
|
304
|
+
|
|
305
|
+
Use the config object to set these options instead, for example:
|
|
306
|
+
```typescript
|
|
307
|
+
const stripe = Stripe('sk_test_...', {
|
|
308
|
+
apiVersion: '2019-08-08',
|
|
309
|
+
maxNetworkRetries: 1,
|
|
310
|
+
httpAgent: new ProxyAgent(process.env.http_proxy),
|
|
311
|
+
timeout: 1000,
|
|
312
|
+
host: 'api.example.com',
|
|
313
|
+
port: 123,
|
|
314
|
+
telemetry: true,
|
|
315
|
+
});
|
|
316
|
+
```
|
|
317
|
+
* Remove deprecated basic method definitions. (#1600)
|
|
318
|
+
Use basic methods defined on the resource instead.
|
|
319
|
+
```typescript
|
|
320
|
+
// Before
|
|
321
|
+
basicMethods: true
|
|
322
|
+
|
|
323
|
+
// After
|
|
324
|
+
create: stripeMethod({
|
|
325
|
+
method: 'POST',
|
|
326
|
+
fullPath: '/v1/resource',
|
|
327
|
+
}),
|
|
328
|
+
list: stripeMethod({
|
|
329
|
+
method: 'GET',
|
|
330
|
+
methodType: 'list',
|
|
331
|
+
fullPath: '/v1/resource',
|
|
332
|
+
}),
|
|
333
|
+
retrieve: stripeMethod({
|
|
334
|
+
method: 'GET',
|
|
335
|
+
fullPath: '/v1/resource/{id}',
|
|
336
|
+
}),
|
|
337
|
+
update: stripeMethod({
|
|
338
|
+
method: 'POST',
|
|
339
|
+
fullPath: '/v1/resource/{id}',
|
|
340
|
+
}),
|
|
341
|
+
// Avoid 'delete' keyword in JS
|
|
342
|
+
del: stripeMethod({
|
|
343
|
+
method: 'DELETE',
|
|
344
|
+
fullPath: '/v1/resource/{id}',
|
|
345
|
+
}),
|
|
346
|
+
```
|
|
347
|
+
* Remove deprecated option names. Use the following option names instead (`OLD`->`NEW`): `api_key`->`apiKey`, `idempotency_key`->`idempotencyKey`, `stripe_account`->`stripeAccount`, `stripe_version`->`apiVersion`, `stripeVersion`->`apiVersion`. (#1600)
|
|
348
|
+
* Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
|
|
349
|
+
* Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
|
|
350
|
+
* Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
|
|
502
351
|
|
|
503
352
|
## 10.17.0 - 2022-11-08
|
|
504
353
|
* [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
|
|
@@ -512,22 +361,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
512
361
|
* Add support for `on_behalf_of` on `CheckoutSessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription`
|
|
513
362
|
* Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
|
|
514
363
|
|
|
515
|
-
## 10.16.0-beta.2 - 2022-11-02
|
|
516
|
-
* [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
|
|
517
|
-
* Updated beta APIs to the latest stable version
|
|
518
|
-
* Add support for `cashappPayments` and `zipPayments` on `Account`.
|
|
519
|
-
* Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
|
|
520
|
-
* Add support for `trialSettings` on `SubscriptionSchedule`.
|
|
521
|
-
|
|
522
|
-
## 10.16.0-beta.1 - 2022-10-21
|
|
523
|
-
* [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
|
|
524
|
-
* Updated stable APIs to the latest version
|
|
525
|
-
* Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
|
|
526
|
-
* Add support for `paypal` on `Charge.payment_method_details` and `Source`
|
|
527
|
-
* Add support for `network_data` on `Issuing.Transaction`
|
|
528
|
-
* Add support for new value `paypal` on enum `Source.type`
|
|
529
|
-
* Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
|
|
530
|
-
|
|
531
364
|
## 10.15.0 - 2022-10-20
|
|
532
365
|
* [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
|
|
533
366
|
* Add support for new values `jp_trn` and `ke_pin` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Order.tax_details.tax_ids[].type`, and `TaxId.type`
|
|
@@ -535,11 +368,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
535
368
|
* Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `TerminalReaderProcessPaymentIntentParams.process_config`
|
|
536
369
|
* [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
|
|
537
370
|
|
|
538
|
-
## 10.15.0-beta.1 - 2022-10-14
|
|
539
|
-
* Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
|
|
540
|
-
* Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
|
|
541
|
-
* Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
|
|
542
|
-
|
|
543
371
|
## 10.14.0 - 2022-10-13
|
|
544
372
|
* [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
|
|
545
373
|
* Add support for new values `invalid_representative_country` and `verification_failed_residential_address` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
|
|
@@ -547,11 +375,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
547
375
|
* Add support for `network_data` on `Issuing.Authorization`
|
|
548
376
|
* ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
|
|
549
377
|
|
|
550
|
-
## 10.14.0-beta.1 - 2022-10-07
|
|
551
|
-
* [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
|
|
552
|
-
* Updated stable APIs to the latest version
|
|
553
|
-
* Add `reference_id` to `Paypal` interface.
|
|
554
|
-
|
|
555
378
|
## 10.13.0 - 2022-10-06
|
|
556
379
|
* [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
|
|
557
380
|
* Add support for new value `invalid_dob_age_under_18` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
|
|
@@ -572,11 +395,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
572
395
|
* [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
|
|
573
396
|
* [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
|
|
574
397
|
|
|
575
|
-
## 10.12.0-beta.1 - 2022-09-26
|
|
576
|
-
* [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
|
|
577
|
-
* Updated stable APIs to the latest version
|
|
578
|
-
* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
|
579
|
-
|
|
580
398
|
## 10.11.0 - 2022-09-22
|
|
581
399
|
* [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
|
|
582
400
|
* Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `CheckoutSessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection`
|
|
@@ -584,6 +402,7 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
584
402
|
* Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
|
|
585
403
|
* Change `SubscriptionSchedule.phases[].currency` to be required
|
|
586
404
|
|
|
405
|
+
|
|
587
406
|
## 10.10.0 - 2022-09-15
|
|
588
407
|
* [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
|
|
589
408
|
* Add support for `pix` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `CheckoutSessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
|
|
@@ -626,11 +445,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
626
445
|
* [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
|
|
627
446
|
* [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
|
|
628
447
|
|
|
629
|
-
## 10.6.0-beta.1 - 2022-08-26
|
|
630
|
-
* [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
|
|
631
|
-
* Updated stable APIs to the latest version
|
|
632
|
-
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
|
633
|
-
|
|
634
448
|
## 10.5.0 - 2022-08-24
|
|
635
449
|
* [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
|
|
636
450
|
* [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
|
|
@@ -645,11 +459,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
645
459
|
* Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
|
|
646
460
|
* This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
|
|
647
461
|
|
|
648
|
-
## 10.4.0-beta.1 - 2022-08-23
|
|
649
|
-
* [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
|
|
650
|
-
- Updated stable APIs to the latest version
|
|
651
|
-
- `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-node/blob/master/README.md#beta-sdks)
|
|
652
|
-
* [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
|
|
653
462
|
|
|
654
463
|
## 10.3.0 - 2022-08-19
|
|
655
464
|
* [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
|
|
@@ -662,15 +471,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
662
471
|
* Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
663
472
|
* [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
|
|
664
473
|
|
|
665
|
-
## 10.3.0-beta.1 - 2022-08-11
|
|
666
|
-
* [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
|
|
667
|
-
- Updated stable APIs to the latest version
|
|
668
|
-
- Add refund_payment method to Terminal resource
|
|
669
|
-
|
|
670
474
|
## 10.2.0 - 2022-08-11
|
|
671
475
|
* [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
|
|
672
476
|
* Add support for `payment_method_collection` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
|
|
673
477
|
|
|
478
|
+
|
|
674
479
|
## 10.1.0 - 2022-08-09
|
|
675
480
|
* [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
|
|
676
481
|
* Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
|
|
@@ -680,22 +485,50 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
680
485
|
* [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
|
|
681
486
|
* Add support for `expires_at` on `Apps.Secret` and `AppsSecretCreateParams`
|
|
682
487
|
|
|
683
|
-
## 10.1.0-beta.1 - 2022-08-03
|
|
684
|
-
* [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
|
|
685
|
-
- Updated stable APIs to the latest version
|
|
686
|
-
- Added the `Order` resource support
|
|
687
|
-
|
|
688
488
|
## 10.0.0 - 2022-08-02
|
|
689
489
|
|
|
690
|
-
|
|
490
|
+
This release includes breaking changes resulting from:
|
|
691
491
|
|
|
692
|
-
|
|
492
|
+
* Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01
|
|
493
|
+
* Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10.
|
|
693
494
|
|
|
694
495
|
"⚠️" symbol highlights breaking changes.
|
|
695
496
|
|
|
696
497
|
* [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
|
|
697
498
|
* [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
|
|
698
499
|
|
|
500
|
+
### Added
|
|
501
|
+
* Add support for new value `invalid_tos_acceptance` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
|
|
502
|
+
* Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
|
|
503
|
+
|
|
504
|
+
### ⚠️ Changed
|
|
505
|
+
* Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
|
|
506
|
+
* Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
|
|
507
|
+
* Change location of TypeScript definitions for `CreditNoteLineItemListPreviewParams`, `CreditNoteLineItemListPreviewParams.Line`, `CreditNoteLineItemListPreviewParams.Line.Type`, and `CreditNoteLineItemListPreviewParams.Line.Reason` interfaces from `CreditNoteLineItems.d.ts` to `CreditNotes.d.ts`.
|
|
508
|
+
* Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
|
|
509
|
+
* Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
|
|
510
|
+
|
|
511
|
+
### ⚠️ Removed
|
|
512
|
+
* Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
|
|
513
|
+
* Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
|
|
514
|
+
* Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
|
|
515
|
+
* Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
|
|
516
|
+
* Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
|
|
517
|
+
* Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
|
|
518
|
+
* Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
|
|
519
|
+
* Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
|
|
520
|
+
* Remove `IssuerFraudRecords` resource.
|
|
521
|
+
* Remove `Recipient` resource and`recipient` property from `Card` resource.
|
|
522
|
+
* Remove `InvoiceMarkUncollectibleParams` definition.
|
|
523
|
+
* Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
|
|
524
|
+
* Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
|
|
525
|
+
* Remove `LineItemListParams` definition. The interface was no longer in use.
|
|
526
|
+
|
|
527
|
+
### ⚠️ Renamed
|
|
528
|
+
* Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
|
|
529
|
+
* Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
|
|
530
|
+
* Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
|
|
531
|
+
|
|
699
532
|
## 9.16.0 - 2022-07-26
|
|
700
533
|
* [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
|
|
701
534
|
* Add support for new value `exempted` on enums `Charge.payment_method_details.card.three_d_secure.result` and `SetupAttempt.payment_method_details.card.three_d_secure.result`
|
|
@@ -712,20 +545,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
712
545
|
* Add support for `mandate` on `InvoicePayParams`
|
|
713
546
|
* Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
|
|
714
547
|
|
|
715
|
-
## 9.15.0-beta.1 - 2022-07-22
|
|
716
|
-
* [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
|
|
717
|
-
- Updated stable APIs to the latest version
|
|
718
|
-
* [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
|
|
719
|
-
- Updated stable APIs to the latest version
|
|
720
|
-
- Add `QuotePhase` resource
|
|
721
|
-
* [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
|
|
722
|
-
- Updated stable APIs to the latest version
|
|
723
|
-
- Add `Price.migrate_to` property
|
|
724
|
-
- Add `SubscriptionSchedule.amend` method.
|
|
725
|
-
- Add `Discount.subscription_item` property.
|
|
726
|
-
- Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
|
|
727
|
-
- Add `phases` parameter to `Quote.create`
|
|
728
|
-
- Add `Subscription.discounts`, `prebilling` properties.
|
|
729
548
|
|
|
730
549
|
## 9.14.0 - 2022-07-18
|
|
731
550
|
* [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
|
|
@@ -748,18 +567,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
748
567
|
* Change `Transfer.source_type` to be optional and not nullable
|
|
749
568
|
* [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
|
|
750
569
|
|
|
751
|
-
## 9.13.0-beta.1 - 2022-07-07
|
|
752
|
-
* [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
|
|
753
|
-
- Include `server_side_confirmation_beta=v1` beta
|
|
754
|
-
- Add `secretKeyConfirmation` to `PaymentIntent`
|
|
755
|
-
* [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
|
|
756
|
-
- Updated stable APIs to the latest version
|
|
757
|
-
* [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
|
|
758
|
-
* [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
|
|
759
|
-
* [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
|
|
760
|
-
* Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
|
|
761
|
-
* [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
|
|
762
|
-
|
|
763
570
|
## 9.12.0 - 2022-07-07
|
|
764
571
|
* [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
|
|
765
572
|
* Add support for `currency` on `CheckoutSessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
|
|
@@ -822,10 +629,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
822
629
|
* Change type of `Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, and `PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]` from `literal('zengin')` to `enum`
|
|
823
630
|
* Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
|
|
824
631
|
|
|
825
|
-
## 9.8.0-beta.1 - 2022-06-08
|
|
826
|
-
* [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
|
|
827
|
-
* Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
|
|
828
|
-
|
|
829
632
|
## 9.7.0 - 2022-06-08
|
|
830
633
|
* [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
|
|
831
634
|
* Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
|
|
@@ -846,6 +649,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
846
649
|
* Add support for `network` on `SetupIntent.payment_method_options.card`
|
|
847
650
|
* Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `TerminalReaderListParams.device_type`
|
|
848
651
|
|
|
652
|
+
|
|
849
653
|
## 9.5.0 - 2022-05-26
|
|
850
654
|
* [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
|
|
851
655
|
* Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
@@ -916,6 +720,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
916
720
|
* Add support for `default_price` on `ProductUpdateParams` and `Product`
|
|
917
721
|
* Add support for `instructions_email` on `RefundCreateParams` and `Refund`
|
|
918
722
|
|
|
723
|
+
|
|
919
724
|
## 8.221.0 - 2022-05-05
|
|
920
725
|
* [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
|
|
921
726
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
|
@@ -1192,6 +997,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
1192
997
|
* [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
|
|
1193
998
|
* Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
|
|
1194
999
|
|
|
1000
|
+
|
|
1195
1001
|
## 8.189.0 - 2021-11-16
|
|
1196
1002
|
* [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
|
|
1197
1003
|
* Add support for new resource `ShippingRate`
|
|
@@ -1214,6 +1020,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
1214
1020
|
* Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
|
|
1215
1021
|
* Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
|
|
1216
1022
|
|
|
1023
|
+
|
|
1217
1024
|
## 8.186.0 - 2021-11-01
|
|
1218
1025
|
* [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
|
|
1219
1026
|
* Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
|
|
@@ -1357,6 +1164,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
1357
1164
|
* Add support for `wallet` on `Issuing.Transaction`
|
|
1358
1165
|
* Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
|
|
1359
1166
|
|
|
1167
|
+
|
|
1360
1168
|
## 8.163.0 - 2021-07-15
|
|
1361
1169
|
* [#1102](https://github.com/stripe/stripe-node/pull/1102), [#1191](https://github.com/stripe/stripe-node/pull/1191) Add support for `stripeAccount` when initializing the client
|
|
1362
1170
|
|
|
@@ -2889,7 +2697,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
|
|
|
2889
2697
|
|
|
2890
2698
|
- [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
|
|
2891
2699
|
|
|
2892
|
-
|
|
2700
|
+
### 2.2.1 - 2013-12-01
|
|
2893
2701
|
|
|
2894
2702
|
- [BUGFIX] Fix user-agent header issue (see issue #75)
|
|
2895
2703
|
|
|
@@ -2952,4 +2760,3 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
|
|
|
2952
2760
|
## 0.0.2 - 2011-09-28
|
|
2953
2761
|
|
|
2954
2762
|
- Initial release with customers and tokens APIs
|
|
2955
|
-
|