pypi ddtrace 4.0.2

3 hours ago

Bug Fixes

  • openfeature
    • Fix exposure event deduplication to use (flag_key, subject_id) as cache key instead of (flag_key, variant_key, allocation_key). This ensures different users each receive their own exposure event while still deduplicating repeated evaluations for the same user. Also adds LRU eviction to prevent unbounded memory growth and respects the do_log flag from flag metadata.
  • openai
    • Resolves an issue where instantiating an OpenAI client with a non-string API key resulted in parsing issues.
  • profiling
    • This fix resolves an issue where the Lock profiler would not call the necessary initialization function, which would sometimes result in crashes.

Don't miss a new ddtrace release

NewReleases is sending notifications on new releases.