Skip to content

v7.1.0

Compare
Choose a tag to compare
@richardm-stripe richardm-stripe released this 27 Oct 01:56
· 162 commits to master since this release
  • #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

See the changelog for more details.