What's New in Version 4.5 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.See Property Indexing for more details.
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
The conversion happens natively in the device detection engine, eliminating the need for additional pipeline elements. See the UA-CH JavaScript page for detailed usage information.
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.
