What's New in Version 4.5 (Pre-release) of Device Detection
Performance
- Optimized processing of User-Agent Client Hints, reducing lookup time.
Graph Selection
Removed
usePerformanceGraphandusePredictiveGraphconfiguration options.Detection now uses a single, unified predictive graph.
Property Retrieval
Added
propertyValueIndexconfiguration option.When
true, property values are indexed at startup for faster retrieval.
New Evidence Keys
Added support for alternative representations of User-Agent Client Hints via the following evidence keys (usable with
query.andcookie.prefixes):51d_gethighentropyvalues: Base64-encoded JSON string fromJSON.stringify()of thegetHighEntropyValues()JavaScript call.51d_structureduseragent: Plain JSON string using thedevice.suastructure as defined in OpenRTB 2.6.
These keys are functionally equivalent to passing the following HTTP headers:
Sec-CH-UASec-CH-UA-MobileSec-CH-UA-PlatformSec-CH-UA-ModelSec-CH-UA-Full-Version-ListSec-CH-UA-Platform-Version
Results Serialization
Introduced
ResultsHashSerializerservice class.Enables retrieval of all detected property values as a single JSON-serialized string.
Previously, properties could only be accessed individually by key.
