From 6f160f176457496565db5d72f4c2e50579aac053 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 25 Nov 2024 12:00:23 +0000 Subject: [PATCH 1/2] chore(release): changeset created a new release --- .changeset/fuzzy-apes-talk.md | 5 -- .changeset/khaki-results-help.md | 15 ---- .changeset/large-lights-push.md | 33 --------- .changeset/pre.json | 15 ---- .changeset/quiet-parrots-stick.md | 62 ----------------- .changeset/shy-worms-wish.md | 5 -- .changeset/three-files-kneel.md | 5 -- CHANGELOG.md | 109 ++++++++++++++++++++++++++++++ README.md | 2 +- composer.json | 2 +- config.json | 2 +- package.json | 2 +- src/Api/FingerprintApi.php | 2 +- src/Configuration.php | 4 +- 14 files changed, 116 insertions(+), 147 deletions(-) delete mode 100644 .changeset/fuzzy-apes-talk.md delete mode 100644 .changeset/khaki-results-help.md delete mode 100644 .changeset/large-lights-push.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/quiet-parrots-stick.md delete mode 100644 .changeset/shy-worms-wish.md delete mode 100644 .changeset/three-files-kneel.md diff --git a/.changeset/fuzzy-apes-talk.md b/.changeset/fuzzy-apes-talk.md deleted file mode 100644 index fc4a3d0..0000000 --- a/.changeset/fuzzy-apes-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-php-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 3540541..0000000 --- a/.changeset/khaki-results-help.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'fingerprint-pro-server-api-php-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 a96fd7a..0000000 --- a/.changeset/large-lights-push.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -'fingerprint-pro-server-api-php-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 63ff3fb..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "mode": "exit", - "tag": "rc", - "initialVersions": { - "fingerprint-pro-server-api-php-sdk": "5.1.1" - }, - "changesets": [ - "fuzzy-apes-talk", - "khaki-results-help", - "large-lights-push", - "quiet-parrots-stick", - "shy-worms-wish", - "three-files-kneel" - ] -} diff --git a/.changeset/quiet-parrots-stick.md b/.changeset/quiet-parrots-stick.md deleted file mode 100644 index 7fe43dc..0000000 --- a/.changeset/quiet-parrots-stick.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -'fingerprint-pro-server-api-php-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`. -- Use PHP `array` instead of `RawDeviceAttributesResult` -- Rename `RemoteControlResult` -> `RemoteControl`. -- Rename `RootAppsResult` -> `RootApps`. -- Rename `SuspectScoreResult` -> `SuspectScore`. -- 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`, `WebhookHighActivity`, `WebhookLocationSpoofing`, `WebhookSuspectScore`, `WebhookRemoteControl`, `WebhookVelocity`, `WebhookDeveloperTools`. diff --git a/.changeset/shy-worms-wish.md b/.changeset/shy-worms-wish.md deleted file mode 100644 index 416ee56..0000000 --- a/.changeset/shy-worms-wish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-php-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/three-files-kneel.md b/.changeset/three-files-kneel.md deleted file mode 100644 index 83bbb56..0000000 --- a/.changeset/three-files-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-php-sdk': minor ---- - -**events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. diff --git a/CHANGELOG.md b/CHANGELOG.md index d2bbea8..2c742ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,114 @@ # Fingerprint Pro Server PHP SDK +## 6.0.0 + +### Major Changes + +- - 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`. ([5645bf0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5645bf0f738f673b5a4941c27c42c0468670fdd5)) +- - 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`. + - Use PHP `array` instead of `RawDeviceAttributesResult` + - Rename `RemoteControlResult` -> `RemoteControl`. + - Rename `RootAppsResult` -> `RootApps`. + - Rename `SuspectScoreResult` -> `SuspectScore`. + - 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`, `WebhookHighActivity`, `WebhookLocationSpoofing`, `WebhookSuspectScore`, `WebhookRemoteControl`, `WebhookVelocity`, `WebhookDeveloperTools`. ([5645bf0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5645bf0f738f673b5a4941c27c42c0468670fdd5)) + +### Minor Changes + +- Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. ([5645bf0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5645bf0f738f673b5a4941c27c42c0468670fdd5)) +- - 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`. ([5645bf0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5645bf0f738f673b5a4941c27c42c0468670fdd5)) +- Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models. ([5645bf0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5645bf0f738f673b5a4941c27c42c0468670fdd5)) +- **events**: Add `antiDetectBrowser` detection method to the `tampering` Smart Signal. ([5645bf0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5645bf0f738f673b5a4941c27c42c0468670fdd5)) + ## 6.0.0-rc.0 ### Major Changes diff --git a/README.md b/README.md index 39f2554..3cfc9c6 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 - - Package version: 6.0.0-rc.0 + - Package version: 6.0.0 - Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen ## Requirements diff --git a/composer.json b/composer.json index 7397195..ab1a56a 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fingerprint/fingerprint-pro-server-api-sdk", - "version": "6.0.0-rc.0", + "version": "6.0.0", "description": "Fingerprint Pro Server API provides a way for validating visitors’ data issued by Fingerprint Pro.", "keywords": [ "swagger", diff --git a/config.json b/config.json index 3f630e3..fdd5973 100644 --- a/config.json +++ b/config.json @@ -8,5 +8,5 @@ "gitUserId": "fingerprintjs", "gitRepoId": "fingerprint-pro-server-api-php-sdk", "description": "Fingerprint Pro Server API provides a way for validating visitors’ data issued by Fingerprint Pro.", - "artifactVersion": "6.0.0-rc.0" + "artifactVersion": "6.0.0" } diff --git a/package.json b/package.json index 475a439..495118e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fingerprint-pro-server-api-php-sdk", - "version": "6.0.0-rc.0", + "version": "6.0.0", "private": true, "devDependencies": { "@changesets/cli": "^2.27.8", diff --git a/src/Api/FingerprintApi.php b/src/Api/FingerprintApi.php index 97669d8..cc61967 100644 --- a/src/Api/FingerprintApi.php +++ b/src/Api/FingerprintApi.php @@ -57,7 +57,7 @@ class FingerprintApi protected ClientInterface $client; protected Configuration $config; - protected string $integration_info = 'fingerprint-pro-server-php-sdk/6.0.0-rc.0'; + protected string $integration_info = 'fingerprint-pro-server-php-sdk/6.0.0'; public function __construct( ?ClientInterface $client = null, diff --git a/src/Configuration.php b/src/Configuration.php index caf5a54..261a869 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -81,7 +81,7 @@ class Configuration /** * User agent of the HTTP request, set to "PHP-Swagger" by default. */ - protected string $userAgent = 'Swagger-Codegen/6.0.0-rc.0/php'; + protected string $userAgent = 'Swagger-Codegen/6.0.0/php'; /** * Debug switch (default set to false). @@ -422,7 +422,7 @@ public static function toDebugReport(): string $report .= ' OS: '.php_uname().PHP_EOL; $report .= ' PHP Version: '.PHP_VERSION.PHP_EOL; $report .= ' OpenAPI Spec Version: 3'.PHP_EOL; - $report .= ' SDK Package Version: 6.0.0-rc.0'.PHP_EOL; + $report .= ' SDK Package Version: 6.0.0'.PHP_EOL; $report .= ' Temp Folder Path: '.self::getDefaultConfiguration()->getTempFolderPath().PHP_EOL; return $report; From 218d265542d17383440facb063116cf747929afe Mon Sep 17 00:00:00 2001 From: Ilya Taratukhin Date: Mon, 25 Nov 2024 13:03:30 +0100 Subject: [PATCH 2/2] chore: add comment to the changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c742ca..c9a065d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 6.0.0 +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 + + ### Major Changes - - Remove the `BrowserDetails` field `botProbability`.