@codefast/tracking 0.7.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @codefast/tracking
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1068](https://github.com/codefastlabs/codefast/pull/1068) Lower the Node.js floor from 24 to the lowest release the package, its dependencies and its full test suite run on:
8
+ 22.12 for `@codefast/cli` and `@codefast/tailwind-variants`, 22.18 for `@codefast/di` and `@codefast/di-testing`, and
9
+ 22.22.2 for `@codefast/theme`, `@codefast/tracking` and `@codefast/ui`. Each floor is type-checked against what Node 22
10
+ ships and proven by running the package's tests on that release in CI.
11
+
12
+ ## 0.8.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#976](https://github.com/codefastlabs/codefast/pull/976) `engines.node` is now `>=24.0.0`, up from `>=22.12.0`, and Node 22 is no longer supported. Node 24.0.0 is the first
17
+ release with explicit resource management built in (`using`, `await using`, `DisposableStack`, `AsyncDisposableStack`,
18
+ `SuppressedError`) and all of ES2025, so the packages use both as the platform ships them instead of shimming them for
19
+ an older line, and the CI matrix runs the unit suite on 24.0.0 itself. Move to Node 24, or stay on the current minor
20
+ while a deployment still runs Node 22.
21
+
22
+ ### Patch Changes
23
+
24
+ - [#977](https://github.com/codefastlabs/codefast/pull/977) The README states the browser floor: Chrome and Edge 136, Firefox 136, and Safari 18.4 or later, the first releases that
25
+ ship every ES2025 builtin. `@codefast/di`'s README also says what a browser program without explicit resource management
26
+ does: it keeps `skipLibCheck` on and calls `dispose()` instead of `await using`.
27
+
28
+ - [#965](https://github.com/codefastlabs/codefast/pull/965) `README.md` now states TypeScript 7 or later as the floor for the package's types — the one compiler every `@codefast/*`
29
+ package is built and checked with. No code or declaration changed.
30
+
3
31
  ## 0.7.3
4
32
 
5
33
  ### Patch Changes
package/README.md CHANGED
@@ -33,10 +33,11 @@ resolves the region-correct default per visitor over a private server-function l
33
33
  pnpm add @codefast/tracking
34
34
  ```
35
35
 
36
- `@codefast/tracking` requires Node.js 22.12 or later. Its one runtime dependency is `@standard-schema/spec`. Every peer
37
- is optional, needed only by the surface that uses it: `react` and `react-dom` (19 or later) for the `react/*` subpaths,
38
- `@tanstack/react-start` (1.168 or later) for `adapters/tanstack-start`, and `@vercel/analytics` for
39
- `destinations/vercel-analytics`.
36
+ `@codefast/tracking` requires Node.js 22.22.2 or later on the server, Chrome and Edge 136, Firefox 136, or Safari 18.4
37
+ or later in the browser ([support policy](../../SUPPORT.md#browsers)), and TypeScript 7 or later for its types. Its one
38
+ runtime dependency is `@standard-schema/spec`. Every peer is optional, needed only by the surface that uses it: `react`
39
+ and `react-dom` (19 or later) for the `react/*` subpaths, `@tanstack/react-start` (1.168 or later) for
40
+ `adapters/tanstack-start`, and `@vercel/analytics` for `destinations/vercel-analytics`.
40
41
 
41
42
  The package is published on 0.x and versioned on its own track: breaking changes ship as minor versions, so pin the
42
43
  minor version when you need stability.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/tracking",
3
- "version": "0.7.3",
3
+ "version": "0.9.0",
4
4
  "description": "Consent-gated, type-safe event tracking for TanStack Start — client tracker and server consent helpers over a per-app Standard Schema event catalog",
5
5
  "keywords": [
6
6
  "analytics",
@@ -247,6 +247,6 @@
247
247
  }
248
248
  },
249
249
  "engines": {
250
- "node": ">=22.12.0"
250
+ "node": ">=22.22.2"
251
251
  }
252
252
  }