@posthog/rollup-plugin
1.6.4
Patch Changes
- #5664
a7485daThanks @ioannisj! - Bump@posthog/clito 0.19.1 so builds outside a git checkout that set only a release version upload source maps with a warning instead of failing with "Release fields are incomplete". (2026-11-11)
1.6.3
Patch Changes
- #5571
2eccf01Thanks @marandaneto! - Keep event-mode chunk IDs stable when unrelated lazy chunks are added in Rollup and Vite builds. (2026-11-06)
1.6.2
Patch Changes
- #5351
4182940Thanks @hpouillot! - Require PostHog CLI 0.18.11 or newer within the 0.18 release line. (2026-10-21)
1.6.1
Patch Changes
- #5095
4e0f232Thanks @ablaszkiewicz! - Keep the release snippet byte-exact under Vite 8 minification, so posthog-cli recognizes it and stops re-uploading unchanged chunks on every release. (2026-09-25)
1.6.0
Minor Changes
-
#4705
dd5888aThanks @ablaszkiewicz! - Change the defaultsourcemaps.releaseModetoevent: setsourcemaps.releaseMode: 'symbol-set', orPOSTHOG_RELEASE_MODE=symbol-set, to keep binding uploaded symbol sets to a release. The@posthog/plugin-utilsbump is major, so an installed plugin keeps the old default until the plugin itself is upgraded.eventmode requires a posthog-cli withrelease resolveand--release-mode, andposthog-js1.409.0,posthog-node5.47.0, or@posthog/core1.46.0 at runtime. An older CLI fails a rollup build and skips the upload on webpack and Next.js. An older SDK reports no release on exceptions. (2026-09-02)
Patch Changes
- #4737
c589ab8Thanks @cat-ph! - Bump@posthog/clito~0.16.2, which fixes a race insourcemap process: inject and upload used to walk the directory roots separately, so a bundler still writing into the output directory mid-run (e.g. Turbopack's background filesystem-cache flush on Next.js 16.3+) could hand upload a chunk inject never stamped and abort the build with "Chunk ID not found". The CLI now uploads exactly the pairs it injected, and--delete-aftercleanup skips files that vanished or changed after upload instead of failing the build. (2026-09-02) - Updated dependencies [
dd5888a]:- @posthog/plugin-utils@2.0.0
1.5.1
Patch Changes
-
#4563
530d88bThanks @ablaszkiewicz! - Bump@posthog/clito~0.14.1, which makessourcemap inject --release-mode=eventadopt a bundler-emitted ECMA-426 debug id as the chunk id instead of deriving its own, so the ids webpack stamps into each chunk are the ones the CLI uploads against. (2026-08-24) -
#4601
a54efdaThanks @marandaneto! - Restore chunk ID comments after Vite 8 output minification so client source maps are uploaded. (2026-08-24)
1.5.0
Minor Changes
- #4541
74d8f5aThanks @ablaszkiewicz! - Add experimentalsourcemaps.releaseMode: 'event'to the rollup plugin. In event mode the plugin resolves the release withposthog-cli release resolveand injects its id into every chunk, so exceptions report their release directly instead of it being bound to the uploaded symbol sets, and chunk ids are derived from chunk content so a rebuild of unchanged code reuses the symbol set already uploaded. The option defaults to thePOSTHOG_RELEASE_MODEenvironment variable and then tosymbol-set, which behaves exactly as before. Event mode needs a posthog-cli with therelease resolvecommand. (2026-08-19)
Patch Changes
- #4541
74d8f5aThanks @ablaszkiewicz! - Bump@posthog/clito~0.13.0, which ships therelease resolvecommand the rollup plugin's event release mode spawns. (2026-08-19) - Updated dependencies [
74d8f5a]:- @posthog/plugin-utils@1.2.0
1.4.9
Patch Changes
- #4512
1030636Thanks @ablaszkiewicz! - Inject chunk ids (a fresh random id per build) into chunks in-memory duringrenderChunkinstead of letting posthog-cli rewrite the emitted files on disk inwriteBundle. The written bundle already contains the chunk-id snippet, so Subresource Integrity plugins (e.g. vite-plugin-sri3, which hashes chunks ingenerateBundle) now compute hashes over the final content and the browser no longer blocks the scripts.writeBundleruns the non-mutatingsourcemap uploadinstead ofsourcemap process, and withdeleteAfterUploadthe plugin deletes the.mapfiles itself rather than passing--delete-after(which also rewrites the.jsfiles). (2026-08-13) - Updated dependencies [
1030636]:- @posthog/plugin-utils@1.1.3
1.4.8
Patch Changes
- #4516
1c5bf6fThanks @marandaneto! - Bump@posthog/clito~0.11.1. (2026-08-13)
1.4.7
Patch Changes
- #3821
2883857Thanks @pesoszpesosz! - Add missing MIT license metadata to the published plugin package manifests. (2026-06-15)
1.4.6
Patch Changes
- #3837
29bf8e3Thanks @marandaneto! - Add missing bugs metadata to package manifests. (2026-06-15) - Updated dependencies [
29bf8e3]:- @posthog/plugin-utils@1.1.2
1.4.5
Patch Changes
- #3775
018001cThanks @hpouillot! - upgrade @posthog/cli version (2026-06-09)
1.4.4
Patch Changes
- #3661
f12ee73Thanks @rafaeelaudibert! - Bump@posthog/clito~0.7.13, which drops several unused runtime dependencies (axios,axios-proxy-builder,console.table,rimraf). (2026-05-22)
1.4.3
Patch Changes
- #3519
fbeb006Thanks @cat-ph! - Set Vite build sourcemap config before transform plugins run so uploaded source maps include original sources. The plugin also no longer overrides thesourcemapsetting whensourcemaps.enabledisfalse. (2026-05-04)
1.4.2
Patch Changes
- Updated dependencies [
1a0b58d]:- @posthog/plugin-utils@1.1.1
1.4.1
Patch Changes
- Updated dependencies [
04d276c]:- @posthog/plugin-utils@1.1.0
1.4.0
Minor Changes
- #3302
fc5589fThanks @dmarticus! - preserve $set_once semantics in local flag evaluation cache (2026-04-07)
1.3.5
Patch Changes
- #3309
197eedaThanks @marandaneto! - Extract CLI and sourcemap utilities from @posthog/core into @posthog/plugin-utils to remove cross-spawn from React Native dependencies (2026-04-01) - Updated dependencies [
197eeda]:- @posthog/plugin-utils@1.0.1
1.3.4
Patch Changes
- Updated dependencies [
a863914]:- @posthog/core@1.24.4
1.3.3
Patch Changes
- Updated dependencies [
4bdfdbc]:- @posthog/core@1.24.3
1.3.2
Patch Changes
- Updated dependencies [
8d34289]:- @posthog/core@1.24.2
1.3.1
Patch Changes
- #3265
314120aThanks @hpouillot! - fix sourcemap upload with stdin, clean config (2026-03-20) - Updated dependencies [
314120a]:- @posthog/core@1.24.1
1.3.0
Minor Changes
- #3246
9cd2313Thanks @hpouillot! - pipe chunk file path to stdin (2026-03-18)
Patch Changes
- Updated dependencies [
9cd2313]:- @posthog/core@1.24.0
1.2.16
Patch Changes
- Updated dependencies [
bc30c2d,bc30c2d]:- @posthog/core@1.23.4
1.2.15
Patch Changes
- Updated dependencies [
4009c15]:- @posthog/core@1.23.3
1.2.14
Patch Changes
- Updated dependencies [
5e8d5fc]:- @posthog/core@1.23.2
1.2.13
Patch Changes
- Updated dependencies [
9dbc05e]:- @posthog/core@1.23.1
1.2.12
Patch Changes
- Updated dependencies [
e962f01]:- @posthog/core@1.23.0
1.2.11
Patch Changes
- #3076
91234bbThanks @hpouillot! - rename sourcemaps config variables withreleaseName,releaseVersion,projectId(2026-02-12)
1.2.10
Patch Changes
- Updated dependencies [
0acf16f]:- @posthog/core@1.22.0
1.2.9
Patch Changes
- Updated dependencies [
d578824]:- @posthog/core@1.21.0
1.2.8
Patch Changes
- Updated dependencies [
e055f9a]:- @posthog/core@1.20.2
1.2.7
Patch Changes
- Updated dependencies [
8f75dae]:- @posthog/core@1.20.1
1.2.6
Patch Changes
- Updated dependencies [
bb62809]:- @posthog/core@1.20.0
1.2.5
Patch Changes
- Updated dependencies [
c99e5fe]:- @posthog/core@1.19.0
1.2.4
Patch Changes
- Updated dependencies [
7768010]:- @posthog/core@1.18.0
1.2.3
Patch Changes
- Updated dependencies [
727536c]:- @posthog/core@1.17.0
1.2.2
Patch Changes
- Updated dependencies [
cbe84c1]:- @posthog/core@1.16.0
1.2.1
Patch Changes
- Updated dependencies [
8c0c495]:- @posthog/core@1.15.0
1.2.0
Minor Changes
- #2979
a1cf608Thanks @ablaszkiewicz! - handle no files case and non js maps (2026-01-27)
Patch Changes
- Updated dependencies [
f51560c]:- @posthog/core@1.14.1
1.1.14
Patch Changes
- Updated dependencies [
933c763]:- @posthog/core@1.14.0
1.1.13
Patch Changes
- #2943
4200bf5Thanks @hpouillot! - fix plugin execution order and source cache (2026-01-21)
1.1.12
Patch Changes
- #2937
b3b770bThanks @hpouillot! - fix browser warnings by generating hidden sourcemaps (2026-01-21)
1.1.11
Patch Changes
- Updated dependencies [
8a5a3d5]:- @posthog/core@1.13.0
1.1.10
Patch Changes
- Updated dependencies [
b7fa003,f0cbc0d]:- @posthog/core@1.12.0
1.1.9
Patch Changes
- Updated dependencies [
23770e9]:- @posthog/core@1.11.0
1.1.8
Patch Changes
- Updated dependencies [
d37e570]:- @posthog/core@1.10.0
1.1.7
Patch Changes
- Updated dependencies [
fba9fb2,c1ed63b]:- @posthog/core@1.9.1
1.1.6
Patch Changes
- #2804
5c2cea5Thanks @hpouillot! - add batchSize option for sourcemap upload control (2025-12-22) - Updated dependencies [
b676b4d]:- @posthog/core@1.9.0
1.1.5
Patch Changes
- Updated dependencies [
6b0aabf]:- @posthog/core@1.8.1
1.1.4
Patch Changes
- Updated dependencies [
2603a8d]:- @posthog/core@1.8.0
1.1.3
Patch Changes
- #2741
5c14781Thanks @hpouillot! - fix sourcemap upload with complex file path (2025-12-13)
1.1.2
Patch Changes
-
#2690
e9c00fdThanks @robbie-c! - Related to https://www.wiz.io/blog/critical-vulnerability-in-react-cve-2025-55182We didn't include any of the vulnerable deps in any of our packages, however we did have them as dev / test / example project dependencies.
There was no way that any of these vulnerable packages were included in any of our published packages.
We've now patched out those dependencies.
Out of an abundance of caution, let's create a new release of all of our packages. (2025-12-04)
-
Updated dependencies [
e9c00fd]:- @posthog/core@1.7.1
1.1.1
Patch Changes
- Updated dependencies [
e1617d9]:- @posthog/core@1.7.0
1.1.0
Minor Changes
- #2619
86dab38Thanks @hpouillot! - package deprecation (2025-11-24)
Patch Changes
- Updated dependencies [
86dab38]:- @posthog/core@1.6.0
1.0.2
Patch Changes
- #2618
3eed1a4Thanks @marandaneto! - last version was compromised (2025-11-24) - Updated dependencies [
3eed1a4]:- @posthog/core@1.5.6
1.0.1
Patch Changes
- Updated dependencies [
83f5d07]:- @posthog/core@1.5.5
1.0.0
Major Changes
- #2587
c242702Thanks @hpouillot! - first version (2025-11-20)
Patch Changes
- Updated dependencies [
c242702]:- @posthog/core@1.5.4