diff --git a/.changeset/chilly-dryers-fail.md b/.changeset/chilly-dryers-fail.md deleted file mode 100644 index 9549a7c..0000000 --- a/.changeset/chilly-dryers-fail.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"fingerprint-pro-server-api-java-sdk": major ---- - -Rename `Webhook` class to `WebhookValidation`. -Right now, `Webhook` class points to the actual data model. diff --git a/.changeset/fuzzy-apes-talk.md b/.changeset/fuzzy-apes-talk.md deleted file mode 100644 index dd04eff..0000000 --- a/.changeset/fuzzy-apes-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': minor ---- - -Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. diff --git a/.changeset/khaki-results-help.md b/.changeset/khaki-results-help.md deleted file mode 100644 index 801c580..0000000 --- a/.changeset/khaki-results-help.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': minor ---- - -- Make the `GeolocationCity` field `name` **required**. -- Make the `GeolocationSubdivision` field `isoCode` **required**. -- Make the `GeolocationSubdivision` field `name` **required**. -- Make the `IPInfoASN` field `name` **required** . -- Make the `IPInfoDataCenter` field `name` **required**. -- Add **optional** `IdentificationConfidence` field `comment`. -- **events**: Add **optional** `Botd` field `meta`. -- **events**: Add **optional** `Identification` field `components`. -- **events**: Make the `VPN` field `originCountry` **required**. -- **visitors**: Add **optional** `Visit` field `components`. -- **webhook**: Add **optional** `Webhook` field `components`. diff --git a/.changeset/large-lights-push.md b/.changeset/large-lights-push.md deleted file mode 100644 index a878f58..0000000 --- a/.changeset/large-lights-push.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': major ---- - -- Remove the `BrowserDetails` field `botProbability`. -- Update the `IdentificationConfidence` field `score` type format: `float` -> `double`. -- Make the `RawDeviceAttributeError` field `name` **optional** . -- Make the `RawDeviceAttributeError` field `message` **optional** . -- **events**: Remove the `EventsResponse` field `error`. - - [note]: The errors are represented by `ErrorResponse` model. -- **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`. -- **events**: Specify the `Tampering` field `anomalyScore` type format: `double`. -- **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`. -- **webhook**: Make the `WebhookClonedApp` field `result` **optional**. -- **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**. -- **webhook**: Make the `WebhookEmulator` field `result` **optional**. -- **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**. -- **webhook**: Make the `WebhookFrida` field `result` **optional**. -- **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`. -- **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**. -- **webhook**: Make the `WebhookJailbroken` field `result` **optional**. -- **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**. -- **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**. -- **webhook**: Make the `WebhookProxy` field `result` **optional**. -- **webhook**: Make the `WebhookRemoteControl` field `result` **optional**. -- **webhook**: Make the `WebhookRootApps` field `result` **optional**. -- **webhook**: Make the `WebhookSuspectScore` field `result` **optional**. -- **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**. -- **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`. -- **webhook**: Make the `WebhookTor` field `result` **optional**. -- **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`. -- **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**. -- **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index b008904..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "mode": "exit", - "tag": "develop", - "initialVersions": { - "fingerprint-pro-server-api-java-sdk": "6.2.0" - }, - "changesets": [ - "fuzzy-apes-talk", - "khaki-results-help", - "large-lights-push", - "quiet-parrots-stick", - "short-icons-wish", - "shy-worms-wish", - "tender-bottles-kneel", - "three-files-kneel" - ] -} diff --git a/.changeset/quiet-parrots-stick.md b/.changeset/quiet-parrots-stick.md deleted file mode 100644 index 054dc19..0000000 --- a/.changeset/quiet-parrots-stick.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': major ---- - -- Rename `BotdResult` -> `Botd`. -- Rename `BotdDetectionResult` -> `BotdBot`: - - Extract `result` type as `BotdBotResult`. -- Rename `ClonedAppResult` -> `ClonedApp`. -- Rename `DeveloperToolsResult` -> `DeveloperTools`. -- Rename `EmulatorResult` -> `Emulator`. -- Refactor error models: - - Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`. - - Introduce `ErrorResponse` and `ErrorPlainResponse`. - - [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`. - - Extract `error` type as `Error`. - - Extract `error.code` type as `ErrorCode`. -- Rename `EventResponse` -> `EventsGetResponse`. -- Rename `EventUpdateRequest` -> `EventsUpdateRequest`. -- Rename `FactoryResetResult` -> `FactoryReset`. -- Rename `FridaResult` -> `Frida`. -- Rename `IPLocation` -> `Geolocation`: - - Rename `IPLocationCity` -> `GeolocationCity`. - - Extract `subdivisions` type as `GeolocationSubdivisions`. - - Rename `Location` -> `GeolocationContinent`: - - Introduce a dedicated type `GeolocationCountry`. - - Rename `Subdivision` -> `GeolocationSubdivision`. -- Rename `HighActivityResult` -> `HighActivity`. -- Rename `Confidence` -> `IdentificationConfidence`. -- Rename `SeenAt` -> `IdentificationSeenAt`. -- Rename `IncognitoResult` -> `Incognito`. -- Rename `IpBlockListResult` -> `IPBlocklist`: - - Extract `details` type as `IPBlocklistDetails`. -- Rename `IpInfoResult` -> `IPInfo`: - - Rename `IpInfoResultV4` -> `IPInfoV4`. - - Rename `IpInfoResultV6` -> `IPInfoV6`. - - Rename `ASN` -> `IPInfoASN`. - - Rename `DataCenter` -> `IPInfoDataCenter`. -- Rename `JailbrokenResult` -> `Jailbroken`. -- Rename `LocationSpoofingResult` -> `LocationSpoofing`. -- Rename `PrivacySettingsResult` -> `PrivacySettings`. -- Rename `ProductsResponse` -> `Products`: - - 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`. - - Extract `identification.data` type as `Identification`. -- Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`: - - Extract item type as `RawDeviceAttribute`. - - Extract `error` type as `RawDeviceAttributeError`. -- Rename `RemoteControlResult` -> `RemoteControl`. -- Rename `RootAppsResult` -> `RootApps`. -- Rename `SuspectScoreResult` -> `SuspectScore`. -- Extract new model `Tag`. -- Rename `TamperingResult` -> `Tampering`. -- Rename `TorResult` -> `Tor`. -- Rename `VelocityResult` -> `Velocity`: - - Rename `VelocityIntervals` -> `VelocityData`. - - Rename `VelocityIntervalResult` -> `VelocityIntervals`. -- Rename `VirtualMachineResult` -> `VirtualMachine`. -- Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`. - - Instead of `DeprecatedIPLocationCity` use common `GeolocationCity` -- Rename `Response` -> `VisitorsGetResponse`. - - Omit extra inner type `ResponseVisits` -- Rename `VpnResult` -> `VPN`. - - Extract `confidence` type as `VPNConfidence`. - - Extract `methods` type as `VPNMethods`. -- Rename `WebhookVisit` -> `Webhook`. - - 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`. \ No newline at end of file diff --git a/.changeset/short-icons-wish.md b/.changeset/short-icons-wish.md deleted file mode 100644 index bd05b41..0000000 --- a/.changeset/short-icons-wish.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': patch ---- - -- Fix descriptions formatting: - - Remove extra line breaks. - - Fix block styles. -- Fix links in descriptions. \ No newline at end of file diff --git a/.changeset/shy-worms-wish.md b/.changeset/shy-worms-wish.md deleted file mode 100644 index dbafb33..0000000 --- a/.changeset/shy-worms-wish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': minor ---- - -Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models. \ No newline at end of file diff --git a/.changeset/silly-pigs-refuse.md b/.changeset/silly-pigs-refuse.md deleted file mode 100644 index 1d913e0..0000000 --- a/.changeset/silly-pigs-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fingerprint-pro-server-api-java-sdk": major ---- - -Rename `IsValidWebhookSignature` to `isSignatureValid` in `WebhookValidation` diff --git a/.changeset/tender-bottles-kneel.md b/.changeset/tender-bottles-kneel.md deleted file mode 100644 index 9bb9c57..0000000 --- a/.changeset/tender-bottles-kneel.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': patch ---- - -- Replace GET /events TooManyRequests examples with a single `get_event_200_too_many_requests_error.json`. -- Update `products.identification.error.message` in `get_event_200_<...>.json` examples. -- Rename GET /visitors example files. diff --git a/.changeset/three-files-kneel.md b/.changeset/three-files-kneel.md deleted file mode 100644 index 3389362..0000000 --- a/.changeset/three-files-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-java-sdk': minor ---- - -**events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f4daf6..c3ee243 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,133 @@ # Fingerprint Pro Server Java SDK +## 7.0.0 + +### Major Changes + +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 + + +- Rename `Webhook` class to `WebhookValidation`. + Right now, `Webhook` class points to the actual data model. ([817b444](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/817b4443db7d9eea45ac36d3843335762ead01b5)) +- - Remove the `BrowserDetails` field `botProbability`. + - Update the `IdentificationConfidence` field `score` type format: `float` -> `double`. + - Make the `RawDeviceAttributeError` field `name` **optional** . + - Make the `RawDeviceAttributeError` field `message` **optional** . + - **events**: Remove the `EventsResponse` field `error`. + - [note]: The errors are represented by `ErrorResponse` model. + - **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`. + - **events**: Specify the `Tampering` field `anomalyScore` type format: `double`. + - **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`. + - **webhook**: Make the `WebhookClonedApp` field `result` **optional**. + - **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**. + - **webhook**: Make the `WebhookEmulator` field `result` **optional**. + - **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**. + - **webhook**: Make the `WebhookFrida` field `result` **optional**. + - **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`. + - **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**. + - **webhook**: Make the `WebhookJailbroken` field `result` **optional**. + - **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**. + - **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**. + - **webhook**: Make the `WebhookProxy` field `result` **optional**. + - **webhook**: Make the `WebhookRemoteControl` field `result` **optional**. + - **webhook**: Make the `WebhookRootApps` field `result` **optional**. + - **webhook**: Make the `WebhookSuspectScore` field `result` **optional**. + - **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**. + - **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`. + - **webhook**: Make the `WebhookTor` field `result` **optional**. + - **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`. + - **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**. + - **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) +- - Rename `BotdResult` -> `Botd`. + - Rename `BotdDetectionResult` -> `BotdBot`: + - Extract `result` type as `BotdBotResult`. + - Rename `ClonedAppResult` -> `ClonedApp`. + - Rename `DeveloperToolsResult` -> `DeveloperTools`. + - Rename `EmulatorResult` -> `Emulator`. + - Refactor error models: + - Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`. + - Introduce `ErrorResponse` and `ErrorPlainResponse`. + - [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`. + - Extract `error` type as `Error`. + - Extract `error.code` type as `ErrorCode`. + - Rename `EventResponse` -> `EventsGetResponse`. + - Rename `EventUpdateRequest` -> `EventsUpdateRequest`. + - Rename `FactoryResetResult` -> `FactoryReset`. + - Rename `FridaResult` -> `Frida`. + - Rename `IPLocation` -> `Geolocation`: + - Rename `IPLocationCity` -> `GeolocationCity`. + - Extract `subdivisions` type as `GeolocationSubdivisions`. + - Rename `Location` -> `GeolocationContinent`: + - Introduce a dedicated type `GeolocationCountry`. + - Rename `Subdivision` -> `GeolocationSubdivision`. + - Rename `HighActivityResult` -> `HighActivity`. + - Rename `Confidence` -> `IdentificationConfidence`. + - Rename `SeenAt` -> `IdentificationSeenAt`. + - Rename `IncognitoResult` -> `Incognito`. + - Rename `IpBlockListResult` -> `IPBlocklist`: + - Extract `details` type as `IPBlocklistDetails`. + - Rename `IpInfoResult` -> `IPInfo`: + - Rename `IpInfoResultV4` -> `IPInfoV4`. + - Rename `IpInfoResultV6` -> `IPInfoV6`. + - Rename `ASN` -> `IPInfoASN`. + - Rename `DataCenter` -> `IPInfoDataCenter`. + - Rename `JailbrokenResult` -> `Jailbroken`. + - Rename `LocationSpoofingResult` -> `LocationSpoofing`. + - Rename `PrivacySettingsResult` -> `PrivacySettings`. + - Rename `ProductsResponse` -> `Products`: + - 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`. + - Extract `identification.data` type as `Identification`. + - Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`: + - Extract item type as `RawDeviceAttribute`. + - Extract `error` type as `RawDeviceAttributeError`. + - Rename `RemoteControlResult` -> `RemoteControl`. + - Rename `RootAppsResult` -> `RootApps`. + - Rename `SuspectScoreResult` -> `SuspectScore`. + - Extract new model `Tag`. + - Rename `TamperingResult` -> `Tampering`. + - Rename `TorResult` -> `Tor`. + - Rename `VelocityResult` -> `Velocity`: + - Rename `VelocityIntervals` -> `VelocityData`. + - Rename `VelocityIntervalResult` -> `VelocityIntervals`. + - Rename `VirtualMachineResult` -> `VirtualMachine`. + - Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`. + - Instead of `DeprecatedIPLocationCity` use common `GeolocationCity` + - Rename `Response` -> `VisitorsGetResponse`. + - Omit extra inner type `ResponseVisits` + - Rename `VpnResult` -> `VPN`. + - Extract `confidence` type as `VPNConfidence`. + - Extract `methods` type as `VPNMethods`. + - Rename `WebhookVisit` -> `Webhook`. + - 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`. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) +- Rename `IsValidWebhookSignature` to `isSignatureValid` in `WebhookValidation` ([f49c1c2](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/f49c1c2cd754af8e1f763559886d30ce69567a39)) + +### Minor Changes + +- Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) +- - Make the `GeolocationCity` field `name` **required**. + - Make the `GeolocationSubdivision` field `isoCode` **required**. + - Make the `GeolocationSubdivision` field `name` **required**. + - Make the `IPInfoASN` field `name` **required** . + - Make the `IPInfoDataCenter` field `name` **required**. + - Add **optional** `IdentificationConfidence` field `comment`. + - **events**: Add **optional** `Botd` field `meta`. + - **events**: Add **optional** `Identification` field `components`. + - **events**: Make the `VPN` field `originCountry` **required**. + - **visitors**: Add **optional** `Visit` field `components`. + - **webhook**: Add **optional** `Webhook` field `components`. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) +- Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models. ([d608cfe](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/d608cfeb3d0007fff9f6742255f8110a5f4ae3e1)) +- **events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) + +### Patch Changes + +- - Fix descriptions formatting: + - Remove extra line breaks. + - Fix block styles. + - Fix links in descriptions. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) +- - Replace GET /events TooManyRequests examples with a single `get_event_200_too_many_requests_error.json`. + - Update `products.identification.error.message` in `get_event_200_<...>.json` examples. + - Rename GET /visitors example files. ([a09ca88](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a09ca889b294900929a6aaab567a4f3a019f3e73)) + ## 7.0.0-develop.0 ### Major Changes diff --git a/README.md b/README.md index 903842b..eb7e9e9 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Add this dependency to your project's POM: com.github.fingerprintjs fingerprint-pro-server-api-java-sdk - v7.0.0-develop.0 + v7.0.0 ``` @@ -70,7 +70,7 @@ repositories { } dependencies { - implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.0.0-develop.0" + implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.0.0" } ``` @@ -85,7 +85,7 @@ repositories { } dependencies { - implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.0.0-develop.0") + implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v7.0.0") } ``` @@ -99,7 +99,7 @@ At first generate the JAR by executing: Then manually install the following JARs: -- `target/fingerprint-pro-server-api-sdk-7.0.0-develop.0.jar` +- `target/fingerprint-pro-server-api-sdk-7.0.0.jar` ## Getting Started diff --git a/gradle.properties b/gradle.properties index b88622b..26619af 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -projectVersion = 7.0.0-develop.0 +projectVersion = 7.0.0 diff --git a/package.json b/package.json index 1cb1fa6..a950148 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fingerprint-pro-server-api-java-sdk", - "version": "7.0.0-develop.0", + "version": "7.0.0", "private": true, "devDependencies": { "@changesets/cli": "^2.27.8", diff --git a/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java b/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java index e0ff02b..453353e 100644 --- a/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java +++ b/sdk/src/main/java/com/fingerprint/api/FingerprintApi.java @@ -23,7 +23,7 @@ @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0") public class FingerprintApi { - public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/7.0.0-develop.0"; + public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/7.0.0"; private ApiClient apiClient; public FingerprintApi() { diff --git a/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java b/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java index f840090..4511c0a 100644 --- a/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java +++ b/sdk/src/main/java/com/fingerprint/sdk/ApiClient.java @@ -135,7 +135,7 @@ public ApiClient(Map authMap) { this.dateFormat = new RFC3339DateFormat(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/7.0.0-develop.0/java"); + setUserAgent("OpenAPI-Generator/7.0.0/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap<>();