Packages

posthog-node

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

Upgrading posthog-node From 5.36.8 to 5.74.0

115 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.36.8Latest6.0.5
  1. 5.36.8yours
  2. 52 releases
  3. 5.49.2breaking
  4. 61 releases
  5. 5.74.0target

Before you upgrade

Tick each one off as you go
  • Breaking5.49.2
  • Deprecated5.71.0
  • Deprecated5.38.3

Release by release

  1. 5.74.0

    15 Nov 20261 new
    • New

      Treat failed flag evaluations as unavailable: Node getFeatureFlag()/isFeatureEnabled() return undefined, getAllFlags() omits failed keys, and no failed values or payloads are exposed. (2026-11-15)

  2. 5.73.1

    14 Nov 20261 fix
    • Fixed

      node: shutdown() now also sends logs captured while its logs flush was in flight, instead of dropping them (2026-11-14)

  3. 5.73.0

    13 Nov 20262 new
    • New

      Send $experiment_exposure for config version 2 experiment splits, and send the reason code and rule attribution on $feature_flag_called for config version 2 flags in place of $feature_flag_reason. (2026-11-13)

    • New

      Request /flags/?v=4 instead of /flags/?v=2 and read its typed flag records. For a well-formed response, flag getters and $feature_flag_called events return the same values as before. A PostHog server that does not serve v=4 answers as it does for v=2, and that response is read as before.

  4. 5.72.0

    13 Nov 20261 new
    • New

      Send cc, bcc and attachments with email from code. The SDK uploads each file PostHog doesn't have yet, then sends the email with the files' hashes. An email carries at most 10 files and 40 MB after Base64 encoding, about 29 MB of files. (2026-11-13)

  5. 5.71.0

    Deprecation12 Nov 20261 new
    • Deprecated

      captureEngagement is deprecated in favor of tracking: { engagement: false }.

    • New

      A send with templateKey now takes tracking and sensitive.

  6. 5.70.0

    12 Nov 20261 new
    • New

      Opt a recipient out of email topics, or back in, with posthog.emails.setPreferences({ to, topics, allMarketing }). One call sends the whole change in one request, using the client's secretKey. (2026-11-12)

  7. 5.69.0

    11 Nov 20261 new
    • New

      posthog.emails.send() takes a React Email element as react and renders it with the optional peer @react-email/render. (2026-11-11)

  8. 5.68.2

    10 Nov 20261 fix
    • Fixed

      With POSTHOG_CAPTURE_MODE=v1, capture now retries 404 and 429 responses like 408 and 5xx instead of failing the batch at once. (2026-11-10)

72 internal lines (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.