Releases: stripe/stripe-python
Releases · stripe/stripe-python
v8.5.0b2
- 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.
v8.5.0b1
-
#1246 Update generated code for beta
-
#1239 Beta: Collapse HTTPClientAsync into HTTPClient
⚠️ Removes thestripe.default_http_client_async
global and thestripe.HTTPClientAsync
class.- To set your own async-enabled http client, set
stripe.default_http_client
to a subclass ofstripe.HTTPClient
such asstripe.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 aHTTPXClient
when asynchronous methods are called.
- To set your own async-enabled http client, set
v8.4.0
- #1241 Update generated code
- Add
InvoiceLineItem.modify
method.
- Add
- #1244 Add TaxIds API
- Add support for
create
,retrieve
,delete
, andlist
methods on resourceTaxId
- The
instance_url
function on resourceTaxId
now returns the top-level/v1/tax_ids/{id}
path instead of the/v1/customers/{customer}/tax_ids/{id}
path.
- Add support for
- #1243 Remove http client base
- #1242 Testing: unify http client mock
v8.4.0b1
v8.3.0
- #1230 Update generated code
- Add support for
networks
onCard
,PaymentMethod.CreateParamsCard
,PaymentMethod.ModifyParamsCard
, andToken.CreateParamsCard
- Add support for new value
no_voec
on enumsCheckout.Session.CustomerDetails.TaxId.type
,Invoice.CustomerTaxId.type
,Tax.Calculation.CustomerDetails.TaxId.type
,Tax.Transaction.CustomerDetails.TaxId.type
, andTaxId.type
- Add support for new value
no_voec
on enumsCustomer.CreateParams.tax_id_data[].type
,Invoice.UpcomingLinesParams.customer_details.tax_ids[].type
,Invoice.UpcomingParams.customer_details.tax_ids[].type
, andTax.Calculation.CreateParams.customer_details.tax_ids[].type
- Add support for new value
financial_connections.account.refreshed_ownership
on enumEvent.type
- Add support for
display_brand
onPaymentMethod.card
- Add support for new value
financial_connections.account.refreshed_ownership
on enumsWebhookEndpoint.CreateParams.enabled_events[]
andWebhookEndpoint.UpdateParams.enabled_events[]
- Add support for
- #1237 Remove broken child methods
- Bugfix: remove support for
CreditNoteLineItem.list
,CustomerCashBalanceTransaction.list
, andCustomerCashBalanceTransaction.retrieve
. These methods were included in the library unintentionally and never functioned.
- Bugfix: remove support for
- #1232 Improve types in _http_client.py
v8.3.0b1
v8.2.0
- #1225 Update generated code
- Add support for
invoices
onAccount.Settings
- Add support for new value
velobank
on various enumsPaymentMethodDetails.P24.bank
- Add support for
setup_future_usage
onPaymentMethodOptions.Blik
- Add support for
require_cvc_recollection
onPaymentMethodOptions.Card
- Add support for
account_tax_ids
on variousInvoiceSettings
request parameters
- Add support for
- #1223 Move StripeClient usage collection onto StripeService
- #1220 Measure StripeClient usage
v8.2.0b1
- #1218 Update generated code for beta
- Add support for new resources
Entitlements.Event
andEntitlements.Feature
- Add support for
create
method on resourceEvent
- Add support for
create
andlist
methods on resourceFeature
- Add support for new resources
- #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.
- Fixes support for
- #1209 Beta: Fix HTTPXClient retries
v8.1.0
- #1213 Update generated code
- Add support for
swish
payment method throughout the API - Add support for
relationship
on parameter classesAccount.CreateParamsIndividual
andToken.CreateParamsAccountIndividual
- Add support for
jurisdiction_level
on resourceTaxRate
- Change type from
str
toLiteral["offline", "online"]
ofstatus
on fieldterminal.Reader
- Add support for