releases.shpreview
PostHog/PostHog JS/posthog-js@1.376.0

posthog-js@1.376.0

May 22, 2026PostHog JSView original ↗2 features

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

Fetched May 22, 2026