Skip to content

Releases

KDIGI CMS 1.2.0 — AI-native

Choose a tag to compare

@lekhoi456 lekhoi456 released this 03 Nov 16:14

AI-native release. No database migrations; API-key sessions are restricted (see Changed).

Added

  • AI-native: MCP server at POST /api/mcp. 23 tools for AI agents (Claude Code, Codex, Cursor, VS Code, OMP, …) to search, write, schedule, publish, trash/restore, version, audit SEO and manage media and taxonomies, plus the resource kcms://guide/content and the prompts write-post / refresh-seo. Authentication is a user API key in Authorization: Bearer …; every call runs as that user with normal access rules, honours admin edit locks and requires expectedUpdatedAt for writes to existing documents. Enabled by default; MCP_ENABLED=false turns it off. See docs/ai-integration.md.
  • kcms CLI (@kdigi/kcms-cli, packages/kcms-cli): Markdown-file round-trip for posts/pages, local image upload, kcms setup <client> that writes MCP config without embedding the key, and kcms mcp stdio bridge. The repository is now a pnpm workspace.
  • Agent skill skills/kcms (Agent Skills format) teaching the editorial workflow; installed with kcms setup … --with-skill.

Changed

  • Behaviour change — API-key sessions are restricted on all REST/GraphQL routes: they can no longer create users or change email, password, API key, API-key switch, role or site membership, and can no longer permanently delete anything (content can still be moved to the trash). Browser sessions are unaffected. See roles and permissions.
  • /api/media/from-url: downloads are pinned to the DNS answer that passed the SSRF check (no DNS-rebinding window) and every redirect hop is re-checked. Called with an API key it runs with the caller's access and accepts JPEG/PNG/WebP/GIF/AVIF only (type sniffed from the bytes).
  • Author publish attempts now fail with HTTP 403 instead of a generic 500.
  • README, package.json description and the docs index now present KDIGI CMS as an AI-native CMS; docs/architecture.md documents the agent surface (src/agent-api, src/mcp, packages/kcms-cli, skills/kcms).

Fixed

  • Partial updates (REST/GraphQL PATCH that omit the field) no longer overwrite a filled excerpt with an auto-generated one, nor wipe seo.breadcrumbs.

KDIGI CMS 1.1.0

Choose a tag to compare

@lekhoi456 lekhoi456 released this 03 Nov 06:46

Public demo account protection (DEMO_ACCOUNT_EMAILS), pnpm demo:reset, optional x-revalidate-secret header (REVALIDATE_SECRET), README links to website/docs/live demo. No schema migration. See CHANGELOG.

KDIGI CMS 1.0.1

Choose a tag to compare

@lekhoi456 lekhoi456 released this 03 Nov 05:39

Fixed

  • WordPress migration, media phase: Media gained the hidden sourceMediaId idempotency key (migration 20261103_052647_media_source_media_id). Without it every media lookup failed, so featured images, sliders and inline images were not imported.
  • WordPress migration, re-runs: media referenced only by URL (site logo, OG images) is keyed by a hash of its source URL and no longer re-uploaded on each run.
  • WordPress migration, source hosts with a port (e.g. 127.0.0.1:8080) are now matched when rewriting canonicals, menus and internal links.
  • --dry-run on an empty database no longer reports missing inline-image targets as errors.

KDIGI CMS 1.0.0

Choose a tag to compare

@lekhoi456 lekhoi456 released this 03 Nov 05:15

First public release of KDIGI CMS (MIT), a headless multi-site CMS on Payload 3.90, Next.js 15 and PostgreSQL. It is extracted from a production multi-site system and generalised for agencies, bloggers, small businesses and people migrating off WordPress.

Added

  • Multi-site: one install serves many websites. Each Sites document holds branding, SEO defaults, contact/footer data, domain and optional storage credentials; content is scoped per site with explicit access predicates.
  • Roles: super-admin, admin, editor, author with site assignment. Only a super-admin can change a user's role or site assignments; users editing their own account cannot escalate themselves.
  • Content model: pages, posts, products (generic product/service pages), landings (block layouts), taxonomies, authors, menus (tree), FAQs, shortcodes, redirects, comments (with reCAPTCHA) and rating events. Content collections are versioned and localised (vi default, en with fallback).
  • Markdown-first editor (Milkdown) with slash menu, media/link pickers, shortcodes, sanitised HTML output at the original REST field keys.
  • Media library with folders, image editor, import from URL (SSRF-guarded), WebP conversion on upload for R2 sites. Local-disk storage by default; optional per-site Cloudflare R2 storage.
  • SEO subsystem: JSON-LD graph generation, RankMath-style title/description placeholders, SEO audit, internal-link suggestions, optional AI SEO generation (DeepSeek API, enabled by DEEPSEEK_API_KEY and DEEPSEEK_MODEL).
  • Editorial tools: content calendar / editorial dashboard, content trash and restore.
  • Frontend integration: REST and GraphQL APIs, ISR revalidation job, frontend document URL resolver.
  • WordPress migration pipeline (raw → staged → import) with runbook in docs/wordpress-migration/.
  • One-command local start with Docker Compose (PostgreSQL + app) and a demo site with sample content.
  • Documentation set under docs/, community files (Code of Conduct, Contributing, Security policy, issue/PR templates), CI workflow.

Removed (relative to the private origin)

Domain-specific modules, optional CDN tooling, cloning pipelines and all site-specific one-off importers and fixtures from the private origin were not carried over to the open-source product.