Skip to content

Commit e6d9558

Browse files
authored
Merge pull request #92 from fingerprintjs/changeset-release/main
Release [changeset]
2 parents 9517f61 + e5f8f56 commit e6d9558

15 files changed

+126
-153
lines changed

.changeset/fuzzy-apes-talk.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/khaki-results-help.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/large-lights-push.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

.changeset/pre.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/quiet-parrots-stick.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

.changeset/rude-kids-rhyme.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/three-files-kneel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,121 @@
11
# Fingerprint Pro Server Python SDK
22

3+
## 8.0.0
4+
5+
### Major Changes
6+
7+
The underlying Server API hasn’t changed, but we made SDK type and class generation more precise, resulting in small breaking changes for the SDK itself. This change should make the SDK API a lot more stable going forward
8+
9+
10+
- - Remove the `BrowserDetails` field `botProbability`.
11+
- Update the `IdentificationConfidence` field `score` type format: `float` -> `double`.
12+
- Make the `RawDeviceAttributeError` field `name` **optional** .
13+
- Make the `RawDeviceAttributeError` field `message` **optional** .
14+
- **events**: Remove the `EventsResponse` field `error`.
15+
- [note]: The errors are represented by `ErrorResponse` model.
16+
- **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`.
17+
- **events**: Specify the `Tampering` field `anomalyScore` type format: `double`.
18+
- **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`.
19+
- **webhook**: Make the `WebhookClonedApp` field `result` **optional**.
20+
- **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**.
21+
- **webhook**: Make the `WebhookEmulator` field `result` **optional**.
22+
- **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**.
23+
- **webhook**: Make the `WebhookFrida` field `result` **optional**.
24+
- **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`.
25+
- **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**.
26+
- **webhook**: Make the `WebhookJailbroken` field `result` **optional**.
27+
- **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**.
28+
- **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**.
29+
- **webhook**: Make the `WebhookProxy` field `result` **optional**.
30+
- **webhook**: Make the `WebhookRemoteControl` field `result` **optional**.
31+
- **webhook**: Make the `WebhookRootApps` field `result` **optional**.
32+
- **webhook**: Make the `WebhookSuspectScore` field `result` **optional**.
33+
- **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**.
34+
- **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`.
35+
- **webhook**: Make the `WebhookTor` field `result` **optional**.
36+
- **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`.
37+
- **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**.
38+
- **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155))
39+
- - Rename `BotdResult` -> `Botd`.
40+
- Rename `BotdDetectionResult` -> `BotdBot`:
41+
- Extract `result` type as `BotdBotResult`.
42+
- Rename `ClonedAppResult` -> `ClonedApp`.
43+
- Rename `DeveloperToolsResult` -> `DeveloperTools`.
44+
- Rename `EmulatorResult` -> `Emulator`.
45+
- Refactor error models:
46+
- Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`.
47+
- Introduce `ErrorResponse` and `ErrorPlainResponse`.
48+
- [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`.
49+
- Extract `error` type as `Error`.
50+
- Extract `error.code` type as `ErrorCode`.
51+
- Rename `EventResponse` -> `EventsGetResponse`.
52+
- Rename `EventUpdateRequest` -> `EventsUpdateRequest`.
53+
- Rename `FactoryResetResult` -> `FactoryReset`.
54+
- Rename `FridaResult` -> `Frida`.
55+
- Rename `IPLocation` -> `Geolocation`:
56+
- Rename `IPLocationCity` -> `GeolocationCity`.
57+
- Extract `subdivisions` type as `GeolocationSubdivisions`.
58+
- Rename `Location` -> `GeolocationContinent`:
59+
- Introduce a dedicated type `GeolocationCountry`.
60+
- Rename `Subdivision` -> `GeolocationSubdivision`.
61+
- Rename `HighActivityResult` -> `HighActivity`.
62+
- Rename `Confidence` -> `IdentificationConfidence`.
63+
- Rename `SeenAt` -> `IdentificationSeenAt`.
64+
- Rename `IncognitoResult` -> `Incognito`.
65+
- Rename `IpBlockListResult` -> `IPBlocklist`:
66+
- Extract `details` type as `IPBlocklistDetails`.
67+
- Rename `IpInfoResult` -> `IPInfo`:
68+
- Rename `IpInfoResultV4` -> `IPInfoV4`.
69+
- Rename `IpInfoResultV6` -> `IPInfoV6`.
70+
- Rename `ASN` -> `IPInfoASN`.
71+
- Rename `DataCenter` -> `IPInfoDataCenter`.
72+
- Rename `JailbrokenResult` -> `Jailbroken`.
73+
- Rename `LocationSpoofingResult` -> `LocationSpoofing`.
74+
- Rename `PrivacySettingsResult` -> `PrivacySettings`.
75+
- Rename `ProductsResponse` -> `Products`:
76+
- Rename inner types: `ProductsResponseIdentification` -> `ProductIdentification`, `ProductsResponseIdentificationData` -> `Identification`, `ProductsResponseBotd` -> `ProductBotd`, `SignalResponseRootApps` -> `ProductRootApps`, `SignalResponseEmulator` -> `ProductEmulator`, `SignalResponseIpInfo` -> `ProductIPInfo`, `SignalResponseIpBlocklist` -> `ProductIPBlocklist`, `SignalResponseTor` -> `ProductTor`, `SignalResponseVpn` -> `ProductVPN`, `SignalResponseProxy` -> `ProductProxy`, `ProxyResult` -> `Proxy`, `SignalResponseIncognito` -> `ProductIncognito`, `SignalResponseTampering` -> `ProductTampering`, `SignalResponseClonedApp` -> `ProductClonedApp`, `SignalResponseFactoryReset` -> `ProductFactoryReset`, `SignalResponseJailbroken` -> `ProductJailbroken`, `SignalResponseFrida` -> `ProductFrida`, `SignalResponsePrivacySettings` -> `ProductPrivacySettings`, `SignalResponseVirtualMachine` -> `ProductVirtualMachine`, `SignalResponseRawDeviceAttributes` -> `ProductRawDeviceAttributes`, `RawDeviceAttributesResultValue` -> `RawDeviceAttributes`, `SignalResponseHighActivity` -> `ProductHighActivity`, `SignalResponseLocationSpoofing` -> `ProductLocationSpoofing`, `SignalResponseSuspectScore` -> `ProductSuspectScore`, `SignalResponseRemoteControl` -> `ProductRemoteControl`, `SignalResponseVelocity` -> `ProductVelocity`, `SignalResponseDeveloperTools` -> `ProductDeveloperTools`.
77+
- Extract `identification.data` type as `Identification`.
78+
- Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`:
79+
- Extract item type as `RawDeviceAttribute`.
80+
- Extract `error` type as `RawDeviceAttributeError`.
81+
- Rename `RemoteControlResult` -> `RemoteControl`.
82+
- Rename `RootAppsResult` -> `RootApps`.
83+
- Rename `SuspectScoreResult` -> `SuspectScore`.
84+
- Extract new model `Tag`.
85+
- Rename `TamperingResult` -> `Tampering`.
86+
- Rename `TorResult` -> `Tor`.
87+
- Rename `VelocityResult` -> `Velocity`:
88+
- Rename `VelocityIntervals` -> `VelocityData`.
89+
- Rename `VelocityIntervalResult` -> `VelocityIntervals`.
90+
- Rename `VirtualMachineResult` -> `VirtualMachine`.
91+
- Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`.
92+
- Instead of `DeprecatedIPLocationCity` use common `GeolocationCity`
93+
- Rename `Response` -> `VisitorsGetResponse`.
94+
- Omit extra inner type `ResponseVisits`
95+
- Rename `VpnResult` -> `VPN`.
96+
- Extract `confidence` type as `VPNConfidence`.
97+
- Extract `methods` type as `VPNMethods`.
98+
- Rename `WebhookVisit` -> `Webhook`.
99+
- Introduce new inner types: `WebhookRootApps`, `WebhookEmulator`, `WebhookIPInfo`, `WebhookIPBlocklist`, `WebhookTor`, `WebhookVPN`, `WebhookProxy`, `WebhookTampering`, `WebhookClonedApp`, `WebhookFactoryReset`, `WebhookJailbroken`, `WebhookFrida`, `WebhookPrivacySettings`, `WebhookVirtualMachine`, `WebhookRawDeviceAttributes`, `WebhookHighActivity`, `WebhookLocationSpoofing`, `WebhookSuspectScore`, `WebhookRemoteControl`, `WebhookVelocity`, `WebhookDeveloperTools`. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155))
100+
- Rename `Webhook` class to `WebhookValidation`.
101+
Right now, `Webhook` class points to the actual data model. ([8710516](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/871051665e6fe50a6a1f6fdbdb647f67d0418453))
102+
103+
### Minor Changes
104+
105+
- Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155))
106+
- - Make the `GeolocationCity` field `name` **required**.
107+
- Make the `GeolocationSubdivision` field `isoCode` **required**.
108+
- Make the `GeolocationSubdivision` field `name` **required**.
109+
- Make the `IPInfoASN` field `name` **required** .
110+
- Make the `IPInfoDataCenter` field `name` **required**.
111+
- Add **optional** `IdentificationConfidence` field `comment`.
112+
- **events**: Add **optional** `Botd` field `meta`.
113+
- **events**: Add **optional** `Identification` field `components`.
114+
- **events**: Make the `VPN` field `originCountry` **required**.
115+
- **visitors**: Add **optional** `Visit` field `components`.
116+
- **webhook**: Add **optional** `Webhook` field `components`. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155))
117+
- **events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. ([8df1d4a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8df1d4acf7c26bd72bce13c04d9ea1a85f2b0155))
118+
3119
## 8.0.0-dev.0
4120

5121
### Major Changes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Fingerprint Server Python SDK is an easy way to interact with the Fingerprin
2626
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
2727

2828
- API version: 3
29-
- Package version: 8.0.0-dev.0
29+
- Package version: 8.0.0
3030
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
3131

3232
## Requirements

0 commit comments

Comments
 (0)