vpndetection-fastapi 2.1.18__tar.gz → 2.1.20__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.
@@ -2,6 +2,18 @@
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.20 - 2026-11-11
6
+
7
+ ### Fixes
8
+
9
+ - Require vpndetection 5.14.2: the Unlimited tier and its terms ([`2796643`](https://github.com/vpndetection-io/sdk-python-fastapi/commit/2796643453d9724b284c1c9faf9599c923cd3795))
10
+
11
+ ## 2.1.19 - 2026-11-11
12
+
13
+ ### Fixes
14
+
15
+ - Require vpndetection 5.14.1: plainer words on lookups without a key ([`f7ca8d9`](https://github.com/vpndetection-io/sdk-python-fastapi/commit/f7ca8d936a040cff06b2f11f0d424f64b6cef606))
16
+
5
17
  ## 2.1.18 - 2026-11-11
6
18
 
7
19
  ### Features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vpndetection-fastapi
3
- Version: 2.1.18
3
+ Version: 2.1.20
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.0
23
+ Requires-Dist: vpndetection<6,>=5.14.2
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, lookups are limited to 60 a minute from each source address, and a server is a single source address, so a key is what makes this usable in production rather than optional.
48
+ You need an API key. Create one in the [console](https://app.vpndetection.io); without one a lookup is on the Unlimited tier, for [non-commercial use](https://vpndetection.io/terms#no-key) only, and 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, lookups are limited to 60 a minute from each source address, and a server is a single source address, so a key is what makes this usable in production rather than optional.
18
+ You need an API key. Create one in the [console](https://app.vpndetection.io); without one a lookup is on the Unlimited tier, for [non-commercial use](https://vpndetection.io/terms#no-key) only, and 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
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "Topic :: Security",
25
25
  "Typing :: Typed",
26
26
  ]
27
- dependencies = ["vpndetection>=5.14.0,<6", "starlette>=0.37"]
27
+ dependencies = ["vpndetection>=5.14.2,<6", "starlette>=0.37"]
28
28
 
29
29
  [project.urls]
30
30
  Homepage = "https://vpndetection.io"
@@ -45,7 +45,7 @@ __all__ = [
45
45
  "xff_ip_selector",
46
46
  ]
47
47
 
48
- __version__ = "2.1.18"
48
+ __version__ = "2.1.20"
49
49
 
50
50
  # Set on a request ``skip`` claimed, so block_if can tell it from one the middleware
51
51
  # never saw.
@@ -885,8 +885,8 @@
885
885
  }
886
886
  },
887
887
  {
888
- "name": "keyless-per-minute-limit-is-retryable",
889
- "why": "Retry-After present. A caller with no API key is past 60 requests a minute from its address, which is a rate limit, so retrying after the wait WILL succeed.",
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"