Skip to content

Bump github.com/posthog/posthog-go from 0.0.0-20230801140217-d607812dee69 to 1.12.1#172

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/posthog/posthog-go-1.12.1
Open

Bump github.com/posthog/posthog-go from 0.0.0-20230801140217-d607812dee69 to 1.12.1#172
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/posthog/posthog-go-1.12.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Bumps github.com/posthog/posthog-go from 0.0.0-20230801140217-d607812dee69 to 1.12.1.

Release notes

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

v1.12.1

1.12.1 - 2026-04-20

v1.12.0

1.12.0 - 2026-04-20

v1.11.3

1.11.3 - 2026-04-14

  • Full Changelog

  • Added locally_evaluated property to $feature_flag_called events, indicating whether the flag was evaluated locally or via the remote /flags endpoint.

v1.11.2

1.11.2 - 2026-03-26

v1.11.1

1.11.1 - 2026-03-11

v1.10.0

1.10.0 - 2026-02-04

New Features

  • GetFeatureFlagResult: New method that returns both the flag value and payload in a single call, while properly tracking feature flag usage via $feature_flag_called events.

Deprecations

  • GetFeatureFlagPayload: Deprecated in favor of GetFeatureFlagResult. The new method provides better tracking and a more convenient API.

Migration Guide

// Before (two calls, no event tracking for payload-only):
flag, _ := client.GetFeatureFlag(payload)
payloadStr, _ := client.GetFeatureFlagPayload(payload)
// After (single call, always tracks):
result, err := client.GetFeatureFlagResult(payload)
if err != nil { /* handle */ }
</tr></table>

... (truncated)

Changelog

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

1.12.1 - 2026-04-20

1.12.0 - 2026-04-20

1.11.3 - 2026-04-14

  • Full Changelog

  • Added locally_evaluated property to $feature_flag_called events, indicating whether the flag was evaluated locally or via the remote /flags endpoint.

1.11.2 - 2026-03-26

1.11.1 - 2026-03-11

1.10.0 - 2026-02-04

New Features

  • GetFeatureFlagResult: New method that returns both the flag value and payload in a single call, while properly tracking feature flag usage via $feature_flag_called events.

Deprecations

  • GetFeatureFlagPayload: Deprecated in favor of GetFeatureFlagResult. The new method provides better tracking and a more convenient API.

Migration Guide

// Before (two calls, no event tracking for payload-only):
flag, _ := client.GetFeatureFlag(payload)
payloadStr, _ := client.GetFeatureFlagPayload(payload)
// After (single call, always tracks):
result, err := client.GetFeatureFlagResult(payload)
if err != nil { /* handle */ }
if result.Enabled {
var config MyConfig
result.GetPayloadAs(&config)
}

... (truncated)

Commits

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 0.0.0-20230801140217-d607812dee69 to 1.12.1.
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/posthog/posthog-go/commits/v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies dependencies go Pull requests that update Go code labels Apr 20, 2026
@snyk-io
Copy link
Copy Markdown

snyk-io Bot commented Apr 20, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
🔚 Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented Apr 20, 2026

PR Summary

  • Updated Existing Libraries:

    • The version of the library posthog-go, which is used for product analytics, has been updated from an older version to 'v1.12.1'. This could mean improved performance and stability.
    • The library go-cmp used for comparing Go data structures has been updated from v0.6.0 to v0.7.0, again suggesting performance improvements and possible new features.
  • Added New Auxiliary Libraries:

    • The library go-json version v0.10.5 has been added. This library is used for encoding and decoding JSON, meaning we'll have a new way to process these types of files.
    • Another addition is golang-lru/v2 version v2.0.7, a Go library implementing least recently used (LRU) cache. This might help enhance the speed at which some items are retrieved in the software.
  • Changes in dependencies list and their verification:

    • The 'go.sum' file, which is used to ensure the exact versions of dependencies are used, has been updated. This change guarantees consistency and integrity in the software's dependencies.

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

Labels

dependencies dependencies go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants