3.17.0 (2026-01-16)
Added
- Native support for
http+unixconnections without 3rd party support in both sync and async context. (#315) - ASGI (e.g. fastapi) app direct usage within
AsyncSessionand WSGI (e.g. Flask) app direct usage withinSession. (#316) - Passing
hooksdirectly in theSessionorAsyncSessionconstructor. (#321) - Rate limiter helpers
LeakyBucketLimiterandTokenBucketLimiterthat can be passed directly to thehooksparameter
ofSessionorAsyncSessionfor automatic request throttling. (#321)
Fixed
- Method
getofCaseInsensitiveDictambiguous return type. (#288) - More precise type definitions for PathLike, and IO. (#290)
Changed
- Our typing definitions are now publicly exposed via
niquests.typing. This aims to considerably ease extending Niquests.
Misc