From 984ab3ff912a3810bb7cefa599e01df6e28074ce Mon Sep 17 00:00:00 2001 From: leemour Date: Tue, 17 Nov 2026 19:16:47 +0100 Subject: [PATCH] chore: release 0.695.0 bin/release: 0.694.0 is already on npm. Only the number changes: package.json, the CHANGELOG heading, and the changes/ fragments collected under it. --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ changes/feat-cli-config-verify.md | 16 ---------------- changes/feat-crm-manifest-fake.md | 11 ----------- package.json | 2 +- 4 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 changes/feat-cli-config-verify.md delete mode 100644 changes/feat-crm-manifest-fake.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 912144d67..ecc50fe98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,34 @@ Notable changes to `@wirecat/cli-core` (`@wirecat/cli-messaging` up to 0.261.0, minor version may break callers, and says how under "Changed — may break callers". `pnpm docs:check` checks the shape of this file. +## 0.695.0 — 17.11.2026 + +### Added + +- **`wirecat.config`'s `auth.verify`: the call that checks a token.** For `token` and `oauth2-pkce`, `{ operation, id, + name? }` names the operation that answers whose the token is and where its answer holds the account's id and name; + cli-template's `session start` checks a token with it. +- **`recalledAccount` from `@wirecat/cli-core/cli`**: the account a profile signed in to, as `session start` + remembered it, for a CLI's own account key (cli-template's CRM wiring from `wirecat.config`). +- **`crmManifestContract` tests a CRM source from a manifest with no service code.** A CLI made from + `wirecat.config.ts` runs every `crmSourceContract` case, faults and paging included, in one line + ([CRM.md](docs/dev/CRM.md#a-test-for-a-source-from-a-manifest)). Under it, `crmManifestFake` holds rows sampled + from each answer's schema, pages them by each operation's own `pagination` and filters change reads by time; + `crmManifestFixture` gives the source, the rows it holds and the faults `deny`, `change`, `skewed`, `sameToken`. A + call the manifest never makes, a change read without its since and a read of an unknown id land in `refusals`. +- **`crmSourceContract` takes `held`, the ids of every row a fixture holds.** A full list must give each of them, + and a read of changes after `change()` must leave the untouched ones out. Optional: a fixture without it runs as + before. + +### Changed — may break callers + +- **cli-core needs `@wirecat/cli-base` 0.112.0 or later** (peer `>=0.112.0 <1.0.0`), since 0.693.0, for + `signInRequirements` and `signInPlace`. +- **`parseCliConfig` refuses a URL that would put a secret, a space or no host into a CLI's files**: `spec.from`, + `auth.revokeUrl` and a relay redirect take an https URL with a host, and no user name, password, #fragment, or + key or token in its query. `auth.verify`'s `id` and `name` are dot paths. `hooks` takes a `.ts` or `.js` module + under `./`. An unknown field reads "not a field of wirecat.config", a missing one "missing". + ## 0.694.0 — 17.11.2026 ### Added diff --git a/changes/feat-cli-config-verify.md b/changes/feat-cli-config-verify.md deleted file mode 100644 index d5bc509dd..000000000 --- a/changes/feat-cli-config-verify.md +++ /dev/null @@ -1,16 +0,0 @@ -### Added - -- **`wirecat.config`'s `auth.verify`: the call that checks a token.** For `token` and `oauth2-pkce`, `{ operation, id, - name? }` names the operation that answers whose the token is and where its answer holds the account's id and name; - cli-template's `session start` checks a token with it. -- **`recalledAccount` from `@wirecat/cli-core/cli`**: the account a profile signed in to, as `session start` - remembered it, for a CLI's own account key (cli-template's CRM wiring from `wirecat.config`). - -### Changed — may break callers - -- **cli-core needs `@wirecat/cli-base` 0.112.0 or later** (peer `>=0.112.0 <1.0.0`), since 0.693.0, for - `signInRequirements` and `signInPlace`. -- **`parseCliConfig` refuses a URL that would put a secret, a space or no host into a CLI's files**: `spec.from`, - `auth.revokeUrl` and a relay redirect take an https URL with a host, and no user name, password, #fragment, or - key or token in its query. `auth.verify`'s `id` and `name` are dot paths. `hooks` takes a `.ts` or `.js` module - under `./`. An unknown field reads "not a field of wirecat.config", a missing one "missing". diff --git a/changes/feat-crm-manifest-fake.md b/changes/feat-crm-manifest-fake.md deleted file mode 100644 index 989276765..000000000 --- a/changes/feat-crm-manifest-fake.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- **`crmManifestContract` tests a CRM source from a manifest with no service code.** A CLI made from - `wirecat.config.ts` runs every `crmSourceContract` case, faults and paging included, in one line - ([CRM.md](../docs/dev/CRM.md#a-test-for-a-source-from-a-manifest)). Under it, `crmManifestFake` holds rows sampled - from each answer's schema, pages them by each operation's own `pagination` and filters change reads by time; - `crmManifestFixture` gives the source, the rows it holds and the faults `deny`, `change`, `skewed`, `sameToken`. A - call the manifest never makes, a change read without its since and a read of an unknown id land in `refusals`. -- **`crmSourceContract` takes `held`, the ids of every row a fixture holds.** A full list must give each of them, - and a read of changes after `change()` must leave the untouched ones out. Optional: a fixture without it runs as - before. diff --git a/package.json b/package.json index 8b782a3e8..7cdfb1ac3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/cli-core", - "version": "0.694.0", + "version": "0.695.0", "description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store", "license": "Apache-2.0", "author": "Viacheslav Ptsarev",