Packages

posthog-node

6.0.5 · 19 Nov 2026MIT23.9M / weekRepositorynpmAtom feed

Upgrading posthog-node From 6.0.0 to 6.0.5

5 releases in betweenevery note read

Reading releases, release notes and advisories…

1
change to make
0
advisories fixed
1
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Breaking6.0.3

Release by release

  1. 6.0.5

    19 Nov 20261 fix
    • Fixed

      Keep falsy payloads (0, false, "") for locally evaluated flags in evaluateFlags and getAllFlagsAndPayloads (2026-11-19)

  2. 6.0.4

    18 Nov 20261 fix
    • Fixed

      Send transactional email requests to /api/messaging/ instead of the /api/projects/@current/ alias, which PostHog is removing. Needs PostHog Cloud, or a self-hosted PostHog from 2026-11-18 or later. Older self-hosted versions answer these calls with a 404. (2026-11-18)

  3. 6.0.3

    Migration needed18 Nov 20261 fix
    • Breaking

      Drop null-valued custom exception properties after beforeSend without undoing redaction or changing array positions. (2026-11-18)

    • Fixed

      Preserve falsy JSON payloads in feature flag snapshots from legacy flag responses. (2026-11-18)

  4. 6.0.2

    17 Nov 20261 fix
    • Fixed

      Accept the 5.x option names before_send, custom_blocked_useragents, disable_capture_url_hashes, and __preview_capture_bot_pageviews again as deprecated aliases. Each one maps to its camelCase name and logs one deprecation error per process. When both names are set, the camelCase one wins. In 6.0.0 the old names were ignored without a warning, so a before_send hook stopped running. (2026-11-17)

  5. 6.0.1

    17 Nov 20261 new
    • New

      Add the missing commas to the captureImmediate and identify doc comment examples, so the examples parse when you copy them. (2026-11-17)

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.