@posthog/core
1.69.0 · 17 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading @posthog/core From 1.48.11 to 1.48.12
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Release by release
- Fixed
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) - Fixed
Treat omitted local evaluation properties as inconclusive for
is_not_set. (2026-08-27)
- Fixed
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.