From 727727ba1473474185382319f64d3e1dc82aca09 Mon Sep 17 00:00:00 2001 From: leemour Date: Tue, 24 Nov 2026 23:35:20 +0100 Subject: [PATCH] chore: release 0.750.0 bin/release: 0.749.0 is already on npm. Only the number changes: package.json, the CHANGELOG heading, and the changes/ fragments collected under it. --- CHANGELOG.md | 51 ++++++++++++++++++++++ changes/feat-report-dropped-in-document.md | 4 -- changes/feat-tracker-sprints.md | 33 -------------- changes/fix-crm-files-contract-windows.md | 5 --- changes/fix-tesseract-psm1.md | 9 ---- package.json | 2 +- 6 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 changes/feat-report-dropped-in-document.md delete mode 100644 changes/feat-tracker-sprints.md delete mode 100644 changes/fix-crm-files-contract-windows.md delete mode 100644 changes/fix-tesseract-psm1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 941f0cb5e..da59c9df6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,57 @@ 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.750.0 — 24.11.2026 + +### Added + +- **A digest's page file names what was left out.** `.report.json` lists in `dropped` the parts the check + left out, so WireCat Desktop can say how many it does not show. +- **Trackers copy sprints.** `sprint` is a tracker kind, between `project` and `issue` in `TRACKER_KINDS`: a Linear + cycle or a Jira sprint, with its `name`, `number`, `team`, `startsAt`, `endsAt` and `completedAt`. An issue names + its `sprint`. `sprints list` lists them, and `issues list sprint:` (or `sprint:none`) narrows the issues. An + unnamed sprint, as most Linear cycles are, is titled `Sprint `. A manifest without a sprint kind syncs as + before ([docs](docs/dev/TRACKER.md#the-domain)). +- **An issue in the tracker's trash leaves the copy.** A map may read `deleted` (Linear's `trashed`). A row read as + deleted is marked deleted in the copy, and its `ids` call, which selects the same path, leaves it out, so the daily + id pass finds it: Linear's trash moves no `updatedAt`, so a plain read of changes never sees it. An issue marked + deleted takes its comments with it. A row the id pass lists again after it was marked deleted, as an issue restored +from the trash, is back with its comments. `trackerSourceContract` checks a + `trash` fault, which `trackerManifestFixture` offers when the map reads `deleted` + ([docs](docs/dev/TRACKER.md#deleted-and-trashed-rows)). +- **The `duplicate` state type.** Linear's Duplicate state was dropped by the map, so its issues pointed at a state the + copy did not hold. It is now one of `STATE_TYPES`, closed as `canceled` is: a task from such an issue closes as + dismissed, `the issue was marked a duplicate in linear`, and `issues list type:duplicate` finds them. +- **A tracker sync says when it next looks for deletions and what it could not read.** Its answer has + `deletions: { checked, due }`, when the id pass last ran for every kind and when it is next due. A kind the sign-in + could not read is named in `meta.issues` (`tracker.kind-unread`) besides `gaps`. + +### Changed — may break callers + +- **`synced[].saved` and `progress.saved` count only rows that changed** in the copy: new, different, deleted or back + again. A row read again as stored is not counted, so a sync with nothing new answers 0 and Desktop shows it up to + date. `store.tracker.save` answers the same count. +- **`TrackerRecords` and `TRACKER_KINDS` have `sprint`, and `STATE_TYPES` has `duplicate`.** Code with a value for + each kind or state type, such as a `Record` or a `switch` over `StateType`, needs one for the new + member; `exampleTrackerRows()` has a sprint and a Duplicate state. +- **`TrackerSyncReport` has a required `deletions`**, so code that builds a report, such as a test's fake, sets it. +- **A tracker sync whose sign-in could not read a kind answers `meta.complete: false`** on every run, with the kind in + `meta.issues`; before, only `gaps` named it. The answer's own `complete`, which Desktop reads, stays as the sync made + it. + +### Fixed + +- **`crmFilesContract` passes on Windows.** It asserted mode 0600 on a downloaded file and 0700 on the files folder + there too, and Windows, which has no POSIX modes, reports 0666; bitrix24-cli's 0.27.0 release stopped on it. The + mode checks now run on Linux and macOS only. +- **Local OCR turns a page lying on its side.** `read_scans: local` now runs `tesseract` with `--psm 1`, its own page + orientation detection. On the [OCR benchmark](https://github.com/WireCatLabs/cli-testing/blob/main/performance/documents/ocr-ru-en/README.md) + a page on its side went from 85% wrong characters to 3%, every other page read the same, and a page took 0.3 s + longer. The reading's name becomes `ocr:v2:tesseract@…`, so scans read before are read once more. Without + tesseract's `osd` data (`apt install tesseract-ocr-osd`) it reads as before and the sync's `warnings` carry + `document.scan-unturned` with the hint; installing the data reads the scans again. + ([docs](docs/dev/DOCUMENTS.md#scans-and-pictures)) + ## 0.749.0 — 24.11.2026 ### Fixed diff --git a/changes/feat-report-dropped-in-document.md b/changes/feat-report-dropped-in-document.md deleted file mode 100644 index 2cc191092..000000000 --- a/changes/feat-report-dropped-in-document.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- **A digest's page file names what was left out.** `.report.json` lists in `dropped` the parts the check - left out, so WireCat Desktop can say how many it does not show. diff --git a/changes/feat-tracker-sprints.md b/changes/feat-tracker-sprints.md deleted file mode 100644 index e5c272cf7..000000000 --- a/changes/feat-tracker-sprints.md +++ /dev/null @@ -1,33 +0,0 @@ -### Added - -- **Trackers copy sprints.** `sprint` is a tracker kind, between `project` and `issue` in `TRACKER_KINDS`: a Linear - cycle or a Jira sprint, with its `name`, `number`, `team`, `startsAt`, `endsAt` and `completedAt`. An issue names - its `sprint`. `sprints list` lists them, and `issues list sprint:` (or `sprint:none`) narrows the issues. An - unnamed sprint, as most Linear cycles are, is titled `Sprint `. A manifest without a sprint kind syncs as - before ([docs](../docs/dev/TRACKER.md#the-domain)). -- **An issue in the tracker's trash leaves the copy.** A map may read `deleted` (Linear's `trashed`). A row read as - deleted is marked deleted in the copy, and its `ids` call, which selects the same path, leaves it out, so the daily - id pass finds it: Linear's trash moves no `updatedAt`, so a plain read of changes never sees it. An issue marked - deleted takes its comments with it. A row the id pass lists again after it was marked deleted, as an issue restored -from the trash, is back with its comments. `trackerSourceContract` checks a - `trash` fault, which `trackerManifestFixture` offers when the map reads `deleted` - ([docs](../docs/dev/TRACKER.md#deleted-and-trashed-rows)). -- **The `duplicate` state type.** Linear's Duplicate state was dropped by the map, so its issues pointed at a state the - copy did not hold. It is now one of `STATE_TYPES`, closed as `canceled` is: a task from such an issue closes as - dismissed, `the issue was marked a duplicate in linear`, and `issues list type:duplicate` finds them. -- **A tracker sync says when it next looks for deletions and what it could not read.** Its answer has - `deletions: { checked, due }`, when the id pass last ran for every kind and when it is next due. A kind the sign-in - could not read is named in `meta.issues` (`tracker.kind-unread`) besides `gaps`. - -### Changed — may break callers - -- **`synced[].saved` and `progress.saved` count only rows that changed** in the copy: new, different, deleted or back - again. A row read again as stored is not counted, so a sync with nothing new answers 0 and Desktop shows it up to - date. `store.tracker.save` answers the same count. -- **`TrackerRecords` and `TRACKER_KINDS` have `sprint`, and `STATE_TYPES` has `duplicate`.** Code with a value for - each kind or state type, such as a `Record` or a `switch` over `StateType`, needs one for the new - member; `exampleTrackerRows()` has a sprint and a Duplicate state. -- **`TrackerSyncReport` has a required `deletions`**, so code that builds a report, such as a test's fake, sets it. -- **A tracker sync whose sign-in could not read a kind answers `meta.complete: false`** on every run, with the kind in - `meta.issues`; before, only `gaps` named it. The answer's own `complete`, which Desktop reads, stays as the sync made - it. diff --git a/changes/fix-crm-files-contract-windows.md b/changes/fix-crm-files-contract-windows.md deleted file mode 100644 index 94916c15c..000000000 --- a/changes/fix-crm-files-contract-windows.md +++ /dev/null @@ -1,5 +0,0 @@ -### Fixed - -- **`crmFilesContract` passes on Windows.** It asserted mode 0600 on a downloaded file and 0700 on the files folder - there too, and Windows, which has no POSIX modes, reports 0666; bitrix24-cli's 0.27.0 release stopped on it. The - mode checks now run on Linux and macOS only. diff --git a/changes/fix-tesseract-psm1.md b/changes/fix-tesseract-psm1.md deleted file mode 100644 index 1e4867d35..000000000 --- a/changes/fix-tesseract-psm1.md +++ /dev/null @@ -1,9 +0,0 @@ -### Fixed - -- **Local OCR turns a page lying on its side.** `read_scans: local` now runs `tesseract` with `--psm 1`, its own page - orientation detection. On the [OCR benchmark](https://github.com/WireCatLabs/cli-testing/blob/main/performance/documents/ocr-ru-en/README.md) - a page on its side went from 85% wrong characters to 3%, every other page read the same, and a page took 0.3 s - longer. The reading's name becomes `ocr:v2:tesseract@…`, so scans read before are read once more. Without - tesseract's `osd` data (`apt install tesseract-ocr-osd`) it reads as before and the sync's `warnings` carry - `document.scan-unturned` with the hint; installing the data reads the scans again. - ([docs](../docs/dev/DOCUMENTS.md#scans-and-pictures)) diff --git a/package.json b/package.json index f74765748..25fea0c96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/cli-core", - "version": "0.749.0", + "version": "0.750.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",