dj-stripe / dj-stripe

dj-stripe automatically syncs your Stripe Data to your local database as pre-implemented Django Models allowing you to use the Django ORM, in your code, to work with the data making it easier and faster.
https://dj-stripe.dev
MIT License
1.56k stars 474 forks source link

[python] Update stripe requirement from >=2.48.0,<5.0.0 to >=2.48.0,<9.0.0 #2030

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Updates the requirements on stripe to permit the latest version.

Release notes

Sourced from stripe's releases.

v8.5.0

  • #1255 Update generated code
    • Change identity.VerificationReport.type to be required
    • Change type of identity.VerificationSession.type from Optional[Literal["document", "id_number"]] to Literal["document", "id_number"]
    • Add support for number on Invoice.CreateParams and Invoice.ModifyParams
    • Add support for enable_customer_cancellation on terminal.Reader.Action.ProcessPaymentIntent.process_config, Terminal.Reader.Action.ProcessSetupIntent.process_config, Terminal.Reader.ProcessPaymentIntentParams.process_config, and Terminal.Reader.ProcessSetupIntentParams.process_config
    • Add support for refund_payment_config on Terminal.Reader.Action.refund_payment and Terminal.Reader.RefundPaymentParams
    • Add support for payment_method on Token.CreateParams.bank_account
    • Add list_refunds and retrieve_refund methods on resource Charge.
  • #1260 Update README to use add_beta_version
  • #1250 Fix type of ErrorObject.code

See the changelog for more details.

Changelog

Sourced from stripe's changelog.

8.5.0 - 2024-02-29

  • #1255 Update generated code
    • Change identity.VerificationReport.type to be required
    • Change type of identity.VerificationSession.type from Optional[Literal["document", "id_number"]] to Literal["document", "id_number"]
    • Add support for number on Invoice.CreateParams and Invoice.ModifyParams
    • Add support for enable_customer_cancellation on terminal.Reader.Action.ProcessPaymentIntent.process_config, Terminal.Reader.Action.ProcessSetupIntent.process_config, Terminal.Reader.ProcessPaymentIntentParams.process_config, and Terminal.Reader.ProcessSetupIntentParams.process_config
    • Add support for refund_payment_config on Terminal.Reader.Action.refund_payment and Terminal.Reader.RefundPaymentParams
    • Add support for payment_method on Token.CreateParams.bank_account
    • Add list_refunds and retrieve_refund methods on resource Charge.
  • #1260 Update README to use add_beta_version
  • #1250 Fix type of ErrorObject.code

8.4.0 - 2024-02-22

  • #1241 Update generated code
    • Add InvoiceLineItem.modify method.
  • #1244 Add TaxIds API
    • Add support for create, retrieve, delete, and list methods on resource TaxId
    • The instance_url function on resource TaxId now returns the top-level /v1/tax_ids/{id} path instead of the /v1/customers/{customer}/tax_ids/{id} path.
  • #1243 Remove http client base
  • #1242 Testing: unify http client mock

8.3.0 - 2024-02-15

  • #1230 Update generated code
    • Add support for networks on Card, PaymentMethod.CreateParamsCard, PaymentMethod.ModifyParamsCard, and Token.CreateParamsCard
    • Add support for new value no_voec on enums Checkout.Session.CustomerDetails.TaxId.type, Invoice.CustomerTaxId.type, Tax.Calculation.CustomerDetails.TaxId.type, Tax.Transaction.CustomerDetails.TaxId.type, and TaxId.type
    • Add support for new value no_voec on enums Customer.CreateParams.tax_id_data[].type, Invoice.UpcomingLinesParams.customer_details.tax_ids[].type, Invoice.UpcomingParams.customer_details.tax_ids[].type, and Tax.Calculation.CreateParams.customer_details.tax_ids[].type
    • Add support for new value financial_connections.account.refreshed_ownership on enum Event.type
    • Add support for display_brand on PaymentMethod.card
    • Add support for new value financial_connections.account.refreshed_ownership on enums WebhookEndpoint.CreateParams.enabled_events[] and WebhookEndpoint.UpdateParams.enabled_events[]
  • #1237 Remove broken child methods
    • Bugfix: remove support for CreditNoteLineItem.list, CustomerCashBalanceTransaction.list, and CustomerCashBalanceTransaction.retrieve. These methods were included in the library unintentionally and never functioned.
  • #1232 Improve types in _http_client.py

8.2.0 - 2024-02-08

  • #1225 Update generated code
    • Add support for invoices on Account.Settings
    • Add support for new value velobank on various enums PaymentMethodDetails.P24.bank
    • Add support for setup_future_usage on PaymentMethodOptions.Blik
    • Add support for require_cvc_recollection on PaymentMethodOptions.Card
    • Add support for account_tax_ids on various InvoiceSettings request parameters
  • #1223 Move StripeClient usage collection onto StripeService
  • #1220 Measure StripeClient usage

8.1.0 - 2024-02-01

  • #1213 Update generated code
    • Add support for swish payment method throughout the API
    • Add support for relationship on parameter classes Account.CreateParamsIndividual and Token.CreateParamsAccountIndividual
    • Add support for jurisdiction_level on resource TaxRate
    • Change type from str to Literal["offline", "online"] of status on field terminal.Reader

... (truncated)

Commits


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)
dependabot[bot] commented 2 months ago

The following labels could not be found: pip dependencies.

dependabot[bot] commented 2 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.