stripe-samples / subscription-use-cases

Create subscriptions with fixed prices or usage based billing.
https://stripe.com/docs/billing
MIT License
797 stars 400 forks source link

chore(deps): bump stripe from 9.12.0 to 10.0.0 in /fixed-price-subscriptions/server/python #1097

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps stripe from 9.12.0 to 10.0.0.

Release notes

Sourced from stripe's releases.

v10.0.0

  • #1350 Update generated code

    This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Remove the unused resource PlatformTaxFee
    • Rename volume_decimal to quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel

    Additions

    • Add support for fleet on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetails, stripe.issuing.Authorization.CreateParams, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails, resource stripe.issuing.Authorization, and resource class stripe.issuing.Transaction.PurchaseDetails
    • Add support for new values platform_disabled, paused.inactivity and other on enums Capability.Requirements.disabled_reason and Capability.FutureRequirements.disabled_reason
    • Add support for industry_product_code on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
    • Add support for quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
    • Add support for fuel on parameter class stripe.issuing.Authorization.CreateParams and resource stripe.issuing.Authorization
    • Add support for _cls_finalize_amount on resource stripe.issuing.Authorization
    • Add support for finalize_amount on resource stripe.issuing.Authorization
    • Change type of disabled_reason on stripe.Capability.FutureRequirements and stripe.Capability.Requirements from str to Literal['other', 'paused.inactivity', 'pending.onboarding', 'pending.review', 'platform_disabled', 'platform_paused', 'rejected.inactivity', 'rejected.other', 'rejected.unsupported_business', 'requirements.fields_needed']
    • Add support for ch_uid on enums stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for card_canceled, card_expired, cardholder_blocked, insecure_authorization_method and pin_blocked on enum stripe.issuing.Authorization.RequestHistory.reason
    • Add support for charging_minute, imperial_gallon, kilogram, kilowatt_hour, pound, on enums stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
    • Add support for 2024-06-20 on enum stripe.WebhookEndpoint.CreateParams.api_version

See the changelog for more details.

Changelog

Sourced from stripe's changelog.

10.0.0 - 2024-06-24

  • #1350 Update generated code

    This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Remove the unused resource PlatformTaxFee
    • Rename volume_decimal to quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel

    Additions

    • Add support for fleet on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetails, stripe.issuing.Authorization.CreateParams, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails, resource stripe.issuing.Authorization, and resource class stripe.issuing.Transaction.PurchaseDetails
    • Add support for new values platform_disabled, paused.inactivity and other on enums Capability.Requirements.disabled_reason and Capability.FutureRequirements.disabled_reason
    • Add support for industry_product_code on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
    • Add support for quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
    • Add support for fuel on parameter class stripe.issuing.Authorization.CreateParams and resource stripe.issuing.Authorization
    • Add support for _cls_finalize_amount on resource stripe.issuing.Authorization
    • Add support for finalize_amount on resource stripe.issuing.Authorization
    • Change type of disabled_reason on stripe.Capability.FutureRequirements and stripe.Capability.Requirements from str to Literal['other', 'paused.inactivity', 'pending.onboarding', 'pending.review', 'platform_disabled', 'platform_paused', 'rejected.inactivity', 'rejected.other', 'rejected.unsupported_business', 'requirements.fields_needed']
    • Add support for ch_uid on enums stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for card_canceled, card_expired, cardholder_blocked, insecure_authorization_method and pin_blocked on enum stripe.issuing.Authorization.RequestHistory.reason
    • Add support for charging_minute, imperial_gallon, kilogram, kilowatt_hour, pound, on enums stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
    • Add support for 2024-06-20 on enum stripe.WebhookEndpoint.CreateParams.api_version
Commits


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)