You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
26
27
27
-[#10](https://github.com/WSH032/fastapi-proxy-lib/pull/10) - fix security vulnerabilities of cookies leakage between different users. Thanks [@WSH032](https://github.com/WSH032)!
28
28
29
+
### Removed
30
+
31
+
-[#10](https://github.com/WSH032/fastapi-proxy-lib/pull/10) - Remove support for setting cookies at the `AsyncClient` level. Thanks [@WSH032](https://github.com/WSH032)!
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,9 +172,15 @@ hatch version {new_version}
172
172
173
173
It will create a commit and tag automatically, then, push the **tag** to GitHub.
174
174
175
-
After that, the `publish.yml` workflow will build and publish the package to PyPI.
175
+
!!! warning
176
+
You should tag in another branch, then rebase it to `main` branch **in local**.<br>
177
+
**DO NOT rebase with tag in GitHub**, refer to <https://docs.github.com/zh/authentication/managing-commit-signature-verification/about-commit-signature-verification#signature-verification-for-rebase-and-merge>
178
+
179
+
Check if everything is ok, for example, **check if the tag is on the `main` branch**.
176
180
177
-
> Don't forget to make a `approve` in environment `pypi` for the workflow.
181
+
If so, make a `approve` in environment `pypi` for the workflow.
182
+
183
+
After that, the `publish.yml` workflow will build and publish the package to PyPI.
178
184
179
185
Finally, edit the `draft release` created by `publish.yml` workflow, and publish the release.
So, it perfectly supports all features of [httpx.AsyncClient](https://www.python-httpx.org/advanced/#client-instances), you can even use your custom `AsyncClient`, [`Transport`](https://www.python-httpx.org/advanced/#custom-transports).
49
52
53
+
> except `cookies` and `base_url` arguments, which are taken over by `fastapi-proxy-lib`
54
+
50
55
## Installation
51
56
52
57
> !!! note
53
58
>
54
59
> We follow semantic versioning.<br>
55
60
> This is a young project, and before 1.0.0, there may be changes in the API (we try to avoid that).<br>
56
61
> We will release security updates at any time, please try to keep the version updated, instead of pinning to the old version.<br>
0 commit comments