Added
- Added a configurable trace sampler via
trace.sampler(OPENFGA_TRACE_SAMPLER/OTEL_TRACES_SAMPLER), supporting the standard OpenTelemetry strategiesalways_on,always_off,traceidratio,parentbased_always_on,parentbased_always_off, andparentbased_traceidratio. This lets OpenFGA honor upstream parent sampling decisions when running as a downstream service. Defaults totraceidratioto preserve existing behavior. #3072 Thanks @armujahid!
Changed
- Redesigned cache key generation to use TLV (type-length-value) binary encoding, eliminating collision risk from string concatenation and adding per-process hash seeding to prevent hash-flooding attacks. #3148
New Contributors
- @armujahid made their first contribution in #3072
Full Changelog: v1.16.1...v1.17.0