From 4c873fbc5d3a8596c9375737fb3efb7671139def Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 25 Nov 2026 12:13:59 +0100 Subject: [PATCH 1/2] chore(release): 0.9.0 bin/release: 0.8.0 is already on npm. Only the number changes: package.json, src/version.ts, the CHANGELOG heading, and the changes/ fragments collected under it. ## Conformance The release pull request of 0.8.0 recorded the checks; this one changes only its number. --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++ changes/feat-mirrors.md | 14 ------------- changes/feat-untrusted-marks.md | 14 ------------- changes/release-1.0.md | 7 ------- package.json | 2 +- src/version.ts | 2 +- 6 files changed, 39 insertions(+), 37 deletions(-) delete mode 100644 changes/feat-mirrors.md delete mode 100644 changes/feat-untrusted-marks.md delete mode 100644 changes/release-1.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 503dd59..bd65c00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,43 @@ Notable changes to `@wirecat/notion-cli`. One section per version, newest first. +## 0.9.0 — 25.11.2026 + +### Added + +- **Keep a local folder of Markdown files and Notion pages the same, both ways.** `mirrors add ` pairs + a folder with the pages under one Notion page: each page is a file named after its title, and the pages under it are + in a folder of the same name. `mirrors sync` copies each change to the other side. A deletion goes to the other + side's trash, and only a page in Notion's trash counts as deleted. Every overwrite keeps the earlier text for + `keep_versions_for_days` (365 by default). A file changed on both sides is merged line by line, or listed for + `mirrors conflicts resolve`. `mirrors preview`, `status`, `watch`, `update`, `remove` and `versions list|restore` + are there too. These are cli-core's shared commands, the same as in ydisk. See [usage](docs/usage.md). + +### Changed — may break callers + +- **Built on cli-core 1.0.0 and cli-base 1.0.0.** The generated API files read their types from + `@wirecat/cli-base/codegen/runtime`, and the store types from `@wirecat/cli-core/store/areas`. Store version 73 comes + with cli-core 1.0: once a 1.0 tool opens the store, a 0.x tool refuses it, so upgrade every WireCat CLI together. +- **Over MCP, a call that names a credential file or a WireCat folder now answers `permission_error`** + (`access.denied`), checked by cli-core before the command runs. It answered `validation_error` before. + +### Fixed + +- **The text `documents update` replaces is kept as long as synced versions.** It stayed 30 days. It now follows the + profile's `keep_versions_for_days`, 365 days by default, the same period as `documents history`. +- **A scheduled agent reads other people's Notion text marked.** In a run locked read-only with a mark + (`WCNOTION_READ_ONLY=1` and `WCNOTION_UNTRUSTED_MARK`), `documents get` marks the page's Markdown, `folders browse` + the names, `databases list|show` the titles, descriptions, property names, select options and template names, `rows + list` the row titles, `comments list` the comment text and its author, and the `api` group's operations every string + in the raw answer, its keys left as they are. cli-core's shared commands already marked theirs, `mirrors preview` and + `mirrors conflicts list|show` among them. Outside such a run no answer changes. A marked property name is passed back + to `rows list --filter` without the markers. Not marked yet: the values in `rows list`'s `properties`, whose keys + differ in each database. +- **A `--rescan` removes a page or row found in Notion's trash as deleted.** A full walk that read a held page or row + directly and found it in the trash left it out, so it stayed as no longer visible with its text kept. It now leaves + as deleted, as the change feed already did. A page Notion no longer finds stays as no longer visible. What was + under a page or database in the trash is not read, and leaves as no longer visible, as before. + ## 0.8.0 — 23.11.2026 ### Added diff --git a/changes/feat-mirrors.md b/changes/feat-mirrors.md deleted file mode 100644 index 65d206b..0000000 --- a/changes/feat-mirrors.md +++ /dev/null @@ -1,14 +0,0 @@ -### Added - -- **Keep a local folder of Markdown files and Notion pages the same, both ways.** `mirrors add ` pairs - a folder with the pages under one Notion page: each page is a file named after its title, and the pages under it are - in a folder of the same name. `mirrors sync` copies each change to the other side. A deletion goes to the other - side's trash, and only a page in Notion's trash counts as deleted. Every overwrite keeps the earlier text for - `keep_versions_for_days` (365 by default). A file changed on both sides is merged line by line, or listed for - `mirrors conflicts resolve`. `mirrors preview`, `status`, `watch`, `update`, `remove` and `versions list|restore` - are there too. These are cli-core's shared commands, the same as in ydisk. See [usage](../docs/usage.md). - -### Fixed - -- **The text `documents update` replaces is kept as long as synced versions.** It stayed 30 days. It now follows the - profile's `keep_versions_for_days`, 365 days by default, the same period as `documents history`. diff --git a/changes/feat-untrusted-marks.md b/changes/feat-untrusted-marks.md deleted file mode 100644 index a2d2595..0000000 --- a/changes/feat-untrusted-marks.md +++ /dev/null @@ -1,14 +0,0 @@ -### Fixed - -- **A scheduled agent reads other people's Notion text marked.** In a run locked read-only with a mark - (`WCNOTION_READ_ONLY=1` and `WCNOTION_UNTRUSTED_MARK`), `documents get` marks the page's Markdown, `folders browse` - the names, `databases list|show` the titles, descriptions, property names, select options and template names, `rows - list` the row titles, `comments list` the comment text and its author, and the `api` group's operations every string - in the raw answer, its keys left as they are. cli-core's shared commands already marked theirs, `mirrors preview` and - `mirrors conflicts list|show` among them. Outside such a run no answer changes. A marked property name is passed back - to `rows list --filter` without the markers. Not marked yet: the values in `rows list`'s `properties`, whose keys - differ in each database. -- **A `--rescan` removes a page or row found in Notion's trash as deleted.** A full walk that read a held page or row - directly and found it in the trash left it out, so it stayed as no longer visible with its text kept. It now leaves - as deleted, as the change feed already did. A page Notion no longer finds stays as no longer visible. What was - under a page or database in the trash is not read, and leaves as no longer visible, as before. diff --git a/changes/release-1.0.md b/changes/release-1.0.md deleted file mode 100644 index 47f795f..0000000 --- a/changes/release-1.0.md +++ /dev/null @@ -1,7 +0,0 @@ -### Changed — may break callers - -- **Built on cli-core 1.0.0 and cli-base 1.0.0.** The generated API files read their types from - `@wirecat/cli-base/codegen/runtime`, and the store types from `@wirecat/cli-core/store/areas`. Store version 73 comes - with cli-core 1.0: once a 1.0 tool opens the store, a 0.x tool refuses it, so upgrade every WireCat CLI together. -- **Over MCP, a call that names a credential file or a WireCat folder now answers `permission_error`** - (`access.denied`), checked by cli-core before the command runs. It answered `validation_error` before. diff --git a/package.json b/package.json index d0e5470..edf694c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/notion-cli", - "version": "0.8.0", + "version": "0.9.0", "description": "Notion pages and databases for you and your AI agent: read live with your own token, through the terminal or MCP", "license": "Apache-2.0", "author": "Viacheslav Ptsarev", diff --git a/src/version.ts b/src/version.ts index 3314878..62956b4 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.8.0" +export const VERSION = "0.9.0" From 769e4fdc1fa994610b619d5d4052fe02ab15bee9 Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 25 Nov 2026 12:18:57 +0100 Subject: [PATCH 2/2] chore(docs): cspell knows ydisk The 0.9.0 changelog names ydisk, cli-core's other files CLI, and the spell check refused it. Co-Authored-By: Claude Opus 5.5 --- cspell.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index 375ad1a..d66d298 100644 --- a/cspell.json +++ b/cspell.json @@ -14,6 +14,7 @@ "cli-memo", "bitrix24-cli", "attio", - "hubspot" + "hubspot", + "ydisk" ] }