diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ac8ec6..1092860 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ Notable changes to `@wirecat/cli-template`. One section per version, newest firs +## 0.31.0 — 18.11.2026 + +### Added + +- **`kit:e2e` makes two CLIs with `new --from-config`**, a CRM over an OpenAPI description and a tracker over a GraphQL + schema, both with a token check and so without the sample, and runs the same checks as the others. The path was + checked only by hand before. + +### Changed — may break callers + +- **A new CLI pins `@wirecat/cli-core` 0.699.0**, which has `manifestVerify` and `hostsFetch`. + +### Fixed + +- **A CLI made by `new --from-config` passes its own `pnpm test:coverage`.** A CRM or tracker CLI with `auth.verify` + failed it (a tracker reached 52% of branches against 75%): the seed held the token check and branches on the + config's values that no test of that CLI could take both ways. The check is now cli-core's `manifestVerify`, + `pnpm generate` writes the config's values with their exact types (a removed `verify` fails typecheck), the hosts-only + fetch is cli-core's `hostsFetch`, the CRM store is cli-core's `openAppStore`, and new tests cover a sync before + `session start`, `--offline` and `api show`. +- **The daily "a newer version exists" line shows.** `src/program.ts` set up the update check but never handed it to + cli-core's `run()`, so no CLI made from the template printed it. +- **The `--offline` refusal is cli-core's `refuseOffline`**, in place of a copy in `src/context.ts`. + ## 0.30.0 — 18.11.2026 ### Added diff --git a/changes/test-kit-e2e-from-config.md b/changes/test-kit-e2e-from-config.md deleted file mode 100644 index 4eaeb09..0000000 --- a/changes/test-kit-e2e-from-config.md +++ /dev/null @@ -1,21 +0,0 @@ -### Fixed - -- **A CLI made by `new --from-config` passes its own `pnpm test:coverage`.** A CRM or tracker CLI with `auth.verify` - failed it (a tracker reached 52% of branches against 75%): the seed held the token check and branches on the - config's values that no test of that CLI could take both ways. The check is now cli-core's `manifestVerify`, - `pnpm generate` writes the config's values with their exact types (a removed `verify` fails typecheck), the hosts-only - fetch is cli-core's `hostsFetch`, the CRM store is cli-core's `openAppStore`, and new tests cover a sync before - `session start`, `--offline` and `api show`. -- **The daily "a newer version exists" line shows.** `src/program.ts` set up the update check but never handed it to - cli-core's `run()`, so no CLI made from the template printed it. -- **The `--offline` refusal is cli-core's `refuseOffline`**, in place of a copy in `src/context.ts`. - -### Added - -- **`kit:e2e` makes two CLIs with `new --from-config`**, a CRM over an OpenAPI description and a tracker over a GraphQL - schema, both with a token check and so without the sample, and runs the same checks as the others. The path was - checked only by hand before. - -### Changed — may break callers - -- **A new CLI pins `@wirecat/cli-core` 0.699.0**, which has `manifestVerify` and `hostsFetch`. diff --git a/package.json b/package.json index feb2548..1e0f32d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/cli-template", - "version": "0.30.0", + "version": "0.31.0", "description": "Start a new WireCat CLI: a working skeleton on cli-base and cli-core, copied by new and kept current by upgrade", "license": "Apache-2.0", "author": "Viacheslav Ptsarev", diff --git a/src/version.ts b/src/version.ts index 0edbe40..dd04175 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.30.0" +export const VERSION = "0.31.0"