From 80262a3ab3fc1473803915563a0885f4e21514c1 Mon Sep 17 00:00:00 2001 From: "johngeorgewright-bot[bot]" <273133300+johngeorgewright-bot[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 14:38:18 +0000 Subject: [PATCH 1/2] chore: release master --- .release-please-manifest.json | 14 +++++++------- packages/api/CHANGELOG.md | 11 +++++++++++ packages/api/deno.json | 2 +- packages/client/CHANGELOG.md | 11 +++++++++++ packages/client/deno.json | 2 +- packages/date-range/CHANGELOG.md | 11 +++++++++++ packages/date-range/deno.json | 2 +- packages/explode/CHANGELOG.md | 11 +++++++++++ packages/explode/deno.json | 2 +- packages/fs/CHANGELOG.md | 11 +++++++++++ packages/fs/deno.json | 2 +- packages/json-schema/CHANGELOG.md | 11 +++++++++++ packages/json-schema/deno.json | 2 +- packages/server/CHANGELOG.md | 11 +++++++++++ packages/server/deno.json | 2 +- 15 files changed, 91 insertions(+), 14 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6a361ecf..38c6466a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,9 +1,9 @@ { - "packages/api": "8.2.1", - "packages/client": "7.1.0", - "packages/date-range": "6.0.3", - "packages/explode": "4.0.3", - "packages/fs": "7.1.1", - "packages/json-schema": "5.2.1", - "packages/server": "8.2.0" + "packages/api": "9.0.0", + "packages/client": "8.0.0", + "packages/date-range": "7.0.0", + "packages/explode": "5.0.0", + "packages/fs": "8.0.0", + "packages/json-schema": "6.0.0", + "packages/server": "9.0.0" } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index aef625ec..c8d2de00 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [9.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/api-v8.2.1...@targetd/api-v9.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [8.2.1](https://github.com/johngeorgewright/targetd/compare/@targetd/api-v8.2.0...@targetd/api-v8.2.1) (2026-04-10) diff --git a/packages/api/deno.json b/packages/api/deno.json index 052289b9..73535aba 100644 --- a/packages/api/deno.json +++ b/packages/api/deno.json @@ -1,7 +1,7 @@ { "name": "@targetd/api", "description": "Type-safe targeting and feature flag system with dynamic content delivery based on query conditions. Perfect for A/B testing, feature flags, and content personalization.", - "version": "8.2.1", + "version": "9.0.0", "exports": "./src/index.ts", "fmt": { "semiColons": false, diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 36b594cf..2dda2ca0 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [8.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/client-v7.1.0...@targetd/client-v8.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [7.1.0](https://github.com/johngeorgewright/targetd/compare/@targetd/client-v7.0.3...@targetd/client-v7.1.0) (2026-04-10) diff --git a/packages/client/deno.json b/packages/client/deno.json index 782f643b..0bdc728c 100644 --- a/packages/client/deno.json +++ b/packages/client/deno.json @@ -1,7 +1,7 @@ { "name": "@targetd/client", "description": "Type-safe HTTP client for querying @targetd/server instances. Mirrors the Data API with full TypeScript inference.", - "version": "7.1.0", + "version": "8.0.0", "exports": "./src/index.ts", "imports": { "@targetd/api": "jsr:@targetd/api@^8.0.3", diff --git a/packages/date-range/CHANGELOG.md b/packages/date-range/CHANGELOG.md index c3dc1833..b437d590 100644 --- a/packages/date-range/CHANGELOG.md +++ b/packages/date-range/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [7.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/date-range-v6.0.3...@targetd/date-range-v7.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [6.0.3](https://github.com/johngeorgewright/targetd/compare/@targetd/date-range-v6.0.2...@targetd/date-range-v6.0.3) (2026-04-10) diff --git a/packages/date-range/deno.json b/packages/date-range/deno.json index 300a0941..d5b2bfbb 100644 --- a/packages/date-range/deno.json +++ b/packages/date-range/deno.json @@ -1,7 +1,7 @@ { "name": "@targetd/date-range", "description": "Built-in targeting descriptor for date range queries in ISO 8601 format with automatic current time evaluation.", - "version": "6.0.3", + "version": "7.0.0", "exports": "./src/index.ts", "imports": { "@targetd/api": "jsr:@targetd/api@^8.0.3", diff --git a/packages/explode/CHANGELOG.md b/packages/explode/CHANGELOG.md index 4d26c991..1321dfe9 100644 --- a/packages/explode/CHANGELOG.md +++ b/packages/explode/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [5.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/explode-v4.0.3...@targetd/explode-v5.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [4.0.3](https://github.com/johngeorgewright/targetd/compare/@targetd/explode-v4.0.2...@targetd/explode-v4.0.3) (2026-04-10) diff --git a/packages/explode/deno.json b/packages/explode/deno.json index 090ae403..9a0409ca 100644 --- a/packages/explode/deno.json +++ b/packages/explode/deno.json @@ -1,7 +1,7 @@ { "name": "@targetd/explode", "description": "Transform flat key notation to nested objects with full TypeScript type inference.", - "version": "4.0.3", + "version": "5.0.0", "exports": "./src/index.ts", "imports": { "@targetd/api": "jsr:@targetd/api@^8.0.3", diff --git a/packages/fs/CHANGELOG.md b/packages/fs/CHANGELOG.md index e91943b3..f5571b77 100644 --- a/packages/fs/CHANGELOG.md +++ b/packages/fs/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [8.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/fs-v7.1.1...@targetd/fs-v8.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [7.1.1](https://github.com/johngeorgewright/targetd/compare/@targetd/fs-v7.1.0...@targetd/fs-v7.1.1) (2026-04-10) diff --git a/packages/fs/deno.json b/packages/fs/deno.json index a14d9e8e..a5699a97 100644 --- a/packages/fs/deno.json +++ b/packages/fs/deno.json @@ -1,7 +1,7 @@ { "name": "@targetd/fs", "description": "Load targeting rules from JSON/YAML files with hot-reloading support for @targetd/api Data instances.", - "version": "7.1.1", + "version": "8.0.0", "exports": "./src/index.ts", "imports": { "@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.45.1", diff --git a/packages/json-schema/CHANGELOG.md b/packages/json-schema/CHANGELOG.md index aa6201f4..5a4e929b 100644 --- a/packages/json-schema/CHANGELOG.md +++ b/packages/json-schema/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [6.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/json-schema-v5.2.1...@targetd/json-schema-v6.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [5.2.1](https://github.com/johngeorgewright/targetd/compare/@targetd/json-schema-v5.2.0...@targetd/json-schema-v5.2.1) (2026-04-10) diff --git a/packages/json-schema/deno.json b/packages/json-schema/deno.json index 82bab4a6..85b53c28 100644 --- a/packages/json-schema/deno.json +++ b/packages/json-schema/deno.json @@ -1,6 +1,6 @@ { "name": "@targetd/json-schema", - "version": "5.2.1", + "version": "6.0.0", "description": "Generate JSON Schema from @targetd/api Data instances for API documentation and validation.", "exports": { ".": "./src/index.ts", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 39e4ddfe..e2491d5e 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [9.0.0](https://github.com/johngeorgewright/targetd/compare/@targetd/server-v8.2.0...@targetd/server-v9.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* **api:** Data.create() now requires a BuiltDataSchema argument. The schema configuration methods (usePayload, useTargeting, useFallThroughTargeting) have moved from Data/PromisedData to DataSchema. The ConfigurableData interface and the DT.Assign* type helpers have been removed from the public API. + +### Features + +* **api:** move schema configuration into a DataSchema builder ([46d7572](https://github.com/johngeorgewright/targetd/commit/46d75723fe7fcde566ae75071d3ac601840e6c3a)) + ## [8.2.0](https://github.com/johngeorgewright/targetd/compare/@targetd/server-v8.1.3...@targetd/server-v8.2.0) (2026-04-10) diff --git a/packages/server/deno.json b/packages/server/deno.json index c7b4ab19..3c326cfb 100644 --- a/packages/server/deno.json +++ b/packages/server/deno.json @@ -1,7 +1,7 @@ { "name": "@targetd/server", "description": "Express-based HTTP server for exposing @targetd/api Data instances via REST endpoints with built-in CORS and error handling.", - "version": "8.2.0", + "version": "9.0.0", "exports": "./src/index.ts", "imports": { "@johngw/error": "npm:@johngw/error@^2.2.2", From a89eb59ca7ea11a016be460a774a99f9a195ba79 Mon Sep 17 00:00:00 2001 From: John Wright Date: Mon, 20 Apr 2026 15:52:22 +0100 Subject: [PATCH 2/2] fix(deps): bump @targetd/api constraint to ^9.0.0 across workspace The 9.0.0 release of @targetd/api removes the schema-configuration methods from Data/PromisedData, so packages that previously declared ^8.0.3 cannot resolve against the new workspace member. Bumping to ^9.0.0 aligns the constraint with the actual API surface. --- deno.lock | 21 ++++++--------------- packages/client/deno.json | 2 +- packages/date-range/deno.json | 2 +- packages/explode/deno.json | 2 +- packages/fs/deno.json | 2 +- packages/json-schema/deno.json | 2 +- packages/server/deno.json | 2 +- 7 files changed, 12 insertions(+), 21 deletions(-) diff --git a/deno.lock b/deno.lock index eebd4c79..37abe6d9 100644 --- a/deno.lock +++ b/deno.lock @@ -12,7 +12,6 @@ "jsr:@std/internal@^1.0.9": "1.0.10", "jsr:@std/path@^1.1.1": "1.1.2", "jsr:@std/testing@*": "1.0.15", - "jsr:@targetd/api@^8.0.3": "8.1.1", "npm:@commitlint/cli@^20.5.0": "20.5.0_@types+node@25.5.0_typescript@6.0.2", "npm:@commitlint/config-conventional@^20.5.0": "20.5.0", "npm:@johngw/error@^2.2.2": "2.2.2", @@ -78,14 +77,6 @@ "jsr:@std/internal@^1.0.10", "jsr:@std/path" ] - }, - "@targetd/api@8.1.1": { - "integrity": "a7b45c35a323c3b26465ed033a60d808c2fb6ade208b8370c8307cc1833486db", - "dependencies": [ - "npm:fast-deep-equal", - "npm:ts-toolbelt", - "npm:zod" - ] } }, "npm": { @@ -2101,20 +2092,20 @@ }, "packages/client": { "dependencies": [ - "jsr:@targetd/api@^8.0.3", + "jsr:@targetd/api@9", "npm:ts-toolbelt@^9.6.0", "npm:zod@^4.3.6" ] }, "packages/date-range": { "dependencies": [ - "jsr:@targetd/api@^8.0.3", + "jsr:@targetd/api@9", "npm:zod@^4.3.6" ] }, "packages/explode": { "dependencies": [ - "jsr:@targetd/api@^8.0.3", + "jsr:@targetd/api@9", "npm:flat@^6.0.1", "npm:ts-toolbelt@^9.6.0", "npm:zod@^4.3.6" @@ -2123,7 +2114,7 @@ "packages/fs": { "dependencies": [ "jsr:@es-toolkit/es-toolkit@^1.45.1", - "jsr:@targetd/api@^8.0.3", + "jsr:@targetd/api@9", "npm:@johngw/fs@^3.0.1", "npm:ts-toolbelt@^9.6.0", "npm:yaml@^2.8.2", @@ -2133,7 +2124,7 @@ "packages/json-schema": { "dependencies": [ "jsr:@es-toolkit/es-toolkit@^1.45.1", - "jsr:@targetd/api@^8.0.3", + "jsr:@targetd/api@9", "npm:@types/yargs@^17.0.35", "npm:yargs@18", "npm:zod@^4.3.6" @@ -2141,7 +2132,7 @@ }, "packages/server": { "dependencies": [ - "jsr:@targetd/api@^8.0.3", + "jsr:@targetd/api@9", "npm:@johngw/error@^2.2.2", "npm:@types/express@^5.0.6", "npm:@types/qs@^6.15.0", diff --git a/packages/client/deno.json b/packages/client/deno.json index 0bdc728c..00870747 100644 --- a/packages/client/deno.json +++ b/packages/client/deno.json @@ -4,7 +4,7 @@ "version": "8.0.0", "exports": "./src/index.ts", "imports": { - "@targetd/api": "jsr:@targetd/api@^8.0.3", + "@targetd/api": "jsr:@targetd/api@^9.0.0", "ts-toolbelt": "npm:ts-toolbelt@^9.6.0", "zod": "npm:zod@^4.3.6" }, diff --git a/packages/date-range/deno.json b/packages/date-range/deno.json index d5b2bfbb..0fe4bacd 100644 --- a/packages/date-range/deno.json +++ b/packages/date-range/deno.json @@ -4,7 +4,7 @@ "version": "7.0.0", "exports": "./src/index.ts", "imports": { - "@targetd/api": "jsr:@targetd/api@^8.0.3", + "@targetd/api": "jsr:@targetd/api@^9.0.0", "zod": "npm:zod@^4.3.6" }, "lint": { diff --git a/packages/explode/deno.json b/packages/explode/deno.json index 9a0409ca..46e21c14 100644 --- a/packages/explode/deno.json +++ b/packages/explode/deno.json @@ -4,7 +4,7 @@ "version": "5.0.0", "exports": "./src/index.ts", "imports": { - "@targetd/api": "jsr:@targetd/api@^8.0.3", + "@targetd/api": "jsr:@targetd/api@^9.0.0", "flat": "npm:flat@^6.0.1", "ts-toolbelt": "npm:ts-toolbelt@^9.6.0", "zod": "npm:zod@^4.3.6" diff --git a/packages/fs/deno.json b/packages/fs/deno.json index a5699a97..be81674c 100644 --- a/packages/fs/deno.json +++ b/packages/fs/deno.json @@ -6,7 +6,7 @@ "imports": { "@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.45.1", "@johngw/fs": "npm:@johngw/fs@^3.0.1", - "@targetd/api": "jsr:@targetd/api@^8.0.3", + "@targetd/api": "jsr:@targetd/api@^9.0.0", "ts-toolbelt": "npm:ts-toolbelt@^9.6.0", "yaml": "npm:yaml@^2.8.2", "zod": "npm:zod@^4.3.6" diff --git a/packages/json-schema/deno.json b/packages/json-schema/deno.json index 85b53c28..06a86232 100644 --- a/packages/json-schema/deno.json +++ b/packages/json-schema/deno.json @@ -8,7 +8,7 @@ }, "imports": { "@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.45.1", - "@targetd/api": "jsr:@targetd/api@^8.0.3", + "@targetd/api": "jsr:@targetd/api@^9.0.0", "@types/yargs": "npm:@types/yargs@^17.0.35", "yargs": "npm:yargs@^18.0.0", "zod": "npm:zod@^4.3.6" diff --git a/packages/server/deno.json b/packages/server/deno.json index 3c326cfb..602043ab 100644 --- a/packages/server/deno.json +++ b/packages/server/deno.json @@ -5,7 +5,7 @@ "exports": "./src/index.ts", "imports": { "@johngw/error": "npm:@johngw/error@^2.2.2", - "@targetd/api": "jsr:@targetd/api@^8.0.3", + "@targetd/api": "jsr:@targetd/api@^9.0.0", "@types/express": "npm:@types/express@^5.0.6", "@types/qs": "npm:@types/qs@^6.15.0", "cors": "npm:cors@^2.8.6",