Packages

@posthog/core

1.69.0 · 17 Nov 2026MIT44.5M / weekRepositorynpmAtom feed

Upgrading @posthog/core From 1.53.3 to 1.69.2

46 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.53.3Latest1.69.0
  1. 1.53.3yours
  2. 45 releases
  3. 1.69.2target

Before you upgrade

Tick each one off as you go
  • Deprecated1.61.1
  • Deprecated1.61.0

Release by release

  1. 1.69.2

    19 Nov 20261 fix
    • Fixed

      Reduce main-thread work when validating native gzip output (2026-11-19)

  2. 1.69.1

    18 Nov 20261 new · 1 fix
    • New

      Add extension hooks for context-safe feature flags and transient batch retention. (2026-11-18)

    • Fixed

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

  3. 1.69.0

    17 Nov 20261 new · 3 fixes
    • New

      Export the table of per-event options and the event properties posthog-node 5.x.x reads instead, so posthog-node, @posthog/ai and @posthog/mcp share one copy. (2026-11-17)

    • Fixed

      Debug mode logs an emitted event's payload through an overridable describeDebugPayload, so an SDK can log a summary instead. The default is unchanged. (2026-11-17)

    • Fixed

      PostHogFetchOptions has an optional redirect field, so a custom fetch sees how capture asks it to handle redirects. (2026-11-17)

    • Fixed

      Export V7Generator, so an SDK can generate v7 uuids from its own random source. (2026-11-17)

  4. 1.68.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)

  5. 1.67.3

    13 Nov 20261 fix
    • Fixed

      Let an SDK choose the /flags response version it requests and how it reads it. SDKs that do not opt in keep requesting v=2. (2026-11-13)

  6. 1.67.2

    12 Nov 20261 fix
    • Fixed

      core: Summarize the keys of a non-Error exception in one pass, so capturing a very wide thrown object no longer takes quadratic time. (2026-11-12)

  7. 1.67.1

    10 Nov 20261 fix
    • Fixed

      Relative date filters in local flag evaluation no longer roll past the end of a shorter month. 1m on March 31 now resolves to February 28, matching the flags service. (2026-11-10)

  8. 1.67.0

    10 Nov 20261 new
    • New

      node: Add instrumentRequest and posthogHonoMiddleware for fetch-API servers (Hono, Bun, Deno, Next route handlers). They read x-posthog-session-id, wrap the request in withContext, open a server span that continues traceparent and is named by route, mark 5xx as errors, and record http.server.request.duration and http.server.request.count.

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