Repository navigation
Releases
Releases · kdigivn/kdigi-cms-open
KDIGI CMS 1.2.0 — AI-native
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 resourcekcms://guide/contentand the promptswrite-post/refresh-seo. Authentication is a user API key inAuthorization: Bearer …; every call runs as that user with normal access rules, honours admin edit locks and requiresexpectedUpdatedAtfor writes to existing documents. Enabled by default;MCP_ENABLED=falseturns it off. See docs/ai-integration.md. kcmsCLI (@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, andkcms mcpstdio bridge. The repository is now a pnpm workspace.- Agent skill
skills/kcms(Agent Skills format) teaching the editorial workflow; installed withkcms 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
403instead of a generic500. - README,
package.jsondescription and the docs index now present KDIGI CMS as an AI-native CMS;docs/architecture.mddocuments the agent surface (src/agent-api,src/mcp,packages/kcms-cli,skills/kcms).
Fixed
- Partial updates (REST/GraphQL
PATCHthat omit the field) no longer overwrite a filledexcerptwith an auto-generated one, nor wipeseo.breadcrumbs.
KDIGI CMS 1.1.0
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
Fixed
- WordPress migration, media phase:
Mediagained the hiddensourceMediaIdidempotency key (migration20261103_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-runon an empty database no longer reports missing inline-image targets as errors.
KDIGI CMS 1.0.0
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
Sitesdocument 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,authorwith site assignment. Only a super-admin can change a user'sroleor 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 (
videfault,enwith 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_KEYandDEEPSEEK_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.