All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This project uses towncrier and the changes for the upcoming release can be found in https://github.com/long2ice/fastapi-cache/tree/main/changelog.d/.
- Fix picklecoder
- Fix connection failure transparency and add logging
- Add Cache-Control and ETag on first response
- Support Async RedisCluster client from redis-py
- Make
request
andresponse
optional. - Add typing info to the
cache
decorator. - Support cache jinja2 template response.
- Support cache
JSONResponse
- Add
py.typed
file and type hints - Add TestCase
- Fix cache decorate sync function
- Transparently handle backend connection failures.
- Add
Cache-Control:no-cache
support.
- Replace
aioredis
withredis-py
.
- Support
dynamodb
backend.
- Fix default json coder for datetime.
- Add
enable
param toinit
.
- Fix redis cache.
- Encode key builder.
- Fix setting expire for redis (#24)
- Update expire key
- Fix default expire for memcached. (#13)
- Update default key builder. (#12)
- Fix cache key builder.
- Add default config when init.
- Update JsonEncoder.
- Add in-memory support.
- First version release.