github PostHog/posthog-js @posthog/plugin-utils@1.1.3

3 hours ago

1.1.3

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)

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.