This repository was archived by the owner on May 9, 2026. It is now read-only.
@clearcms/storage@0.2.2
Patch Changes
-
c7b4590Thanks @slavasolutions! - Late-2026-05-04 release batch:- admin — pages preview wiring (
PreviewPanelinPagePageEditor,type='page'branch in/api/v1/preview); page-scoped data editor (Data tab +pageData.saveaction + REST extension);schemaEditorsubsystem default-on; security: drop Astro's strict same-origin POST guard for single-operator network access. - spec — page-data meta-schema +
clear:widget+clear:widthextension keywords;widthFor()/widthSpan()resolvers. - storage — page-scoped
data.jsonread/write/delete helpers + layout-schema loader. - sdk —
cms.page(slug).datareturns parsed page-scoped data across all 4 backends (fs/REST/R2/S3). - create — scaffolder ships
/preview.astroroute and example layout schema intheme-examples/home.schema.json.
Note: this batch was published manually before Changesets was wired up. The next release runs through the standard CI flow.
- admin — pages preview wiring (
-
590abd8Thanks @slavasolutions! - Schema-first editor (Task 16, ADR-0020). Inverts the editor model so a schema-driven form is the canvas. TipTap moves from "always-on body" to awidget: "richtext"field type only present when the schema declares it. Two modes —form(default, 12-col grid) andarticle(full-canvas TipTap, opt-in for long-form prose like blog posts).- admin —
SchemaForm+ 10 widgets (text, textarea, richtext, number, url, date, image, select, array, object). PageItemEditor and PagePageEditor refactored to renderSchemaForminstead of a hardcoded Body tab. Empty-state CTA when a page has no layout schema. Bucket migration 0004 lifts existing page bodies intodata.json(with backup) and synthesizes default schemas for posts (article mode) + pages (default layout). Schema-editor UI gets editor-mode toggle + article-mode invariant validation. - spec —
editor: "form" | "article"keyword on collection + layout schemas.widgetlifted to first-class top-level (alongside legacyclear:widget). Newwidth: "full" | "half" | "third"keyword for grid layout (defaults: text/number/url/date/select → half; textarea/richtext/array/object/image → full). Helpers:validateArticleSchema,editorModeFor,titleFor,widthFor,widthSpan. - sdk —
cms.collection(<type>).get(<slug>).data.<field>andcms.pages.get(<slug>).data.<field>shape locked across all 4 backends. Schema-shape regression tests. - storage — page-data fs helpers stable.
- create — scaffolder ships an example article-mode
posts.jsonand a form-modehome.schema.json. README +docs/integrations/astro.mddocument the schema-first model.
- admin —