Skip to content

Commit e236b48

Browse files
chore(release): 5.0.0 [skip ci]
## [5.0.0](v4.1.0...v5.0.0) (2024-09-09) ### ⚠ 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 * php-cs-fixer keep nullable return annotations ([99011b7](99011b7)) * serializaiton problem on sealed results ([29cb26c](29cb26c)) * use linter with current config via docker ([9613c34](9613c34))
1 parent 3da4eb6 commit e236b48

File tree

6 files changed

+43
-6
lines changed

6 files changed

+43
-6
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
## [5.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/compare/v4.1.0...v5.0.0) (2024-09-09)
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+
* php-cs-fixer keep nullable return annotations ([99011b7](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/99011b736a2782fc50f488d5e83d489540a860fb))
35+
* serializaiton problem on sealed results ([29cb26c](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/29cb26c3f50bfa035ca750948bb92a2299f579bd))
36+
* use linter with current config via docker ([9613c34](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/commit/9613c34535c8ef675a0d5e129ca4a23b1ee6fcc9))
37+
138
## [5.0.0-develop.3](https://github.com/fingerprintjs/fingerprint-pro-server-api-php-sdk/compare/v5.0.0-develop.2...v5.0.0-develop.3) (2024-09-09)
239

340

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: dev-5.0.0-3
27+
- Package version: 5.0.0
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": "dev-5.0.0-3",
3+
"version": "5.0.0",
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": "dev-5.0.0-3"
11+
"artifactVersion": "5.0.0"
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/dev-5.0.0-3';
59+
protected string $integration_info = 'fingerprint-pro-server-php-sdk/5.0.0';
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/dev-5.0.0-3/php';
84+
protected string $userAgent = 'Swagger-Codegen/5.0.0/php';
8585

8686
/**
8787
* Debug switch (default set to false).
@@ -422,7 +422,7 @@ public static function toDebugReport(): string
422422
$report .= ' OS: '.php_uname().PHP_EOL;
423423
$report .= ' PHP Version: '.PHP_VERSION.PHP_EOL;
424424
$report .= ' OpenAPI Spec Version: 3'.PHP_EOL;
425-
$report .= ' SDK Package Version: dev-5.0.0-3'.PHP_EOL;
425+
$report .= ' SDK Package Version: 5.0.0'.PHP_EOL;
426426
$report .= ' Temp Folder Path: '.self::getDefaultConfiguration()->getTempFolderPath().PHP_EOL;
427427

428428
return $report;

0 commit comments

Comments
 (0)