@posthog/core
1.69.0 · 17 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading @posthog/core From 1.54.4 to 1.69.2
41 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 15
- new
- 30
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.61.1
- Deprecated1.61.0
Release by release
- Fixed
Reduce main-thread work when validating native gzip output (2026-11-19)
- Fixed
- 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)
- New
- New
Export the table of per-event options and the event properties posthog-node 5.x.x reads instead, so posthog-node,
@posthog/aiand@posthog/mcpshare 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
PostHogFetchOptionshas an optionalredirectfield, so a customfetchsees 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)
- New
- New
Treat failed flag evaluations as unavailable: Node
getFeatureFlag()/isFeatureEnabled()returnundefined,getAllFlags()omits failed keys, and no failed values or payloads are exposed. (2026-11-15)
- New
- Fixed
Let an SDK choose the
/flagsresponse version it requests and how it reads it. SDKs that do not opt in keep requestingv=2. (2026-11-13)
- Fixed
- Fixed
core: Summarize the keys of a non-
Errorexception in one pass, so capturing a very wide thrown object no longer takes quadratic time. (2026-11-12)
- Fixed
- Fixed
Relative date filters in local flag evaluation no longer roll past the end of a shorter month.
1mon March 31 now resolves to February 28, matching the flags service. (2026-11-10)
- Fixed
- New
node: Add
instrumentRequestandposthogHonoMiddlewarefor fetch-API servers (Hono, Bun, Deno, Next route handlers). They readx-posthog-session-id, wrap the request inwithContext, open a server span that continuestraceparentand is named by route, mark 5xx as errors, and recordhttp.server.request.durationandhttp.server.request.count.
- New
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.