Skip to content

Bump github.com/posthog/posthog-go from 0.0.0-20230801140217-d607812dee69 to 1.10.0 - #158

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/posthog/posthog-go-1.10.0
Closed

Bump github.com/posthog/posthog-go from 0.0.0-20230801140217-d607812dee69 to 1.10.0#158
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/posthog/posthog-go-1.10.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubFeb 9, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

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)
iferr!=nil { /* handle */ }
ifresult.Enabled {
varconfigMyConfigresult.GetPayloadAs(&config)
}

Note: GetFeatureFlagResult returns nil, error when a flag doesn't exist (rather than a result with Enabled: false). Check for errors to distinguish between a disabled flag and a missing flag:

result, err:=client.GetFeatureFlagResult(payload)
iferrors.Is(err, posthog.ErrFlagNotFound) {
// Flag doesn't exist - use default behavior
}
iferr!=nil {
// Other error (e.g., network issue)
}
ifresult.Enabled {
// Flag exists and is enabled
} else {
// Flag exists but is disabled
}

v1.9.1

1.9.1 - 2026-01-21

... (truncated)

Changelog

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

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)
iferr!=nil { /* handle */ }
ifresult.Enabled {
varconfigMyConfigresult.GetPayloadAs(&config)
}

Note: GetFeatureFlagResult returns nil, error when a flag doesn't exist (rather than a result with Enabled: false). Check for errors to distinguish between a disabled flag and a missing flag:

result, err:=client.GetFeatureFlagResult(payload)
iferrors.Is(err, posthog.ErrFlagNotFound) {
// Flag doesn't exist - use default behavior
}
iferr!=nil {
// Other error (e.g., network issue)
}
ifresult.Enabled {
// Flag exists and is enabled
} else {
// Flag exists but is disabled
}

1.9.1 - 2026-01-21

1.9.0 - 2026-01-13

... (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)

@dependabotdependabotBot added dependencies dependencies go Pull requests that update Go code labels Feb 9, 2026
@what-the-diff

Copy link
Copy Markdown

PR Summary

  • Addition of new support libraries
    Our project now includes the github.com/goccy/go-json v0.10.5 and github.com/hashicorp/golang-lru/v2 v2.0.7 libraries. These indirectly support our main functionalities by providing additional features and performance improvements.

  • Update of analytics library
    The version of github.com/posthog/posthog-go used in our project has been updated from an older version to v1.10.0. This brings more stable, optimized, and effective data tracking capabilities to our product.

  • Checksums Updated
    Checkums in go.sum have been updated to maintain the integrity and safety of our project with the new and updated dependencies.

@snyk-io

snyk-ioBot commented Feb 9, 2026

Copy link
Copy Markdown

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

StatusScanner Critical High Medium LowTotal (0)
Open Source Security0000 0 issues

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

@dependabot
dependabotBotforce-pushed the dependabot/go_modules/github.com/posthog/posthog-go-1.10.0 branch from 008a135 to 369634bCompareFebruary 23, 2026 22:13
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 0.0.0-20230801140217-d607812dee69 to 1.10.0.
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/posthog/posthog-go/commits/v1.10.0)
---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
dependency-version: 1.10.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/go_modules/github.com/posthog/posthog-go-1.10.0 branch from 369634b to 21a80f8CompareMarch 9, 2026 21:43
@dependabot@github

dependabotBot commented on behalf of githubMar 16, 2026

Copy link
Copy Markdown
ContributorAuthor

Superseded by #163.

@dependabotdependabotBot closed this Mar 16, 2026
@dependabot
dependabotBot deleted the dependabot/go_modules/github.com/posthog/posthog-go-1.10.0 branch March 16, 2026 20:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesdependenciesgoPull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants