Change8

v4.0.2

📦 datadog-sdkView on GitHub →
🐛 3 fixes🔧 3 symbols

Summary

This release focuses on several bug fixes across different components, including improved event deduplication in OpenFeature, resolution of API key parsing issues in OpenAI, and stability fixes in the profiler.

🐛 Bug Fixes

  • OpenFeature: Fixed exposure event deduplication to use (flag_key, subject_id) as the cache key instead of (flag_key, variant_key, allocation_key). This change ensures unique users get unique exposure events while preventing repeated evaluations for the same user from being logged multiple times. Also implemented LRU eviction and respects the do_log flag from flag metadata.
  • OpenAI: Resolved an issue causing parsing errors when an OpenAI client was initialized with a non-string API key.
  • Profiling: Fixed a crash issue in the Lock profiler by ensuring the necessary initialization function is called.

🔧 Affected Symbols

openfeatureopenaiprofiling