Skip to content

v8.5.0b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@pakrym-stripe pakrym-stripe released this 22 Feb 23:45
· 90 commits to master since this 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.