Releases: fingerprintjs/php-sdk
v7.2.0-beta.2
Patch Changes
- temporary changeset: fix date-time formatting in query parameters (bb21f46)
v7.2.0-develop.0
Minor Changes
- events-search: Add
start_date_timeandend_date_timeRFC3339 timestamp filters (c68cc6a) - events: Add Android platform support to
developer_toolssmart signal (c68cc6a) - events: Add
labelstoEvent(c68cc6a) - events: Add iOS platform support to
developer_tools(c68cc6a) - events-search: Add
bot_infofilter parameters (c68cc6a) - events-search: Add
unknownvalue toBotInfoCategory(c68cc6a)
Patch Changes
- events: Clarify availability of proxy and VM ML score signals (c68cc6a)
- events: Clarify semantics of
incremental_identification_status(c68cc6a) - visitors: Clarify rate limits for
deleteVisitorDataoperation (c68cc6a) - search-events: Fix
BackedEnumquery parameters causing "Object could not be converted to string" error inbuildQuery(4fcd455) - events-search: Clarify availability of
rare_deviceandrare_device_percentile_bucketquery parameters (c68cc6a) - events-search: Fix
pagination_keyexample (c68cc6a)
v7.2.0-beta.1
Minor Changes
- events-search: Add
start_date_timeandend_date_timeRFC3339 timestamp filters (c68cc6a) - events: Add Android platform support to
developer_toolssmart signal (c68cc6a) - events: Add
labelstoEvent(c68cc6a) - events: Add iOS platform support to
developer_tools(c68cc6a) - events-search: Add
bot_infofilter parameters (c68cc6a) - events-search: Add
unknownvalue toBotInfoCategory(c68cc6a)
Patch Changes
- events: Clarify availability of proxy and VM ML score signals (c68cc6a)
- events: Clarify semantics of
incremental_identification_status(c68cc6a) - visitors: Clarify rate limits for
deleteVisitorDataoperation (c68cc6a) - search-events: Fix
BackedEnumquery parameters causing "Object could not be converted to string" error inbuildQuery(4fcd455) - events-search: Clarify availability of
rare_deviceandrare_device_percentile_bucketquery parameters (c68cc6a) - events-search: Fix
pagination_keyexample (c68cc6a)
v7.1.0
Minor Changes
- events: Add Device Rarity Smart Signal (2fb58fb)
- events: Add
proxy_ml_scoretoEvent(2fb58fb) - events: Add
font_hashandtimezone_offsetfields for theRawDeviceAttributes(2fb58fb) - events: Enable
raw_device_attributesfor Android devices. Onlydevice_manufactureranddevice_modelare currently supported for Android devices. (2fb58fb) - events: Enable
raw_device_attributesfor iOS devices. Onlydevice_manufacturer,device_model,hardware_concurrency,languages, andscreen_resolutionare currently supported for iOS devices. (2fb58fb) - events: Add
request_read_timeouterror code (2fb58fb)
v6.11.0
Minor Changes
- Deprecated:
fingerprint/fingerprint-pro-server-api-sdkuses Server API v3, which is deprecated. Please migrate to the newfingerprint/server-sdkpackage which uses Server API v4. (941be0c) -
- Add
rareDeviceSmart Signal for detecting rare or previously unseen devices. - events-search: Add
rare_deviceandrare_device_percentile_bucketfilter parameters. - Add
typeproperty toIPInfoASN. - Add
integrationsproperty to theSDKmodel. - Add
confidenceandmlScoreproperties to theTamperingsignal. - Add
mlScoreproperty to theVirtualMachinesignal. - Add
WORKSPACE_SCOPED_SECRET_KEY_REQUIREDto theErrorCodeenum. - webhook: Add
rareDeviceproperty to the Webhook schema. - webhook: Add
confidenceandmlScoreproperties toWebhookTampering. - webhook: Add
mlScoreproperty toWebhookVirtualMachine. (0abc29f)
- Add
v6.11.0-beta.0
Minor Changes
- Deprecated:
fingerprint/fingerprint-pro-server-api-sdkuses Server API v3, which is deprecated. Please migrate to the newfingerprint/server-sdkpackage which uses Server API v4. (941be0c) -
- Add
rareDeviceSmart Signal for detecting rare or previously unseen devices. - events-search: Add
rare_deviceandrare_device_percentile_bucketfilter parameters. - Add
typeproperty toIPInfoASN. - Add
integrationsproperty to theSDKmodel. - Add
confidenceandmlScoreproperties to theTamperingsignal. - Add
mlScoreproperty to theVirtualMachinesignal. - Add
WORKSPACE_SCOPED_SECRET_KEY_REQUIREDto theErrorCodeenum. - webhook: Add
rareDeviceproperty to the Webhook schema. - webhook: Add
confidenceandmlScoreproperties toWebhookTampering. - webhook: Add
mlScoreproperty toWebhookVirtualMachine. (0abc29f)
- Add
v7.0.0
Major Changes
-
Migrate to Server API v4.
Breaking Changes
- Flatten event structure. Access fields directly instead of through
productswrapper/container. - Remove
getVisitsandgetRelatedVisitorsendpoints (usesearchEventsinstead). - Remove deprecated v3 models (webhook models, product wrapper models, etc.).
- Rename
getEventparameter$request_idto$event_id. Return type changed fromarraytoEvent. - Change
updateEventparameter order and body class (EventsUpdateRequest→EventUpdate). Return type changed fromarraytovoid. HTTP method changed from PUT to PATCH. - Change
searchEventsreturn type fromarraytoEventSearch. new search parameters added. - Change
deleteVisitorDatareturn type fromarraytovoid. - Require API key in
Configurationconstructor:new Configuration(string $apiKey). RemovegetDefaultConfiguration()andsetDefaultConfiguration(). - Simplify
setApiKey/getApiKeyto single-key (no identifier). Remove unnecessarysetApiKeyPrefix,setAccessToken,setUsername,setPasswordmethods. - Switch authentication from API key header to
Authorization: Bearertoken. - Change all JSON serialization keys from camelCase to snake_case.
- Change
ErrorCodeenum values from PascalCase to snake_case. - Append
/v4to all region base URLs. - Changed method return signature of operations.
Migration Guide
Fingerprint Server API Client initialization:
- new FingerprintApi($client, $config); + new FingerprintApi($config, $client);
Response/Model structure:
- $event->getProducts()->getIdentification()->getData()->getVisitorId() + $event->getIdentification()->getVisitorId()
Configuration:
- $config = Configuration::getDefaultConfiguration('secret-api-key'); + $config = new Configuration('secret-api-key');
Region parameter:
- $config = Configuration::getDefaultConfiguration('key', Configuration::REGION_EUROPE); + $config = new Configuration('key', Configuration::REGION_EUROPE);
New operation return format:
- list($event, $response) = $api->getEvent($requestId); + $event = $api->getEvent($eventId);
If you need raw response:
- list($event, $response) = $api->getEvent($requestId); + list($event, $response) = $api->getEventWithHttpInfo($eventId);
Update event:
- $body = new EventsUpdateRequest(['tag' => ['key' => 'value']]); - $api->updateEvent($body, $requestId); + $body = new EventUpdate(['tags' => ['key' => 'value']]); + $api->updateEvent($eventId, $body);
New Features
- New v4 models:
BotInfo,Canvas,Emoji,EventRuleAction,RawDeviceAttributes,TamperingDetails, ... - New enum models:
BotResult,TamperingConfidence,VpnConfidence,ProxyConfidence,RuleActionType, ... - New
WithHttpInfomethod variants for all operations. Each operation now exposes four methods:{operationId}(),{operationId}WithHttpInfo(),{operationId}Async(),{operationId}AsyncWithHttpInfo(). - mTLS support with
setCertFile()andsetKeyFile()onConfiguration. (67ac090)
- Flatten event structure. Access fields directly instead of through
-
Drop PHP 8.1 support. Minimum required PHP version is now 8.2. (72432d3)
-
Changed package name to
fingerprint/server-sdkBREAKING CHANGE:
- Update the composer dependency to
fingerprint/server-sdk - Update all
usestatements to the new namespaceFingerprint\ServerSdk
MIGRATION GUIDE:
Replace
composer.jsondependency:"require": { - "fingerprint/fingerprint-pro-server-api-sdk": "^6.10.0" + "fingerprint/server-sdk": "^7.0.0" }Replace all
usestatements with the new namespace:-use Fingerprint\ServerAPI\Configuration; +use Fingerprint\ServerSdk\Configuration;
The above example applies to all
Fingerprint\ServerAPIreferences. (c72108a) - Update the composer dependency to
v7.0.0-develop.0
Major Changes
-
Migrate to Server API v4.
Breaking Changes
- Flatten event structure. Access fields directly instead of through
productswrapper/container. - Remove
getVisitsandgetRelatedVisitorsendpoints (usesearchEventsinstead). - Remove deprecated v3 models (webhook models, product wrapper models, etc.).
- Rename
getEventparameter$request_idto$event_id. Return type changed fromarraytoEvent. - Change
updateEventparameter order and body class (EventsUpdateRequest→EventUpdate). Return type changed fromarraytovoid. HTTP method changed from PUT to PATCH. - Change
searchEventsreturn type fromarraytoEventSearch. new search parameters added. - Change
deleteVisitorDatareturn type fromarraytovoid. - Require API key in
Configurationconstructor:new Configuration(string $apiKey). RemovegetDefaultConfiguration()andsetDefaultConfiguration(). - Simplify
setApiKey/getApiKeyto single-key (no identifier). Remove unnecessarysetApiKeyPrefix,setAccessToken,setUsername,setPasswordmethods. - Switch authentication from API key header to
Authorization: Bearertoken. - Change all JSON serialization keys from camelCase to snake_case.
- Change
ErrorCodeenum values from PascalCase to snake_case. - Append
/v4to all region base URLs. - Changed method return signature of operations.
Migration Guide
Response/Model structure:
- $event->getProducts()->getIdentification()->getData()->getVisitorId() + $event->getIdentification()->getVisitorId()
Configuration:
- $config = Configuration::getDefaultConfiguration('secret-api-key'); + $config = new Configuration('secret-api-key');
Region parameter:
- $config = Configuration::getDefaultConfiguration('key', Configuration::REGION_EUROPE); + $config = new Configuration('key', Configuration::REGION_EUROPE);
New operation return format:
- list($event, $response) = $api->getEvent($requestId); + $event = $api->getEvent($eventId);
If you need raw response:
- list($event, $response) = $api->getEvent($requestId); + list($event, $response) = $api->getEventWithHttpInfo($eventId);
Update event:
- $body = new EventsUpdateRequest(['tag' => ['key' => 'value']]); - $api->updateEvent($body, $requestId); + $body = new EventUpdate(['tags' => ['key' => 'value']]); + $api->updateEvent($eventId, $body);
New Features
- New v4 models:
BotInfo,Canvas,Emoji,EventRuleAction,RawDeviceAttributes,TamperingDetails, ... - New enum models:
BotResult,TamperingConfidence,VpnConfidence,ProxyConfidence,RuleActionType, ... - New
WithHttpInfomethod variants for all operations. Each operation now exposes four methods:{operationId}(),{operationId}WithHttpInfo(),{operationId}Async(),{operationId}AsyncWithHttpInfo(). - mTLS support with
setCertFile()andsetKeyFile()onConfiguration. (67ac090)
- Flatten event structure. Access fields directly instead of through
-
Drop PHP 8.1 support. Minimum required PHP version is now 8.2. (72432d3)
-
Changed package name to
fingerprint/server-sdkBREAKING CHANGE:
- Update the composer dependency to
fingerprint/server-sdk - Update all
usestatements to the new namespaceFingerprint\ServerSdk
MIGRATION GUIDE:
Replace
composer.jsondependency:"require": { - "fingerprint/fingerprint-pro-server-api-sdk": "^6.10.0" + "fingerprint/server-sdk": "^7.0.0" }Replace all
usestatements with the new namespace:-use Fingerprint\ServerAPI\Configuration; +use Fingerprint\ServerSdk\Configuration;
The above example applies to all
Fingerprint\ServerAPIreferences. (c72108a) - Update the composer dependency to
v7.0.0-beta.1
Major Changes
-
Migrate to Server API v4.
Breaking Changes
- Flatten event structure. Access fields directly instead of through
productswrapper/container. - Remove
getVisitsandgetRelatedVisitorsendpoints (usesearchEventsinstead). - Remove deprecated v3 models (webhook models, product wrapper models, etc.).
- Rename
getEventparameter$request_idto$event_id. Return type changed fromarraytoEvent. - Change
updateEventparameter order and body class (EventsUpdateRequest→EventUpdate). Return type changed fromarraytovoid. HTTP method changed from PUT to PATCH. - Change
searchEventsreturn type fromarraytoEventSearch. new search parameters added. - Change
deleteVisitorDatareturn type fromarraytovoid. - Require API key in
Configurationconstructor:new Configuration(string $apiKey). RemovegetDefaultConfiguration()andsetDefaultConfiguration(). - Simplify
setApiKey/getApiKeyto single-key (no identifier). Remove unnecessarysetApiKeyPrefix,setAccessToken,setUsername,setPasswordmethods. - Switch authentication from API key header to
Authorization: Bearertoken. - Change all JSON serialization keys from camelCase to snake_case.
- Change
ErrorCodeenum values from PascalCase to snake_case. - Append
/v4to all region base URLs. - Changed method return signature of operations.
Migration Guide
Response/Model structure:
- $event->getProducts()->getIdentification()->getData()->getVisitorId() + $event->getIdentification()->getVisitorId()
Configuration:
- $config = Configuration::getDefaultConfiguration('secret-api-key'); + $config = new Configuration('secret-api-key');
Region parameter:
- $config = Configuration::getDefaultConfiguration('key', Configuration::REGION_EUROPE); + $config = new Configuration('key', Configuration::REGION_EUROPE);
New operation return format:
- list($event, $response) = $api->getEvent($requestId); + $event = $api->getEvent($eventId);
If you need raw response:
- list($event, $response) = $api->getEvent($requestId); + list($event, $response) = $api->getEventWithHttpInfo($eventId);
Update event:
- $body = new EventsUpdateRequest(['tag' => ['key' => 'value']]); - $api->updateEvent($body, $requestId); + $body = new EventUpdate(['tags' => ['key' => 'value']]); + $api->updateEvent($eventId, $body);
New Features
- New v4 models:
BotInfo,Canvas,Emoji,EventRuleAction,RawDeviceAttributes,TamperingDetails, ... - New enum models:
BotResult,TamperingConfidence,VpnConfidence,ProxyConfidence,RuleActionType, ... - New
WithHttpInfomethod variants for all operations. Each operation now exposes four methods:{operationId}(),{operationId}WithHttpInfo(),{operationId}Async(),{operationId}AsyncWithHttpInfo(). - mTLS support with
setCertFile()andsetKeyFile()onConfiguration. (67ac090)
- Flatten event structure. Access fields directly instead of through
-
Drop PHP 8.1 support. Minimum required PHP version is now 8.2. (72432d3)
-
Changed package name to
fingerprint/server-sdkBREAKING CHANGE:
- Update the composer dependency to
fingerprint/server-sdk - Update all
usestatements to the new namespaceFingerprint\ServerSdk
MIGRATION GUIDE:
Replace
composer.jsondependency:"require": { - "fingerprint/fingerprint-pro-server-api-sdk": "^6.10.0" + "fingerprint/server-sdk": "^7.0.0" }Replace all
usestatements with the new namespace:-use Fingerprint\ServerAPI\Configuration; +use Fingerprint\ServerSdk\Configuration;
The above example applies to all
Fingerprint\ServerAPIreferences. (c72108a) - Update the composer dependency to
v6.10.0
Minor Changes
- events-search: Event search now supports a new set of filter parameters:
developer_tools,location_spoofing,mitm_attack,proxy,sdk_version,sdk_platform,environment(f385bfa) - webhook: Add
supplementaryIdsproperty to the Webhooks schema. (f385bfa) - Add
proximitysignal that represents a fixed geographical zone in a discrete global grid within which the device is observed. (47a43dc) - Add
environmentIdproperty toidentification(f385bfa)