Skip to content

Commit

Permalink
Bump version to 13.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Aug 16, 2023
1 parent 9958b1d commit 3799c9a
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog

## 13.0.0 - 2023-08-16
* This release changes the pinned API version to `2023-08-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-08-16) and carefully review the API changes before upgrading `stripe-node`.
* More information is available in the [stripe-node v13 migration guide](https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v13)
" ⚠️" symbol highlights breaking changes.
* ⚠️[#1803](https://github.com/stripe/stripe-node/pull/1803) Change the default behavior to perform 1 reattempt on retryable request failures (previously the default was 0).
* [#1808](https://github.com/stripe/stripe-node/pull/1808) Allow request-level options to disable retries.
* ⚠️Remove deprecated `del` method on `Subcriptions`. Please use the `cancel` method instead, which was introduced in [v9.14.0](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#9140---2022-07-18):
* [#1872](https://github.com/stripe/stripe-node/pull/1872) Update generated code
* ⚠️Add support for new values `verification_directors_mismatch`, `verification_document_directors_mismatch`, `verification_extraneous_directors`, and `verification_missing_directors` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
* ⚠️Remove support for values `custom_account_update` and `custom_account_verification` from enum `AccountLinkCreateParams.type`
* These values are not fully operational
* ⚠️Remove support for `available_on` on `BalanceTransactionListParams`
* Use of this parameter is discouraged. You may use [`.AddExtraParam`](https://github.com/stripe/stripe-dotnet/#parameters) if sending the parameter is still required.
* ⚠️Remove support for `alternate_statement_descriptors` and `dispute` on `Charge`
* Use of these fields is discouraged.
* ⚠️Remove support for `destination` on `Charge`
* Please use `transfer_data` or `on_behalf_of` instead.
* ⚠️Remove support for `shipping_rates` on `Checkout.SessionCreateParams`
* Please use `shipping_options` instead.
* ⚠️Remove support for `coupon` and `trial_from_plan` on `Checkout.SessionCreateParams.subscription_data`
* Please [migrate to the Prices API](https://stripe.com/docs/billing/migration/migrating-prices), or suppress the Typescript error with `// @ts-ignore` or `any` if sending the parameter is still required.
* ⚠️Remove support for value `card_present` from enums `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type`
* This value was not fully operational.
* ⚠️Remove support for value `charge_refunded` from enum `Dispute.status`
* This value was not fully operational.
* ⚠️Remove support for `blik` on `Mandate.payment_method_details`, `PaymentMethodUpdateParams`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options`
* These fields were mistakenly released.
* ⚠️Remove support for `acss_debit`, `affirm`, `au_becs_debit`, `bacs_debit`, `cashapp`, `sepa_debit`, and `zip` on `PaymentMethodUpdateParams`
* These fields are empty.
* ⚠️Remove support for `country` on `PaymentMethod.link`
* This field was not fully operational.
* ⚠️Remove support for `recurring` on `PriceUpdateParams`
* This property should be set on create only.
* ⚠️Remove support for `attributes`, `caption`, and `deactivate_on` on `ProductCreateParams`, `ProductUpdateParams`, and `Product`
* These fields are not fully operational.
* ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`

## 12.18.0 - 2023-08-10
* [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
* Add support for new values `incorporated_partnership` and `unincorporated_partnership` on enums `Account.company.structure`, `AccountCreateParams.company.structure`, `AccountUpdateParams.company.structure`, and `TokenCreateParams.account.company.structure`
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.18.0
13.0.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stripe",
"version": "12.18.0",
"version": "13.0.0",
"description": "Stripe API wrapper",
"keywords": [
"stripe",
Expand Down
2 changes: 1 addition & 1 deletion src/stripe.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function createStripe(
platformFunctions: PlatformFunctions,
requestSender: RequestSenderFactory = defaultRequestSenderFactory
): typeof Stripe {
Stripe.PACKAGE_VERSION = '12.18.0';
Stripe.PACKAGE_VERSION = '13.0.0';
Stripe.USER_AGENT = {
bindings_version: Stripe.PACKAGE_VERSION,
lang: 'node',
Expand Down

0 comments on commit 3799c9a

Please sign in to comment.