Skip to content

Commit 7239288

Browse files
committed
Bump version to 18.3.0-beta.1
1 parent f109b0f commit 7239288

File tree

4 files changed

+50
-4
lines changed

4 files changed

+50
-4
lines changed

CHANGELOG.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# Changelog
22

3+
## 18.3.0-beta.1 - 2025-05-29
4+
This release changes the pinned API version to 2025-05-28.preview.
5+
6+
* [#2324](https://github.com/stripe/stripe-node/pull/2324) Update generated code for beta
7+
### Breaking changes
8+
* Remove support for deprecated previews
9+
* Remove support for resources `Billing.MeterErrorReport`, `GiftCards.Card`, and `GiftCards.Transaction`
10+
* Remove support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `GiftCards.Card`
11+
* Remove support for `cancel`, `confirm`, `create`, `list`, `retrieve`, and `update` methods on resource `GiftCards.Transaction`
12+
* Remove support for `provisioning` on `ProductCreateParams` and `Product`
13+
* Remove support for snapshot event `BillingMeterErrorReportTriggeredEvent` with resource `Billing.MeterErrorReport`
14+
* Remove support for error codes `gift_card_balance_insufficient`, `gift_card_code_exists`, and `gift_card_inactive` on `QuotePreviewInvoice.last_finalization_error` and `StripeError`
15+
* Remove support for values `credits_attributed_to_debits` and `legacy_prorations` from enums `Checkout.SessionCreateParams.subscription_data.billing_mode`, `InvoiceCreatePreviewParams.schedule_details.billing_mode`, `InvoiceCreatePreviewParams.subscription_details.billing_mode`, `Quote.subscription_data.billing_mode`, `QuoteCreateParams.subscription_data.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, `SubscriptionCreateParams.billing_mode`, `SubscriptionSchedule.billing_mode`, and `SubscriptionScheduleCreateParams.billing_mode`
16+
* Change type of `Checkout.SessionUpdateParams.line_items[].quantity` from `emptyable(longInteger)` to `longInteger`
17+
* Change `CreditNote.post_payment_amount` to be required
18+
* Change `CreditNote.pre_payment_amount` to be required
19+
* Change type of `InvoiceCreatePreviewParams.subscription_details.cancel_at`, `SubscriptionCreateParams.cancel_at`, and `SubscriptionUpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
20+
* Remove support for `credits` on `OrderCreateParams`, `OrderUpdateParams`, and `Order`
21+
* Remove support for `amount_remaining` on `Order`
22+
* Remove support for `amount_credit` on `Order.total_details`
23+
* Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `map(string: string) | null` to `map(string: string)`
24+
* Change type of `PaymentRecordReportPaymentAttemptCanceledParams.metadata`, `PaymentRecordReportPaymentAttemptFailedParams.metadata`, `PaymentRecordReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecordReportPaymentAttemptParams.metadata`, and `PaymentRecordReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
25+
* Change type of `Privacy.RedactionJob.status` from `string` to `enum`
26+
* Change type of `Privacy.RedactionJob.validation_behavior` from `string` to `enum('error'|'fix')`
27+
* Change type of `Privacy.RedactionJobValidationError.code` from `string` to `enum`
28+
* Change type of `Privacy.RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
29+
* Remove support for `status_details` and `status` on `Tax.Association`
30+
31+
### Other changes
32+
* Add support for `migrate` method on resource `Subscription`
33+
* Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `ChargeCaptureParams.payment_details.car_rental`, `ChargeUpdateParams.payment_details.car_rental`, `PaymentIntent.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.car_rental`, `PaymentIntentConfirmParams.payment_details.car_rental`, `PaymentIntentCreateParams.payment_details.car_rental`, and `PaymentIntentUpdateParams.payment_details.car_rental`
34+
* Add support for `driver_identification_number` and `driver_tax_number` on `ChargeCaptureParams.payment_details.car_rental.drivers[]`, `ChargeUpdateParams.payment_details.car_rental.drivers[]`, `PaymentIntent.payment_details.car_rental.drivers[]`, `PaymentIntentCaptureParams.payment_details.car_rental.drivers[]`, `PaymentIntentConfirmParams.payment_details.car_rental.drivers[]`, `PaymentIntentCreateParams.payment_details.car_rental.drivers[]`, and `PaymentIntentUpdateParams.payment_details.car_rental.drivers[]`
35+
* Add support for new values `classic` and `flexible` on enums `Checkout.SessionCreateParams.subscription_data.billing_mode`, `InvoiceCreatePreviewParams.schedule_details.billing_mode`, `InvoiceCreatePreviewParams.subscription_details.billing_mode`, `Quote.subscription_data.billing_mode`, `QuoteCreateParams.subscription_data.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, `SubscriptionCreateParams.billing_mode`, `SubscriptionSchedule.billing_mode`, and `SubscriptionScheduleCreateParams.billing_mode`
36+
* Add support for `institution` on `FinancialConnections.Account`
37+
* Add support for `countries` on `FinancialConnections.Institution`
38+
* Add support for `location` and `reader` on `PaymentAttemptRecord.payment_method_details.affirm`, `PaymentAttemptRecord.payment_method_details.wechat_pay`, `PaymentRecord.payment_method_details.affirm`, and `PaymentRecord.payment_method_details.wechat_pay`
39+
* Add support for `hooks` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentDecrementAuthorizationParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
40+
* Remove support for `async_workflows` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentDecrementAuthorizationParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
41+
* Add support for `card_present` on `PaymentIntentAmountDetailsLineItem.payment_method_options`
42+
* Add support for `livemode` on `Privacy.RedactionJob`
43+
* Add support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.default_settings`, `QuotePreviewSubscriptionSchedule.phases[].items[]`, and `QuotePreviewSubscriptionSchedule.phases[]`
44+
* Add support for `billing_mode_details` on `Subscription`
45+
* Add support for `tax_transaction_attempts` on `Tax.Association`
46+
* Add support for `confirm_config` on `Terminal.Reader.action.confirm_payment_intent` and `Terminal.ReaderConfirmPaymentIntentParams`
47+
* Add support for error code `forwarding_api_upstream_error` on `QuotePreviewInvoice.last_finalization_error`
48+
349
## 18.2.0 - 2025-05-29
450
This release changes the pinned API version to `2025-05-28.basil`.
551

@@ -38,7 +84,7 @@
3884
## 18.2.0-beta.1 - 2025-04-30
3985
* [#2307](https://github.com/stripe/stripe-node/pull/2307) Update generated code for beta
4086
This release changes the pinned API version to `2025-04-30.preview`.
41-
87+
4288
* Add support for `billing_mode` on `Checkout.SessionCreateParams.subscription_data`, `InvoiceCreatePreviewParams.schedule_details`, `InvoiceCreatePreviewParams.subscription_details`, `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, `QuotePreviewSubscriptionSchedule`, `SubscriptionCreateParams`, `SubscriptionScheduleCreateParams`, `SubscriptionSchedule`, and `Subscription`
4389
* Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Checkout.Session.collected_information.tax_ids[].type`, `Order.tax_details.tax_ids[].type`, and `QuotePreviewInvoice.customer_tax_ids[].type`
4490
* Change `Checkout.Session.automatic_tax.provider`, `Invoice.automatic_tax.provider`, `Quote.automatic_tax.provider`, and `QuotePreviewInvoice.automatic_tax.provider` to be required

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.2.0-beta.1
1+
18.3.0-beta.1

package.json

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

src/stripe.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function createStripe(
5959
platformFunctions: PlatformFunctions,
6060
requestSender: RequestSenderFactory = defaultRequestSenderFactory
6161
): typeof Stripe {
62-
Stripe.PACKAGE_VERSION = '18.2.0-beta.1';
62+
Stripe.PACKAGE_VERSION = '18.3.0-beta.1';
6363
Stripe.USER_AGENT = {
6464
bindings_version: Stripe.PACKAGE_VERSION,
6565
lang: 'node',

0 commit comments

Comments
 (0)