Release 0.1.27 - #43
Conversation
Ships everything merged since the published 0.1.25 (0.1.26 was bumped but never published). New: primo mcp install/list/print; primo init MCP wiring; primo status; primo preview (and primo new generates it). Fixed: validate rejects YAML build can't parse; build page-section defaults, comment-only layout crash, head_props warning flood, and failed pages now exit non-zero; group-id notice + writeback; add re-run messaging + site_exists auth; new scaffold drops hand-authored _id and adds page-type head; display-name casing; site-registration messaging.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe ChangesPackage version update
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other Merge Risk: ⚪ Minimal · up to The version metadata mismatch is optional synchronization and does not block release workflows. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Release 0.1.27
Bumps
primo-clito 0.1.27. Everything since the published 0.1.25 (0.1.26 was bumped but never published).New — agent setup and preview
primo mcp install/mcp list/mcp print— wire the officialprimo-mcpserver into the clients on your machine (Claude Code, Claude Desktop, Cursor, VS Code / Copilot, Codex, OpenCode, Gemini CLI, Cline, Windsurf, Continue, Zed). Merges only theprimoentry, preserves everything else, backs up, idempotent. (Addprimo mcp installfor multi-client MCP setup #27)primo initwires MCP clients — detects them and offers to connect, so a fresh workspace has Primo tools before the first agent session.--yes/--no-mcp;primo-mcpis now a dependency. (Wire Primo MCP duringprimo init#28)primo status— workspace, server, sites, groups, and last-import state, with--json; reads live CMS state via the local dev token when the server is up. (Addprimo status— workspace, server, sites, and sync state #34)primo preview— regenerate a site's published preview from the CLI (no MCP client needed);primo newgenerates it so the URL it prints actually works. (Addprimo preview— rebuild a site's published preview from the CLI #35)Fixed — correctness and build signals
primo validaterejects YAMLprimo buildcan't parse — pages, blockcontent.yaml, page-typelayout.yaml,site/content.yaml. (Reject page and content YAML the build cannot parse #29)primo build— page sections fall back to block defaults; a comment-onlylayout.yaml(whatprimo newscaffolds) no longer crashes the build; generated head bindings stop flooding Svelte'sstate_referenced_locallywarning; and a page that renders the fallback error page now fails the build (non-zero) instead of exiting 0. (Fix page-section defaults, comment-only layouts, head warnings, and silent failures inprimo build#33)primo dev/primo addexplain that the server assigns group ids on import and matches by name; the CLI writes the server-assigned id back toserver.yaml/site.yaml. (Explain that Primo assigns site-group ids on import #32)primo add— reports "already registered — re-imported" on a re-run, andsite_existsauthenticates so existing sites take the additive import path rather than bootstrap. (Authenticatesite_exists; makeprimo addre-runs legible #37)primo new— no longer hand-authors_ids (the server mints them) and now emitspage-types/default/head.svelte+ theseo_*fields. (Drop hand-authored_ids from theprimo newscaffold; add page-type head #36)primo new harrow-stonenow yieldsHarrow Stone. (Title-case the display name derived from a site's folder #31)primo add/primo new. (Clarify site-registration messaging inprimo addandprimo new#30)Sequencing
primo-mcp0.1.8 first —primo preview's happy path needs itsprimo-mcp/compilersubpath (mcp Fix dev watcher silently dropping re-created files #18). The command degrades with a clear message on olderprimo-mcp._idfix depend on a server (binary) release containing primocms/primo #1243 / #1244.docsAccept body sections in layout.yaml #2 / Refresh stale server binary instead of reusing it forever #3, already merged) only match npm once this publishes.Summary by CodeRabbit
primo-clipackage version to 0.1.27.