github PostHog/posthog-js @posthog/rollup-plugin@1.4.9

latest release: @posthog/plugin-utils@1.1.3
3 hours ago

1.4.9

Patch Changes

  • #4512 1030636 Thanks @ablaszkiewicz! - Inject chunk ids (a fresh random id per build) into chunks in-memory during renderChunk instead of letting posthog-cli rewrite the emitted files on disk in writeBundle. The written bundle already contains the chunk-id snippet, so Subresource Integrity plugins (e.g. vite-plugin-sri3, which hashes chunks in generateBundle) now compute hashes over the final content and the browser no longer blocks the scripts. writeBundle runs the non-mutating sourcemap upload instead of sourcemap process, and with deleteAfterUpload the plugin deletes the .map files itself rather than passing --delete-after (which also rewrites the .js files).
    (2026-08-13)
  • Updated dependencies [1030636]:
    • @posthog/plugin-utils@1.1.3

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.