Skip to content

chore(deps): bump posthog-node from 4.17.0 to 5.5.1#1051

Merged
maxprilutskiy merged 1 commit intomainfrom
dependabot/npm_and_yarn/posthog-node-5.5.1
Jul 24, 2025
Merged

chore(deps): bump posthog-node from 4.17.0 to 5.5.1#1051
maxprilutskiy merged 1 commit intomainfrom
dependabot/npm_and_yarn/posthog-node-5.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jul 21, 2025

Bumps posthog-node from 4.17.0 to 5.5.1.

Changelog

Sourced from posthog-node's changelog.

5.5.1 – 2025-07-15

  1. wrap InconclusiveMatchErrors in logMsgIfDebug for local flag evaluations on sendFeatureFlags

5.5.0 – 2025-07-10

  1. feat: make the sendFeatureFlags parameter more declarative and ergonomic. Implementation notes below:

Modified sendFeatureFlags to be type boolean | SendFeatureFlagsOptions, (which is defined thusly)

export interface SendFeatureFlagsOptions {
  onlyEvaluateLocally?: boolean
  personProperties?: Record<string, any>
  groupProperties?: Record<string, Record<string, any>>
}

This lets users declare (1) whether to use local evaluation, and (2) which properties to supply explicitly for that evaluation, every time they want to send feature flags. It also supports the old boolean behavior if folks don't care and would rather the SDK infer it.

Now, you can make calls like this

posthog.captureImmediate({
  distinctId: "user123",
  event: "test event",
  sendFeatureFlags: {
    onlyEvaluateLocally: true,
    personProperties: {
      plan: "premium",
    },
  },
  properties: {
    foo: "bar",
  },
});

or simply

posthog.captureImmediate({
  distinctId: "user123",
  event: "test event",
  sendFeatureFlags: true // this will still infer local evaluation if it appears to be configured, but it won't try to pull properties from the event message
  properties: {
    foo: "bar",
  },
});

... (truncated)

Commits
  • 46f3129 fix(flags): log level for locally evaluated flags (#574)
  • 8c37342 fix: Ignore new flag filter type in local evaluation (#567)
  • e345a62 feat(flags): make the sendFeatureFlags parameter more declarative and ergon...
  • 71a421f docs: Add CHANGELOG notice about GZip compression (#564)
  • 3bd5200 feat(flags): respect local evaluation preferences with sendFeatureFlags; ad...
  • 1bd00dc feat(flags): decouple local evaluation from personal API keys; support decryp...
  • 1870757 feat(err): add capture exception immediate method (#558)
  • ebad1b9 fix(flags): Handle double-encoded JSON response (#529)
  • dbb49ed chore(flags): roll everyone onto /flags (#523)
  • a332e6c chore: Update changelog dates
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [posthog-node](https://github.com/PostHog/posthog-js-lite/tree/HEAD/posthog-node) from 4.17.0 to 5.5.1.
- [Release notes](https://github.com/PostHog/posthog-js-lite/releases)
- [Changelog](https://github.com/PostHog/posthog-js-lite/blob/main/posthog-node/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js-lite/commits/posthog-node-v5.5.1/posthog-node)

---
updated-dependencies:
- dependency-name: posthog-node
  dependency-version: 5.5.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@maxprilutskiy maxprilutskiy merged commit 8cca097 into main Jul 24, 2025
3 checks passed
@maxprilutskiy maxprilutskiy deleted the dependabot/npm_and_yarn/posthog-node-5.5.1 branch July 24, 2025 12:04
17prateek12 pushed a commit to 17prateek12/lingo.dev that referenced this pull request Jan 23, 2026
Bumps [posthog-node](https://github.com/PostHog/posthog-js-lite/tree/HEAD/posthog-node) from 4.17.0 to 5.5.1.
- [Release notes](https://github.com/PostHog/posthog-js-lite/releases)
- [Changelog](https://github.com/PostHog/posthog-js-lite/blob/main/posthog-node/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js-lite/commits/posthog-node-v5.5.1/posthog-node)

---
updated-dependencies:
- dependency-name: posthog-node
  dependency-version: 5.5.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant