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,<8.0.0 #2004

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 6 months ago

Updates the requirements on stripe to permit the latest version.

Release notes

Sourced from stripe's releases.

v7.2.0

  • #1115 Types: Add types for ErrorObject.
  • #1116 Types: Use @staticmethod overloads instead of @classmethod to fix MyPy compatibility.

See the changelog for more details.

Changelog

Sourced from stripe's changelog.

7.2.0 - 2023-10-31

7.1.0 - 2023-10-26

  • #1104 Include py.typed and enable type annotations for the package
    • This PR includes py.typed and enables inline type annotations for stripe-python package. Inline type annotations will now take precedence over Typeshed for users who use a type checker or IDE.
    • See a detailed guide on the Github Wiki.
  • #1103 Inner resource classes
    • Behavior change: nested json objects will now deserialize into instances of specific classes that subclass StripeObject, instead of into generic StripeObject instances.
    • ⚠️ Behavior change: PromotionCode.restrictions.currency_options will now deserialize into dict and not StripeObject.
  • #1090 Update generated code
    • Add support for new value balance_invalid_parameter on enums Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, and SetupIntent.LastSetupError
  • #1096 Add @​util.deprecated decorator and deprecate save.
  • #1091 APIRequestor: don't mutate incoming multipart headers

Changelog

7.0.0 - 2023-10-16

  • This release changes the pinned API version to 2023-10-16. Please read the API Upgrade Guide and carefully review the API changes before upgrading stripe-python.
  • #1085 Update generated code
    • Updated pinned API version

6.7.0 - 2023-10-05

  • #1065 Update generated code
    • Add support for new resource Issuing.Token
    • Add support for list, modify, and retrieve methods on resource Token

6.6.0 - 2023-09-21

  • #1056 Update generated code

  • #1055 Partially type resource methods (no **params)

  • #1057 Add optional types to non-required fields

  • #1054 Types: add deleted field

6.5.0 - 2023-09-14

  • #1052 Update generated code
    • Add support for new resource PaymentMethodConfiguration
    • Add support for create, list, modify, and retrieve methods on resource PaymentMethodConfiguration
  • #1047 Update generated code
    • Add support for capture, create, expire, increment, and reverse test helper methods on resource Issuing.Authorization
    • Add support for create_force_capture, create_unlinked_refund, and refund test helper methods on resource Issuing.Transaction
  • #1049 Types: datetimes to ints, add enum support
  • #1030 Explicitly define CRUDL methods in each resource
  • #1050 Generate explicit nested resource class methods

6.4.0 - 2023-09-07

  • #1033 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for create, list, modify, retrieve, and validate methods on resource PaymentMethodDomain

... (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 6 months ago

The following labels could not be found: pip dependencies.

dependabot[bot] commented 3 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.