Skip to content

chore(deps): bump github.com/posthog/posthog-go from 1.12.1 to 1.12.5 in /backend#258

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/backend/github.com/posthog/posthog-go-1.12.5
Open

chore(deps): bump github.com/posthog/posthog-go from 1.12.1 to 1.12.5 in /backend#258
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/backend/github.com/posthog/posthog-go-1.12.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/posthog/posthog-go from 1.12.1 to 1.12.5.

Release notes

Sourced from github.com/posthog/posthog-go's releases.

1.12.5

Unreleased

1.12.4 - 2026-04-30

1.12.3 - 2026-04-21

1.12.2 - 2026-04-20

Changelog

Sourced from github.com/posthog/posthog-go's changelog.

1.12.5

Patch Changes

  • 6d243a6: Return ErrSDKDisabled from no-op clients when the project API key is missing, return ErrNoPersonalAPIKey before making requests for Personal API key dependent methods when no Personal API key is configured, and return ErrNoDistinctID from EvaluateFlags when distinct_id is missing.

New Features

  • EvaluateFlags: New method on Client that returns a FeatureFlagEvaluations snapshot for a user using a single /flags request. The snapshot powers any number of IsEnabled / GetFlag / GetFlagPayload checks, fires deduped $feature_flag_called events with full v4 metadata (id, version, reason, request_id), and can be attached to a Capture event via the new Capture.Flags field to populate $feature/<key> and $active_feature_flags without another network call.
  • Capture.Flags: New optional field on Capture that accepts a *FeatureFlagEvaluations snapshot. Takes precedence over SendFeatureFlags, avoids a hidden /flags request per event, and lets caller-supplied Properties override the auto-generated $feature/<key> values on conflict.

Internal

  • Refactored the $feature_flag_called dedup logic into a shared helper so the existing single-flag path and the new snapshot path use identical semantics against the same per-distinct_id LRU cache.
  • $feature_flag_called events from the snapshot path combine response-level errors (errors_while_computing_flags, quota_limited) with per-flag errors (flag_missing) comma-joined in $feature_flag_error, matching the granularity of the legacy single-flag path.

1.12.4 - 2026-04-30

1.12.3 - 2026-04-21

1.12.2 - 2026-04-20

Commits
  • 22195ff chore: release v1.12.5 [version bump] [skip ci]
  • 6d243a6 fix: revert d2c4dd2 (#199)
  • d2c4dd2 chore: release v1.12.4 [version bump] [skip ci]
  • e9436fa Fix no-op client for empty API key (#193)
  • 06421d2 chore: sign release workflow commits (#198)
  • 8e96d3d Run Go CI on main pushes (#197)
  • 9f60d7a feat(flags): support mixed targeting in local evaluation (#192)
  • 4f175d4 chore: trigger releases from main changesets (#196)
  • 2370beb feat: add EvaluateFlags() API for single-call flag evaluation (#191)
  • 4db3bfe chore: bump version to 1.12.4 [version bump]
  • Additional 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)

Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 1.12.1 to 1.12.5.
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/main/CHANGELOG.md)
- [Commits](PostHog/posthog-go@v1.12.1...v1.12.5)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.12.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@greptile-apps

greptile-apps Bot commented May 11, 2026

Copy link
Copy Markdown

Greptile Summary

This PR bumps github.com/posthog/posthog-go from v1.12.1 to v1.12.5 in the backend module. The go.mod hash for the posthog-go module itself is unchanged across versions, confirming no new transitive dependencies are pulled in.

  • v1.12.2–v1.12.4: Patch releases with bug fixes for no-op client behavior and mixed targeting in local flag evaluation.
  • v1.12.5: Adds EvaluateFlags() (single-call flag snapshot), a new Capture.Flags field, and fixes for ErrSDKDisabled/ErrNoPersonalAPIKey/ErrNoDistinctID returns — all additive changes with no breaking API modifications.

Confidence Score: 5/5

Safe to merge — only go.mod and go.sum are touched, no application code changes.

The update is limited to bumping a single analytics/feature-flag SDK across four minor patch releases. All changes in the new versions are additive (new APIs, error sentinel values), and the unchanged go.mod hash for posthog-go confirms no new transitive dependencies are introduced. No application code is touched.

No files require special attention.

Important Files Changed

Filename Overview
backend/go.mod Bumps github.com/posthog/posthog-go from v1.12.1 to v1.12.5; no other dependency changes.
backend/go.sum Updated checksums for posthog-go v1.12.5; the go.mod hash for posthog-go is unchanged, confirming no new transitive dependencies were introduced.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[backend/go.mod] -->|requires| B[github.com/posthog/posthog-go]
    B --> C{Version}
    C -->|before| D[v1.12.1]
    C -->|after| E[v1.12.5]
    E --> F[v1.12.2: no-op client fix]
    E --> G[v1.12.3: mixed targeting in local eval]
    E --> H[v1.12.4: changelog only]
    E --> I[v1.12.5: EvaluateFlags API + error sentinel fixes]
Loading

Reviews (1): Last reviewed commit: "chore(deps): bump github.com/posthog/pos..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants