fix(deps): update rust crate posthog-rs to 0.23.0 - #3831
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/posthog-rs-0.x
branch
7 times, most recently
from
August 10, 2026 11:01
a243708 to
4ccb76c
Compare
renovate
Bot
force-pushed
the
renovate/posthog-rs-0.x
branch
from
August 10, 2026 17:59
4ccb76c to
166810c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.22.0→0.23.00.22.0→0.23.0Release Notes
posthog/posthog-rs (posthog-rs)
v0.23.2Compare Source
Patch changes
ea92c93 Surface feature flag payloads from local evaluation.
The definitions manifest carries each flag's payloads, but locally evaluated flags always reported
payload: None, soFeatureFlagEvaluations::get_flag_payloadreturned nothing for them. Whenflag_keyswas fully covered locally there was also no/flagsround trip left to recover the payload from. Local evaluation now resolves the payload for the matched value ("true"for a boolean match, the variant key for a multivariate one) and decodes it exactly like a/flagspayload, so a flag returns the same payload whichever path evaluated it. As a result,$feature_flag_calledevents for locally evaluated flags now carry$feature_flag_payload, matching remote evaluation. — Thanks @slshults!962282c Stop malformed cohort definitions from aborting the process during local evaluation.
Cohort resolution recursed through nested cohort references with nothing bounding the recursion, so a cohort that referenced itself, directly or through another cohort, recursed until the thread stack was exhausted. A Rust stack overflow aborts the process rather than panicking catchably, so a single bad definitions response could take down the calling server, and would again on restart as soon as the poller refetched. A long chain of distinct cohorts reached the same abort without any cycle at all, and because each cohort is a separate shallow entry in the manifest, such a chain also cleared
serde_json's own nesting limit on the way in.Cohort resolution now tracks the cohorts on the active resolution path and the combined depth of cohort references and nested property groups. A repeated cohort is reported as a cycle, and total resolution depth is capped at 100. Either is reported as inconclusive, so the flag falls back to server-side evaluation rather than resolving to a wrong value. Referencing the same cohort twice down sibling branches still resolves normally, since IDs are released as the recursion unwinds. — Thanks @slshults!
v0.23.1Compare Source
Patch changes
cf8952a Fix local flag evaluation for projects that use cohorts.
The
/flags/definitions/?send_cohortspayload maps each cohort ID directly to its property group ({"type": "AND"|"OR", "values": [...]}), butCohortrequired non-existentid/name/propertiesfields, so the wholeLocalEvaluationResponsefailed to deserialize and no flags loaded at all.Cohortnow deserializes the real payload, and cohort matching recurses through nested AND/OR groups and cohort references instead of flattening them. — Thanks @posthog[bot] for your first contribution 🎉!v0.23.0Compare Source
Minor changes
trace_contextcapture option and a client-level trace-context provider so exception events can be linked to distributed traces without adding telemetry dependencies to the SDK. — Thanks @hpouillot for your first contribution 🎉!Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.