vpndetection-fastapi 2.1.22__tar.gz → 2.1.24__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.
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  strategy:
12
12
  matrix:
13
- python: ['3.11', '3.12', '3.13']
13
+ python: ['3.11', '3.12', '3.13', '3.14']
14
14
  steps:
15
15
  - uses: actions/checkout@v7
16
16
  - uses: actions/setup-python@v7
@@ -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.24 - 2026-11-14
6
+
7
+ ### Fixes
8
+
9
+ - Require vpndetection 5.16.0: is_bogon on every answer, and provider_name beside each provider ([`ab65ea3`](https://github.com/vpndetection-io/sdk-python-fastapi/commit/ab65ea35cc70d2e6659b8bf9dae125d90a3c8442))
10
+
11
+ ## 2.1.23 - 2026-11-11
12
+
13
+ ### Fixes
14
+
15
+ - Require vpndetection 5.15.2: Unlimited, the free plan, never the Unlimited tier ([`d1e07ae`](https://github.com/vpndetection-io/sdk-python-fastapi/commit/d1e07ae3d77f129bfa36cfee5eaa8edff1ffc83a))
16
+
5
17
  ## 2.1.22 - 2026-11-11
6
18
 
7
19
  ### Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vpndetection-fastapi
3
- Version: 2.1.22
3
+ Version: 2.1.24
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.15.1
23
+ Requires-Dist: vpndetection<6,>=5.16.0
24
24
  Provides-Extra: dev
25
25
  Requires-Dist: fastapi>=0.115; extra == 'dev'
26
26
  Requires-Dist: mypy>=1.11; extra == 'dev'
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "Topic :: Security",
25
25
  "Typing :: Typed",
26
26
  ]
27
- dependencies = ["vpndetection>=5.15.1,<6", "starlette>=0.37"]
27
+ dependencies = ["vpndetection>=5.16.0,<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.22"
48
+ __version__ = "2.1.24"
49
49
 
50
50
  # Set on a request ``skip`` claimed, so block_if can tell it from one the middleware
51
51
  # never saw.
@@ -296,7 +296,7 @@
296
296
  }
297
297
  ],
298
298
  "bogonResponse": {
299
- "why": "A bogon is answered locally in the full shape. Every flag is present and false, every detail object is present and empty, location and asn carry every key empty as the API answers a bogon (asn 0, strings empty), and is_bogon marks it as computed rather than served.",
299
+ "why": "A bogon is answered locally in the full shape. Every flag is present and false, every detail object is present and empty, location and asn carry every key empty as the API answers a bogon (asn 0, strings empty), and is_bogon is true, as the API answers reserved space; the SDK computes it rather than asking.",
300
300
  "flagsFalse": [
301
301
  "is_vpn",
302
302
  "is_hosting",
@@ -474,10 +474,11 @@
474
474
  },
475
475
  {
476
476
  "name": "max-full-shape",
477
- "why": "Max adds confidence and method on vpn, plus the three proxy families and the public proxy detail.",
477
+ "why": "Max adds confidence and method on vpn, plus the three proxy families and the public proxy detail. A served answer carries is_bogon, and a detail with a provider carries provider_name, the catalog's name beside its ID.",
478
478
  "status": 200,
479
479
  "body": {
480
480
  "ip": "45.83.91.1",
481
+ "is_bogon": false,
481
482
  "is_vpn": true,
482
483
  "is_hosting": true,
483
484
  "is_relay": false,
@@ -489,12 +490,14 @@
489
490
  "is_pubproxy": true,
490
491
  "vpn": {
491
492
  "provider": "mullvad",
493
+ "provider_name": "Mullvad",
492
494
  "last_seen": "2026-09-02",
493
495
  "confidence": "high",
494
496
  "method": "scan"
495
497
  },
496
498
  "hosting": {
497
499
  "provider": "m247",
500
+ "provider_name": "M247",
498
501
  "confidence": "high",
499
502
  "last_seen": "2026-09-02"
500
503
  },
@@ -504,6 +507,7 @@
504
507
  "resproxy": {},
505
508
  "dcproxy": {
506
509
  "provider": "brightdata",
510
+ "provider_name": "Bright Data",
507
511
  "first_seen": "2026-06-14",
508
512
  "last_seen": "2026-09-02",
509
513
  "hits": 42,
@@ -536,12 +540,20 @@
536
540
  "absent": [],
537
541
  "vpn": {
538
542
  "provider": "mullvad",
543
+ "provider_name": "Mullvad",
539
544
  "last_seen": "2026-09-02",
540
545
  "confidence": "high",
541
546
  "method": "scan"
542
547
  },
548
+ "hosting": {
549
+ "provider": "m247",
550
+ "provider_name": "M247",
551
+ "confidence": "high",
552
+ "last_seen": "2026-09-02"
553
+ },
543
554
  "dcproxy": {
544
555
  "provider": "brightdata",
556
+ "provider_name": "Bright Data",
545
557
  "first_seen": "2026-06-14",
546
558
  "last_seen": "2026-09-02",
547
559
  "hits": 42,
@@ -564,13 +576,14 @@
564
576
  },
565
577
  {
566
578
  "name": "unattributed-range-keeps-empty-provider",
567
- "why": "A populated object always carries every key. An unattributed range has an empty provider string, never a missing one.",
579
+ "why": "A populated object always carries every key. An unattributed range has an empty provider string, never a missing one, and an empty provider_name with it.",
568
580
  "status": 200,
569
581
  "body": {
570
582
  "ip": "185.199.1.1",
571
583
  "is_vpn": true,
572
584
  "vpn": {
573
585
  "provider": "",
586
+ "provider_name": "",
574
587
  "last_seen": "2026-08-30"
575
588
  }
576
589
  },
@@ -582,6 +595,7 @@
582
595
  },
583
596
  "vpn": {
584
597
  "provider": "",
598
+ "provider_name": "",
585
599
  "last_seen": "2026-08-30"
586
600
  }
587
601
  }