v3.3.22026-11-09
Editor and dashboard
- Reorder repeater items in the editor. Drag items or use the keyboard and move controls in the fields panel. This works for top-level and nested repeaters, including for content-only editors. Items keep their values and identities when moved.
- Edit more comfortably on phones and tablets with responsive dialogs, larger touch targets, and stacked editing panes.
- Create, rename, delete, and reorder pages more reliably. Newly created nested pages are easier to find, and previews use the correct page-type head settings.
- Retry failed saves without re-entering content. Inline text, rich text, image editing, and block selection are more reliable.
- Return to the same dashboard group and scroll position after editing, refreshing, or using Back and Forward. Starter sites clone faster.
- Content-only editors can update content while the server protects design code, field schemas, site settings, and domains.
Repeater reordering: move items earlier, later, first, or last from the fields panel.
Repeater move controls in the v3.3.2 editor, shown with a demo studio site
Page creation on mobile: the responsive Pages dialog keeps page details and controls within reach.
<img src="https://github.com/user-attachments/assets/670899b2-96a5-4178-a70c-dfce1fc93402" alt="Creating a page in the responsive v3.3.2 Pages dialog" width="360" />
Publishing and site transfers
- Publishing reuses unchanged page builds and scripts. Interactive blocks initialize independently, preserve distinct generated IDs across repeated sections, and better preserve rendered content and head elements.
- Site-wide fields resolve consistently across editing, import, and publication. Publishing validates routes, page structure, and references before replacing live output.
- Site and shared-library exports preserve CMS code edits. Partial site uploads preserve existing routes and sections, and larger CLI imports can use checksum-verified chunks through restrictive proxies.
- Archive imports support up to 512 MiB. Recovery snapshot uploads authenticate before streaming, use a default 256 MiB file limit with operator overrides, and remain available if publishing fails.
- Domain changes preserve existing published output and update sitemap URLs to the new hostname. Hosted setup includes Fly domain-provider support and readiness checks.
Local development and reliability
- Develop locally on the dashboard provides a setup prompt for a local agent. Approve CLI access in the browser using your existing CMS session.
- This CMS release pairs with Primo CLI 0.3.0 and Primo MCP 0.1.11. Both CLI 0.3.0 and MCP 0.1.11 are available on npm.
- The editor loads its core compiler assets from the CMS origin, starts compiler workers as needed, and recovers more reliably from interrupted downloads and temporary session refresh failures.
- Updated dependencies, stricter validation, and safer analytics handling improve security and privacy.
Develop locally: choose a local workflow and copy the setup prompt directly from the dashboard.
Develop locally dialog with agent and visual CMS setup options
Screenshots show v3.3.2 with demo content.
Compatibility and upgrading
- Back up the complete PocketBase data directory (normally pb_data) and any
separately configured file storage before upgrading. Stop writes while making
a filesystem copy, or use PocketBase's supported backup operation. Keep the
previous executable/image and verify that the backup can be restored into a
separate directory. Automatic push backups cover a site's or library's content;
they are not a substitute for a complete instance backup.
- Rehearse the upgrade on that copy. Database migrations run at startup. For
rollback, restore the pre-upgrade data and matching previous executable;
do not run the previous version against an already migrated database.
- Published sites now send Content-Security-Policy: frame-ancestors 'self'.
Same-origin embedding continues to work. Embedding a published site in an
iframe on another origin is blocked; check existing integrations before upgrading.
- Local development uses primo-cli@0.3.0 and primo-mcp@0.1.11. It requires
Node 22.13 or newer on the 22.x line, or Node 24 or newer. Building the CMS
from source requires Node 22.17 or newer on the 22.x line, or Node 24 or newer.
The standalone CMS executable does not require Node.
- Browser approval for CLI sign-in requires HTTPS when connecting to a server
outside the local computer.
Verified release assets
The five native binaries are the exact artifacts from successful qualification of commit b7538843. SHA-256 checksums are provided in SHA256SUMS, with a qualification record beside each executable.
Full changes since v3.3.1
Primo 3.3.2-rc.13预发布2026-10-29
Primo CMS 3.3.2-rc.13
Prerelease notes. Changes since CMS 3.3.1, paired with CLI 0.3.0-rc.3 and MCP 0.1.11-rc.3. This is a prerelease for desktop/new-site workflows. The coordinated CLI and MCP prereleases are available on npm’s rc channel. Their public archives match the qualified packages; stable channels are unchanged. Develop locally uses this complete version tuple.
- Mobile-friendly editing: responsive dialogs, larger touch targets, stacked editing panes, and separate mobile/desktop pane sizing. — Edit more comfortably on smaller screens without fighting desktop-sized controls.
- Repeater reordering: drag, keyboard, and move controls for root and nested items, including content-only editors. — Rearrange cards, FAQs, and other repeated content while preserving each item's values and identity.
- Stronger content-editor permissions: server-side restrictions protect design source, field schemas, settings, and domains. — Give clients useful editing access while protecting the structure and implementation of their site.
- More reliable page management: fixes for page creation, template copying, duplicate submissions, rename/delete/reorder, nested-page visibility, and page-list/sidebar layout. — Manage pages with clearer feedback and fewer interruptions.
- Retained drafts and failed-save recovery: entered values remain available after unsuccessful operations. — Retry without re-entering work, and avoid leaving unsaved changes behind accidentally.
- Steadier visual editing: fixes for inline text, rich text, images, selection, section outlines, blank links, and stale block movement controls. — Stay focused on content with fewer jumps, disrupted selections, and misleading controls.
- More accurate previews: correct page-type head inheritance, canceled-work cleanup, and deferred thumbnail resizing. — See previews that better match the final page, with fewer stale results and resizing errors.
- Dashboard navigation that remembers your place: group and scroll restoration across Back/Forward, refresh, and editor return; fixes for loading flashes, header jumps, and slow Library loading. — Browse large collections and return from editing without losing your place.
- Browser approval for CLI access: approve a local tool's access using the account already signed in to the CMS. — Let an agent continue development without asking for a password in a terminal; the user remains in control of approval.
- Agent-assisted local setup: Develop locally provides a server-specific setup prompt, installation and browser-approval guidance, a choice of agent or visual editing, tool verification, and startup/recovery checks. — Start building locally through agent chat and your browser without entering terminal commands yourself. Requires a command-capable local agent, installation/access approvals, and the coordinated published packages.
- Faster starter cloning: reused validation runtimes and cached field types reduce repeated clone work. — Create a new site from a starter with less waiting while keeping production validation.
- Consistent CLI publication: rich-text formatting, links, heading levels and image dimensions match the CMS publisher. — Keep the content and layout you authored when an agent publishes your site.
- Incremental publishing: reuse unchanged page builds and scripts, with cache invalidation when relevant inputs change. — Publish small changes with less compilation and uploading.
- More reliable published output: independent block hydration, preserved server-rendered content and head nodes, correct repeated-block head values, and safer inline-script escaping. — Reduce content flashes and interference between interactive blocks when pages load.
- CMS code edits survive export: edited HTML, styles and JavaScript take precedence over stale imported source in site and shared-library exports; unchanged files retain their original formatting. — Switch between CMS code editing and local files without silently restoring old code.
- Safer imports and exports: preserve nested fields, content identities, and current nested edits; resolve omitted parent pages and existing blocks in partial uploads. — Update selected files without silently disconnecting pages or dropping sections.
- Validation before publication: reject unresolved import references, duplicate routes, disconnected pages, and invalid homepage structures. — Catch broken structures before they replace the live site.
- Larger imports and better recovery snapshots: archive-import requests support up to 512 MiB; the default recovery-snapshot file limit becomes 256 MiB, preserving operator-configured limits. Snapshot uploads stream, authenticate early, and remain available when publication fails. — Handle larger, media-heavy sites and backups more reliably with less memory pressure.
- Safer domain changes and hosting support: retain published output when changing domains; add Fly domain-provider integration, capability/readiness information, managed-bootstrap checks, and owner-only account enforcement. — Support clearer hosted setup and domain changes without unintentionally publishing unfinished drafts.
- Startup and recovery improvements: lazy compiler workers, failed-download and worker recovery, same-origin core compiler assets, preserved sessions during temporary refresh failures, and safer realtime/presence cleanup. — Reduce blank screens, unnecessary sign-outs, and editors stuck after reloads or interrupted requests.
- Security, caching, and privacy updates: refreshed dependencies, production record validation, response headers, published-content revalidation, sensitive-URL removal from analytics, and authenticated CMS-open/login events. — Address known vulnerabilities, reduce stale content, protect authentication information, and measure actual usage more accurately.
- Proxy-safe imports: bounded, checksum-verified archive chunks and one guarded final import. — Sync larger sites through restrictive hosting limits without manually splitting archives or exposing partially imported content.
- Consistent site-wide fields: owning-site keys and IDs resolve correctly in editing, imports and publishing; invalid references reject before replacing live output. — Keep shared values consistent across the editor, previews and published pages.
Compatibility and verification
- Use CMS 3.3.2-rc.13 with CLI 0.3.0-rc.3 and MCP 0.1.11-rc.3. Local development requires Node 22.13+ on the 22.x line or Node 24+, plus a command-capable local agent and user installation/browser-access approvals. CMS source builds require Node 22.17+ or 24+.
- Published pages use same-origin framing. Broader customer rollout, custom domains, physical-device qualification and legacy migrations retain separate gates.
- Five-platform native and installed-package qualification, source browser compatibility and release safeguards pass at the frozen source. The first Firefox source attempt is retained; its unchanged-source rerun passes.
- Native assets are copied from those tested artifacts. SHA256SUMS and each asset’s qualification sidecar verify the exact executable identity. Stable npm and container channels remain separate from this prerelease.
- Fresh public-download onboarding passes on macOS ARM64 with official Node 22.17 and Node 24.0, empty homes and package caches, actual npm versions and the exact published CMS tag. All 224 CLI/MCP shipped files match the qualified packages. Browser decline/approval, scoped pull, MCP docs/status/logs, preview, reconnect and shutdown pass with zero user terminal steps; the Node 24 visual-edit choice also writes changes back to local
v3.3.12026-10-11
v3.3.1 adds safer publication, image focal-point editing, clearer page creation, collaborator site access, and fixes for reusable defaults, repeaters, imports, and editor previews.
What's changed
- Collaborator sites and existing-account invites: site-only collaborators now land on a simple grid of every site shared with them across groups. Server users can invite eligible existing accounts from site-card menus; email matching ignores whitespace and capitalization, and existing accounts receive a dashboard link without creating duplicates. #1316
- Safer publication: track draft/public freshness and activate a new public build only after successful generation. Failed publications keep the previous site live. The editor uses the same guarded publication flow, with older-server fallback. #1300
- Fresh block scripts: version hydration imports so updated block styles do not get paired with stale browser-cached JavaScript. Failed compilation or asset uploads stop publication before activation. #1305
- Reusable defaults and repeaters: preserve nested group/repeater defaults when saving section fields, keep empty repeater items and their ordering through export/import, and show uploaded or unsaved replacement images in repeater headers. #1302, #1303, #1304
- Page creation: keep forms, errors, and new page/subpage rows visible. A single loading row becomes the completed page in place, while concurrent submissions are rejected with an inline error and remain available for retry. #1306, #1307
- Analytics enabled by default: hosted and self-hosted production instances now report usage automatically. Set PRIMOENABLEUSAGE_STATS=false to disable both product events and instance heartbeats. Development/test mode remains excluded, and background heartbeat delivery cannot delay startup. #1301 See Usage Analytics for the default and opt-out setting.
- Image positioning: choose a focal point from inline image editors or image fields, preview responsive crops, and use the derived position value in blocks. Position-only edits preserve uploaded files, and contained-image clicks account for letterboxing. #1290, #1295
- Stable editor previews: reuse preview imports, release iframe observers, and preserve mounted components and images when text changes. #1288, #1298
- Pages and sidebar: prevent the Home row jumping when Pages first opens, handle missing home pages, keep page forms open after duplicate URLs or failed saves, and stop sidebar resizing after pointer release or window blur. #1292, #1293, #1297
- Dashboard and authentication: return to the requested dashboard after automatic login, fade site groups, load local thumbnails reliably, and improve menus, dialogs, loading states, and empty states. #1291, #1296, #1297
- Local code inspection: format code panels automatically in the local viewer. #1294
- Active navigation: resolved page links expose an active boolean for the rendered page; raw URLs and deleted references remain inactive. #1282
- Portable imports: repair foreign upload references in YAML, YML, and JSON, preserve unchanged file bytes, accept exported _id field metadata, and prevent field-name collisions across content scopes. Ambiguous or unresolved references remain warnings. #1283, #1285, #1286
- Dashboard previews and layout: keep thumbnails styled without page-script hydration, refresh them after publishing, and align sidebar tabs beneath the toolbar. #1276, #1287
UI highlights
Image positioning and responsive crops
Choose the subject’s focal point and see how the image crops on phones, tablets, and desktop screens.
Image positioning dialog with a focal-point marker and responsive crop previews
Dashboard previews and site groups
Styled homepage thumbnails make sites easier to recognize while browsing groups.
Sites dashboard showing styled homepage previews organized in a site group
Refined sign-in forms
Consistent spacing, a password-visibility control, and clear sign-in and password-reset actions.
Updated sign-in form with password visibility toggle and password-reset link
Clearer page creation
The Pages dialog shows the page name, generated URL slug, and an explicit Create page action together.
Pages dialog with page-name and URL-slug fields and a Create page button
Sites shared with collaborators
Site-only collaborators can browse their assigned sites across groups from a simple dashboard.
Collaborator dashboard showing two shared sites without server management controls
Validation
All five platform binaries were rebuilt from the release commit in the release workflow. Uploaded asset checksums match the build artifacts, and embedded version/source metadata was verified. The macOS ARM64 release binary reports v3.3.1; runtime checks confirm analytics enabled by default, disabled by PRIMOENABLEUSAGE_STATS=false, and disabled in development mode. External heartbeat delivery was blocked during the smoke checks.
The CMS changes, including #1316, were merged with passing required checks and resolved review threads. The final combined candidate passed the production frontend/shared compiler/server build, full Go suite, 42 integration tests, and browser E2E (36 passed, 1 existing skipped case). CodeQL and CodeRabbit passed before the final merge. Ten focused page-creation/UI browser checks passed after reconciling the scrolling changes. All eight focused collaborator-invite and UI-polish checks passed after fixing the rename test’s group selection and removing routine debug screenshots.
Analytics remains enabled by default for production and supports self-hosted opt-out with PRIMOENABLEUSAGE_STATS=false. Analytics regressions cover real content-save event emission, opt-out silence, and development silence; intercepted requests prevent test activity from reaching live metrics.
Repository-wide type checking still reports existing diagnostics: 316 errors and 64 warnings
v3.3.02026-10-01
The new Create Site wizard — choosing a marketplace starter with a live preview
Upgrade notes
- Update the CLI with the server. Pushes are now guarded against overwriting newer server edits, and this needs primo-cli 0.2.0 (npm i -g primo-cli@latest). Older CLIs get 428 Push requires a sync baseline when pushing to an existing site; 0.2.0 won't push to servers older than 3.3.0.
- Two migrations, applied automatically on start: blocks and page types gain a folder field (see "Pull keeps your folders" below; existing records fall back to their name-derived folder until they're next imported), and the default rate limits are scoped to signed-out requests (see below). Tested by upgrading a 3.2.8 instance in place: sites, published pages, and content came through unchanged.
- Local development: stop any running primo dev before upgrading the CLI, then start it again with the new version.
What's new
Pushes can't silently overwrite client edits anymore (#1263)
primo push used to re-upload your local files wholesale, so a push from a stale pull quietly replaced anything a client had changed in the CMS since. Pushes now carry the revision they were pulled from, and the server refuses one that's out of date, before any write:
``
demo: changed on the server since the last sync (or was deleted).
Nothing was changed. Save your local work before pulling. An intentional overwrite requires --force.
`
Pull, redo your change, and push. --force is still there for a deliberate overwrite: it asks for confirmation, and saves a downloadable backup of the server's version first (server-side under pushbackups/, plus a local copy). The check covers sites and the shared library, including additions, deletions, field edits, and reordering, and re-runs inside the import transaction so a late edit still stops the push. See SAFEPUSH.md for rollout and recovery details.
A redesigned Create Site wizard (#1272, #1278)
Adding marketplace blocks in the Create Site wizard, with the selection listed on the right
A clickable stepper, a pinned Back/Next footer, and one shared layout for picking a starter and adding blocks, with group chips on narrow screens. The wizard fills the window and its panes scroll on their own, including on the first-site screen.
Marketplace starters without a domain now preview. Many starters are served by id rather than their own domain, and their thumbnails and live preview never loaded; they now load through the marketplace's preview route.
Editor polish (#1266, #1270, #1271)
Browse mode (files-author) with the Preview dialog open
- The editor renders in embedded browsers. The nested Svelte compiler worker is inlined, so the canvas no longer comes up blank in in-app browser panes.
- Pages fade in once, when they're ready. The canvas waited for nothing while the section list loaded, so sections popped in one by one. It now fades in when every section (header, body, and footer) has rendered, and the spinner covers single-section pages too.
- Spinners animate in Safari. Both were SMIL icons, which Safari draws as static glyphs; they're CSS now, and announce "Loading" to screen readers.
- Browse mode can build a preview. With primo dev in files-author mode, the toolbar's Preview button (and p hotkey) builds the local preview again, without snapshotting or committing records the next pull would discard.
Import and pull fixes (#1264, #1273, #1274)
- Internal nav links survive import. A url field whose value was the path of an existing page (/, /tours) in a site-level repeater imported as empty, so nav menus lost every internal link. Link-to-page conversion now applies only to real link fields.
- Pull keeps your folders. Blocks and page types are addressed by folder, but pull rebuilt folders from display names: a block in blocks/hours-cta/ named "Hours & CTA Strip" came back as blocks/hours-&-cta-strip/, with references rewritten. The imported folder is now stored and exported back, and pages can reference a page type by folder even when its name slugifies differently.
- Pulled files are stable. allowed_blocks is written in a fixed order instead of reshuffling on every pull, and page-list fields keep the page type's folder name instead of its server id.
- Nested pages push after a parent is re-keyed. Pushing nested pages failed with "Failed to find all relation records" when a parent page's id changed.
Fixes that also affect 3.2.x (#1279, #1280, #1281)
- Editors are no longer rate-limited. Rate limiting (on since 3.2.7 as a login brute-force floor) used PocketBase's default rules, which throttle signed-in users too: about 20 record creates per 5 seconds. The editor creates one record per field, so adding a block, including in the Create Site wizard, could fail with 429s partway through. The create, batch, and API-wide limits now apply only to signed-out requests; login attempts are still limited for everyone. Rules you've customized are left as they are.
- Sites with an empty page publish. A newly created page with no sections made every publish of that site fail ("Unknown error") until the page got a section.
- Self-hosted installs opened at localhost are editable. A production binary or Docker image opened at http://localhost:8090 showed the editor in read-only Browse mode with no Publish button.
- The Create Site wizard finishes cleanly. If adding blocks fails it closes with a warning instead of hanging over the new site, and new sites go into the group you're viewing.
Dashboard (#1261, #1262)
- Site thumbnails no longer go stale after publishing.
- Leaving the editor returns you to the site's group.
- A site's host is only linked when it's a plain hostname, so a malformed host can't send you somewhere other than what the card shows.
Better guidance for AI agents (#1265, #1275)
Exported sites' AGENTS.md now includes content-design defaults (site vs. page vs. block fields, what belongs in allowed_blocks, when to reuse page types) and a Fields reference: valid field types, subfields: for nesting, and the site-field / page-field` reference formats.
Release testing
This release was checked by having fresh Claude sessions build real sites (a clinic brochure, a photo blog, a three-client agency workspace, a hosted client hand-off, and a no-MCP build) with the CLI, MCP server, and this server built from source, then independently verifying each result: validation, static builds, and a push → pull round trip against a fresh server. The fixes above, plus primo-cli 0.2.0's and primo-mcp 0.1.9's, came out of three rounds of that.
v3.2.82026-09-24
Primo marketplace — Starters/Blocks tabs, categories, and live starter previews
What's new
The editor gets a page outline, and the canvas gets a frame (#1250, #1251)
The editor's page outline — every section listed and draggable to reorder
A long page is now navigable at a glance. The sidebar's Outline tab lists the page's sections in order — shared header and footer marked as such — each one clickable to select and scroll to, and draggable to reorder. Reordering previously worked only on a freshly created page: a drop needed a blank area of canvas to land on, so on a page that already had sections there was nowhere to drop. It now works on any page, and the panel keeps its selection and hover state in step with the canvas.
Around it, the canvas is framed: a 16px gutter and a rounded sheet with a soft shadow, so the page reads as a page rather than butting straight into the toolbar and sidebar. (Recovered from #1231, whose banner half was superseded by #1233.)
Editor and publishing fixes (#1252, #1253, #1256, #1257)
- Publishing a freshly created site no longer fails on the first attempt — the client retries once while the new site's data settles server-side, instead of reporting a publish error for a site that was healthy a moment later.
- The toolbar reads the editor's site context reactively. It pulled the context apart once at mount (const { value: site } = …), so an in-place update to the cached record — notably update_record after the domain endpoints returned — never re-rendered it, and the publish dialog kept showing a stale, empty host until a full reload.
- The section editor no longer opens in a dirty state. It seeded its "original" baseline before the section's content had arrived, so the dialog claimed unsaved changes on a section you had never touched, and could block navigation behind that phantom edit.
- fields.yaml mistakes now speak up. An unrecognised key on a field definition — or the legacy fields: shape — was silently ignored on import, so the field quietly didn't work. Imports now warn with the file, path and field; repeaters and groups that declare no subfields warn too; and page types report nested subfields as unsupported rather than dropping the children in silence (implementing nested page-type fields is tracked in #1259).
- A page type's Body Footer HTML renders again (via #1255) — it was being dropped when a page rendered from a page type's layout.
Browse mode is now an honest read-only inspector (#1233)
The editor in Browse mode — "Browse · Local files", with the section's fields rendered read-only
In primo dev with the default --author files, local files are the source of truth and the CMS is a projection of disk — but the editor still looked fully editable. Typing into a field and pressing Save silently discarded the edit (the old build posted a full-width apology banner explaining exactly that).
Files-author mode is now visibly read-only: fields, toolbars, drag-and-drop, symbol toggles, and the code editors render disabled instead of live-but-doomed, mod-S / mod-Enter no longer fire, and only the input types that actually honour readonly are allowlisted. The lock is held from the very first paint, is re-confirmed against dev-auth on refresh, and fails closed — if the check doesn't return a valid mode, the editor stays locked rather than guessing.
The editor no longer hangs on a stuck section (#1236)
The page spinner cleared only when every section reported a mount, and mounting requires an iframe — so a section whose content never resolved never compiled, and the canvas spun forever behind the spinner. The editor now stops waiting on a section that can't mount instead of hanging the whole page. (Resilience half of #1235.)
Domain-connect and dashboard fixes (#1230)
- Connecting a domain now refreshes the editor's cached site record, so a manual/external connection appears immediately rather than after a full reload (#1230, #1253).
- Mobile sidebar and tab-clipping fixes.
- Dashboard previews no longer show stale thumbnails.
Marketplace and editor polish (#1232)
Blocks/Starters are header tabs with scroll position preserved between them; the editor toolbar shares one button style with aria-labels on icon-only controls; dashboard catalog cards share a single stylesheet.
E2E regression suite, now running on every PR (#1237, #1240)
A Playwright suite covers the core promise — a developer builds a site, hands it to a client for visual editing, and later development doesn't silently destroy the client's content — against a disposable, isolated instance (seeded through the pinned primo-cli, no real data, no paid services).
It now runs in CI on every pull request, including Dependabot's — which auto-merge.yml had been merging with only static CodeQL analysis behind them, never actually exercising the code (including bumps to libraries the editor's drag interactions sit on).
Product analytics restored (#1238)
Telemetry was fully wired but hardcoded off since "disable telemetry" — the client never tracked product events at all, only unhandled exceptions. The existing PostHog integration is enabled again with a transparent, privacy-conscious default, and the client now reports product events.
Server: assigned group id, and ids for nested index pages (#1243, #1244)
- Bootstrap returns the authoritative groupid** in both branches (with and without an import). The store can regenerate a supplied id, so clients mirroring server.yaml drifted from the database — the reported symptom was server.yaml saying architecture1 while the database held a generated id. Clients can now reconcile.
- createdids write-back covers nested index pages. The import keyed ids by "pages/" + path + ".yaml" while path has any trailing /index stripped for routing, so pages/services/index.yaml was recorded as pages/services.yaml. Nested index pages were the one page kind left without an id; primo add now mints them too.
Dependencies
- @iconify/svelte 5.2.1 → 5.2.2 (#1191, dev).
- tailwind-variants → 3.3.1 (#1245, dev).
---
Note for operators: the image is built and deployed when the release is published, not when the tag is pushed (introduced in v3.2.7). This tag only produces a draft release with the platform binaries; publishing it is what rolls :latest and triggers the Railway deploy.
v3.2.72026-09-08
What's new
Fixes
Seed the library on a fresh deploy, before any account exists (#1221)
primo deploy uploads the whole workspace right after the server passes health — before any account has been created. Sites already seeded fine unauthenticated (/api/primo/bootstrap is unauth-but-guarded), but the library import hard-required auth, so library/ silently failed to load on every first deploy.
- /api/primo/import-library now allows the unauthenticated path only while the server has zero sites and an empty library — the same fail-closed, fresh-instance-only window bootstrap uses.
- The setup screen now shows what was seeded ("Already loaded on this server — N sites, M library blocks") so a fresh deploy is verifiable at a glance.
Keep gating setup until an account actually exists (#1224)
Merely visiting /admin/setup latched the "setup completed" flag, so an abandoned setup left the instance stranded at the /admin/auth sign-in — with no account in existence to sign in with.
- The flag now latches only once a real superuser exists; until then every non-setup /admin/* page (including /admin/auth) redirects back to /admin/setup.
Fix domain-assignment dead-ends and manual-provider honesty (#1225)
A batch of fixes to the assign-a-domain flow, mostly for self-hosted (manual provider) instances.
- Dashboard no longer links to unconnected domains. Site cards and post-create redirects previously used //host/... as soon as a host was assigned, even with no DNS/cert behind it — a connection-error dead-end. Links now route through the editor-by-id URL until the domain is a base subdomain or actually live.
- The manual provider stopped pretending. It used to hand out a placeholder CNAME and optimistically flip an external domain to "live" after one poll. External domains now stay pending with plain point-your-DNS guidance and a Mark as connected button (POST /api/primo/sites/{id}/domain/mark-live) for when the operator has wired up DNS + TLS.
- Mark-as-connected sticks. A later status check re-persisted the provider's unverifiable pending, silently reverting the operator's confirmation. The status endpoint now serves the stored live for the manual provider instead of overwriting it.
- The connect dialog keeps its state. After a successful attach (and after cancelling a domain change) the dialog reset to its empty initial prompt because the seeding effect re-ran against a stale site snapshot; it now transitions in place to the connected view. DNS record rows are also keyed by index, so two records sharing type+host (e.g. verification + ACME TXT) can no longer crash the list.
---
Note for operators: instances following the :latest image (including Railway) have already auto-upgraded to this release. Starting with the next release, the image is built and deployed when the release is published, not when the tag is pushed (#1226).
v3.2.62026-08-20
What's new
Fixes
Preserve page id on re-import so cross-file page: links resolve (#1217)**
Internal page links (nav, footer, in-content) reference pages by their exported id (page: <id>). The importer previously only honored that id when creating a brand-new page, so a page matched as "existing" kept its old record id — every link pointing at the file's id resolved to an empty URL and silently rendered as href="#". This surfaced on primo.build: a pulled Pricing page got a fresh record id while content.yaml still linked to its exported id, leaving a dead nav link.
- The page lookup in importPage is now parent-scoped, so importing /support/docs can no longer match and merge an unrelated /product/docs (both named "Docs").
- The _id-preservation branch now also runs for pages matched as existing, keeping cross-file page: references intact on re-import.
Fix :5173 dev server, onboarding docs, and unassigned first-site redirect (#1215)
Two follow-ups to the unassigned-host-sites feature (#1213) that were stranded off main.
- Unassigned first-site redirect — the localhost "redirect to first site" path used firstsite.host as a hostname unconditionally. For an unassigned site (host === id) that turned the id into a domain (DNSPROBEFINISHEDNXDOMAIN), so the operator could never reach their first site's editor. It now routes through siteeditorurl, sending unassigned sites to /admin/sites/{id}.
- Dev server + onboarding docs — points developers at :8090 (Go/PocketBase serves the built app and /api/primo/* together) as the URL to actually use, and explains that :5173 is frontend-only and 404s all backend calls. Adds a WSL2/git note to prerequisites.
Security
Enable login rate limiting so brute-force has a floor (#1216)
auth-with-password (the login endpoint) had no brute-force protection, and Railway puts no WAF in front of the instance. This enables PocketBase's built-in IP rate limiter; its default *:auth rule (2 requests / 3s per IP) already covers login.
- Delivered as a dedicated migration with a fresh identity so it runs on existing installs, not just fresh ones.
- PRIMORATELIMIT=off opts out, for self-hosters running behind their own proxy/WAF.
---
Note for operators: running instances pick this up on their next redeploy/restart onto the new :latest image.
v3.2.52026-08-17
What's new
Custom domains + unassigned-host sites (#1213)
Sites can now connect a real custom domain from the dashboard or the publish dialog.
- Connect-a-domain flow — enter a domain, get the exact DNS records to create at your registrar (routing CNAME + Railway ownership TXT), and the dialog polls until the certificate is live. Live domains collapse to a read-only view with a "Change domain" option.
- Providers — Railway (hosted) attaches + verifies + issues certs automatically via its API. A manual fallback (default, self-host) returns generic DNS guidance; routing/TLS is the operator's reverse proxy. Re-entering a domain already attached to the instance now adopts it instead of erroring.
- Unassigned-host sites — multi-site instances can create a site with no domain yet (editor-only until one is assigned); assign a domain later from the dashboard.
- Changing a site's domain regenerates it under the new host and tears down the old host's files.
Speed up publishing with incremental compiling — server fields (#1205)
Adds compiledhtmlhash / compiledjshash so the compiler can skip unchanged pages/symbols. No-op until the primo-mcp compiler side lands; existing rows recompile once to populate the hash.
Plan limits enforcement (#1204)
Hosted instances now enforce their tier's site and editor allowances.
- Site cap (instance-wide) on site creation — covers dashboard, primo push/import, and clone.
- Editor cap (per-site) on adding another editor-role collaborator.
- Caps read from configvalues, falling back to PRIMOSITECAP / PRIMOEDITORCAP. A cap of 0 / unset means unlimited** — self-host is never restricted.
Fixes
- Fix broken Railway deploy links in the README (#1211)
---
Note for operators: running instances pick this up on their next redeploy/restart onto the new :latest image.
v3.2.42026-07-10
Fixes
- Fix primo push 300s timeout on content-heavy sites (#1200). The import was doing a per-record delete-and-recreate of all content entries on every push, and every entry Save triggered PocketBase relation-existence validation — ~33,000 SQL statements for a 44-page site, enough to blow Railway's un-raiseable 300s edge timeout. Redundant import work is now skipped so pushes stay well under the limit.
- Make file→CMS upload sync idempotent (#1203). Every push re-uploaded unchanged images: an already-suffixed upload picked up another hash suffix and a fresh siteuploads record each time, orphaning the prior one and growing a single image into many byte-identical duplicates — pushes resent everything until they aborted. Reconcile now matches incoming uploads by content hash first (filename second), so an unchanged image is a no-op regardless of the name sent, and bootstrap returns createdids so the CLI's first push can write back canonical names.
- Don't drop link fields while the referenced page is still loading (#1199). A link field to an unloaded page was omitted entirely, so blocks reading link.label/link.url crashed until the page happened to load. It now emits a well-formed link object immediately (empty safe_url until resolvable) and lets reactivity fill in the URL.
- Harden on-page repeater matching against entry reorder (#1201). On-page edits to repeater subfields could bind to the wrong row and appear to revert when storage order diverged from render order (after a row reorder or CLI re-import). Matching no longer relies on entries arriving in render order.
Changes
- Enable daily backups by default on fresh deploys (#1202). A new deploy now gets a default 0 3 schedule (keep 7), overridable via PRIMOBACKUPCRON and never clobbering a schedule set in the admin UI. Backups land on the pbdata volume — a floor, not off-site protection; configure Backups.S3 for durable backups.
- Publish the :latest Docker tag explicitly, and document it for Railway (#1197). :latest now reliably tracks releases rather than being an implicit side effect. Railway/self-host deployers should follow ghcr.io/primocms/primo:latest for auto-updates — the one-click template's :main is a rolling build, not a release.
- Move the version label out of the editor toolbar into the profile popover (#1196). It now reads as a subtle muted line in the dashboard sidebar dropdown instead of sitting prominently next to the publish controls.
- Remove dead SSH deploy jobs from CI (#1195). Both jobs SSHed to the retired palacms.com host and failed on every release tag / every push to main; images are still built and pushed to ghcr.
- Ignore local-only internal/SPEC-.md design specs** (#1198).
v3.2.32026-07-02