Skip to content

Releases: stripe/stripe-python

v8.5.0b2

27 Feb 20:07
Compare
Choose a tag to compare
v8.5.0b2 Pre-release
Pre-release
  • Python async - In this beta release, async support is now "feature complete". If you notice missing async support for something, it's probably a bug! Usage instructions for the async interface are available in the README.md.
    • #1253 Beta: Support 'allow_sync_methods=False' in HTTPXClient
    • #1254 Beta: add AIOHTTP http client
    • #1247 Make ListObject.auto_paging_iter() implement AsyncIterator

See the changelog for more details.

v8.5.0b1

22 Feb 23:45
Compare
Choose a tag to compare
v8.5.0b1 Pre-release
Pre-release
  • #1246 Update generated code for beta

  • #1239 Beta: Collapse HTTPClientAsync into HTTPClient

    • ⚠️ Removes the stripe.default_http_client_async global and the stripe.HTTPClientAsync class.
      • To set your own async-enabled http client, set stripe.default_http_client to a subclass of stripe.HTTPClient such as stripe.HTTPXClient that implements .request_async, .sleep_async, .request_stream_async, and .close_async.
      • The default http client of the library is still RequestsClient for synchronous methods, that "falls back" to a HTTPXClient when asynchronous methods are called.

See the changelog for more details.

v8.4.0

22 Feb 22:21
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v8.4.0b1

16 Feb 18:04
Compare
Choose a tag to compare
v8.4.0b1 Pre-release
Pre-release
  • #1235 Update generated code for beta
    • Add support for payto and twint payment methods throughout the API
    • Add support for decrement_authorization method on resource PaymentIntent
  • #1236 Beta: StripeStreamResponseAsync.read helper
  • #1233 Beta: async streaming

See the changelog for more details.

v8.3.0

16 Feb 00:22
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v8.3.0b1

08 Feb 22:13
Compare
Choose a tag to compare
v8.3.0b1 Pre-release
Pre-release
  • #1226 Update generated code for beta
    • Add support for payment_method_options on ConfirmationToken
  • #1228 Beta: add _async methods for StripeClient

See the changelog for more details.

v8.2.0

08 Feb 22:05
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v8.2.0b1

06 Feb 01:14
Compare
Choose a tag to compare
v8.2.0b1 Pre-release
Pre-release
  • #1218 Update generated code for beta
    • Add support for new resources Entitlements.Event and Entitlements.Feature
    • Add support for create method on resource Event
    • Add support for create and list methods on resource Feature
  • #1171 Beta: codegenned async methods on resources
  • #1219 Beta: more async infrastructure
  • #1210 Beta: better support for trio in HTTPClientAsync
    • Fixes support for trio on HttpClientAsync.
  • #1209 Beta: Fix HTTPXClient retries

See the changelog for more details.

v8.1.0

01 Feb 22:22
Compare
Choose a tag to compare
  • #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

See the changelog for more details.

v8.1.0b1

25 Jan 23:47
Compare
Choose a tag to compare
v8.1.0b1 Pre-release
Pre-release
  • #1198 Update generated code for beta
    • Add support for create_preview method on resource Invoice
  • #1211 Merge master into beta

See the changelog for more details.