From 5582909413e26aec5e9c4999308fb3a1915a23c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:15:40 +0000 Subject: [PATCH] chore: version packages --- .changeset/consent-queue-guardrails.md | 9 --------- .changeset/fix-ga4-gtag-stub.md | 14 -------------- packages/astro/CHANGELOG.md | 8 ++++++++ packages/astro/package.json | 6 +++--- packages/auto-collect/CHANGELOG.md | 7 +++++++ packages/auto-collect/package.json | 4 ++-- packages/client/CHANGELOG.md | 7 +++++++ packages/client/package.json | 4 ++-- packages/cmp-onetrust/CHANGELOG.md | 7 +++++++ packages/cmp-onetrust/package.json | 4 ++-- packages/core/CHANGELOG.md | 10 ++++++++++ packages/core/package.json | 2 +- packages/debug/CHANGELOG.md | 7 +++++++ packages/debug/package.json | 4 ++-- packages/destination-amplitude/CHANGELOG.md | 7 +++++++ packages/destination-amplitude/package.json | 4 ++-- packages/destination-ga4/CHANGELOG.md | 18 ++++++++++++++++++ packages/destination-ga4/package.json | 4 ++-- packages/destination-http/CHANGELOG.md | 7 +++++++ packages/destination-http/package.json | 4 ++-- packages/destination-meta/CHANGELOG.md | 7 +++++++ packages/destination-meta/package.json | 4 ++-- packages/destination-plausible/CHANGELOG.md | 7 +++++++ packages/destination-plausible/package.json | 4 ++-- packages/gateway/CHANGELOG.md | 7 +++++++ packages/gateway/package.json | 4 ++-- packages/next/CHANGELOG.md | 9 +++++++++ packages/next/package.json | 8 ++++---- 28 files changed, 136 insertions(+), 51 deletions(-) delete mode 100644 .changeset/consent-queue-guardrails.md delete mode 100644 .changeset/fix-ga4-gtag-stub.md diff --git a/.changeset/consent-queue-guardrails.md b/.changeset/consent-queue-guardrails.md deleted file mode 100644 index 5e95eaa..0000000 --- a/.changeset/consent-queue-guardrails.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@junctionjs/core": minor ---- - -feat(core): add consent queue guardrails — maxQueueSize, queue:drop telemetry, flush() drains queue - -- Add `maxQueueSize` option to `ConsentConfig` — drops oldest events when exceeded -- Emit `queue:drop` events with `{ count, reason }` when events are lost to timeout or overflow -- `flush()` now drains the consent queue for permitted events, critical for page unload diff --git a/.changeset/fix-ga4-gtag-stub.md b/.changeset/fix-ga4-gtag-stub.md deleted file mode 100644 index 2e83d1d..0000000 --- a/.changeset/fix-ga4-gtag-stub.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@junctionjs/destination-ga4": patch ---- - -Fix gtag.js integration: use Arguments object instead of Array for dataLayer - -The gtag stub function was using an arrow function with rest parameters, which -pushed plain Arrays to the dataLayer. gtag.js silently ignores array entries — -it expects the Arguments object. Switched to a named function declaration using -`arguments` to match Google's official snippet. - -Also added `gtag("consent", "default", {...})` call before `gtag("config", ...)` -when consent mode is enabled. Without this, gtag.js doesn't know consent mode -is active and consent state is never communicated to Google. diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index f980b68..8bbca84 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,13 @@ # @junctionjs/astro +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + - @junctionjs/debug@2.0.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 7314620..54ad3a8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/astro", - "version": "1.0.0", + "version": "2.0.0", "description": "Astro v5+ integration for Junction — script injection, SSR middleware, collect endpoint", "type": "module", "main": "dist/index.js", @@ -27,11 +27,11 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "peerDependencies": { "astro": "^5.0.0", - "@junctionjs/debug": "^1.0.0" + "@junctionjs/debug": "^2.0.0" }, "peerDependenciesMeta": { "@junctionjs/debug": { diff --git a/packages/auto-collect/CHANGELOG.md b/packages/auto-collect/CHANGELOG.md index 84a2e94..237cdff 100644 --- a/packages/auto-collect/CHANGELOG.md +++ b/packages/auto-collect/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/auto-collect +## 0.1.3 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 0.1.2 ### Patch Changes diff --git a/packages/auto-collect/package.json b/packages/auto-collect/package.json index cc94d37..162a358 100644 --- a/packages/auto-collect/package.json +++ b/packages/auto-collect/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/auto-collect", - "version": "0.1.2", + "version": "0.1.3", "description": "Automatic event collection for Junction — clicks, scroll depth, video, forms, engagement, web vitals", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "tsup": "^8.0.0", diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 319c513..acda5cf 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/client +## 0.1.3 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 0.1.2 ### Patch Changes diff --git a/packages/client/package.json b/packages/client/package.json index 88da9e9..c299878 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/client", - "version": "0.1.2", + "version": "0.1.3", "description": "Browser runtime for Junction — anonymous IDs, sessions, auto page views, View Transitions", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "tsup": "^8.0.0", diff --git a/packages/cmp-onetrust/CHANGELOG.md b/packages/cmp-onetrust/CHANGELOG.md index a627332..21f276f 100644 --- a/packages/cmp-onetrust/CHANGELOG.md +++ b/packages/cmp-onetrust/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/cmp-onetrust +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/cmp-onetrust/package.json b/packages/cmp-onetrust/package.json index e7a8f52..3065550 100644 --- a/packages/cmp-onetrust/package.json +++ b/packages/cmp-onetrust/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/cmp-onetrust", - "version": "1.0.0", + "version": "2.0.0", "description": "OneTrust CMP adapter for Junction — maps OneTrust consent groups to Junction consent state", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ea6ff78..b99f8a6 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @junctionjs/core +## 0.3.0 + +### Minor Changes + +- [#12](https://github.com/tyssejc/junction/pull/12) [`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d) Thanks [@tyssejc](https://github.com/tyssejc)! - feat(core): add consent queue guardrails — maxQueueSize, queue:drop telemetry, flush() drains queue + + - Add `maxQueueSize` option to `ConsentConfig` — drops oldest events when exceeded + - Emit `queue:drop` events with `{ count, reason }` when events are lost to timeout or overflow + - `flush()` now drains the consent queue for permitted events, critical for page unload + ## 0.2.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 57056e2..0d0eda5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/core", - "version": "0.2.1", + "version": "0.3.0", "description": "Isomorphic event collector core — types, consent, validation, and runtime", "type": "module", "main": "dist/index.js", diff --git a/packages/debug/CHANGELOG.md b/packages/debug/CHANGELOG.md index c3d523c..91e14f7 100644 --- a/packages/debug/CHANGELOG.md +++ b/packages/debug/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/debug +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Minor Changes diff --git a/packages/debug/package.json b/packages/debug/package.json index 130d4dd..320ee98 100644 --- a/packages/debug/package.json +++ b/packages/debug/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/debug", - "version": "1.0.0", + "version": "2.0.0", "description": "In-page debug panel for Junction — real-time event flow, consent state, destination status", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/destination-amplitude/CHANGELOG.md b/packages/destination-amplitude/CHANGELOG.md index 4fdc32f..b8f9f32 100644 --- a/packages/destination-amplitude/CHANGELOG.md +++ b/packages/destination-amplitude/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/destination-amplitude +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/destination-amplitude/package.json b/packages/destination-amplitude/package.json index 0ded241..3444968 100644 --- a/packages/destination-amplitude/package.json +++ b/packages/destination-amplitude/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/destination-amplitude", - "version": "1.0.0", + "version": "2.0.0", "description": "Amplitude Analytics destination for Junction — HTTP API, client + server", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/destination-ga4/CHANGELOG.md b/packages/destination-ga4/CHANGELOG.md index afbd5b3..ce9ae47 100644 --- a/packages/destination-ga4/CHANGELOG.md +++ b/packages/destination-ga4/CHANGELOG.md @@ -1,5 +1,23 @@ # @junctionjs/destination-ga4 +## 2.0.0 + +### Patch Changes + +- [#11](https://github.com/tyssejc/junction/pull/11) [`7c8cb06`](https://github.com/tyssejc/junction/commit/7c8cb068ddea6142935ad355d8dd491ff6ba2b2a) Thanks [@tyssejc](https://github.com/tyssejc)! - Fix gtag.js integration: use Arguments object instead of Array for dataLayer + + The gtag stub function was using an arrow function with rest parameters, which + pushed plain Arrays to the dataLayer. gtag.js silently ignores array entries — + it expects the Arguments object. Switched to a named function declaration using + `arguments` to match Google's official snippet. + + Also added `gtag("consent", "default", {...})` call before `gtag("config", ...)` + when consent mode is enabled. Without this, gtag.js doesn't know consent mode + is active and consent state is never communicated to Google. + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/destination-ga4/package.json b/packages/destination-ga4/package.json index af364c9..6cac6a0 100644 --- a/packages/destination-ga4/package.json +++ b/packages/destination-ga4/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/destination-ga4", - "version": "1.0.0", + "version": "2.0.0", "description": "Google Analytics 4 destination for Junction — gtag.js, Measurement Protocol, Consent Mode v2", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/destination-http/CHANGELOG.md b/packages/destination-http/CHANGELOG.md index af0e787..e51f284 100644 --- a/packages/destination-http/CHANGELOG.md +++ b/packages/destination-http/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/destination-http +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/destination-http/package.json b/packages/destination-http/package.json index c0daea3..2a5c3c8 100644 --- a/packages/destination-http/package.json +++ b/packages/destination-http/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/destination-http", - "version": "1.0.0", + "version": "2.0.0", "description": "Generic HTTP destination for Junction — POST events to any endpoint", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/destination-meta/CHANGELOG.md b/packages/destination-meta/CHANGELOG.md index 10b82e1..e96ec38 100644 --- a/packages/destination-meta/CHANGELOG.md +++ b/packages/destination-meta/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/destination-meta +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/destination-meta/package.json b/packages/destination-meta/package.json index a55d8c2..cebb9cc 100644 --- a/packages/destination-meta/package.json +++ b/packages/destination-meta/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/destination-meta", - "version": "1.0.0", + "version": "2.0.0", "description": "Meta Pixel + Conversions API destination for Junction", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/destination-plausible/CHANGELOG.md b/packages/destination-plausible/CHANGELOG.md index cfa8a59..a98b9bc 100644 --- a/packages/destination-plausible/CHANGELOG.md +++ b/packages/destination-plausible/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/destination-plausible +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 1.0.0 ### Patch Changes diff --git a/packages/destination-plausible/package.json b/packages/destination-plausible/package.json index 0b62256..503770e 100644 --- a/packages/destination-plausible/package.json +++ b/packages/destination-plausible/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/destination-plausible", - "version": "1.0.0", + "version": "2.0.0", "description": "Plausible Analytics destination for Junction — privacy-first, consent-exempt", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "@junctionjs/core": "*", diff --git a/packages/gateway/CHANGELOG.md b/packages/gateway/CHANGELOG.md index 42fd5cf..8f0243f 100644 --- a/packages/gateway/CHANGELOG.md +++ b/packages/gateway/CHANGELOG.md @@ -1,5 +1,12 @@ # @junctionjs/gateway +## 0.1.3 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + ## 0.1.2 ### Patch Changes diff --git a/packages/gateway/package.json b/packages/gateway/package.json index da9f262..48fa294 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/gateway", - "version": "0.1.2", + "version": "0.1.3", "description": "WinterCG-compatible edge gateway for Junction — Cloudflare Workers, Deno, Bun, Vercel Edge", "type": "module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@junctionjs/core": "^0.2.0" + "@junctionjs/core": "^0.3.0" }, "devDependencies": { "tsup": "^8.0.0", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index 677bf42..62429c9 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,14 @@ # @junctionjs/next +## 2.0.0 + +### Patch Changes + +- Updated dependencies [[`cc7d872`](https://github.com/tyssejc/junction/commit/cc7d87281c3ffe9ab658af7ad7632b306b13254d)]: + - @junctionjs/core@0.3.0 + - @junctionjs/client@0.1.3 + - @junctionjs/debug@2.0.0 + ## 1.0.1 ### Patch Changes diff --git a/packages/next/package.json b/packages/next/package.json index b248370..147568e 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@junctionjs/next", - "version": "1.0.1", + "version": "2.0.0", "description": "Next.js integration for Junction", "type": "module", "main": "dist/index.js", @@ -19,9 +19,9 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "@junctionjs/client": "^0.1.2", - "@junctionjs/core": "^0.2.1", - "@junctionjs/debug": "^1.0.0", + "@junctionjs/client": "^0.1.3", + "@junctionjs/core": "^0.3.0", + "@junctionjs/debug": "^2.0.0", "next": ">=14.0.0", "react": ">=18.0.0" },