github PostHog/posthog-js posthog-js@1.376.0

latest releases: @posthog/nextjs-config@1.9.33, @posthog/convex@1.0.6, posthog-react-native@4.45.14...
4 hours ago

1.376.0

Minor Changes

  • #3655 6e8d349 Thanks @arnaudhillen! - Expose the in-repo @posthog/rrweb, @posthog/rrweb-types, and @posthog/rrweb-plugin-console-record packages as subpath entry points on posthog-js. Consumers can now import { Replayer } from 'posthog-js/rrweb', import type { eventWithTime } from 'posthog-js/rrweb-types', and import { LogLevel } from 'posthog-js/rrweb-plugin-console-record' instead of installing the underlying rrweb packages directly. The rrweb worker sourcemap (image-bitmap-data-url-worker-*.js.map) is also shipped from posthog-js/dist/ so downstream bundlers no longer need to reach into node_modules/@posthog/rrweb.
    (2026-05-22)

Patch Changes

  • #3639 c806cca Thanks @marandaneto! - Use native async gzip compression for session recording events when CompressionStream is available.
    (2026-05-22)
  • Updated dependencies [c806cca]:
    • @posthog/core@1.29.9
    • @posthog/types@1.376.0

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.