Skip to content

Commit 35414ac

Browse files
chore(release): 5.0.0-develop.1 [skip ci]
## [5.0.0-develop.1](v4.1.0...v5.0.0-develop.1) (2024-09-04) ### ⚠ BREAKING CHANGES * Renamed Error Response Model Names `ErrorEvent403ResponseError` → `Common403ErrorResponse` `ManyRequestsResponse` → `TooManyRequestsResponse` * Webhook `tag` field is now optional * API Methods now throws `SerializationException` * API Methods returns tuple instead of models * API Methods removed other than `getModel` * Upgraded minimum php version to 8.1 * Request logic is rewritten, Upgraded minimum php version to 8.1 ### Features * add `remoteControl`, `velocity` and `developerTools` signals ([5bf9368](5bf9368)) * add delete visitor data endpoint ([a00f325](a00f325)) * add retry after policy to api exception ([64e0510](64e0510)) * add support for validating webhook signatures inter-768 ([6a4cbd6](6a4cbd6)) * add update event endpoint (PUT) ([cb21d0b](cb21d0b)) * change api to return tuple instead of serialized model ([62e4ad3](62e4ad3)) * introduce rawResponse for getVisits and getEvent methods ([9b01ba6](9b01ba6)) * introduce serialization exception ([bfea23a](bfea23a)) * only generate models and docs from swagger codegen ([26e984f](26e984f)) * remove raw response and introduce with http info ([ce2fedf](ce2fedf)) * rewrite request logic ([0016822](0016822)) * upgrade min php version to 8 ([5698871](5698871)) ### Bug Fixes * serializaiton problem on sealed results ([29cb26c](29cb26c))
1 parent c484859 commit 35414ac

File tree

63 files changed

+41
-312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+41
-312
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## [5.0.0-develop.1](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/compare/v4.1.0...v5.0.0-develop.1) (2024-09-04)
2+
3+
4+
### ⚠ BREAKING CHANGES
5+
6+
* Renamed Error Response Model Names
7+
`ErrorEvent403ResponseError``Common403ErrorResponse`
8+
`ManyRequestsResponse``TooManyRequestsResponse`
9+
* Webhook `tag` field is now optional
10+
* API Methods now throws `SerializationException`
11+
* API Methods returns tuple instead of models
12+
* API Methods removed other than `getModel`
13+
* Upgraded minimum php version to 8.1
14+
* Request logic is rewritten, Upgraded minimum php version to 8.1
15+
16+
### Features
17+
18+
* add `remoteControl`, `velocity` and `developerTools` signals ([5bf9368](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5bf9368fb1bb5abbfa72366fe6c66fe32352ad54))
19+
* add delete visitor data endpoint ([a00f325](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/a00f325706af38cc20e4c387db44dfa83c7a7a22))
20+
* add retry after policy to api exception ([64e0510](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/64e05100a2c20c8d1f8e5f9719ee5292c59761c2))
21+
* add support for validating webhook signatures inter-768 ([6a4cbd6](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/6a4cbd6e2a521a209806337d90ae8f7e291a534b))
22+
* add update event endpoint (PUT) ([cb21d0b](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/cb21d0b4c48b7b94f4e9a7de1ab74313fe339e5f))
23+
* change api to return tuple instead of serialized model ([62e4ad3](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/62e4ad3020425667f45e3beeb166b4095a437ab5))
24+
* introduce rawResponse for getVisits and getEvent methods ([9b01ba6](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/9b01ba65e7ac794c77afedc155823baef2c80b17))
25+
* introduce serialization exception ([bfea23a](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/bfea23a50b61152d4fc65d290c730d0e3fcb6123))
26+
* only generate models and docs from swagger codegen ([26e984f](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/26e984ffd01dc9f21af3dd4da75fcb7e4309961f))
27+
* remove raw response and introduce with http info ([ce2fedf](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/ce2fedfcd94f5f1459049ba49eff75e2d3b8620c))
28+
* rewrite request logic ([0016822](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/001682270fd4370484b25062550a65bd375b9372))
29+
* upgrade min php version to 8 ([5698871](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/5698871fa497ee4ad50b2941d39769b45f15dfc2))
30+
31+
32+
### Bug Fixes
33+
34+
* serializaiton problem on sealed results ([29cb26c](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/29cb26c3f50bfa035ca750948bb92a2299f579bd))
35+
136
## [5.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/compare/v4.1.0...v5.0.0) (2024-09-04)
237

338

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
2525

2626
- API version: 3
27-
- Package version: 5.0.0
27+
- Package version: dev-5.0.0-1
2828
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
2929

3030
## Requirements

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fingerprint/fingerprint-pro-server-api-sdk",
3-
"version": "5.0.0",
3+
"version": "dev-5.0.0-1",
44
"description": "Fingerprint Pro Server API provides a way for validating visitors’ data issued by Fingerprint Pro.",
55
"keywords": [
66
"swagger",

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"gitUserId": "fingerprintjs",
99
"gitRepoId": "fingerprint-pro-server-api-php-sdk",
1010
"description": "Fingerprint Pro Server API provides a way for validating visitors’ data issued by Fingerprint Pro.",
11-
"artifactVersion": "5.0.0"
11+
"artifactVersion": "dev-5.0.0-1"
1212
}

src/Api/FingerprintApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class FingerprintApi
5656
protected ClientInterface $client;
5757
protected Configuration $config;
5858

59-
protected string $integration_info = 'fingerprint-pro-server-php-sdk/5.0.0';
59+
protected string $integration_info = 'fingerprint-pro-server-php-sdk/dev-5.0.0-1';
6060

6161
public function __construct(
6262
?ClientInterface $client = null,

src/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Configuration
8181
/**
8282
* User agent of the HTTP request, set to "PHP-Swagger" by default.
8383
*/
84-
protected string $userAgent = 'Swagger-Codegen/5.0.0/php';
84+
protected string $userAgent = 'Swagger-Codegen/dev-5.0.0-1/php';
8585

8686
/**
8787
* Debug switch (default set to false).
@@ -417,7 +417,7 @@ public static function toDebugReport(): string
417417
$report .= ' OS: '.php_uname().PHP_EOL;
418418
$report .= ' PHP Version: '.PHP_VERSION.PHP_EOL;
419419
$report .= ' OpenAPI Spec Version: 3'.PHP_EOL;
420-
$report .= ' SDK Package Version: 5.0.0'.PHP_EOL;
420+
$report .= ' SDK Package Version: dev-5.0.0-1'.PHP_EOL;
421421
$report .= ' Temp Folder Path: '.self::getDefaultConfiguration()->getTempFolderPath().PHP_EOL;
422422

423423
return $report;

src/Model/ASN.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ public function setNetwork(string $network): self
256256

257257
/**
258258
* Gets name.
259-
*
260-
* @return ?string
261259
*/
262260
public function getName(): ?string
263261
{

src/Model/BotdDetectionResult.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ public function setResult(string $result): self
260260

261261
/**
262262
* Gets type.
263-
*
264-
* @return ?string
265263
*/
266264
public function getType(): ?string
267265
{

src/Model/BotdResult.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,6 @@ public function setRequestId(string $request_id): self
360360

361361
/**
362362
* Gets linked_id.
363-
*
364-
* @return ?string
365363
*/
366364
public function getLinkedId(): ?string
367365
{

src/Model/BrowserDetails.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,6 @@ public function setUserAgent(string $user_agent): self
411411

412412
/**
413413
* Gets bot_probability.
414-
*
415-
* @return ?int
416414
*/
417415
public function getBotProbability(): ?int
418416
{

0 commit comments

Comments
 (0)