fix(deps): update rust crate posthog-rs to 0.6.0#3237
Merged
Conversation
40299db to
8209085
Compare
8209085 to
bb75e62
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.5.0→0.6.00.5.3→0.6.0Release Notes
posthog/posthog-rs (posthog-rs)
v0.6.0Compare Source
Minor changes
7950daf Add
evaluate_flags(distinct_id, options)for single-call snapshot-based feature flag evaluation. Returns aFeatureFlagEvaluationswhoseis_enabled/get_flag/get_flag_payloadmethods read from the cached evaluation.is_enabledandget_flagfire deduplicated$feature_flag_calledevents with full metadata ($feature_flag_id,$feature_flag_version,$feature_flag_reason,$feature_flag_request_id). Pass the snapshot toEvent::with_flags(&snapshot)to attach$feature/<key>and$active_feature_flagsto a captured event without an extra/flagscall.When
flag_keysis provided and local evaluation already covers every requested key,evaluate_flagsskips the/flagsround-trip entirely. If the remote/flagscall fails after some flags were resolved locally, the snapshot is still returned with the local results (degraded), witherrors_while_computing_flagspropagated to subsequent$feature_flag_calledevents. String-encodedmetadata.payloadvalues from/flags?v=2are normalized to parsed JSON.Deprecates the legacy single-flag methods in favor of
evaluate_flags():Client::get_feature_flagClient::is_feature_enabledClient::get_feature_flag_payloadThe methods continue to work but emit a
#[deprecated]compile warning pointing atevaluate_flags(). They will be removed in a future major version. — Thanks @dmarticus!Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.