Skip to content

fix(deps): update rust crate posthog-rs to 0.23.0 - #3831

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/posthog-rs-0.x
Open

fix(deps): update rust crate posthog-rs to 0.23.0#3831
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/posthog-rs-0.x

Conversation

@renovate

@renovate renovate Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
posthog-rs dependencies minor 0.22.00.23.0
posthog-rs workspace.dependencies minor 0.22.00.23.0

Release Notes

posthog/posthog-rs (posthog-rs)

v0.23.2

Compare 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, so FeatureFlagEvaluations::get_flag_payload returned nothing for them. When flag_keys was fully covered locally there was also no /flags round 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 /flags payload, so a flag returns the same payload whichever path evaluated it. As a result, $feature_flag_called events 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.1

Compare Source

Patch changes
  • cf8952a Fix local flag evaluation for projects that use cohorts.

    The /flags/definitions/?send_cohorts payload maps each cohort ID directly to its property group ({"type": "AND"|"OR", "values": [...]}), but Cohort required non-existent id/name/properties fields, so the whole LocalEvaluationResponse failed to deserialize and no flags loaded at all. Cohort now 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.0

Compare Source

Minor changes
  • 015e5a3 Add an atomic trace_context capture 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)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) August 7, 2026 16:43
@github-actions github-actions Bot added the type: fix Iterations on existing features or infrastructure. label Aug 7, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-rs-0.x branch 7 times, most recently from a243708 to 4ccb76c Compare August 10, 2026 11:01
@renovate
renovate Bot force-pushed the renovate/posthog-rs-0.x branch from 4ccb76c to 166810c Compare August 10, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants