Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@

Notable changes to `@wirecat/wordpress-cli`. One section per version, newest first.

## 0.2.0 — 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
Expand Down
4 changes: 0 additions & 4 deletions changes/docs-installation-roles.md

This file was deleted.

26 changes: 0 additions & 26 deletions changes/feat-pages-and-authors.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecat/wordpress-cli",
"version": "0.1.2",
"version": "0.2.0",
"description": "WordPress posts and pages: sync, search and write drafts from your agent",
"license": "Apache-2.0",
"author": "Viacheslav Ptsarev",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = "0.1.2"
export const VERSION = "0.2.0"
Loading