fix(deps): update rust crate posthog-rs to 0.9.0#3451
Merged
Conversation
d1a77ab to
909c795
Compare
909c795 to
cdfcb0e
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.7.0→0.9.00.7.0→0.9.0Release Notes
posthog/posthog-rs (posthog-rs)
v0.9.1Compare Source
Patch changes
f757768 Serialize the v0 capture
distinct_idat the event root (canonical field) instead of the legacy$distinct_idalias, matching v1 and the v0 ingestion contract. Add retries to the v0 capture paths: transport errors and 408/500/502/503/504 are retried with exponential backoff honoringRetry-After, and a 429 is retried only when it carries aRetry-After(a bare 429 stays a terminal rate-limit). Retried requests resend the same bytes, preserving the event UUID and timestamp that dedup relies on. Add opt-in gzip compression for v0 capture viacapture_compression: the body is gzipped with aContent-Encoding: gzipheader and acompression=gzipquery param (capture reads the query param on v0).Fix the retry backoff timing on both v0 and v1: the first retry now waits exactly
retry_initial_backoff_msinstead of double it (the call sites previously passedattempt + 1into the backoff calculation, skipping the configured initial delay). — Thanks @eli-r-ph!v0.9.0Compare Source
Minor changes
/i/v1/analytics/events/) behind the unstablecapture-v1Cargo feature (off by default). Includes gzip/deflate/br/zstd compression, automatic partial-batch retry with exponential backoff, per-event options (cookieless mode, skew correction, person profile, product tour), and historical migration support. A separatetest-harnessfeature enables injecting extra request headers for compliance test isolation. — Thanks @eli-r-ph for your first contribution 🎉!v0.8.0Compare Source
Minor changes
$is_serverevent property (defaulttrue) so PostHog can identify server-side events. Setis_servertofalsewhen using posthog-rs as a client/CLI so the device OS is attributed normally. — Thanks @turnipdabeets for your first contribution 🎉!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.