hishel 1.1.2__tar.gz → 1.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hishel-1.1.4/CHANGELOG.md +228 -0
- {hishel-1.1.2 → hishel-1.1.4}/PKG-INFO +180 -147
- {hishel-1.1.2 → hishel-1.1.4}/hishel/__init__.py +2 -1
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_async_httpx.py +14 -2
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_spec.py +1 -1
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_storages/_async_sqlite.py +5 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_storages/_sync_sqlite.py +5 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_sync_httpx.py +14 -2
- {hishel-1.1.2 → hishel-1.1.4}/hishel/requests.py +7 -2
- {hishel-1.1.2 → hishel-1.1.4}/pyproject.toml +1 -1
- hishel-1.1.2/CHANGELOG.md +0 -195
- {hishel-1.1.2 → hishel-1.1.4}/.gitignore +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/LICENSE +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/README.md +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_async_cache.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_headers.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_storages/_async_base.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_storages/_packing.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/_storages/_sync_base.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_core/models.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_policies.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_sync_cache.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/_utils.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/asgi.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/fastapi.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/httpx.py +0 -0
- {hishel-1.1.2 → hishel-1.1.4}/hishel/py.typed +0 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
## What's Changed in 1.1.4
|
|
2
|
+
### 🐛 Bug Fixes
|
|
3
|
+
|
|
4
|
+
* don't raise an error on consumed streams that were read into memory by @karpetrosyan
|
|
5
|
+
* close sqlite connections properly by @karpetrosyan
|
|
6
|
+
|
|
7
|
+
### Contributors
|
|
8
|
+
* @karpetrosyan
|
|
9
|
+
|
|
10
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.3...1.1.4
|
|
11
|
+
|
|
12
|
+
## What's Changed in 1.1.3
|
|
13
|
+
### ⚙️ Miscellaneous Tasks
|
|
14
|
+
|
|
15
|
+
* improve git-cliff docs by @karpetrosyan
|
|
16
|
+
### 🐛 Bug Fixes
|
|
17
|
+
|
|
18
|
+
* fix: add BaseFilter to __all__ exports by @martinblech in [#408](https://github.com/karpetrosyan/hishel/pull/408)
|
|
19
|
+
* fix: set `after_revalidation=True` for `NeedsToBeUpdated` -> `FromCache` transition by @jlopex in [#402](https://github.com/karpetrosyan/hishel/pull/402)
|
|
20
|
+
|
|
21
|
+
### Contributors
|
|
22
|
+
* @karpetrosyan
|
|
23
|
+
* @martinblech
|
|
24
|
+
* @jlopex
|
|
25
|
+
|
|
26
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.2...1.1.3
|
|
27
|
+
|
|
28
|
+
## What's Changed in 1.1.2
|
|
29
|
+
### 🐛 Bug Fixes
|
|
30
|
+
|
|
31
|
+
* respect shared option when excluding unstorable headers by @karpetrosyan
|
|
32
|
+
* remove s-maxage consideration for private caches by @karpetrosyan
|
|
33
|
+
* ensure 304 responses don't leak by @karpetrosyan
|
|
34
|
+
|
|
35
|
+
### Contributors
|
|
36
|
+
* @karpetrosyan
|
|
37
|
+
* @jlopex
|
|
38
|
+
|
|
39
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.1...1.1.2
|
|
40
|
+
|
|
41
|
+
## What's Changed in 1.1.1
|
|
42
|
+
### ⚙️ Miscellaneous Tasks
|
|
43
|
+
|
|
44
|
+
* chore(deps-dev): bump the python-packages group with 10 updates by @dependabot[bot] in [#396](https://github.com/karpetrosyan/hishel/pull/396)
|
|
45
|
+
### 📦 Dependencies
|
|
46
|
+
|
|
47
|
+
* chore(deps): bump astral-sh/setup-uv from 5 to 7 by @dependabot[bot] in [#393](https://github.com/karpetrosyan/hishel/pull/393)
|
|
48
|
+
* chore(deps): bump actions/download-artifact from 4 to 6 by @dependabot[bot] in [#394](https://github.com/karpetrosyan/hishel/pull/394)
|
|
49
|
+
* chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in [#395](https://github.com/karpetrosyan/hishel/pull/395)
|
|
50
|
+
|
|
51
|
+
### Contributors
|
|
52
|
+
* @karpetrosyan
|
|
53
|
+
* @dependabot[bot]
|
|
54
|
+
|
|
55
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.0...1.1.1
|
|
56
|
+
|
|
57
|
+
## What's Changed in 1.1.0
|
|
58
|
+
### ⚙️ Miscellaneous Tasks
|
|
59
|
+
|
|
60
|
+
* add in memory example by @karpetrosyan
|
|
61
|
+
### 🐛 Bug Fixes
|
|
62
|
+
|
|
63
|
+
* pass any response with non-expected status code on revalidation to client by @karpetrosyan
|
|
64
|
+
* pass any response with non-expected status code on revalidation to client by @karpetrosyan
|
|
65
|
+
### 🚀 Features
|
|
66
|
+
|
|
67
|
+
* allow setting storage base with via `database_path` for sqlite storage by @karpetrosyan
|
|
68
|
+
|
|
69
|
+
### Contributors
|
|
70
|
+
* @karpetrosyan
|
|
71
|
+
|
|
72
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0...1.1.0
|
|
73
|
+
|
|
74
|
+
## What's Changed in 1.0.0
|
|
75
|
+
### ⚙️ Miscellaneous Tasks
|
|
76
|
+
|
|
77
|
+
* add examples, improve docs by @karpetrosyan
|
|
78
|
+
|
|
79
|
+
### Contributors
|
|
80
|
+
* @karpetrosyan
|
|
81
|
+
|
|
82
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0b1...1.0.0
|
|
83
|
+
|
|
84
|
+
## What's Changed in 1.0.0b1
|
|
85
|
+
### ♻️ Refactoring
|
|
86
|
+
|
|
87
|
+
* add policies by @karpetrosyan
|
|
88
|
+
### ⚙️ Miscellaneous Tasks
|
|
89
|
+
|
|
90
|
+
* add graphql docs by @karpetrosyan
|
|
91
|
+
* improve sans-io diagram colors by @karpetrosyan
|
|
92
|
+
### 🐛 Bug Fixes
|
|
93
|
+
|
|
94
|
+
* filter out `Transfer-Encoding` header for asgi responses by @karpetrosyan
|
|
95
|
+
* body-sensitive responses caching by @karpetrosyan
|
|
96
|
+
### 🚀 Features
|
|
97
|
+
|
|
98
|
+
* add global `use_body_key` setting by @karpetrosyan
|
|
99
|
+
|
|
100
|
+
### Contributors
|
|
101
|
+
* @karpetrosyan
|
|
102
|
+
|
|
103
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev3...1.0.0b1
|
|
104
|
+
|
|
105
|
+
## What's Changed in 1.0.0.dev3
|
|
106
|
+
### ♻️ Refactoring
|
|
107
|
+
|
|
108
|
+
* automatically generate httpx sync integration from async by @karpetrosyan
|
|
109
|
+
* replace pairs with entries, simplify storage API by @karpetrosyan
|
|
110
|
+
### ⚙️ Miscellaneous Tasks
|
|
111
|
+
|
|
112
|
+
* more robust compressed response caching by @karpetrosyan
|
|
113
|
+
* add custom integrations docs by @karpetrosyan
|
|
114
|
+
* simplify metadata docs by @karpetrosyan
|
|
115
|
+
### 🐛 Bug Fixes
|
|
116
|
+
|
|
117
|
+
* add date header for proper age calculation by @karpetrosyan
|
|
118
|
+
* handle httpx iterable usage instead of iterator correctly by @karpetrosyan
|
|
119
|
+
* fix compressed data caching for requests by @karpetrosyan
|
|
120
|
+
* raise on consumed httpx streams, which we can't store as is (it's already decoded) by @karpetrosyan
|
|
121
|
+
* add missing permissions into `publish.yml` by @karpetrosyan
|
|
122
|
+
### 🚀 Features
|
|
123
|
+
|
|
124
|
+
* add logging for asgi by @karpetrosyan
|
|
125
|
+
* add blacksheep integration examples by @karpetrosyan
|
|
126
|
+
* add integrations with fastapi and asgi by @karpetrosyan
|
|
127
|
+
|
|
128
|
+
### Contributors
|
|
129
|
+
* @karpetrosyan
|
|
130
|
+
|
|
131
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev2...1.0.0.dev3
|
|
132
|
+
|
|
133
|
+
## What's Changed in 1.0.0.dev2
|
|
134
|
+
### ⚙️ Miscellaneous Tasks
|
|
135
|
+
|
|
136
|
+
* fix time travel date, explicitly specify the timezone by @karpetrosyan
|
|
137
|
+
* add import without extras check in ci by @karpetrosyan
|
|
138
|
+
* remove redundant utils and tests by @karpetrosyan
|
|
139
|
+
### 🐛 Bug Fixes
|
|
140
|
+
|
|
141
|
+
* don't raise an error on 3xx during revalidation by @karpetrosyan
|
|
142
|
+
* fix check for storing auth requests by @karpetrosyan
|
|
143
|
+
### 🚀 Features
|
|
144
|
+
|
|
145
|
+
* add hishel_created_at response metadata by @karpetrosyan
|
|
146
|
+
|
|
147
|
+
### Contributors
|
|
148
|
+
* @karpetrosyan
|
|
149
|
+
|
|
150
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev1...1.0.0.dev2
|
|
151
|
+
|
|
152
|
+
## What's Changed in 1.0.0.dev1
|
|
153
|
+
### ⚙️ Miscellaneous Tasks
|
|
154
|
+
|
|
155
|
+
* remove some redundant utils methods by @karpetrosyan
|
|
156
|
+
### 📦 Dependencies
|
|
157
|
+
|
|
158
|
+
* improve git-cliff by @karpetrosyan
|
|
159
|
+
* install async extra with httpx by @karpetrosyan
|
|
160
|
+
* make `anysqlite` optional dependency by @karpetrosyan
|
|
161
|
+
* make httpx and async libs optional dependencies by @karpetrosyan
|
|
162
|
+
|
|
163
|
+
### Contributors
|
|
164
|
+
* @karpetrosyan
|
|
165
|
+
|
|
166
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev0...1.0.0.dev1
|
|
167
|
+
|
|
168
|
+
## What's Changed in 1.0.0.dev0
|
|
169
|
+
### ⚙️ Miscellaneous Tasks
|
|
170
|
+
|
|
171
|
+
* improve docs versioning, deploy dev doc on ci by @karpetrosyan
|
|
172
|
+
* use mike powered versioning by @karpetrosyan
|
|
173
|
+
|
|
174
|
+
### Contributors
|
|
175
|
+
* @karpetrosyan
|
|
176
|
+
|
|
177
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.5...1.0.0.dev0
|
|
178
|
+
|
|
179
|
+
## What's Changed in 0.1.5
|
|
180
|
+
### ⚙️ Miscellaneous Tasks
|
|
181
|
+
|
|
182
|
+
* remove some redundant files from repo by @karpetrosyan
|
|
183
|
+
### 🐛 Bug Fixes
|
|
184
|
+
|
|
185
|
+
* fix some line breaks by @karpetrosyan
|
|
186
|
+
### 🚀 Features
|
|
187
|
+
|
|
188
|
+
* increase requests buffer size to 128KB, disable charset detection by @karpetrosyan
|
|
189
|
+
* feat: add close method to storages API by @karpetrosyan in [#384](https://github.com/karpetrosyan/hishel/pull/384)
|
|
190
|
+
* better cache-control parsing by @karpetrosyan
|
|
191
|
+
* set chunk size to 128KB for httpx to reduce SQLite read/writes by @karpetrosyan
|
|
192
|
+
|
|
193
|
+
### Contributors
|
|
194
|
+
* @karpetrosyan
|
|
195
|
+
|
|
196
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.4...0.1.5
|
|
197
|
+
|
|
198
|
+
## What's Changed in 0.1.4
|
|
199
|
+
### ⚙️ Miscellaneous Tasks
|
|
200
|
+
|
|
201
|
+
* move some tests to beta by @karpetrosyan
|
|
202
|
+
* add sqlite tests for new storage by @karpetrosyan
|
|
203
|
+
* temporary remove python3.14 from CI by @karpetrosyan
|
|
204
|
+
* chore(internal): remove src folder by @karpetrosyan in [#373](https://github.com/karpetrosyan/hishel/pull/373)
|
|
205
|
+
* chore: improve CI by @karpetrosyan in [#369](https://github.com/karpetrosyan/hishel/pull/369)
|
|
206
|
+
### 🐛 Bug Fixes
|
|
207
|
+
|
|
208
|
+
* fix beta imports by @karpetrosyan
|
|
209
|
+
* create an sqlite file in a cache folder by @karpetrosyan
|
|
210
|
+
### 🚀 Features
|
|
211
|
+
|
|
212
|
+
* better async implemetation for sqlite storage by @karpetrosyan
|
|
213
|
+
* get rid of some locks from sqlite storage by @karpetrosyan
|
|
214
|
+
* add sqlite storage for beta storages by @karpetrosyan
|
|
215
|
+
* feat: allow already consumed streams with `CacheTransport` by @jamesbraza in [#377](https://github.com/karpetrosyan/hishel/pull/377)
|
|
216
|
+
* feat: add support for a sans-IO API by @karpetrosyan in [#366](https://github.com/karpetrosyan/hishel/pull/366)
|
|
217
|
+
|
|
218
|
+
### Contributors
|
|
219
|
+
* @karpetrosyan
|
|
220
|
+
* @jamesbraza
|
|
221
|
+
* @GugNersesyan
|
|
222
|
+
* @dependabot[bot]
|
|
223
|
+
* @mmdbalkhi
|
|
224
|
+
* @AstraLuma
|
|
225
|
+
* @deathaxe
|
|
226
|
+
|
|
227
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.3...0.1.4
|
|
228
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hishel
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: Elegant HTTP Caching for Python
|
|
5
5
|
Project-URL: Homepage, https://hishel.com
|
|
6
6
|
Project-URL: Source, https://github.com/karpetrosyan/hishel
|
|
@@ -406,198 +406,231 @@ Hishel is inspired by and builds upon the excellent work in the Python HTTP ecos
|
|
|
406
406
|
<strong>Made with ❤️ by <a href="https://github.com/karpetrosyan">Kar Petrosyan</a></strong>
|
|
407
407
|
</p>
|
|
408
408
|
|
|
409
|
+
## What's Changed in 1.1.4
|
|
410
|
+
### 🐛 Bug Fixes
|
|
411
|
+
|
|
412
|
+
* don't raise an error on consumed streams that were read into memory by @karpetrosyan
|
|
413
|
+
* close sqlite connections properly by @karpetrosyan
|
|
414
|
+
|
|
415
|
+
### Contributors
|
|
416
|
+
* @karpetrosyan
|
|
417
|
+
|
|
418
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.3...1.1.4
|
|
419
|
+
|
|
420
|
+
## What's Changed in 1.1.3
|
|
421
|
+
### ⚙️ Miscellaneous Tasks
|
|
422
|
+
|
|
423
|
+
* improve git-cliff docs by @karpetrosyan
|
|
424
|
+
### 🐛 Bug Fixes
|
|
425
|
+
|
|
426
|
+
* fix: add BaseFilter to __all__ exports by @martinblech in [#408](https://github.com/karpetrosyan/hishel/pull/408)
|
|
427
|
+
* fix: set `after_revalidation=True` for `NeedsToBeUpdated` -> `FromCache` transition by @jlopex in [#402](https://github.com/karpetrosyan/hishel/pull/402)
|
|
428
|
+
|
|
429
|
+
### Contributors
|
|
430
|
+
* @karpetrosyan
|
|
431
|
+
* @martinblech
|
|
432
|
+
* @jlopex
|
|
433
|
+
|
|
434
|
+
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.2...1.1.3
|
|
435
|
+
|
|
409
436
|
## What's Changed in 1.1.2
|
|
410
|
-
|
|
411
|
-
* fix: remove s-maxage consideration for private caches by @karpetrosyan
|
|
412
|
-
* fix: respect shared option when excluding unstorable headers by @jlopex in [#401](https://github.com/karpetrosyan/hishel/pull/401)
|
|
413
|
-
* fix: remove s-maxage consideration for private caches by @jlopex in [#400](https://github.com/karpetrosyan/hishel/pull/400)
|
|
414
|
-
* fix: ensure 304 responses don't leak by @karpetrosyan
|
|
437
|
+
### 🐛 Bug Fixes
|
|
415
438
|
|
|
416
|
-
|
|
417
|
-
*
|
|
439
|
+
* respect shared option when excluding unstorable headers by @karpetrosyan
|
|
440
|
+
* remove s-maxage consideration for private caches by @karpetrosyan
|
|
441
|
+
* ensure 304 responses don't leak by @karpetrosyan
|
|
442
|
+
|
|
443
|
+
### Contributors
|
|
444
|
+
* @karpetrosyan
|
|
445
|
+
* @jlopex
|
|
418
446
|
|
|
419
447
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.1...1.1.2
|
|
420
448
|
|
|
421
449
|
## What's Changed in 1.1.1
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
*
|
|
425
|
-
|
|
426
|
-
|
|
450
|
+
### ⚙️ Miscellaneous Tasks
|
|
451
|
+
|
|
452
|
+
* chore(deps-dev): bump the python-packages group with 10 updates by @dependabot[bot] in [#396](https://github.com/karpetrosyan/hishel/pull/396)
|
|
453
|
+
### 📦 Dependencies
|
|
454
|
+
|
|
455
|
+
* chore(deps): bump astral-sh/setup-uv from 5 to 7 by @dependabot[bot] in [#393](https://github.com/karpetrosyan/hishel/pull/393)
|
|
456
|
+
* chore(deps): bump actions/download-artifact from 4 to 6 by @dependabot[bot] in [#394](https://github.com/karpetrosyan/hishel/pull/394)
|
|
457
|
+
* chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in [#395](https://github.com/karpetrosyan/hishel/pull/395)
|
|
458
|
+
|
|
459
|
+
### Contributors
|
|
460
|
+
* @karpetrosyan
|
|
461
|
+
* @dependabot[bot]
|
|
427
462
|
|
|
428
463
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.0...1.1.1
|
|
429
464
|
|
|
430
465
|
## What's Changed in 1.1.0
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
*
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
*
|
|
466
|
+
### ⚙️ Miscellaneous Tasks
|
|
467
|
+
|
|
468
|
+
* add in memory example by @karpetrosyan
|
|
469
|
+
### 🐛 Bug Fixes
|
|
470
|
+
|
|
471
|
+
* pass any response with non-expected status code on revalidation to client by @karpetrosyan
|
|
472
|
+
* pass any response with non-expected status code on revalidation to client by @karpetrosyan
|
|
473
|
+
### 🚀 Features
|
|
474
|
+
|
|
475
|
+
* allow setting storage base with via `database_path` for sqlite storage by @karpetrosyan
|
|
476
|
+
|
|
477
|
+
### Contributors
|
|
478
|
+
* @karpetrosyan
|
|
437
479
|
|
|
438
480
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0...1.1.0
|
|
439
481
|
|
|
440
482
|
## What's Changed in 1.0.0
|
|
441
|
-
|
|
442
|
-
|
|
483
|
+
### ⚙️ Miscellaneous Tasks
|
|
484
|
+
|
|
485
|
+
* add examples, improve docs by @karpetrosyan
|
|
486
|
+
|
|
487
|
+
### Contributors
|
|
488
|
+
* @karpetrosyan
|
|
443
489
|
|
|
444
490
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0b1...1.0.0
|
|
445
491
|
|
|
446
492
|
## What's Changed in 1.0.0b1
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
*
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
*
|
|
457
|
-
*
|
|
493
|
+
### ♻️ Refactoring
|
|
494
|
+
|
|
495
|
+
* add policies by @karpetrosyan
|
|
496
|
+
### ⚙️ Miscellaneous Tasks
|
|
497
|
+
|
|
498
|
+
* add graphql docs by @karpetrosyan
|
|
499
|
+
* improve sans-io diagram colors by @karpetrosyan
|
|
500
|
+
### 🐛 Bug Fixes
|
|
501
|
+
|
|
502
|
+
* filter out `Transfer-Encoding` header for asgi responses by @karpetrosyan
|
|
503
|
+
* body-sensitive responses caching by @karpetrosyan
|
|
504
|
+
### 🚀 Features
|
|
505
|
+
|
|
506
|
+
* add global `use_body_key` setting by @karpetrosyan
|
|
507
|
+
|
|
508
|
+
### Contributors
|
|
509
|
+
* @karpetrosyan
|
|
458
510
|
|
|
459
511
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev3...1.0.0b1
|
|
460
512
|
|
|
461
513
|
## What's Changed in 1.0.0.dev3
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
|
-
*
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
*
|
|
486
|
-
* properly close resource by @karpetrosyan
|
|
487
|
-
* fix: fix compressed data caching for requests by @karpetrosyan
|
|
488
|
-
* fix: raise on consumed httpx streams, which we can't store as is (it's already decoded) by @karpetrosyan
|
|
489
|
-
* chore(docs): simplify metadata docs by @karpetrosyan
|
|
490
|
-
* fix: add missing permissions into `publish.yml` by @karpetrosyan
|
|
514
|
+
### ♻️ Refactoring
|
|
515
|
+
|
|
516
|
+
* automatically generate httpx sync integration from async by @karpetrosyan
|
|
517
|
+
* replace pairs with entries, simplify storage API by @karpetrosyan
|
|
518
|
+
### ⚙️ Miscellaneous Tasks
|
|
519
|
+
|
|
520
|
+
* more robust compressed response caching by @karpetrosyan
|
|
521
|
+
* add custom integrations docs by @karpetrosyan
|
|
522
|
+
* simplify metadata docs by @karpetrosyan
|
|
523
|
+
### 🐛 Bug Fixes
|
|
524
|
+
|
|
525
|
+
* add date header for proper age calculation by @karpetrosyan
|
|
526
|
+
* handle httpx iterable usage instead of iterator correctly by @karpetrosyan
|
|
527
|
+
* fix compressed data caching for requests by @karpetrosyan
|
|
528
|
+
* raise on consumed httpx streams, which we can't store as is (it's already decoded) by @karpetrosyan
|
|
529
|
+
* add missing permissions into `publish.yml` by @karpetrosyan
|
|
530
|
+
### 🚀 Features
|
|
531
|
+
|
|
532
|
+
* add logging for asgi by @karpetrosyan
|
|
533
|
+
* add blacksheep integration examples by @karpetrosyan
|
|
534
|
+
* add integrations with fastapi and asgi by @karpetrosyan
|
|
535
|
+
|
|
536
|
+
### Contributors
|
|
537
|
+
* @karpetrosyan
|
|
491
538
|
|
|
492
539
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev2...1.0.0.dev3
|
|
493
540
|
|
|
494
541
|
## What's Changed in 1.0.0.dev2
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
*
|
|
503
|
-
*
|
|
542
|
+
### ⚙️ Miscellaneous Tasks
|
|
543
|
+
|
|
544
|
+
* fix time travel date, explicitly specify the timezone by @karpetrosyan
|
|
545
|
+
* add import without extras check in ci by @karpetrosyan
|
|
546
|
+
* remove redundant utils and tests by @karpetrosyan
|
|
547
|
+
### 🐛 Bug Fixes
|
|
548
|
+
|
|
549
|
+
* don't raise an error on 3xx during revalidation by @karpetrosyan
|
|
550
|
+
* fix check for storing auth requests by @karpetrosyan
|
|
551
|
+
### 🚀 Features
|
|
552
|
+
|
|
553
|
+
* add hishel_created_at response metadata by @karpetrosyan
|
|
554
|
+
|
|
555
|
+
### Contributors
|
|
556
|
+
* @karpetrosyan
|
|
504
557
|
|
|
505
558
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev1...1.0.0.dev2
|
|
506
559
|
|
|
507
560
|
## What's Changed in 1.0.0.dev1
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
*
|
|
511
|
-
|
|
512
|
-
|
|
561
|
+
### ⚙️ Miscellaneous Tasks
|
|
562
|
+
|
|
563
|
+
* remove some redundant utils methods by @karpetrosyan
|
|
564
|
+
### 📦 Dependencies
|
|
565
|
+
|
|
566
|
+
* improve git-cliff by @karpetrosyan
|
|
567
|
+
* install async extra with httpx by @karpetrosyan
|
|
568
|
+
* make `anysqlite` optional dependency by @karpetrosyan
|
|
569
|
+
* make httpx and async libs optional dependencies by @karpetrosyan
|
|
570
|
+
|
|
571
|
+
### Contributors
|
|
572
|
+
* @karpetrosyan
|
|
513
573
|
|
|
514
574
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev0...1.0.0.dev1
|
|
515
575
|
|
|
516
576
|
## What's Changed in 1.0.0.dev0
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
*
|
|
524
|
-
* improve docs introduction by @karpetrosyan
|
|
525
|
-
* better docs publishing, better project description by @karpetrosyan
|
|
526
|
-
* fix docs publishing by @karpetrosyan
|
|
527
|
-
* fix docs deploying by @karpetrosyan
|
|
528
|
-
* chore(docs): improve docs versioning, deploy dev doc on ci by @karpetrosyan
|
|
529
|
-
* fix unasync by @karpetrosyan
|
|
530
|
-
* fix unasync by @karpetrosyan
|
|
531
|
-
* fix unasync by @karpetrosyan
|
|
532
|
-
* Version 1.0.0.dev0 by @karpetrosyan
|
|
533
|
-
* chore(docs): use mike powered versioning by @karpetrosyan
|
|
534
|
-
* fix changelog by @karpetrosyan
|
|
577
|
+
### ⚙️ Miscellaneous Tasks
|
|
578
|
+
|
|
579
|
+
* improve docs versioning, deploy dev doc on ci by @karpetrosyan
|
|
580
|
+
* use mike powered versioning by @karpetrosyan
|
|
581
|
+
|
|
582
|
+
### Contributors
|
|
583
|
+
* @karpetrosyan
|
|
535
584
|
|
|
536
585
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.5...1.0.0.dev0
|
|
537
586
|
|
|
538
587
|
## What's Changed in 0.1.5
|
|
539
|
-
|
|
540
|
-
|
|
588
|
+
### ⚙️ Miscellaneous Tasks
|
|
589
|
+
|
|
590
|
+
* remove some redundant files from repo by @karpetrosyan
|
|
591
|
+
### 🐛 Bug Fixes
|
|
592
|
+
|
|
593
|
+
* fix some line breaks by @karpetrosyan
|
|
594
|
+
### 🚀 Features
|
|
595
|
+
|
|
596
|
+
* increase requests buffer size to 128KB, disable charset detection by @karpetrosyan
|
|
541
597
|
* feat: add close method to storages API by @karpetrosyan in [#384](https://github.com/karpetrosyan/hishel/pull/384)
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
*
|
|
547
|
-
* fix(docs): fix some line breaks by @karpetrosyan
|
|
548
|
-
* chore: remove some redundant files from repo by @karpetrosyan
|
|
598
|
+
* better cache-control parsing by @karpetrosyan
|
|
599
|
+
* set chunk size to 128KB for httpx to reduce SQLite read/writes by @karpetrosyan
|
|
600
|
+
|
|
601
|
+
### Contributors
|
|
602
|
+
* @karpetrosyan
|
|
549
603
|
|
|
550
604
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.4...0.1.5
|
|
551
605
|
|
|
552
606
|
## What's Changed in 0.1.4
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
*
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
* fix typing by @karpetrosyan
|
|
559
|
-
* format by @karpetrosyan
|
|
560
|
-
* more docs! more tests! by @karpetrosyan
|
|
561
|
-
* lot of fixes by @karpetrosyan
|
|
562
|
-
* remove redundant files by @karpetrosyan
|
|
563
|
-
* remove docs footer by @karpetrosyan
|
|
564
|
-
* fix: fix beta imports by @karpetrosyan
|
|
565
|
-
* uv lock by @karpetrosyan
|
|
566
|
-
* fix: create an sqlite file in a cache folder by @karpetrosyan
|
|
567
|
-
* better unasync by @karpetrosyan
|
|
568
|
-
* feat: better async implemetation for sqlite storage by @karpetrosyan
|
|
569
|
-
* feat: get rid of some locks from sqlite storage by @karpetrosyan
|
|
570
|
-
* chore(tests): move some tests to beta by @karpetrosyan
|
|
571
|
-
* fix tests by @karpetrosyan
|
|
572
|
-
* fix tests by @karpetrosyan
|
|
573
|
-
* fix lint by @karpetrosyan
|
|
574
|
-
* chore(tests): add sqlite tests for new storage by @karpetrosyan
|
|
575
|
-
* feat: add sqlite storage for beta storages by @karpetrosyan
|
|
576
|
-
* Adding `.venv` to `.gitignore` by @jamesbraza in [#379](https://github.com/karpetrosyan/hishel/pull/379)
|
|
577
|
-
* Revert "add ethical ads" by @karpetrosyan
|
|
578
|
-
* add ethical ads by @karpetrosyan
|
|
579
|
-
* feat: allow already consumed streams with `CacheTransport` by @jamesbraza in [#377](https://github.com/karpetrosyan/hishel/pull/377)
|
|
580
|
-
* chore(ci): fix lint script by @GugNersesyan in [#375](https://github.com/karpetrosyan/hishel/pull/375)
|
|
581
|
-
* chore(internal): temporary remove python3.14 from CI by @karpetrosyan
|
|
607
|
+
### ⚙️ Miscellaneous Tasks
|
|
608
|
+
|
|
609
|
+
* move some tests to beta by @karpetrosyan
|
|
610
|
+
* add sqlite tests for new storage by @karpetrosyan
|
|
611
|
+
* temporary remove python3.14 from CI by @karpetrosyan
|
|
582
612
|
* chore(internal): remove src folder by @karpetrosyan in [#373](https://github.com/karpetrosyan/hishel/pull/373)
|
|
583
|
-
* New storage API by @karpetrosyan in [#359](https://github.com/karpetrosyan/hishel/pull/359)
|
|
584
613
|
* chore: improve CI by @karpetrosyan in [#369](https://github.com/karpetrosyan/hishel/pull/369)
|
|
614
|
+
### 🐛 Bug Fixes
|
|
615
|
+
|
|
616
|
+
* fix beta imports by @karpetrosyan
|
|
617
|
+
* create an sqlite file in a cache folder by @karpetrosyan
|
|
618
|
+
### 🚀 Features
|
|
619
|
+
|
|
620
|
+
* better async implemetation for sqlite storage by @karpetrosyan
|
|
621
|
+
* get rid of some locks from sqlite storage by @karpetrosyan
|
|
622
|
+
* add sqlite storage for beta storages by @karpetrosyan
|
|
623
|
+
* feat: allow already consumed streams with `CacheTransport` by @jamesbraza in [#377](https://github.com/karpetrosyan/hishel/pull/377)
|
|
585
624
|
* feat: add support for a sans-IO API by @karpetrosyan in [#366](https://github.com/karpetrosyan/hishel/pull/366)
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
* @jamesbraza made their first contribution in [#379](https://github.com/karpetrosyan/hishel/pull/379)
|
|
596
|
-
* @GugNersesyan made their first contribution in [#375](https://github.com/karpetrosyan/hishel/pull/375)
|
|
597
|
-
* @mmdbalkhi made their first contribution in [#348](https://github.com/karpetrosyan/hishel/pull/348)
|
|
598
|
-
* @AstraLuma made their first contribution in [#353](https://github.com/karpetrosyan/hishel/pull/353)
|
|
599
|
-
* @deathaxe made their first contribution in [#351](https://github.com/karpetrosyan/hishel/pull/351)
|
|
625
|
+
|
|
626
|
+
### Contributors
|
|
627
|
+
* @karpetrosyan
|
|
628
|
+
* @jamesbraza
|
|
629
|
+
* @GugNersesyan
|
|
630
|
+
* @dependabot[bot]
|
|
631
|
+
* @mmdbalkhi
|
|
632
|
+
* @AstraLuma
|
|
633
|
+
* @deathaxe
|
|
600
634
|
|
|
601
635
|
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.3...0.1.4
|
|
602
636
|
|
|
603
|
-
<!-- generated by git-cliff -->
|
|
@@ -27,7 +27,7 @@ from hishel._core.models import (
|
|
|
27
27
|
from hishel._async_cache import AsyncCacheProxy as AsyncCacheProxy
|
|
28
28
|
from hishel._sync_cache import SyncCacheProxy as SyncCacheProxy
|
|
29
29
|
|
|
30
|
-
from hishel._policies import SpecificationPolicy, FilterPolicy, CachePolicy
|
|
30
|
+
from hishel._policies import SpecificationPolicy, FilterPolicy, CachePolicy, BaseFilter
|
|
31
31
|
|
|
32
32
|
__all__ = (
|
|
33
33
|
# New API
|
|
@@ -62,6 +62,7 @@ __all__ = (
|
|
|
62
62
|
"AsyncCacheProxy",
|
|
63
63
|
"SyncCacheProxy",
|
|
64
64
|
# Policies
|
|
65
|
+
"BaseFilter",
|
|
65
66
|
"CachePolicy",
|
|
66
67
|
"SpecificationPolicy",
|
|
67
68
|
"FilterPolicy",
|
|
@@ -118,12 +118,24 @@ def _httpx_to_internal(
|
|
|
118
118
|
metadata=headers_metadata,
|
|
119
119
|
)
|
|
120
120
|
elif isinstance(value, httpx.Response):
|
|
121
|
-
if value.is_stream_consumed and "content-encoding" in value.headers:
|
|
122
|
-
raise RuntimeError("Can't get the raw stream of a response with `Content-Encoding` header.")
|
|
123
121
|
stream = (
|
|
124
122
|
make_async_iterator([value.content]) if value.is_stream_consumed else value.aiter_raw(chunk_size=CHUNK_SIZE)
|
|
125
123
|
)
|
|
126
124
|
|
|
125
|
+
if value.is_stream_consumed and "content-encoding" in value.headers:
|
|
126
|
+
# If the stream was consumed and we don't know about
|
|
127
|
+
# the original data and its size, fix the Content-Length
|
|
128
|
+
# header and remove Content-Encoding so we can recreate it later properly.
|
|
129
|
+
headers = Headers(
|
|
130
|
+
{
|
|
131
|
+
**filter_mapping(
|
|
132
|
+
headers,
|
|
133
|
+
["content-encoding"],
|
|
134
|
+
),
|
|
135
|
+
"content-length": str(len(value.content)),
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
|
|
127
139
|
return Response(
|
|
128
140
|
status_code=value.status_code,
|
|
129
141
|
headers=headers,
|
|
@@ -2410,4 +2410,4 @@ class NeedToBeUpdated(State):
|
|
|
2410
2410
|
original_request: Request
|
|
2411
2411
|
|
|
2412
2412
|
def next(self) -> FromCache:
|
|
2413
|
-
return FromCache(entry=self.updating_entries[-1], options=self.options)
|
|
2413
|
+
return FromCache(entry=self.updating_entries[-1], options=self.options, after_revalidation=True)
|
|
@@ -237,6 +237,11 @@ try:
|
|
|
237
237
|
await self._soft_delete_pair(pair, cursor)
|
|
238
238
|
await connection.commit()
|
|
239
239
|
|
|
240
|
+
async def close(self) -> None:
|
|
241
|
+
if self.connection is not None:
|
|
242
|
+
await self.connection.close()
|
|
243
|
+
self.connection = None
|
|
244
|
+
|
|
240
245
|
async def _is_stream_complete(self, pair_id: uuid.UUID, cursor: anysqlite.Cursor) -> bool:
|
|
241
246
|
# Check if there's a completion marker (chunk_number = -1) for response stream
|
|
242
247
|
await cursor.execute(
|
|
@@ -237,6 +237,11 @@ try:
|
|
|
237
237
|
self._soft_delete_pair(pair, cursor)
|
|
238
238
|
connection.commit()
|
|
239
239
|
|
|
240
|
+
def close(self) -> None:
|
|
241
|
+
if self.connection is not None:
|
|
242
|
+
self.connection.close()
|
|
243
|
+
self.connection = None
|
|
244
|
+
|
|
240
245
|
def _is_stream_complete(self, pair_id: uuid.UUID, cursor: sqlite3.Cursor) -> bool:
|
|
241
246
|
# Check if there's a completion marker (chunk_number = -1) for response stream
|
|
242
247
|
cursor.execute(
|
|
@@ -118,12 +118,24 @@ def _httpx_to_internal(
|
|
|
118
118
|
metadata=headers_metadata,
|
|
119
119
|
)
|
|
120
120
|
elif isinstance(value, httpx.Response):
|
|
121
|
-
if value.is_stream_consumed and "content-encoding" in value.headers:
|
|
122
|
-
raise RuntimeError("Can't get the raw stream of a response with `Content-Encoding` header.")
|
|
123
121
|
stream = (
|
|
124
122
|
make_sync_iterator([value.content]) if value.is_stream_consumed else value.iter_raw(chunk_size=CHUNK_SIZE)
|
|
125
123
|
)
|
|
126
124
|
|
|
125
|
+
if value.is_stream_consumed and "content-encoding" in value.headers:
|
|
126
|
+
# If the stream was consumed and we don't know about
|
|
127
|
+
# the original data and its size, fix the Content-Length
|
|
128
|
+
# header and remove Content-Encoding so we can recreate it later properly.
|
|
129
|
+
headers = Headers(
|
|
130
|
+
{
|
|
131
|
+
**filter_mapping(
|
|
132
|
+
headers,
|
|
133
|
+
["content-encoding"],
|
|
134
|
+
),
|
|
135
|
+
"content-length": str(len(value.content)),
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
|
|
127
139
|
return Response(
|
|
128
140
|
status_code=value.status_code,
|
|
129
141
|
headers=headers,
|
|
@@ -10,7 +10,7 @@ from hishel._core._storages._sync_base import SyncBaseStorage
|
|
|
10
10
|
from hishel._core.models import extract_metadata_from_headers
|
|
11
11
|
from hishel._policies import CachePolicy
|
|
12
12
|
from hishel._sync_cache import SyncCacheProxy
|
|
13
|
-
from hishel._utils import snake_to_header
|
|
13
|
+
from hishel._utils import filter_mapping, snake_to_header
|
|
14
14
|
|
|
15
15
|
try:
|
|
16
16
|
import requests
|
|
@@ -94,12 +94,17 @@ def _requests_to_internal(
|
|
|
94
94
|
elif isinstance(model, requests.models.Response):
|
|
95
95
|
try:
|
|
96
96
|
stream = model.raw.stream(amt=CHUNK_SIZE, decode_content=None)
|
|
97
|
+
headers = Headers(filter_mapping(model.headers, ["transfer-encoding"]))
|
|
97
98
|
except requests.exceptions.StreamConsumedError:
|
|
98
99
|
stream = iter([model.content])
|
|
100
|
+
# If the stream was consumed and we don't know about the original
|
|
101
|
+
# data and its size, fix the Content-Length header and remove
|
|
102
|
+
# Content-Encoding so we can recreate it later properly.
|
|
103
|
+
headers = Headers(filter_mapping(model.headers, ["content-encoding", "transfer-encoding"]))
|
|
99
104
|
|
|
100
105
|
return Response(
|
|
101
106
|
status_code=model.status_code,
|
|
102
|
-
headers=
|
|
107
|
+
headers=headers,
|
|
103
108
|
stream=stream,
|
|
104
109
|
)
|
|
105
110
|
else:
|
hishel-1.1.2/CHANGELOG.md
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
## What's Changed in 1.1.2
|
|
2
|
-
* fix: respect shared option when excluding unstorable headers by @karpetrosyan
|
|
3
|
-
* fix: remove s-maxage consideration for private caches by @karpetrosyan
|
|
4
|
-
* fix: respect shared option when excluding unstorable headers by @jlopex in [#401](https://github.com/karpetrosyan/hishel/pull/401)
|
|
5
|
-
* fix: remove s-maxage consideration for private caches by @jlopex in [#400](https://github.com/karpetrosyan/hishel/pull/400)
|
|
6
|
-
* fix: ensure 304 responses don't leak by @karpetrosyan
|
|
7
|
-
|
|
8
|
-
## New Contributors
|
|
9
|
-
* @jlopex made their first contribution in [#401](https://github.com/karpetrosyan/hishel/pull/401)
|
|
10
|
-
|
|
11
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.1...1.1.2
|
|
12
|
-
|
|
13
|
-
## What's Changed in 1.1.1
|
|
14
|
-
* Revert "Revert "chore(deps): bump actions/upload-artifact from 4 to 5 "" by @karpetrosyan
|
|
15
|
-
* Revert "chore(deps): bump actions/download-artifact from 4 to 6 " by @karpetrosyan
|
|
16
|
-
* Revert "chore(deps): bump actions/upload-artifact from 4 to 5 " by @karpetrosyan
|
|
17
|
-
* update uv.lock by @karpetrosyan
|
|
18
|
-
* Version 1.1.1 by @karpetrosyan
|
|
19
|
-
|
|
20
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.1.0...1.1.1
|
|
21
|
-
|
|
22
|
-
## What's Changed in 1.1.0
|
|
23
|
-
* Version 1.1.0 by @karpetrosyan
|
|
24
|
-
* fix: pass any response with non-expected status code on revalidation to client by @karpetrosyan
|
|
25
|
-
* fix: pass any response with non-expected status code on revalidation to client by @karpetrosyan
|
|
26
|
-
* feat: allow setting storage base with via `database_path` for sqlite storage by @karpetrosyan
|
|
27
|
-
* fix in memory example by @karpetrosyan
|
|
28
|
-
* chore: add in memory example by @karpetrosyan
|
|
29
|
-
|
|
30
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0...1.1.0
|
|
31
|
-
|
|
32
|
-
## What's Changed in 1.0.0
|
|
33
|
-
* Version 1.0.0 by @karpetrosyan
|
|
34
|
-
* chore(docs): add examples, improve docs by @karpetrosyan
|
|
35
|
-
|
|
36
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0b1...1.0.0
|
|
37
|
-
|
|
38
|
-
## What's Changed in 1.0.0b1
|
|
39
|
-
* Version 1.0.0b1 by @karpetrosyan
|
|
40
|
-
* improve docs by @karpetrosyan
|
|
41
|
-
* fix: filter out `Transfer-Encoding` header for asgi responses by @karpetrosyan
|
|
42
|
-
* fix body sensitive docs by @karpetrosyan
|
|
43
|
-
* refactor: add policies by @karpetrosyan
|
|
44
|
-
* chore(docs): add graphql docs by @karpetrosyan
|
|
45
|
-
* feat: add global `use_body_key` setting by @karpetrosyan
|
|
46
|
-
* chore(docs): improve sans-io diagram colors by @karpetrosyan
|
|
47
|
-
* fix: body-sensitive responses caching by @karpetrosyan
|
|
48
|
-
* mention body sensitive content caching by @karpetrosyan
|
|
49
|
-
* clean up roadmap by @karpetrosyan
|
|
50
|
-
|
|
51
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev3...1.0.0b1
|
|
52
|
-
|
|
53
|
-
## What's Changed in 1.0.0.dev3
|
|
54
|
-
* Version 1.0.0.dev3 by @karpetrosyan
|
|
55
|
-
* fix ci by @karpetrosyan
|
|
56
|
-
* fix: add date header for proper age calculation by @karpetrosyan
|
|
57
|
-
* rename some methods by @karpetrosyan
|
|
58
|
-
* refactor: automatically generate httpx sync integration from async by @karpetrosyan
|
|
59
|
-
* change pairs to entries in some places by @karpetrosyan
|
|
60
|
-
* fix lint format by @karpetrosyan
|
|
61
|
-
* refactor: replace pairs with entries, simplify storage API by @karpetrosyan
|
|
62
|
-
* better docs by @karpetrosyan
|
|
63
|
-
* better custom integrations docs by @karpetrosyan
|
|
64
|
-
* more private by @karpetrosyan
|
|
65
|
-
* fix lint, make things private by @karpetrosyan
|
|
66
|
-
* dont fail if unasync rule was not used by @karpetrosyan
|
|
67
|
-
* chore: more robust compressed response caching by @karpetrosyan
|
|
68
|
-
* chore(docs): add custom integrations docs by @karpetrosyan
|
|
69
|
-
* feat: add logging for asgi by @karpetrosyan
|
|
70
|
-
* fix: handle httpx iterable usage instead of iterator correctly by @karpetrosyan
|
|
71
|
-
* feat: add blacksheep integration examples by @karpetrosyan
|
|
72
|
-
* Change note syntax for ASGI middleware by @karpetrosyan
|
|
73
|
-
* fix lint by @karpetrosyan
|
|
74
|
-
* feat: add integrations with fastapi and asgi by @karpetrosyan
|
|
75
|
-
* fix readme by @karpetrosyan
|
|
76
|
-
* add icon for introduction page by @karpetrosyan
|
|
77
|
-
* fix test by @karpetrosyan
|
|
78
|
-
* properly close resource by @karpetrosyan
|
|
79
|
-
* fix: fix compressed data caching for requests by @karpetrosyan
|
|
80
|
-
* fix: raise on consumed httpx streams, which we can't store as is (it's already decoded) by @karpetrosyan
|
|
81
|
-
* chore(docs): simplify metadata docs by @karpetrosyan
|
|
82
|
-
* fix: add missing permissions into `publish.yml` by @karpetrosyan
|
|
83
|
-
|
|
84
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev2...1.0.0.dev3
|
|
85
|
-
|
|
86
|
-
## What's Changed in 1.0.0.dev2
|
|
87
|
-
* Version 1.0.0.dev2 by @karpetrosyan
|
|
88
|
-
* unasync by @karpetrosyan
|
|
89
|
-
* chore: fix time travel date, explicitly specify the timezone by @karpetrosyan
|
|
90
|
-
* fix: don't raise an error on 3xx during revalidation by @karpetrosyan
|
|
91
|
-
* chore: add import without extras check in ci by @karpetrosyan
|
|
92
|
-
* chore(internal): remove redundant utils and tests by @karpetrosyan
|
|
93
|
-
* feat: add hishel_created_at response metadata by @karpetrosyan
|
|
94
|
-
* fix: fix check for storing auth requests by @karpetrosyan
|
|
95
|
-
* better git-cliff by @karpetrosyan
|
|
96
|
-
|
|
97
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev1...1.0.0.dev2
|
|
98
|
-
|
|
99
|
-
## What's Changed in 1.0.0.dev1
|
|
100
|
-
* Version 1.0.0.dev1 by @karpetrosyan
|
|
101
|
-
* fix changelog + uv lock by @karpetrosyan
|
|
102
|
-
* fix linting by @karpetrosyan
|
|
103
|
-
* chore(internal): remove some redundant utils methods by @karpetrosyan
|
|
104
|
-
* fix mike deploy by @karpetrosyan
|
|
105
|
-
|
|
106
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/1.0.0.dev0...1.0.0.dev1
|
|
107
|
-
|
|
108
|
-
## What's Changed in 1.0.0.dev0
|
|
109
|
-
* fix publish.yml by @karpetrosyan
|
|
110
|
-
* fix format by @karpetrosyan
|
|
111
|
-
* prepare 1.0.0.dev0 release by @karpetrosyan
|
|
112
|
-
* improve `CacheOptions` docs by @karpetrosyan
|
|
113
|
-
* don't make release version latest by default by @karpetrosyan
|
|
114
|
-
* fix changelog by @karpetrosyan
|
|
115
|
-
* fix action permissions by @karpetrosyan
|
|
116
|
-
* improve docs introduction by @karpetrosyan
|
|
117
|
-
* better docs publishing, better project description by @karpetrosyan
|
|
118
|
-
* fix docs publishing by @karpetrosyan
|
|
119
|
-
* fix docs deploying by @karpetrosyan
|
|
120
|
-
* chore(docs): improve docs versioning, deploy dev doc on ci by @karpetrosyan
|
|
121
|
-
* fix unasync by @karpetrosyan
|
|
122
|
-
* fix unasync by @karpetrosyan
|
|
123
|
-
* fix unasync by @karpetrosyan
|
|
124
|
-
* Version 1.0.0.dev0 by @karpetrosyan
|
|
125
|
-
* chore(docs): use mike powered versioning by @karpetrosyan
|
|
126
|
-
* fix changelog by @karpetrosyan
|
|
127
|
-
|
|
128
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.5...1.0.0.dev0
|
|
129
|
-
|
|
130
|
-
## What's Changed in 0.1.5
|
|
131
|
-
* Version 0.1.5 by @karpetrosyan in [#385](https://github.com/karpetrosyan/hishel/pull/385)
|
|
132
|
-
* feat(perf): increase requests buffer size to 128KB, disable charset detection by @karpetrosyan
|
|
133
|
-
* feat: add close method to storages API by @karpetrosyan in [#384](https://github.com/karpetrosyan/hishel/pull/384)
|
|
134
|
-
* fix headers by @karpetrosyan
|
|
135
|
-
* fix lint by @karpetrosyan
|
|
136
|
-
* ruff format by @karpetrosyan
|
|
137
|
-
* feat: better cache-control parsing by @karpetrosyan
|
|
138
|
-
* feat(perf): set chunk size to 128KB for httpx to reduce SQLite read/writes by @karpetrosyan
|
|
139
|
-
* fix(docs): fix some line breaks by @karpetrosyan
|
|
140
|
-
* chore: remove some redundant files from repo by @karpetrosyan
|
|
141
|
-
|
|
142
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.4...0.1.5
|
|
143
|
-
|
|
144
|
-
## What's Changed in 0.1.4
|
|
145
|
-
* Version 0.1.4 by @karpetrosyan in [#381](https://github.com/karpetrosyan/hishel/pull/381)
|
|
146
|
-
* fix lint by @karpetrosyan
|
|
147
|
-
* more docs! by @karpetrosyan
|
|
148
|
-
* ensure connection is not stored by @karpetrosyan
|
|
149
|
-
* fix annotations by @karpetrosyan
|
|
150
|
-
* fix typing by @karpetrosyan
|
|
151
|
-
* format by @karpetrosyan
|
|
152
|
-
* more docs! more tests! by @karpetrosyan
|
|
153
|
-
* lot of fixes by @karpetrosyan
|
|
154
|
-
* remove redundant files by @karpetrosyan
|
|
155
|
-
* remove docs footer by @karpetrosyan
|
|
156
|
-
* fix: fix beta imports by @karpetrosyan
|
|
157
|
-
* uv lock by @karpetrosyan
|
|
158
|
-
* fix: create an sqlite file in a cache folder by @karpetrosyan
|
|
159
|
-
* better unasync by @karpetrosyan
|
|
160
|
-
* feat: better async implemetation for sqlite storage by @karpetrosyan
|
|
161
|
-
* feat: get rid of some locks from sqlite storage by @karpetrosyan
|
|
162
|
-
* chore(tests): move some tests to beta by @karpetrosyan
|
|
163
|
-
* fix tests by @karpetrosyan
|
|
164
|
-
* fix tests by @karpetrosyan
|
|
165
|
-
* fix lint by @karpetrosyan
|
|
166
|
-
* chore(tests): add sqlite tests for new storage by @karpetrosyan
|
|
167
|
-
* feat: add sqlite storage for beta storages by @karpetrosyan
|
|
168
|
-
* Adding `.venv` to `.gitignore` by @jamesbraza in [#379](https://github.com/karpetrosyan/hishel/pull/379)
|
|
169
|
-
* Revert "add ethical ads" by @karpetrosyan
|
|
170
|
-
* add ethical ads by @karpetrosyan
|
|
171
|
-
* feat: allow already consumed streams with `CacheTransport` by @jamesbraza in [#377](https://github.com/karpetrosyan/hishel/pull/377)
|
|
172
|
-
* chore(ci): fix lint script by @GugNersesyan in [#375](https://github.com/karpetrosyan/hishel/pull/375)
|
|
173
|
-
* chore(internal): temporary remove python3.14 from CI by @karpetrosyan
|
|
174
|
-
* chore(internal): remove src folder by @karpetrosyan in [#373](https://github.com/karpetrosyan/hishel/pull/373)
|
|
175
|
-
* New storage API by @karpetrosyan in [#359](https://github.com/karpetrosyan/hishel/pull/359)
|
|
176
|
-
* chore: improve CI by @karpetrosyan in [#369](https://github.com/karpetrosyan/hishel/pull/369)
|
|
177
|
-
* feat: add support for a sans-IO API by @karpetrosyan in [#366](https://github.com/karpetrosyan/hishel/pull/366)
|
|
178
|
-
* Enhance documentation with donation link by @karpetrosyan in [#368](https://github.com/karpetrosyan/hishel/pull/368)
|
|
179
|
-
* Update README to include donation link by @karpetrosyan in [#367](https://github.com/karpetrosyan/hishel/pull/367)
|
|
180
|
-
* Added `Metadata` to public API by @jamesbraza in [#363](https://github.com/karpetrosyan/hishel/pull/363)
|
|
181
|
-
* Bump the python-packages group with 10 updates by @dependabot[bot] in [#354](https://github.com/karpetrosyan/hishel/pull/354)
|
|
182
|
-
* skip anysqlite, yaml and redis tests if optional deps are missing by @mmdbalkhi in [#348](https://github.com/karpetrosyan/hishel/pull/348)
|
|
183
|
-
* Don't bomb if directory creation races by @AstraLuma in [#353](https://github.com/karpetrosyan/hishel/pull/353)
|
|
184
|
-
* Cleanup module imports by @deathaxe in [#351](https://github.com/karpetrosyan/hishel/pull/351)
|
|
185
|
-
|
|
186
|
-
## New Contributors
|
|
187
|
-
* @jamesbraza made their first contribution in [#379](https://github.com/karpetrosyan/hishel/pull/379)
|
|
188
|
-
* @GugNersesyan made their first contribution in [#375](https://github.com/karpetrosyan/hishel/pull/375)
|
|
189
|
-
* @mmdbalkhi made their first contribution in [#348](https://github.com/karpetrosyan/hishel/pull/348)
|
|
190
|
-
* @AstraLuma made their first contribution in [#353](https://github.com/karpetrosyan/hishel/pull/353)
|
|
191
|
-
* @deathaxe made their first contribution in [#351](https://github.com/karpetrosyan/hishel/pull/351)
|
|
192
|
-
|
|
193
|
-
**Full Changelog**: https://github.com/karpetrosyan/hishel/compare/0.1.3...0.1.4
|
|
194
|
-
|
|
195
|
-
<!-- generated by git-cliff -->
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|