Changelog
What changed in each release of PromptWire.
1.5.0 (8 April 2026)
- Changed: Module renamed from PW-MCP to PromptWire. Class names, file names, CLI scripts, API endpoints, and environment variables have all been updated.
- Changed: Install directory is now
site/modules/PromptWire/(wasPwMcp/). - Changed: On install or upgrade, the module automatically detects and removes old
PwMcp/andPwMcpAdmin/directories. - Changed: Remote API file renamed to
promptwire-api.php; config file toconfig-promptwire.php. - Changed: Environment variable
PW_MCP_CLI_PATHrenamed toPROMPTWIRE_CLI_PATH. - Changed: API key constant renamed from
PW_MCP_API_KEYtoPROMPTWIRE_API_KEY. - Kept: Data directories unchanged:
.pw-sync/for schema andsite/assets/pw-mcp/for content sync. No migration needed for existing data. - Fixed: Admin dashboard "Wire to File" exported pages to
site/assets/promptwire/instead ofsite/assets/pw-mcp/. One line inSyncManager.phpwas missed during the rename. Pull the latest frommainfor the fix. If any exports were created before updating, move them fromsite/assets/promptwire/intosite/assets/pw-mcp/and delete the empty directory.
1.4.0 (8 April 2026)
- Changed: Module restructured so the repo root is the module directory. Clone or download directly into
site/modules/PwMcp/. - Changed: On install or upgrade, the module automatically detects and removes the old
site/modules/PwMcpAdmin/directory from pre-1.4.0 installs. - Fixed:
schemaPush()routed to the remote API when bothPW_PATHandPW_REMOTE_URLwere set, so schema pushes silently went to production while reads used the local site. Now applies the samePW_PATH-first guard used elsewhere. - Fixed:
validateRefs()defaulted to validating against the remote site when both env vars were set, inconsistent with the "local wins" rule. Now defaults to local whenPW_PATHis present. - Fixed:
pushPage()andpublishPage()always returnedsuccess: trueeven when local or remote sub-operations failed. Failures were only visible in nested results. Top-levelsuccessnow reflects actual outcome. - Fixed:
publishPage()silently swallowed YAML parse errors and created remote pages with empty fields. Now reports the parse failure instead. - Improved:
schemaPull()backs up existingfields.jsonandtemplates.jsonas.bakfiles before overwriting, so a mistaken pull is recoverable. - Improved: Remote API endpoint now sends
X-Robots-Tag: noindex, nofollowheader.
1.3.1 (27 March 2026)
- Fixed: When both
PW_PATHandPW_REMOTE_URLare set (hybrid config),runPwCommandnow prefers the local PHP CLI. PreviouslyPW_REMOTE_URLsilently hijacked all commands, causing page queries to return stale remote data instead of live local data. - Fixed: Remote API endpoint now sends
Cache-Control: no-storeandPragma: no-cacheheaders to prevent proxy or browser caching of API responses.
1.3.0 (27 March 2026)
- New:
pw_page_inittool for initialising or repairingpage.meta.jsonfor sync directories where content files were created manually. - Improved:
pw_page_newis now idempotent. If the directory exists butpage.meta.jsonis missing, it creates only the scaffold files without overwriting existingpage.yamlor field files. - Improved:
pw_page_publishauto-generatespage.meta.jsonfrompage.yamland directory structure when the meta file is missing. - Improved: Error messages in
pw_page_pushandpw_page_publishnow show relative paths instead of absolute server paths, and include actionable hints.
1.2.0 (8 March 2026)
- File sync, schema sync, cross-environment page ID resolution, remote API.
1.1.0 (5 February 2026)
- Content sync (pull/push), page creation and publishing.
1.0.0 (29 January 2026)
- Initial release. Site inspection, page queries, template/field introspection.