Skip to content

Bump github.com/posthog/posthog-go from 0.0.0-20230801140217-d607812dee69 to 1.27.0 - #211

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

1.27.0

Unreleased

1.26.0

Unreleased

1.25.3

Unreleased

1.25.2

Unreleased

1.25.1

Unreleased

1.25.0

Unreleased

1.24.4

Unreleased

1.24.3

Unreleased

1.24.2

Unreleased

1.24.1

Unreleased

1.24.0

Unreleased

1.23.1

Unreleased

1.23.0

Unreleased

1.22.0

Unreleased

1.21.0

Unreleased

1.20.0

Unreleased

1.19.0

Unreleased

... (truncated)

Changelog

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

1.27.0

Minor Changes

  • 7a6c4db: Add the experimental FlagDefinitionCacheProvider interface and the Config.FlagDefinitionCacheProvider option, for sharing local evaluation flag definitions across SDK instances. See Distributed environments.

1.26.0

Minor Changes

  • 991edf7: Add Client.Flush and Client.FlushWithContext to send queued events without closing the client. Flush waits for the covered delivery attempts to complete or enter retry backoff, while cancellation stops only the caller's wait. Retryable events remain with the transport for scheduled retries; Flush does not bypass backoff. Delivery failures continue to use the configured retry policy and failure callbacks.

    The new methods extend the exported Client interface. Custom implementations and mocks of that interface must implement both methods. Existing callers using the SDK constructors can continue using the same client after flushing.

1.25.3

Patch Changes

  • 739a26f: Honor the definitions snapshot's property_matching_version during local flag evaluation: version 2 uses explicit boolean equality, while missing/1 and unknown versions retain legacy matching. Keep definitions and matching semantics together across reloads, cached 304 responses, group/cohort rules, and flag dependencies. Also preserve JSON-decoded dependency chains in cohort leaves, while requiring server evaluation for dependencies that need a different aggregation context. Same-group dependencies reuse the caller’s group key and properties for local evaluation.

1.25.2

Patch Changes

  • 3bc1d1a: Fix local evaluation falling back to the API for gt, gte, lt and lte when the operand is stored as a string. The PostHog API stores a numeric comparison operand as a string, and its filters validation requires one, so most flags using these operators hold a string. interfaceToFloat had a case for every numeric type and none for string, so the operand was not orderable. The error it returned was not an InconclusiveMatchError, so the caller did not try other conditions either and fell back to the API for a flag it could have matched locally. A string operand is now parsed with strconv.ParseFloat, matching what the Python, Node, Ruby and PHP SDKs already do. A value that is not a finite number, including "NaN" and "Inf", stays not orderable.

1.25.1

Patch Changes

  • c159621: Fix not_regex local flag evaluation erroring on non-string/int property values. The not_regex operator used a manual string/int type switch and returned an error for other types, most notably float64, which is what JSON numbers deserialize to, so it failed on a numeric property value even though regex handled it. not_regex now coerces both sides with valueToString, mirroring regex. An explicit nil property value is represented as null, matching the feature flags evaluation service rather than Go's default <nil> representation.

1.25.0

Minor Changes

  • 897a0b4: Add the OpenTelemetry bridge for AI observability as an independently installable nested Go module.

1.24.4

Patch Changes

  • c3270b6: Align local feature flag property matching with the flags service, including boolean-array precedence, canonical JSON stringification, and operator-specific case folding.

1.24.3

Patch Changes

  • 749f1e8: Fix exact/is_not local flag evaluation to match case-insensitively and after string coercion, consistent with the other string operators here and the reference SDKs. A plain Go == made them case- and type-sensitive, so e.g. exact "US" did not match a "us" property value and exact 1 did not match a "1" property value.

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

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.27.0
  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 Sep 28, 2026
@snyk-io

snyk-io Bot commented Sep 28, 2026

Copy link
Copy Markdown

✅ 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.

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