Skip to content

Bump PostHog from 2.7.1 to 2.8.1 - #57

Merged
kodroi merged 1 commit into
mainfrom
dependabot/nuget/src/Metreja.Tool/PostHog-2.8.1
Jun 29, 2026
Merged

Bump PostHog from 2.7.1 to 2.8.1#57
kodroi merged 1 commit into
mainfrom
dependabot/nuget/src/Metreja.Tool/PostHog-2.8.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 27, 2026

Copy link
Copy Markdown
Contributor

Updated PostHog from 2.7.1 to 2.8.1.

Release notes

Sourced from PostHog's releases.

2.8.1

Patch Changes

  • 60a2194: Preserve per-capture GeoIP override properties when super properties are configured.

2.8.0

Minor Changes

  • 788d9e0: Support the early_exit filter option in local feature flag evaluation, mirroring the server-side evaluation engine. When a flag's filters.early_exit is true and a condition group's property filters match (or the group has none) but the rollout percentage excludes the user, evaluation stops and the flag returns a definitive disabled result instead of falling through to later condition groups. A pure property-filter mismatch always falls through, even when early_exit is enabled. When the field is absent or false, existing behavior is preserved.
  • 788d9e0: Add feature flag evaluation contexts via PostHogOptions.EvaluationContexts. /flags requests now send evaluation_contexts when configured.
  • 788d9e0: Add a configurable $is_server event property (default true) so PostHog can identify server-side events. Set PostHogOptions.IsServer to false when using the SDK as a client/CLI so the device OS is attributed normally.
  • 788d9e0: Add request-scoped server request context support for tracing headers and ASP.NET Core metadata.

Patch Changes

  • 788d9e0: Refactor duplicate internal SDK code paths without changing public API behavior.
  • 788d9e0: Document public APIs and make GroupCollection.TryAdd(Group) store entries by group type instead of group key, matching the collection's one-group-per-type behavior.
  • 788d9e0: Include group context in the $feature_flag_called dedupe cache key so group-scoped flags fire a separate event for each group a user is evaluated under, instead of being dedup-ed against the first group context the same (distinctId, featureKey, response) was seen under. The groups are canonicalized order-independently (OrderBy(GroupType, StringComparer.Ordinal)) so two equal collections built in different insertion orders still dedupe.
  • 788d9e0: Return no-op results instead of throwing from public APIs when PostHog API calls fail.
  • 788d9e0: Reject semver values with leading zeros in local flag evaluation. Per semver 2.0.0 §2, numeric identifiers must not include leading zeros — values like 1.07.3 are not valid semver and should not match targeting conditions. Both override values and flag values are now validated; invalid inputs cause SemanticVersion.TryParse to return false so the condition does not match.
  • 788d9e0: Use the correct historical_migration wire field for batch capture payloads.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: PostHog
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 27, 2026
@kodroi
kodroi merged commit 6fdbcc9 into main Jun 29, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/nuget/src/Metreja.Tool/PostHog-2.8.1 branch June 29, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant