Skip to content

fix(deps): update rust crate posthog-rs to 0.6.0#3237

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/posthog-rs-0.x
May 2, 2026
Merged

fix(deps): update rust crate posthog-rs to 0.6.0#3237
renovate[bot] merged 1 commit into
mainfrom
renovate/posthog-rs-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 2, 2026

This PR contains the following updates:

Package Type Update Change
posthog-rs dependencies minor 0.5.00.6.0
posthog-rs workspace.dependencies minor 0.5.30.6.0

Release Notes

posthog/posthog-rs (posthog-rs)

v0.6.0

Compare Source

Minor changes
  • 7950daf Add evaluate_flags(distinct_id, options) for single-call snapshot-based feature flag evaluation. Returns a FeatureFlagEvaluations whose is_enabled / get_flag / get_flag_payload methods read from the cached evaluation. is_enabled and get_flag fire deduplicated $feature_flag_called events with full metadata ($feature_flag_id, $feature_flag_version, $feature_flag_reason, $feature_flag_request_id). Pass the snapshot to Event::with_flags(&snapshot) to attach $feature/<key> and $active_feature_flags to a captured event without an extra /flags call.

    When flag_keys is provided and local evaluation already covers every requested key, evaluate_flags skips the /flags round-trip entirely. If the remote /flags call fails after some flags were resolved locally, the snapshot is still returned with the local results (degraded), with errors_while_computing_flags propagated to subsequent $feature_flag_called events. String-encoded metadata.payload values from /flags?v=2 are normalized to parsed JSON.

    Deprecates the legacy single-flag methods in favor of evaluate_flags():

    • Client::get_feature_flag
    • Client::is_feature_enabled
    • Client::get_feature_flag_payload

    The methods continue to work but emit a #[deprecated] compile warning pointing at evaluate_flags(). They will be removed in a future major version. — Thanks @​dmarticus!


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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) May 2, 2026 02:04
@github-actions github-actions Bot added the type: fix Iterations on existing features or infrastructure. label May 2, 2026
@renovate renovate Bot force-pushed the renovate/posthog-rs-0.x branch 2 times, most recently from 40299db to 8209085 Compare May 2, 2026 09:46
@renovate renovate Bot force-pushed the renovate/posthog-rs-0.x branch from 8209085 to bb75e62 Compare May 2, 2026 14:11
@renovate renovate Bot merged commit c7f0c96 into main May 2, 2026
8 checks passed
@renovate renovate Bot deleted the renovate/posthog-rs-0.x branch May 2, 2026 14:13
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.

0 participants