From 515f4d32f9c0511d16593904b6a0da90ebd68639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Sun, 31 May 2026 23:24:59 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20version=200.6.0=20=E2=80=94=20unified?= =?UTF-8?q?=20envelope=20output=20(RFC=20#67)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/cli-json-cas/CHANGELOG.md | 28 ++++++++++++++++++++++++++++ packages/cli-json-cas/package.json | 6 +++--- packages/json-cas-fs/CHANGELOG.md | 27 +++++++++++++++++++++++++++ packages/json-cas-fs/package.json | 4 ++-- packages/json-cas/CHANGELOG.md | 22 ++++++++++++++++++++++ packages/json-cas/package.json | 2 +- 6 files changed, 83 insertions(+), 6 deletions(-) diff --git a/packages/cli-json-cas/CHANGELOG.md b/packages/cli-json-cas/CHANGELOG.md index 18c76b9..adeee8a 100644 --- a/packages/cli-json-cas/CHANGELOG.md +++ b/packages/cli-json-cas/CHANGELOG.md @@ -1,5 +1,33 @@ # @uncaged/cli-json-cas +## 0.6.0 + +### Minor Changes + +- Unified `{ type, value }` envelope output for all CLI commands (RFC [#67](https://github.com/uncaged/json-cas/issues/67)). + + ### Breaking Changes + + - Removed `init`, `bootstrap`, `cat`, `schema put/get/list/validate` commands + - All CLI command outputs now wrapped in `{ type, value }` envelope (except `render`) + - `openStore()` is now async and auto-bootstraps + + ### New Features + + - 18 `@output/*` schemas registered at bootstrap + - `list --type ` command (replaces `schema list`) + - `verify` now checks both hash integrity and schema validation + - `wrapEnvelope()` helper exported from `@uncaged/json-cas` + - `openStore()` in `@uncaged/json-cas-fs` — async, auto mkdir + bootstrap + - Default LiquidJS templates for all output schemas + - Pipe composition: any command output can be piped to `render -p` + +### Patch Changes + +- Updated dependencies []: + - @uncaged/json-cas@0.6.0 + - @uncaged/json-cas-fs@0.6.0 + ## 0.5.3 ### Patch Changes diff --git a/packages/cli-json-cas/package.json b/packages/cli-json-cas/package.json index 5b47097..d07f730 100644 --- a/packages/cli-json-cas/package.json +++ b/packages/cli-json-cas/package.json @@ -1,6 +1,6 @@ { "name": "@uncaged/cli-json-cas", - "version": "0.5.3", + "version": "0.6.0", "type": "module", "bin": { "json-cas": "./src/index.ts", @@ -11,7 +11,7 @@ "prepublishOnly": "echo '请用 bun run release 从根目录发版' && exit 1" }, "dependencies": { - "@uncaged/json-cas": "^0.5.3", - "@uncaged/json-cas-fs": "^0.5.3" + "@uncaged/json-cas": "^0.6.0", + "@uncaged/json-cas-fs": "^0.6.0" } } diff --git a/packages/json-cas-fs/CHANGELOG.md b/packages/json-cas-fs/CHANGELOG.md index 46bfe9b..2aa3efa 100644 --- a/packages/json-cas-fs/CHANGELOG.md +++ b/packages/json-cas-fs/CHANGELOG.md @@ -1,5 +1,32 @@ # @uncaged/json-cas-fs +## 0.6.0 + +### Minor Changes + +- Unified `{ type, value }` envelope output for all CLI commands (RFC [#67](https://github.com/uncaged/json-cas/issues/67)). + + ### Breaking Changes + + - Removed `init`, `bootstrap`, `cat`, `schema put/get/list/validate` commands + - All CLI command outputs now wrapped in `{ type, value }` envelope (except `render`) + - `openStore()` is now async and auto-bootstraps + + ### New Features + + - 18 `@output/*` schemas registered at bootstrap + - `list --type ` command (replaces `schema list`) + - `verify` now checks both hash integrity and schema validation + - `wrapEnvelope()` helper exported from `@uncaged/json-cas` + - `openStore()` in `@uncaged/json-cas-fs` — async, auto mkdir + bootstrap + - Default LiquidJS templates for all output schemas + - Pipe composition: any command output can be piped to `render -p` + +### Patch Changes + +- Updated dependencies []: + - @uncaged/json-cas@0.6.0 + ## 0.5.3 ### Patch Changes diff --git a/packages/json-cas-fs/package.json b/packages/json-cas-fs/package.json index be225d6..7ad0177 100644 --- a/packages/json-cas-fs/package.json +++ b/packages/json-cas-fs/package.json @@ -1,6 +1,6 @@ { "name": "@uncaged/json-cas-fs", - "version": "0.5.3", + "version": "0.6.0", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -19,7 +19,7 @@ "prepublishOnly": "echo '请用 bun run release 从根目录发版' && exit 1" }, "dependencies": { - "@uncaged/json-cas": "^0.5.3", + "@uncaged/json-cas": "^0.6.0", "cborg": "^4.2.3" } } diff --git a/packages/json-cas/CHANGELOG.md b/packages/json-cas/CHANGELOG.md index 164b39a..ee43f33 100644 --- a/packages/json-cas/CHANGELOG.md +++ b/packages/json-cas/CHANGELOG.md @@ -1,5 +1,27 @@ # @uncaged/json-cas +## 0.6.0 + +### Minor Changes + +- Unified `{ type, value }` envelope output for all CLI commands (RFC [#67](https://github.com/uncaged/json-cas/issues/67)). + + ### Breaking Changes + + - Removed `init`, `bootstrap`, `cat`, `schema put/get/list/validate` commands + - All CLI command outputs now wrapped in `{ type, value }` envelope (except `render`) + - `openStore()` is now async and auto-bootstraps + + ### New Features + + - 18 `@output/*` schemas registered at bootstrap + - `list --type ` command (replaces `schema list`) + - `verify` now checks both hash integrity and schema validation + - `wrapEnvelope()` helper exported from `@uncaged/json-cas` + - `openStore()` in `@uncaged/json-cas-fs` — async, auto mkdir + bootstrap + - Default LiquidJS templates for all output schemas + - Pipe composition: any command output can be piped to `render -p` + ## 0.5.3 ### Patch Changes diff --git a/packages/json-cas/package.json b/packages/json-cas/package.json index 513c71e..70de12e 100644 --- a/packages/json-cas/package.json +++ b/packages/json-cas/package.json @@ -1,6 +1,6 @@ { "name": "@uncaged/json-cas", - "version": "0.5.3", + "version": "0.6.0", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts",