From 2f075df42cf68c2bbb07c464da6e3430859bfb06 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Wed, 19 Aug 2026 21:36:44 +0530 Subject: [PATCH] release: patch cli, compiler, core, csr, syntax, validation Typed, callable api blocks for .wrn files: sectioned request/response/error, callable from client code as api.name(input), type-checked by tsc against the route contracts. Also two fixes found along the way: defineEndpoint never received its input through the real router, so every typed endpoint was validating undefined; and v.boolean() silently coerced any unrecognised string to false. Co-Authored-By: Claude Opus 5 --- bun.lock | 12 ++++++------ packages/cli/package.json | 2 +- packages/compiler/package.json | 2 +- packages/core/package.json | 2 +- packages/csr/package.json | 2 +- packages/syntax/package.json | 2 +- packages/validation/package.json | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bun.lock b/bun.lock index 1630409d..93cd5831 100644 --- a/bun.lock +++ b/bun.lock @@ -272,7 +272,7 @@ }, "packages/cli": { "name": "@wrnexus/cli", - "version": "0.8.45", + "version": "0.8.46", "bin": { "wrnexus": "src/index.ts", }, @@ -300,7 +300,7 @@ }, "packages/compiler": { "name": "@wrnexus/compiler", - "version": "0.8.13", + "version": "0.8.14", "dependencies": { "@wrnexus/csr": "workspace:*", "@wrnexus/store": "workspace:*", @@ -318,11 +318,11 @@ }, "packages/core": { "name": "@wrnexus/core", - "version": "0.8.9", + "version": "0.8.10", }, "packages/csr": { "name": "@wrnexus/csr", - "version": "0.8.24", + "version": "0.8.25", "dependencies": { "@wrnexus/core": "workspace:*", }, @@ -622,7 +622,7 @@ }, "packages/syntax": { "name": "@wrnexus/syntax", - "version": "0.8.9", + "version": "0.8.10", }, "packages/test": { "name": "@wrnexus/test", @@ -663,7 +663,7 @@ }, "packages/validation": { "name": "@wrnexus/validation", - "version": "0.8.10", + "version": "0.8.11", "dependencies": { "@wrnexus/core": "workspace:*", "@wrnexus/plugin": "workspace:*", diff --git a/packages/cli/package.json b/packages/cli/package.json index 356dc901..773a0097 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/cli", - "version": "0.8.45", + "version": "0.8.46", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/compiler/package.json b/packages/compiler/package.json index 459fa716..4c33c7af 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/compiler", - "version": "0.8.13", + "version": "0.8.14", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/core/package.json b/packages/core/package.json index b171c569..4080ec86 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/core", - "version": "0.8.9", + "version": "0.8.10", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/csr/package.json b/packages/csr/package.json index eef23d4d..60f63c5a 100644 --- a/packages/csr/package.json +++ b/packages/csr/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/csr", - "version": "0.8.24", + "version": "0.8.25", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/syntax/package.json b/packages/syntax/package.json index 0486b1a1..6f9dc147 100644 --- a/packages/syntax/package.json +++ b/packages/syntax/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/syntax", - "version": "0.8.9", + "version": "0.8.10", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/validation/package.json b/packages/validation/package.json index 917b4074..5a4a4308 100644 --- a/packages/validation/package.json +++ b/packages/validation/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/validation", - "version": "0.8.10", + "version": "0.8.11", "private": true, "type": "module", "main": "./src/index.ts",