diff --git a/CHANGELOG.md b/CHANGELOG.md index 6234ee21..5fa2ed50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +## [4.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/compare/v3.1.0...v4.0.0) (2024-03-12) + + +### ⚠ BREAKING CHANGES + +* change models for the most smart signals +* make identification field `confidence` optional +* deprecated `ipLocation` field uses `DeprecatedIpLocation` model + +### Features + +* add `linkedId` field to the `BotdResult` type ([13d1998](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/13d19989391b671d36a5b933daf64816476867f8)) +* add `originCountry` field to the `vpn` signal ([d3763f9](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/d3763f97d7f4909508abdfce5cec456de42727cf)) +* add `SuspectScore` smart signal support ([aad70df](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/aad70df86d2dbc76c4bf12ede7b229f9bd413b32)) +* change `url` field format from URI to regular String ([425576e](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/425576ee9eb5f2f775ef075a3dc394f05d4858e8)) +* fix `ipLocation` deprecation ([60c77d8](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/60c77d8f448ea5d3b469d77aca10829cb62281b2)) +* make identification field `tag` required ([fbcb954](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/fbcb9547cf6dfbd03b5de00e4ae6114b9f43b06d)) +* use shared structures for webhooks and event ([49480f9](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/49480f923b2bb19b6841522def6eac9aa0b64b67)) + + +### Bug Fixes + +* make fields required according to real API response ([d129f54](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/d129f54a8bad1c3df1c000b2a96337ffb90056c0)) + ## [3.1.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/compare/v3.0.0...v3.1.0) (2024-02-13) diff --git a/README.md b/README.md index 1caf1376..e0a9122f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 - - Package version: 3.1.0 + - Package version: 4.0.0 - Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen ## Requirements diff --git a/composer.json b/composer.json index cdc2408a..d27bc292 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fingerprint/fingerprint-pro-server-api-sdk", - "version": "3.1.0", + "version": "4.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 6fcd1ebb..af27acf9 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": "3.1.0" + "artifactVersion": "4.0.0" } diff --git a/src/Api/FingerprintApi.php b/src/Api/FingerprintApi.php index 01d8ef65..8672959b 100644 --- a/src/Api/FingerprintApi.php +++ b/src/Api/FingerprintApi.php @@ -63,7 +63,7 @@ class FingerprintApi */ protected $headerSelector; - protected $integration_info = 'fingerprint-pro-server-php-sdk/3.1.0'; + protected $integration_info = 'fingerprint-pro-server-php-sdk/4.0.0'; /** * @param ClientInterface $client diff --git a/src/Configuration.php b/src/Configuration.php index aac2d4f3..86cd1ca5 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -90,7 +90,7 @@ class Configuration * * @var string */ - protected $userAgent = 'Swagger-Codegen/3.1.0/php'; + protected $userAgent = 'Swagger-Codegen/4.0.0/php'; /** * Debug switch (default set to false) @@ -431,7 +431,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: 3' . PHP_EOL; - $report .= ' SDK Package Version: 3.1.0' . PHP_EOL; + $report .= ' SDK Package Version: 4.0.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report;