pypi / requests-cache
requests-cache
What changed in requests-cache 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 breaking2 new APIs and options1 performance3 behavior and defaults1 tooling
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initrequests-cache 18 changes
Breaking changes 1
Common authentication headers and parameters are redacted from the cache by default.
New APIs and options 2
Fast automatic cache cleanup with TTL integration is available for MongoDB, DynamoDB, and Redis.
The session settings interface is improved, with more settings for refreshing, revalidation, and offline cache usage.
Performance 1
Miscellaneous performance improvements make the library faster.
Behavior and default changes 3
Cache-Control headers are fully supported, including their extensions.
Cached responses provide more details.
MongoDB and DynamoDB store response data in a human-readable and indexable form.
Tooling 1
Type hinting is complete, improving the information available to developers using the library.