|
1 | 1 | # Changelog
|
| 2 | +## 18.1.0 - 2025-04-30 |
| 3 | + |
| 4 | + This release changes the pinned API version to `2025-04-30.basil`. |
| 5 | + |
| 6 | +* [#2311](https://github.com/stripe/stripe-node/pull/2311) Update generated code |
| 7 | + * Add support for `minority_owned_business_designation` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile` |
| 8 | + * Add support for `registration_date` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company` |
| 9 | + * Add support for `us_cfpb_data` on `AccountCreatePersonParams`, `AccountUpdatePersonParams`, `Person`, and `TokenCreateParams.person` |
| 10 | + * Add support for new value `verification_legal_entity_structure_mismatch` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, `BankAccount.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code` |
| 11 | + * Add support for new value `tax_id_prohibited` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` |
| 12 | + * Add support for `tax_id` on `Charge.billing_details`, `ConfirmationToken.payment_method_preview.billing_details`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data.billing_details`, `PaymentIntentConfirmParams.payment_method_data.billing_details`, `PaymentIntentCreateParams.payment_method_data.billing_details`, `PaymentIntentUpdateParams.payment_method_data.billing_details`, `PaymentMethod.billing_details`, `PaymentMethodCreateParams.billing_details`, `PaymentMethodUpdateParams.billing_details`, `SetupIntentConfirmParams.payment_method_data.billing_details`, `SetupIntentCreateParams.payment_method_data.billing_details`, and `SetupIntentUpdateParams.payment_method_data.billing_details` |
| 13 | + * Add support for `wallet_options` on `Checkout.SessionCreateParams` and `Checkout.Session` |
| 14 | + * Add support for `provider` on `Checkout.Session.automatic_tax`, `Invoice.automatic_tax`, and `Quote.automatic_tax` |
| 15 | + * 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.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type` |
| 16 | + * Add support for `payment_method_options` on `ConfirmationTokenCreateParams.testHelpers` |
| 17 | + * Add support for `installments` on `ConfirmationToken.payment_method_options.card` |
| 18 | + * 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 `CustomerCreateParams.tax_id_data[].type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type` |
| 19 | + * Add support for `context` on `Event` |
| 20 | + * Add support for new value `affirm` 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` |
| 21 | + * Change type of `InvoiceLineItem.parent.subscription_item_details.subscription` from `string` to `string | null` |
| 22 | + * Add support for `billie` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options` |
| 23 | + * Add support for `pix` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` |
| 24 | + * Add support for `klarna` on `PaymentMethodDomain` |
| 25 | + * Add support for `pending_reason` on `Refund` |
| 26 | + * Change type of `Tax.CalculationLineItem.reference` from `string | null` to `string` |
| 27 | + * Add support for `aw`, `az`, `bd`, `bf`, `bj`, `cm`, `cv`, `et`, `in`, `kg`, `la`, and `ph` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options` |
| 28 | + * Add support for new value `2025-04-30.basil` on enum `WebhookEndpointCreateParams.api_version` |
| 29 | +* [#2202](https://github.com/stripe/stripe-node/pull/2202) Add build scripts to generate source maps |
| 30 | +* [#2169](https://github.com/stripe/stripe-node/pull/2169) Put @types/node as an optional peerDependency |
| 31 | +* [#2164](https://github.com/stripe/stripe-node/pull/2164) Bump micromatch from 4.0.5 to 4.0.8 |
| 32 | +* [#2230](https://github.com/stripe/stripe-node/pull/2230) Bump cross-spawn from 7.0.3 to 7.0.6 |
| 33 | + |
2 | 34 | ## 18.0.0 - 2025-04-01
|
3 | 35 | * [#2279](https://github.com/stripe/stripe-node/pull/2279) Support for APIs in the new API version 2025-03-31.basil
|
4 | 36 |
|
|
0 commit comments