@posthog/core
1.69.0 · 17 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.69.2 is the newest release of 1.x.
In short
2 fixed
Release note
Patch Changes
Stop crashing when the environment's
Math.random()misbehaves. The vendored UUIDv7 generator builds its random fields from aMath.random()-basednextUint32(), and a nonconformant implementation that returns a value of 1 or greater, or NaN, pushed those fields out of range, sofromFieldsV7threwRangeError: invalid field valueon every event captured. On React Native this is not hypothetical: Hermes implementsMath.randomwith C++std::uniform_real_distribution, which is documented to occasionally return its upper bound, and affected Android devices crash-looped on startup during the SDK's internal event-queue flush — a path applications cannot wrap in a try/catch.nextUint32()now clamps its result to a valid unsigned 32-bit integer (>>> 0), so a bad random value degrades UUID entropy for that id instead of taking the app down; the timestamp bits are untouched and generated ids remain spec-valid UUIDv7.
(2026-08-27)Treat omitted local evaluation properties as inconclusive for
is_not_set.
(2026-08-27)
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.