Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/consent-queue-guardrails.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/fix-ga4-gtag-stub.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions packages/auto-collect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/auto-collect/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"tsup": "^8.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"tsup": "^8.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/cmp-onetrust/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/cmp-onetrust/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
10 changes: 10 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions packages/debug/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/debug/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
7 changes: 7 additions & 0 deletions packages/destination-amplitude/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/destination-amplitude/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
18 changes: 18 additions & 0 deletions packages/destination-ga4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/destination-ga4/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
7 changes: 7 additions & 0 deletions packages/destination-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/destination-http/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
7 changes: 7 additions & 0 deletions packages/destination-meta/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/destination-meta/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
7 changes: 7 additions & 0 deletions packages/destination-plausible/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/destination-plausible/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"@junctionjs/core": "*",
Expand Down
7 changes: 7 additions & 0 deletions packages/gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/gateway/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@junctionjs/core": "^0.2.0"
"@junctionjs/core": "^0.3.0"
},
"devDependencies": {
"tsup": "^8.0.0",
Expand Down
Loading
Loading