From f76b2fd0909d5078d2632cec817d1b9eb98f0ad9 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Thu, 9 May 2024 12:45:21 -0700 Subject: [PATCH] Bump version to 15.7.0-beta.1 --- CHANGELOG.md | 69 +++++++++++++++++++++++++--------------------- VERSION | 2 +- package.json | 2 +- src/stripe.core.ts | 2 +- 4 files changed, 40 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e393edc835..eab29e1a76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 15.7.0-beta.1 - 2024-05-09 +* [#2079](https://github.com/stripe/stripe-node/pull/2079) Update generated code for beta + * No new beta features. Merging changes from the main branch. + + ## 15.6.0-beta.1 - 2024-05-02 * [#2073](https://github.com/stripe/stripe-node/pull/2073) Update generated code for beta * Add support for `rechnung_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` @@ -14,17 +19,17 @@ ## 15.5.0 - 2024-05-02 * [#2072](https://github.com/stripe/stripe-node/pull/2072) Update generated code - * Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` - * Fix properties incorrectly marked as required in the OpenAPI spec. - * Change `Apps.Secret.payload`, `BillingPortal.Configuration.features.subscription_update.products`, `Charge.refunds`, `ConfirmationToken.payment_method_preview.klarna.dob`, `Identity.VerificationReport.document.dob`, `Identity.VerificationReport.document.expiration_date`, `Identity.VerificationReport.document.number`, `Identity.VerificationReport.id_number.dob`, `Identity.VerificationReport.id_number.id_number`, `Identity.VerificationSession.provided_details`, `Identity.VerificationSession.verified_outputs.dob`, `Identity.VerificationSession.verified_outputs.id_number`, `Identity.VerificationSession.verified_outputs`, `Issuing.Dispute.balance_transactions`, `Issuing.Transaction.purchase_details`, `PaymentMethod.klarna.dob`, `Tax.Calculation.line_items`, `Tax.CalculationLineItem.tax_breakdown`, `Tax.Transaction.line_items`, `Treasury.FinancialAccount.financial_addresses[].aba.account_number`, `Treasury.ReceivedCredit.linked_flows.source_flow_details`, `Treasury.Transaction.entries`, `Treasury.Transaction.flow_details`, and `Treasury.TransactionEntry.flow_details` to be optional - * Add support for `paypal` on `Dispute.payment_method_details` - * Change type of `Dispute.payment_method_details.type` from `literal('card')` to `enum('card'|'paypal')` - * Change type of `Entitlements.FeatureUpdateParams.metadata` from `map(string: string)` to `emptyable(map(string: string))` - * Add support for `payment_method_types` on `PaymentIntentConfirmParams` - * Add support for `ship_from_details` on `Tax.CalculationCreateParams`, `Tax.Calculation`, and `Tax.Transaction` - * Add support for `bh`, `eg`, `ge`, `ke`, `kz`, `ng`, and `om` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options` + * Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` + * Fix properties incorrectly marked as required in the OpenAPI spec. + * Change `Apps.Secret.payload`, `BillingPortal.Configuration.features.subscription_update.products`, `Charge.refunds`, `ConfirmationToken.payment_method_preview.klarna.dob`, `Identity.VerificationReport.document.dob`, `Identity.VerificationReport.document.expiration_date`, `Identity.VerificationReport.document.number`, `Identity.VerificationReport.id_number.dob`, `Identity.VerificationReport.id_number.id_number`, `Identity.VerificationSession.provided_details`, `Identity.VerificationSession.verified_outputs.dob`, `Identity.VerificationSession.verified_outputs.id_number`, `Identity.VerificationSession.verified_outputs`, `Issuing.Dispute.balance_transactions`, `Issuing.Transaction.purchase_details`, `PaymentMethod.klarna.dob`, `Tax.Calculation.line_items`, `Tax.CalculationLineItem.tax_breakdown`, `Tax.Transaction.line_items`, `Treasury.FinancialAccount.financial_addresses[].aba.account_number`, `Treasury.ReceivedCredit.linked_flows.source_flow_details`, `Treasury.Transaction.entries`, `Treasury.Transaction.flow_details`, and `Treasury.TransactionEntry.flow_details` to be optional + * Add support for `paypal` on `Dispute.payment_method_details` + * Change type of `Dispute.payment_method_details.type` from `literal('card')` to `enum('card'|'paypal')` + * Change type of `Entitlements.FeatureUpdateParams.metadata` from `map(string: string)` to `emptyable(map(string: string))` + * Add support for `payment_method_types` on `PaymentIntentConfirmParams` + * Add support for `ship_from_details` on `Tax.CalculationCreateParams`, `Tax.Calculation`, and `Tax.Transaction` + * Add support for `bh`, `eg`, `ge`, `ke`, `kz`, `ng`, and `om` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options` * [#2077](https://github.com/stripe/stripe-node/pull/2077) Deprecate Node methods and params based on OpenAPI spec - - Mark as deprecated the `approve` and `decline` methods on `Issuing.Authorization`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). + - Mark as deprecated the `approve` and `decline` methods on `Issuing.Authorization`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). - Mark as deprecated the `persistent_token` property on `ConfirmationToken.PaymentMethodPreview.Link`, `PaymentIntent.PaymentMethodOptions.Link`, `PaymentIntentResource.PaymentMethodOptions.Link`, `PaymentMethod.Link.persistent_token`. `SetupIntents.PaymentMethodOptions.Card.Link.persistent_token`, `SetupIntentsResource.persistent_token`. This is a legacy parameter that no longer has any function. * [#2074](https://github.com/stripe/stripe-node/pull/2074) Add a more explicit comment on `limit` param in `autoPagingToArray` @@ -35,14 +40,14 @@ ## 15.4.0 - 2024-04-25 * [#2071](https://github.com/stripe/stripe-node/pull/2071) Update generated code - * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.amazon_pay`, `Checkout.Session.payment_method_options.revolut_pay`, `PaymentIntent.payment_method_options.amazon_pay`, and `PaymentIntent.payment_method_options.revolut_pay` - * Change type of `Entitlements.ActiveEntitlement.feature` from `string` to `expandable(Entitlements.Feature)` - * Remove support for inadvertently released identity verification features `email` and `phone` on `Identity.VerificationSessionCreateParams.options` and `Identity.VerificationSessionUpdateParams.options` - * Change `Identity.VerificationSession.provided_details`, `Identity.VerificationSession.verified_outputs.email`, and `Identity.VerificationSession.verified_outputs.phone` to be required - * Add support for new values `amazon_pay` and `revolut_pay` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - * Add support for `amazon_pay` and `revolut_pay` on `Mandate.payment_method_details` and `SetupAttempt.payment_method_details` - * Add support for `ending_before`, `limit`, and `starting_after` on `PaymentMethodConfigurationListParams` - * Add support for `mobilepay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` + * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.amazon_pay`, `Checkout.Session.payment_method_options.revolut_pay`, `PaymentIntent.payment_method_options.amazon_pay`, and `PaymentIntent.payment_method_options.revolut_pay` + * Change type of `Entitlements.ActiveEntitlement.feature` from `string` to `expandable(Entitlements.Feature)` + * Remove support for inadvertently released identity verification features `email` and `phone` on `Identity.VerificationSessionCreateParams.options` and `Identity.VerificationSessionUpdateParams.options` + * Change `Identity.VerificationSession.provided_details`, `Identity.VerificationSession.verified_outputs.email`, and `Identity.VerificationSession.verified_outputs.phone` to be required + * Add support for new values `amazon_pay` and `revolut_pay` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` + * Add support for `amazon_pay` and `revolut_pay` on `Mandate.payment_method_details` and `SetupAttempt.payment_method_details` + * Add support for `ending_before`, `limit`, and `starting_after` on `PaymentMethodConfigurationListParams` + * Add support for `mobilepay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` * [#2061](https://github.com/stripe/stripe-node/pull/2061) Make cloudflare package export ## 15.4.0-beta.1 - 2024-04-18 @@ -249,14 +254,14 @@ ## 14.22.0-beta.1 - 2024-03-14 * [#2036](https://github.com/stripe/stripe-node/pull/2036) Update generated code for beta - * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` - * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter` - * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` - * Add support for `create` test helper method on resource `ConfirmationToken` - * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice` - * Add support for `multibanco` payment method throughout the API. - * Add support for `second_line` on `Issuing.PhysicalBundle.features` - * Add support for `multibanco_display_details` on `PaymentIntent.next_action` + * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` + * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter` + * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` + * Add support for `create` test helper method on resource `ConfirmationToken` + * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice` + * Add support for `multibanco` payment method throughout the API. + * Add support for `second_line` on `Issuing.PhysicalBundle.features` + * Add support for `multibanco_display_details` on `PaymentIntent.next_action` * Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring` ## 14.21.0 - 2024-03-14 @@ -281,12 +286,12 @@ ## 14.20.0-beta.1 - 2024-02-29 * [#2026](https://github.com/stripe/stripe-node/pull/2026) Update generated code for beta - * Remove support for resource `Entitlements.Event` - * Change type of `ConfirmationToken.mandate_data` from `ConfirmationTokensResourceMandateData | null` to `ConfirmationTokensResourceMandateData` - * Change `ConfirmationToken.mandate_data`, `ConfirmationToken.payment_method_options`, and `ConfirmationToken.payment_method` to be optional - * Remove support for `quantity` and `type` on `Entitlements.FeatureCreateParams` and `Entitlements.Feature` - * Add support for `livemode` on `Issuing.PersonalizationDesign` - * Add support for `application_fee_amount`, `description`, `metadata`, and `transfer_data` on `PaymentIntentDecrementAuthorizationParams` + * Remove support for resource `Entitlements.Event` + * Change type of `ConfirmationToken.mandate_data` from `ConfirmationTokensResourceMandateData | null` to `ConfirmationTokensResourceMandateData` + * Change `ConfirmationToken.mandate_data`, `ConfirmationToken.payment_method_options`, and `ConfirmationToken.payment_method` to be optional + * Remove support for `quantity` and `type` on `Entitlements.FeatureCreateParams` and `Entitlements.Feature` + * Add support for `livemode` on `Issuing.PersonalizationDesign` + * Add support for `application_fee_amount`, `description`, `metadata`, and `transfer_data` on `PaymentIntentDecrementAuthorizationParams` * Add support for `enable_customer_cancellation` on `Terminal.Reader.action.collect_payment_method.collect_config` and `Terminal.ReaderCollectPaymentMethodParams.collect_config` ## 14.19.0 - 2024-02-29 diff --git a/VERSION b/VERSION index fd4c9d4a89..e70008dee7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -15.6.0-beta.1 +15.7.0-beta.1 diff --git a/package.json b/package.json index 2250911fbe..24dbca39d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stripe", - "version": "15.6.0-beta.1", + "version": "15.7.0-beta.1", "description": "Stripe API wrapper", "keywords": [ "stripe", diff --git a/src/stripe.core.ts b/src/stripe.core.ts index 91d63e13a3..77cf188de3 100644 --- a/src/stripe.core.ts +++ b/src/stripe.core.ts @@ -55,7 +55,7 @@ export function createStripe( platformFunctions: PlatformFunctions, requestSender: RequestSenderFactory = defaultRequestSenderFactory ): typeof Stripe { - Stripe.PACKAGE_VERSION = '15.6.0-beta.1'; + Stripe.PACKAGE_VERSION = '15.7.0-beta.1'; Stripe.USER_AGENT = { bindings_version: Stripe.PACKAGE_VERSION, lang: 'node',