Commit Graph

226 Commits

Author SHA1 Message Date
vvanglro
614ee25d0d feat: merge master 2023-01-07 13:46:48 +08:00
hackjammer
b420f26e9b transparent passthrough in the event of backend connection issues 2023-01-05 18:44:40 +00:00
Ivan Moiseev
e23289fcbf Merge branch 'main' into fix/piclke-coder 2022-12-08 00:23:39 +04:00
long2ice
8f0920d0d7 ci: fix 2022-11-07 16:39:17 +08:00
long2ice
91e6e51ec7 Merge pull request #101 from mkdir700/fix-ci-errors-on-python3.11
Fix ci errors on python3.11
2022-11-07 16:33:45 +08:00
mkdir700
5c776d20db build: update version of aiohttp 2022-11-05 22:21:35 +08:00
mkdir700
c4ae7154fd ci: update version of actions 2022-11-05 22:21:35 +08:00
Ivan Moiseev
cb9fe5c065 fix: PickleCoder and add tests for it. 2022-11-05 13:45:16 +04:00
vvanglro
c1484a46fd feat: CHANGELOG.md 2022-11-04 17:44:41 +08:00
vvanglro
2710129c4e feat: cache response obj add test case 2022-11-04 17:34:20 +08:00
vvanglro
4cb4afeff0 feat: support cache JSONResponse 2022-11-04 17:31:37 +08:00
vvanglro
a8fbf2b340 fix: request / router KeyError 2022-11-04 16:56:43 +08:00
long2ice
73f000a565 Merge pull request #93 from Mrreadiness/feat/type-hints-covering
Feat/type hints covering
2022-11-04 08:51:21 +08:00
long2ice
cda720f534 Merge pull request #74 from Genius-Voice/feature/support-async-keybuilder
Add ability to use async function for key_builder
2022-11-03 20:25:27 +08:00
Ivan Moiseev
5881bb9122 Merge branch 'main' into feat/type-hints-covering
# Conflicts:
#	fastapi_cache/coder.py
#	fastapi_cache/decorator.py
2022-11-03 15:53:22 +04:00
Ivan Moiseev
10f819483c fix: replace pipe for Optional 2022-11-03 15:49:58 +04:00
long2ice
566d30b790 Merge pull request #88 from vvanglro/feat/cache_html
feat: support cache jinja2 template response
2022-11-03 19:42:47 +08:00
long2ice
671af52aea Merge pull request #33 from DevLucca/master
add `no-cache` to cache exclusion
2022-10-31 21:51:35 +08:00
Ivan Moiseev
71a77f6b39 fix: request and response type hints 2022-10-30 11:03:16 +04:00
Ivan Moiseev
e555d5e9be Merge remote-tracking branch 'main/master' into feat/type-hints-covering
# Conflicts:
#	fastapi_cache/decorator.py
2022-10-30 10:58:02 +04:00
long2ice
d88b9eaab0 Merge pull request #94 from squaresmile/cache-type
Added typing info to the decorator
2022-10-25 10:27:27 +08:00
squaresmile
c1a0e97f73 Updated 0.2.0 changelog 2022-10-25 09:26:24 +07:00
squaresmile
f3f134a318 Added typing to the decorator 2022-10-25 08:58:44 +07:00
squaresmile
5781593829 Added py.typed 2022-10-25 08:50:56 +07:00
Ivan Moiseev
c6bd8483a4 feat: fix tests and add FastAPICache init in tests. 2022-10-22 21:12:04 +04:00
Ivan Moiseev
e842d6408e feat: make PickleCoder compatible with backends 2022-10-22 21:06:38 +04:00
Ivan Moiseev
68ef94f2db feat: add more asserts for FastAPICache init 2022-10-22 21:05:43 +04:00
Ivan Moiseev
4c6abcf786 feat: add more type hints 2022-10-22 20:59:37 +04:00
long2ice
1ef80ff457 Merge pull request #92 from cpbotha/fix-sync-for-cache-disabled-path-2
Add extra required await and more tests
2022-10-15 11:30:46 +08:00
Charl P. Botha
6ba06bb10f Fix sync example 2022-10-14 21:59:57 +02:00
Charl P. Botha
d0c0885eae Add coverage 2022-10-14 21:59:51 +02:00
Charl P. Botha
630b175766 Add tests for sync and disabled cache 2022-10-14 21:59:33 +02:00
Charl P. Botha
ceb70426f3 Factor out support for optional request / response 2022-10-14 21:58:34 +02:00
Charl P. Botha
d123ec4bfa Add extra required await 2022-10-14 14:09:31 +02:00
long2ice
eeea884bb4 Merge pull request #91 from cpbotha/fix-sync-for-cache-disabled-path
Fix sync for cache disabled path
2022-10-14 19:52:03 +08:00
Charl P. Botha
af9c4d4c56 Restore demo of sync handling 2022-10-14 13:44:59 +02:00
Charl P. Botha
2822ab5d71 Factor out sync handling and use everywhere 2022-10-14 13:44:49 +02:00
vvanglro
7e64cd6490 feat: support cache jinja2 template response 2022-09-28 17:37:05 +08:00
long2ice
34415ad50a Merge pull request #86 from vvanglro/fix/example
fix: example coroutine object is not iterable
2022-09-15 20:40:58 +08:00
vvanglro
3dd4887b37 fix: example coroutine object is not iterable 2022-09-15 17:30:59 +08:00
long2ice
3041af2216 Merge pull request #85 from vvanglro/docs/quick_start
docs: quick start redis
2022-09-14 17:09:15 +08:00
wanghao
5c6f819636 docs: quick start redis 2022-09-14 16:24:10 +08:00
long2ice
3a481a36ed fix: test 2022-09-11 12:33:10 +08:00
long2ice
cb9259807e feat: make request and response optional 2022-09-10 20:06:37 +08:00
long2ice
a4b3386bf0 Merge pull request #82 from uriyyo/feature/run_in_threadpool
Use `run_in_threadpool` instead of `asyncio.run_in_executor`
2022-09-10 18:43:40 +08:00
Yurii Karabas
f310ef5b2d Use run_in_threadpool instead of asyncio run_in_executor 2022-09-09 19:35:48 +03:00
Jegor Kitskerkin
6cc1e65abb Add support for async key_builder 2022-08-11 15:16:12 +02:00
long2ice
820689ce9a Merge pull request #72 from thentgesMindee/clear-no-namespace
fix: 🐛 make FastAPICache.clear clear whole prefix when namespace is None
2022-08-11 08:44:13 +08:00
thentgesMindee
309d9ce7d1 fix: 🐛 FastAPICache.clear clear whole prefix when namespace is None 2022-08-10 19:31:29 +02:00
Lucca Marques
e62f0117e0 feat: changelog changes 2022-08-09 13:45:53 -03:00