Skip to content

@posthog/core@1.48.12

Choose a tag to compare

@github-actions github-actions released this 27 Aug 08:30
Immutable release. Only release title and notes can be modified.
db9c291

1.48.12

Patch Changes

  • #4616 7902e44 Thanks @shahidrogers! - Stop crashing when the environment's Math.random() misbehaves. The vendored UUIDv7 generator builds its random fields from a Math.random()-based nextUint32(), and a nonconformant implementation that returns a value of 1 or greater, or NaN, pushed those fields out of range, so fromFieldsV7 threw RangeError: invalid field value on every event captured. On React Native this is not hypothetical: Hermes implements Math.random with 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 e899b1c Thanks @marandaneto! - Treat omitted local evaluation properties as inconclusive for is_not_set.
    (2026-08-27)