diff --git a/CHANGELOG.md b/CHANGELOG.md index 84060fa190..134d200b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 17.5.0-beta.1 - 2024-11-21 +* [#2229](https://github.com/stripe/stripe-node/pull/2229) Update generated code for beta + * Add support for `network_advice_code` and `network_decline_code` on `Charge.outcome`, `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError` + * Change `BillingPortal.Configuration.features.subscription_update.schedule_at_period_end` and `LineItem.description` to be required + * Add support for `funding` on `Charge.payment_method_details.amazon_pay` and `Charge.payment_method_details.revolut_pay` + * Add support for `amount_requested` and `partial_authorization` on `Charge.payment_method_details.card` + * Add support for `metadata` on `Checkout.SessionCreateParams.line_items[]` and `LineItem` + * Add support for `line_items` on `Checkout.Session.permissions.update`, `Checkout.SessionCreateParams.permissions.update`, and `Checkout.SessionUpdateParams` + * Add support for new value `invoice.overpaid` on enum `Event.type` + * Add support for `adjustable_quantity` and `display` on `LineItem` + * Change type of `LineItem.description` from `string` to `string | null` + * Add support for `request_partial_authorization` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card` + * Add support for `payment_method_options` on `PaymentIntentIncrementAuthorizationParams` + * Add support for new value `invoice.overpaid` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` + ## 17.4.0 - 2024-11-20 * [#2222](https://github.com/stripe/stripe-node/pull/2222) This release changes the pinned API version to `2024-11-20.acacia`. * Add support for `respond` test helper method on resource `Issuing.Authorization` diff --git a/VERSION b/VERSION index 4880bd2cdf..a68762eb3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -17.4.0-beta.3 +17.5.0-beta.1 diff --git a/package.json b/package.json index 9dfc254e73..69c5a51d4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stripe", - "version": "17.4.0-beta.3", + "version": "17.5.0-beta.1", "description": "Stripe API wrapper", "keywords": [ "stripe", diff --git a/src/stripe.core.ts b/src/stripe.core.ts index d79d9b74d4..357aadd563 100644 --- a/src/stripe.core.ts +++ b/src/stripe.core.ts @@ -59,7 +59,7 @@ export function createStripe( platformFunctions: PlatformFunctions, requestSender: RequestSenderFactory = defaultRequestSenderFactory ): typeof Stripe { - Stripe.PACKAGE_VERSION = '17.4.0-beta.3'; + Stripe.PACKAGE_VERSION = '17.5.0-beta.1'; Stripe.USER_AGENT = { bindings_version: Stripe.PACKAGE_VERSION, lang: 'node',