From dc1ea42b2d69a728130b32c71aad0d0fa356c1ac Mon Sep 17 00:00:00 2001 From: leemour Date: Sat, 21 Nov 2026 03:51:31 +0100 Subject: [PATCH 1/2] chore(release): 0.1.3 bin/release: 0.1.2 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.1.2 recorded the checks; this one changes only its number. --- CHANGELOG.md | 31 ++++++++++++++++++++++++++++++ changes/docs-installation-roles.md | 4 ---- changes/feat-pages-and-authors.md | 26 ------------------------- package.json | 2 +- src/version.ts | 2 +- 5 files changed, 33 insertions(+), 32 deletions(-) delete mode 100644 changes/docs-installation-roles.md delete mode 100644 changes/feat-pages-and-authors.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c9c8e7..1469cca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ Notable changes to `@wirecat/wordpress-cli`. One section per version, newest first. +## 0.1.3 — 21.11.2026 + +### Added + +- **`posts create --type page` and every write to a page.** A page is now written through WordPress's pages routes: + create, update, publish, schedule, unpublish, trash and delete for good. A page has no tags, so `--tags` on a page + stops with `content.write-unsupported`. `--dry-run` names the pages keys a page write checks. + +### Changed — may break callers + +- **cli-core 0.716.0 and cli-base 0.125.3.** cli-base now marks a new application password in an answer as secret, + so the `api` group no longer offers any call whose answer can hold one: `users-application-passwords-create`, + `-list`, `-get`, `-update` and `-introspect-list`. The hand-written exclusion of that route is gone, and + `api users-application-passwords-delete-all` is back, asking first like every delete. +- **`posts.delete: deny` also stops `api pages-delete`.** A page's delete route checked only `pages.delete`, so the + content key did not reach it, as it already did for the posts route and for creating and updating a page. + +### Fixed + +- **The installation guide says what an Author or Contributor gets.** Their own posts and no pages, as in the + [limits](docs/index.md#limits). It still said their posts sync stays partial, which 0.1.2 fixed. +- **An Editor or Author gets the authors.** WordPress lists the users with their e-mail to an Administrator only, and + the sync got no authors at all for any other role. It now reads them the way WordPress answers every role: the + authors with published posts, by name, without e-mail. The sync names this as a gap. +- **An Author or Contributor sync reads only the changes, and sees a post deleted for good.** Each sync read every post + again, and a post deleted for good stayed in the copy. Later syncs now read only what changed. Once a day the sync + reads each post that left the list once more: a post the site deleted for good is marked deleted, and one the role + may no longer read stays as it was. +- **A post's text keeps its `-` list marker** instead of turning `- one` into `* one`. +- **`posts publish --at-time` with a past time names `--at-time`** in its error, not `--at`. + ## 0.1.2 — 19.11.2026 ### Fixed diff --git a/changes/docs-installation-roles.md b/changes/docs-installation-roles.md deleted file mode 100644 index aed12c2..0000000 --- a/changes/docs-installation-roles.md +++ /dev/null @@ -1,4 +0,0 @@ -### Fixed - -- **The installation guide says what an Author or Contributor gets.** Their own posts and no pages, as in the - [limits](../docs/index.md#limits). It still said their posts sync stays partial, which 0.1.2 fixed. diff --git a/changes/feat-pages-and-authors.md b/changes/feat-pages-and-authors.md deleted file mode 100644 index f8b4e23..0000000 --- a/changes/feat-pages-and-authors.md +++ /dev/null @@ -1,26 +0,0 @@ -### Added - -- **`posts create --type page` and every write to a page.** A page is now written through WordPress's pages routes: - create, update, publish, schedule, unpublish, trash and delete for good. A page has no tags, so `--tags` on a page - stops with `content.write-unsupported`. `--dry-run` names the pages keys a page write checks. - -### Fixed - -- **An Editor or Author gets the authors.** WordPress lists the users with their e-mail to an Administrator only, and - the sync got no authors at all for any other role. It now reads them the way WordPress answers every role: the - authors with published posts, by name, without e-mail. The sync names this as a gap. -- **An Author or Contributor sync reads only the changes, and sees a post deleted for good.** Each sync read every post - again, and a post deleted for good stayed in the copy. Later syncs now read only what changed. Once a day the sync - reads each post that left the list once more: a post the site deleted for good is marked deleted, and one the role - may no longer read stays as it was. -- **A post's text keeps its `-` list marker** instead of turning `- one` into `* one`. -- **`posts publish --at-time` with a past time names `--at-time`** in its error, not `--at`. - -### Changed — may break callers - -- **cli-core 0.716.0 and cli-base 0.125.3.** cli-base now marks a new application password in an answer as secret, - so the `api` group no longer offers any call whose answer can hold one: `users-application-passwords-create`, - `-list`, `-get`, `-update` and `-introspect-list`. The hand-written exclusion of that route is gone, and - `api users-application-passwords-delete-all` is back, asking first like every delete. -- **`posts.delete: deny` also stops `api pages-delete`.** A page's delete route checked only `pages.delete`, so the - content key did not reach it, as it already did for the posts route and for creating and updating a page. diff --git a/package.json b/package.json index a3ead93..6e91516 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/wordpress-cli", - "version": "0.1.2", + "version": "0.1.3", "description": "WordPress posts and pages: sync, search and write drafts from your agent", "license": "Apache-2.0", "author": "Viacheslav Ptsarev", diff --git a/src/version.ts b/src/version.ts index 3d77fbf..739147b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.1.2" +export const VERSION = "0.1.3" From 7524b556447c6d9c05ec2a08c34972e2f6ef90c5 Mon Sep 17 00:00:00 2001 From: leemour Date: Sat, 21 Nov 2026 03:56:28 +0100 Subject: [PATCH 2/2] chore(release): 0.2.0, not 0.1.3: the collected fragments add features bin/release picked the next patch before it collected changes/, so the changelog level it read had no Added section; version:check then refused 0.1.3 for a changelog that needs a minor release. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- package.json | 2 +- src/version.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1469cca..00c286d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Notable changes to `@wirecat/wordpress-cli`. One section per version, newest first. -## 0.1.3 — 21.11.2026 +## 0.2.0 — 21.11.2026 ### Added diff --git a/package.json b/package.json index 6e91516..6f944e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/wordpress-cli", - "version": "0.1.3", + "version": "0.2.0", "description": "WordPress posts and pages: sync, search and write drafts from your agent", "license": "Apache-2.0", "author": "Viacheslav Ptsarev", diff --git a/src/version.ts b/src/version.ts index 739147b..78dbb32 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.1.3" +export const VERSION = "0.2.0"