@posthog/core@1.48.12
1.48.12
Patch Changes
-
#4616
7902e44Thanks @shahidrogers! - Stop crashing when the environment'sMath.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) -
#4651
e899b1cThanks @marandaneto! - Treat omitted local evaluation properties as inconclusive foris_not_set.
(2026-08-27)