Bump stripe from 17.7.0 to 18.1.0
Type: Pull Request
State: Closed
Association: None
Comments: 1
(11 months ago)
(10 months ago)
(10 months ago)
dependencies javascript
Bumps stripe from 17.7.0 to 18.1.0.
Release notes
Sourced from stripe's releases.
v18.1.0
This release changes the pinned API version to
2025-04-30.basil.
- #2311 Update generated code
- Add support for
minority_owned_business_designationonAccount.business_profile,AccountCreateParams.business_profile, andAccountUpdateParams.business_profile- Add support for
registration_dateonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.company- Add support for
us_cfpb_dataonAccountCreatePersonParams,AccountUpdatePersonParams,Person, andTokenCreateParams.person- Add support for new value
verification_legal_entity_structure_mismatchon enumsAccount.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, andPerson.requirements.errors[].code- Add support for new value
tax_id_prohibitedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.code- Add support for
tax_idonCharge.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, andSetupIntentUpdateParams.payment_method_data.billing_details- Add support for
wallet_optionsonCheckout.SessionCreateParamsandCheckout.Session- Add support for
provideronCheckout.Session.automatic_tax,Invoice.automatic_tax, andQuote.automatic_tax- Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCheckout.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, andTaxId.type- Add support for
payment_method_optionsonConfirmationTokenCreateParams.testHelpers- Add support for
installmentsonConfirmationToken.payment_method_options.card- Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCustomerCreateParams.tax_id_data[].type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.type- Add support for
contextonEvent- Add support for new value
affirmon enumsInvoice.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, andSubscriptionUpdateParams.payment_settings.payment_method_types- Change type of
InvoiceLineItem.parent.subscription_item_details.subscriptionfromstringtostring | null- Add support for
billieonPaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_options, andPaymentIntentUpdateParams.payment_method_options- Add support for
pixonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration- Add support for
klarnaonPaymentMethodDomain- Add support for
pending_reasononRefund- Change type of
Tax.CalculationLineItem.referencefromstring | nulltostring- Add support for
aw,az,bd,bf,bj,cm,cv,et,in,kg,la, andphonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options- Add support for new value
2025-04-30.basilon enumWebhookEndpointCreateParams.api_version- #2202 Add build scripts to generate source maps
- #2169 Put
@types/nodeas an optional peerDependency- #2164 Bump micromatch from 4.0.5 to 4.0.8
- #2230 Bump cross-spawn from 7.0.3 to 7.0.6
See the changelog for more details.
v18.1.0-beta.3
- #2302 Update generated code for beta
- Add support for new resources
FxQuoteandPaymentIntentAmountDetailsLineItem- Add support for
create,list, andretrievemethods on resourceFxQuote- Remove support for
attach_payment_intentmethod on resourceInvoice- Add support for
registration_dateonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.company- Add support for
customer_referenceandorder_referenceonChargeCaptureParams.payment_details,ChargeUpdateParams.payment_details,PaymentIntent.payment_details,PaymentIntentCaptureParams.payment_details,PaymentIntentConfirmParams.payment_details,PaymentIntentCreateParams.payment_details, andPaymentIntentUpdateParams.payment_details- Add support for
tax_idonCharge.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,SetupIntentUpdateParams.payment_method_data.billing_details, andTreasury.OutboundPaymentCreateParams.destination_payment_method_data.billing_details- Add support for
price_dataonCheckout.SessionUpdateParams.line_items[]- Change type of
Checkout.SessionUpdateParams.line_items[].quantityfromlongIntegertoemptyable(longInteger)- Add support for
scriptonCouponCreateParamsandCoupon- Add support for
typeonCoupon- Add support for new value
fx_quote.expiredon enumEvent.type- Add support for new value
affirmon enumsInvoice.payment_settings.payment_method_types,InvoiceCreateParams.payment_settings.payment_method_types,InvoiceUpdateParams.payment_settings.payment_method_types,QuotePreviewInvoice.payment_settings.payment_method_types,Subscription.payment_settings.payment_method_types,SubscriptionCreateParams.payment_settings.payment_method_types, andSubscriptionUpdateParams.payment_settings.payment_method_types- Add support for
fx_quoteonPaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentUpdateParams,PaymentIntent,TransferCreateParams, andTransfer- Add support for
discount_amount,line_items,shipping, andtaxonPaymentIntent.amount_details- Add support for
pixonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration
... (truncated)
Changelog
Sourced from stripe's changelog.
18.1.0 - 2025-04-30
This release changes the pinned API version to
2025-04-30.basil.
- #2311 Update generated code
- Add support for
minority_owned_business_designationonAccount.business_profile,AccountCreateParams.business_profile, andAccountUpdateParams.business_profile- Add support for
registration_dateonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.company- Add support for
us_cfpb_dataonAccountCreatePersonParams,AccountUpdatePersonParams,Person, andTokenCreateParams.person- Add support for new value
verification_legal_entity_structure_mismatchon enumsAccount.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, andPerson.requirements.errors[].code- Add support for new value
tax_id_prohibitedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.code- Add support for
tax_idonCharge.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, andSetupIntentUpdateParams.payment_method_data.billing_details- Add support for
wallet_optionsonCheckout.SessionCreateParamsandCheckout.Session- Add support for
provideronCheckout.Session.automatic_tax,Invoice.automatic_tax, andQuote.automatic_tax- Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCheckout.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, andTaxId.type- Add support for
payment_method_optionsonConfirmationTokenCreateParams.testHelpers- Add support for
installmentsonConfirmationToken.payment_method_options.card- Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCustomerCreateParams.tax_id_data[].type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.type- Add support for
contextonEvent- Add support for new value
affirmon enumsInvoice.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, andSubscriptionUpdateParams.payment_settings.payment_method_types- Change type of
InvoiceLineItem.parent.subscription_item_details.subscriptionfromstringtostring | null- Add support for
billieonPaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_options, andPaymentIntentUpdateParams.payment_method_options- Add support for
pixonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration- Add support for
klarnaonPaymentMethodDomain- Add support for
pending_reasononRefund- Change type of
Tax.CalculationLineItem.referencefromstring | nulltostring- Add support for
aw,az,bd,bf,bj,cm,cv,et,in,kg,la, andphonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options- Add support for new value
2025-04-30.basilon enumWebhookEndpointCreateParams.api_version- #2202 Add build scripts to generate source maps
- #2169 Put
@types/nodeas an optional peerDependency- #2164 Bump micromatch from 4.0.5 to 4.0.8
- #2230 Bump cross-spawn from 7.0.3 to 7.0.6
18.0.0 - 2025-04-01
#2279 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil.⚠️ Breaking changes due to changes in the Stripe API
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
- Remove support for resources
SubscriptionItemUsageRecordSummaryandSubscriptionItemUsageRecord- Remove support for
listUpcomingLinesandretrieveUpcomingmethods on resourceInvoice- Remove support for
createUsageRecordandlistUsageRecordSummariesmethods on resourceSubscriptionItems- Remove support for
invoiceonChargeandPaymentIntent- Remove support for
shipping_detailsonCheckout.Session- Remove support for
carrier,phone, andtracking_numberonCheckout.Session.collected_information.shipping_details. Makenameandaddressrequired instead of optional.- Remove support for
refundonCreditNoteCreateParams,CreditNoteListPreviewLineItemsParams,CreditNotePreviewParams, andCreditNote- Remove support for
tax_amountsonCreditNoteLineItem,CreditNote, andInvoiceLineItem- Remove support for
amount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItem
... (truncated)
Commits
a8d5f6cBump version to 18.1.02f607e4Add just recipe to build with source maps (#2202)77b5190Update generated code (#2316)db14673Update generated code (#2313)d89a83dRemove some@ts-ignore(#2167)06c6299Put@types/nodeas an optional peerDependency (#2169)6961930Update generated code (#2311)ea19025Revert "Remove Node 12 from CI (#2306)" (#2309)23739dbRemove Node 12 from CI (#2306)e8ddc8dBump micromatch from 4.0.5 to 4.0.8 (#2164)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+133
-71
Package Dependencies
Technical Details
| ID: | 1139384 |
| UUID: | 2498907679 |
| Node ID: | PR_kwDOOev8VM6U8k4f |
| Host: | GitHub |
| Repository: | codedprocessing/ready |
| Merge State: | Unknown |