2020-10-08 15:10:34 +08:00
# ChangeLog
2023-05-17 17:24:00 +01:00
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ), and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
This project uses [*towncrier* ](https://towncrier.readthedocs.io/ ) and the changes for the upcoming release can be found in < https: // github . com / long2ice / fastapi-cache / tree / main / changelog . d /> .
<!-- towncrier release notes start -->
2022-09-10 20:06:37 +08:00
## 0.2
2023-01-13 23:53:02 +00:00
### 0.2.1
- Fix picklecoder
2023-01-17 12:15:53 +00:00
- Fix connection failure transparency and add logging
2023-01-13 23:53:02 +00:00
- Add Cache-Control and ETag on first response
2023-01-17 12:15:53 +00:00
- Support Async RedisCluster client from redis-py
2023-01-13 23:53:02 +00:00
2023-01-11 21:20:41 +08:00
### 0.2.0
2022-09-28 17:37:05 +08:00
2023-01-11 21:20:41 +08:00
- Make `request` and `response` optional.
- Add typing info to the `cache` decorator.
2022-09-28 17:37:05 +08:00
- Support cache jinja2 template response.
2022-11-04 17:44:41 +08:00
- Support cache `JSONResponse`
- Add `py.typed` file and type hints
- Add TestCase
- Fix cache decorate sync function
2023-01-05 18:44:40 +00:00
- Transparently handle backend connection failures.
2022-09-28 17:37:05 +08:00
2020-10-08 15:10:34 +08:00
## 0.1
2022-08-09 13:45:53 -03:00
### 0.1.10
- Add `Cache-Control:no-cache` support.
2022-06-17 11:01:47 +08:00
### 0.1.9
- Replace `aioredis` with `redis-py` .
2021-11-12 09:37:02 +08:00
### 0.1.8
- Support `dynamodb` backend.
2021-10-09 16:51:05 +08:00
### 0.1.7
- Fix default json coder for datetime.
2021-10-28 15:52:21 +08:00
- Add `enable` param to `init` .
2021-10-09 16:51:05 +08:00
2021-07-26 16:33:22 +08:00
### 0.1.6
- Fix redis cache.
- Encode key builder.
2021-07-23 09:38:47 +08:00
### 0.1.5
2021-03-20 14:42:29 +08:00
2021-07-22 10:54:10 -05:00
- Fix setting expire for redis (#24 )
- Update expire key
2021-07-23 09:38:47 +08:00
### 0.1.4
2021-03-20 14:42:29 +08:00
- Fix default expire for memcached. (#13 )
- Update default key builder. (#12 )
2021-01-06 10:34:30 +08:00
### 0.1.3
- Fix cache key builder.
2020-10-16 16:55:33 +08:00
### 0.1.2
- Add default config when init.
- Update JsonEncoder.
2020-10-08 15:10:34 +08:00
### 0.1.1
- Add in-memory support.
### 0.1.0
- First version release.