github jawah/niquests v3.16.0
Version 3.16.0

latest releases: v3.21.2, v3.21.1, v3.21.0...
10 months ago

3.16.0 (2025-12-23)

Added

  • Custom strategies for TLS revocation check per Session or AsyncSession via the new revocation_configuration parameter
    that takes a RevocationConfiguration object.
  • Hook can now be created via a custom class. You may now inherit from niquests.LifecycleHook or niquests.AsyncLifecycleHook depending on your use case.
    This should considerably ease the scenario where you need to create complex hooks.
  • Session underlying pooling state inspecting through repr(my_session) for debugging purposes.
  • Exposed ServerSentEvent in top level package imports to ease SSE related developments.
  • AsyncHTTPDigestAuth counterpart of HTTPDigestAuth for async usage. (#308)
  • Shortcut to pass default headers via Session or AsyncSession construction. (#310)

Fixed

  • In high concurrency scenarii the revocation check may run for multiple newly acquired connection causing a performance slowdown at warmup.

Don't miss a new niquests release

NewReleases is sending notifications on new releases.