|
1 | 1 | # Changelog
|
2 | 2 |
|
| 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 | + |
3 | 49 | ## 18.2.0 - 2025-05-29
|
4 | 50 | This release changes the pinned API version to `2025-05-28.basil`.
|
5 | 51 |
|
|
38 | 84 | ## 18.2.0-beta.1 - 2025-04-30
|
39 | 85 | * [#2307](https://github.com/stripe/stripe-node/pull/2307) Update generated code for beta
|
40 | 86 | This release changes the pinned API version to `2025-04-30.preview`.
|
41 |
| - |
| 87 | + |
42 | 88 | * 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`
|
43 | 89 | * 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`
|
44 | 90 | * Change `Checkout.Session.automatic_tax.provider`, `Invoice.automatic_tax.provider`, `Quote.automatic_tax.provider`, and `QuotePreviewInvoice.automatic_tax.provider` to be required
|
|
0 commit comments