Repository navigation
feat(schema): add versioned block type definitions - #3314
Conversation
|
Scope checkThis PR changes 1,804 lines across 15 files. Large PRs are harder to review and more likely to be closed without review. If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs. See CONTRIBUTING.md for contribution guidelines. |
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/auth-atproto
@emdash-cms/blocks
@emdash-cms/cloudflare
@emdash-cms/contentful-to-portable-text
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/plugin-cli
@emdash-cms/plugin-test
@emdash-cms/plugin-types
@emdash-cms/registry-client
@emdash-cms/registry-lexicons
@emdash-cms/registry-loader
@emdash-cms/registry-moderation
@emdash-cms/registry-verification
@emdash-cms/sandbox-workerd
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-field-kit
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://codex-blocks-registry.try.emdashcms.com, https://codex-blocks-registry-emdash-playground.emdash-cms.workers.dev (commit d88d0f1)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
0baf8fa to
ad661de
Compare
Overlapping PRsThis PR modifies files that are also changed by other open PRs:
This may cause merge conflicts or duplicated work. A maintainer will coordinate. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | d88d0f1 | Sep 23 2026, 03:37 PM |
ad661de to
d88d0f1
Compare
What does this PR do?
Adds database-owned, versioned block type definitions. It introduces the block type and retained-version tables, deterministic fingerprints, compatible and breaking update classification, inactive breaking versions, explicit activation, seed-safe exact version handling, and SQLite/D1 coverage.
This is B0 of stack #3321. The complete feature changeset is intentionally carried by the final stack PR, #3320.
Responds to #337
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change)pnpm formathas been runAI-generated code disclosure
Screenshots / test output
Not applicable. Covered by block registry unit, SQLite/PostgreSQL-compatible integration, migration retry, and workerd/D1 tests.