vpndetection-fastapi 2.1.18__tar.gz → 2.1.19__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.
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/CHANGELOG.md +6 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/PKG-INFO +3 -3
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/README.md +1 -1
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/pyproject.toml +1 -1
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/src/vpndetection_fastapi/__init__.py +1 -1
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/testdata/testdata.json +2 -2
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/.github/workflows/ci.yml +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/.github/workflows/release.yml +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/.gitignore +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/LICENSE +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/SECURITY.md +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/src/vpndetection_fastapi/py.typed +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/testdata/bogons.json +0 -0
- {vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/tests/test_middleware.py +0 -0
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
What each release changed for you, newest first. Each line is a commit's summary, linked to its full description and diff. Releases before 2.0.5 are described by their release commits.
|
|
4
4
|
|
|
5
|
+
## 2.1.19 - 2026-11-11
|
|
6
|
+
|
|
7
|
+
### Fixes
|
|
8
|
+
|
|
9
|
+
- Require vpndetection 5.14.1: plainer words on lookups without a key ([`f7ca8d9`](https://github.com/vpndetection-io/sdk-python-fastapi/commit/f7ca8d936a040cff06b2f11f0d424f64b6cef606))
|
|
10
|
+
|
|
5
11
|
## 2.1.18 - 2026-11-11
|
|
6
12
|
|
|
7
13
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vpndetection-fastapi
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.19
|
|
4
4
|
Summary: Official FastAPI and Starlette middleware for the VPNDetection API. Detect VPNs, proxies, Tor, hosting and CDN visitors on every request.
|
|
5
5
|
Project-URL: Homepage, https://vpndetection.io
|
|
6
6
|
Project-URL: Source, https://github.com/vpndetection-io/sdk-python-fastapi
|
|
@@ -20,7 +20,7 @@ Classifier: Topic :: Security
|
|
|
20
20
|
Classifier: Typing :: Typed
|
|
21
21
|
Requires-Python: >=3.11
|
|
22
22
|
Requires-Dist: starlette>=0.37
|
|
23
|
-
Requires-Dist: vpndetection<6,>=5.14.
|
|
23
|
+
Requires-Dist: vpndetection<6,>=5.14.1
|
|
24
24
|
Provides-Extra: dev
|
|
25
25
|
Requires-Dist: fastapi>=0.115; extra == 'dev'
|
|
26
26
|
Requires-Dist: mypy>=1.11; extra == 'dev'
|
|
@@ -45,7 +45,7 @@ pip install vpndetection-fastapi
|
|
|
45
45
|
|
|
46
46
|
Requires Python 3.11 or newer.
|
|
47
47
|
|
|
48
|
-
You need an API key. Create one in the [console](https://app.vpndetection.io); without one
|
|
48
|
+
You need an API key. Create one in the [console](https://app.vpndetection.io); without one a lookup leaves out the hosting, CDN and proxy flags, so a key is what makes this usable in production rather than optional.
|
|
49
49
|
|
|
50
50
|
```python
|
|
51
51
|
from fastapi import FastAPI
|
|
@@ -15,7 +15,7 @@ pip install vpndetection-fastapi
|
|
|
15
15
|
|
|
16
16
|
Requires Python 3.11 or newer.
|
|
17
17
|
|
|
18
|
-
You need an API key. Create one in the [console](https://app.vpndetection.io); without one
|
|
18
|
+
You need an API key. Create one in the [console](https://app.vpndetection.io); without one a lookup leaves out the hosting, CDN and proxy flags, so a key is what makes this usable in production rather than optional.
|
|
19
19
|
|
|
20
20
|
```python
|
|
21
21
|
from fastapi import FastAPI
|
|
@@ -885,8 +885,8 @@
|
|
|
885
885
|
}
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
|
-
"name": "keyless-
|
|
889
|
-
"why": "Retry-After present. A caller with no API key
|
|
888
|
+
"name": "keyless-rate-limit-is-retryable",
|
|
889
|
+
"why": "Retry-After present. A caller with no API key that the API is protecting itself from is told when to come back, which is a rate limit, so retrying after the wait WILL succeed.",
|
|
890
890
|
"status": 429,
|
|
891
891
|
"headers": {
|
|
892
892
|
"Retry-After": "1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vpndetection_fastapi-2.1.18 → vpndetection_fastapi-2.1.19}/src/vpndetection_fastapi/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|