unstale

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 init

@unstale/cli on npm

requests-cache 18 changes

Breaking changes 1

  • Common authentication headers and parameters are redacted from the cache by default.

    1.0.0release notes

New APIs and options 2

  • Fast automatic cache cleanup with TTL integration is available for MongoDB, DynamoDB, and Redis.

    1.0.0release notes

  • The session settings interface is improved, with more settings for refreshing, revalidation, and offline cache usage.

    1.0.0release notes

Performance 1

  • Miscellaneous performance improvements make the library faster.

    1.0.0release notes

Behavior and default changes 3

  • Cache-Control headers are fully supported, including their extensions.

    1.0.0release notes

  • Cached responses provide more details.

    1.0.0release notes

  • MongoDB and DynamoDB store response data in a human-readable and indexable form.

    1.0.0release notes

Tooling 1

  • Type hinting is complete, improving the information available to developers using the library.

    1.0.0release notes