DownloadChangelog
All notable changes to QuickWP are documented in this file.
[Unreleased]
Added
-
UI Localization / i18n (
src/I18n/Translator.php, lang/en.php, lang/ro.php): zero-dependency PHP array translations with automatic `en` fallback, `SiteConfig::getLocale()`, `EN | RO` session switcher in header & dashboard, and translated `editor.js` labels.
-
Drafts Review & 1-Click Publish Workflow:
- Dashboard Recent Drafts card (`public/index.php`) with live Type (`Post`/`Page`) + Title filtering, Edit shortcut, and 1-click Publish (CSRF + confirmation + webhook).
- AI Concierge Refine Mode Type + Status filters (`All`, `Draft`, `Published`, `Scheduled`, `Pending`, `Private`).
- Quick Edit Status filter + `context=edit` support (`public/quick-edit.php`).
- Browse quick status tabs (`All | Draft | Published | Pending | Trash`), 1-click Publish row action, and Drafts nav shortcut (`public/quick-list.php`, `public/partials/header.php`).
-
Docs: added `.htaccess` `QSA` / query-string stripping troubleshooting note in `docs/GETTING_STARTED.md`.
[3.0.1] - 2026-12-05
Added
-
AI Refine Existing (
AiConciergeService::refineExisting(), CLI ai:refine): edit/refine existing WordPress Posts and Pages via AI with safe `draft_copy` default, `update`, or `preview` modes.
-
Quick Edit Live Search & Picker (
public/quick-edit.php): search existing items by title or select from a live-filtered dropdown instead of memorizing post IDs.
Changed
-
Updated default Gemini model to `gemini-3.5-flash-lite` with automatic Google AI Studio (`AIza...`) vs Vertex AI Express (`AQ....`) endpoint routing and cleaner provider error extraction.
[3.0.0] - 2026-12-05
Added
-
Multi-Site CLI (
bin/quickwp, src/Cli/Application.php): `site:list`, `site:check [--all]`, `post:list`, `post:create --file=article.md`, `media:upload`, `export --out=...`, `sync --from=... --to=...`, `ai:draft`, plus global `--json` output.
-
Outbound Webhooks (
src/Webhook/WebhookDispatcher.php): configurable per-event (`post.published`, `page.published`, `*`) with optional HMAC-SHA256 signing (`X-QuickWP-Signature`).
-
Markdown Parser (
src/Content/MarkdownParser.php): zero-dependency YAML-style frontmatter + Markdown-to-HTML converter.
-
Cross-Site Sync (
src/Service/SyncService.php): copy/update posts and pages across configured WordPress sites (defaults to `draft`).
-
Local MCP Server (
bin/quickwp-mcp, src/Mcp/McpServer.php): native JSON-RPC 2.0 `stdio` server (protocol `2024-11-05`) exposing 11 draft-first WordPress tools without leaking credentials.
-
AI Concierge (
src/Ai/AiConciergeService.php): optional, provider-agnostic (`gemini`, `openai`, `ollama`) multilingual voice/text draft generator with real taxonomy context, optional `source_url` summarization, strict `draft`-only saving, CLI `ai:draft`, and Dashboard Command Bar (`public/index.php`).
-
Documentation: `docs/CLI_AND_AUTOMATION.md`, `docs/MCP_AND_AI_CONCIERGE.md`, `CHANGELOG.md`, and refreshed `README.md` / `docs/`.
[2.4.0] - 2026-12-04
Added
-
Editorial HTML Toolbar & Live Preview (
public/assets/editor.js): formatting buttons, Write / Split / Preview modes, word/character/reading-time counter, and keyboard shortcuts (`Ctrl+B`, `Ctrl+I`, `Ctrl+K`, `Ctrl+S`).
-
Visual Media Picker Modal (
public/media-proxy.php): same-origin JSON proxy for Featured Image selection (with live thumbnail preview & Remove) and inline image insertion.
-
Publish Options & 2-Column Editorial Layout: Schedule/Publish Date (`datetime-local` + `future` status), Author dropdown (`UserService`), Sticky, Comment status, and collapsible Custom Fields (`meta` & `acf` JSON) across `quick-post.php`, `quick-page.php`, and `quick-edit.php`.
[2.3.0] - 2026-12-04
Added
-
New Services: `UserService` (`me`, `get`, `list`, `listAll`), `CommentService` (CRUD + `approve`, `unapprove`, `spam`), and `HealthService` (`check` with latency ms & auth diagnostics).
-
ACF Passthrough: `acf` field support alongside `meta` in `PostService`, `PageService`, and `CptService`.
-
Web UI: Dashboard Health Check (`index.php?check=1`), Menu Manager (`quick-menus.php`), Comments Moderation (`quick-comments.php`), and Media Library Browser in `quick-media.php`.
-
Dev Toolchain: upgraded to PHPUnit 11 (`^11.0`) and PHPStan 2 (`^2.0`).
Fixed
-
Initialized `SessionHelper::start()` and `CsrfProtection::getToken()` in `public/partials/bootstrap.php` before HTML output so `PHPSESSID` is persisted prior to `POST` CSRF validation.
[2.2.0] - 2026-12-04
Added
-
`RestClientInterface` + configurable retry with exponential backoff (`setMaxRetries()`) for transient HTTP errors (`429`, `502`, `503`, `504`) honoring `Retry-After`.
-
`AbstractService` with automatic multi-page aggregation (`listAll()` via `X-WP-TotalPages`).
-
`SessionHelper` with automatic HTTPS detection for `cookie_secure`.
-
Shared Web UI partials (`bootstrap.php`, `header.php`, `footer.php`) using `public/assets/style.css`.
-
GitHub Actions CI workflow (`.github/workflows/ci.yml`) on PHP 8.3 & 8.4 with PHPStan Level 8.
Changed
-
Adopted minimum PHP 8.3+.
[2.1.0] - 2026-12-04
Added
-
`CsrfProtection` across all `POST` forms in `public/`.
-
`RestClient::uploadLocalFile()` and `MediaService::uploadFromPath()` for programmatic/CLI uploads.
-
Filename sanitization in `Content-Disposition` headers.
Fixed
-
Constant-time `hash_equals()` in `AccessControl` + session persistence for `token` mode.
-
Added missing `template` field in `PostService` & `CptService` and enabled clearing fields on `update()`.
-
Fixed `?rest_route=` query building in `MenuService`, undefined `$username`/`$password` in `quick-media.php`, and XSS escaping of `$cptSlug`.
|