Appearance
Changelog
What changed for people building on Flatnode: the API, the admin, and the terms you use it under. Internal and operational work is left out. Dates are release dates.
Unreleased
On main, in the next release.
- An integration can tell before writing whether it may publish.
GET /projectnow answersworkflow.requireApproval,workflow.allowSelfApprovalandtoken.abilities, and needs no ability itself; only therootinside it still needs a document read, and isnullwithout one. A403for a missing ability names the ability instead of "Invalid ability provided", and the422from promoting a draft under required approval names the setting that caused it. - Every JSON Schema combinator is accepted in a component schema.
allOf,oneOf,not,const,if/then/elseandanyOfbeside atypeare constraints the validator enforces;["string", "null"]is a nullable string and["integer", "number"]a number; a bareconstorenumimplies its kind; anallOfof objects is one object. What is refused, when the component is saved and naming the field, is a field whose branches have different kinds - a choice between shapes is a slot. A schema the runtime could not store used to save cleanly and fail at the first write;anyOf, documented as supported, never stored a value. The schema builder authors "may be empty" and anenumlist. - An invitation link works for someone without an account. Clicking it logged out leads to registration, with the invited address filled in, or to login for an existing account, and either way back to the link, which then accepts. The mail has one button instead of two.
- An invitation link accepts again. Every signed link answered
403 Invalid signaturebehind the production proxy, because the app did not actually trust it and so validated the link againsthttp://while it had been signed overhttps://. The proxy is trusted now.
v0.13.0 — 2026-11-29
- A library
$refnames its library by uuid..../library/<uuid>#and.../library-entry/<uuid>#are the stored form, so renaming a library, or deleting one and creating another under the same title, never moves what a field points at. A slug in that position is still accepted when you write a schema and is rewritten to the uuid on save; schemas stored before this release are rewritten once on deploy. The schema builder's library picker writes the uuid. - A value longer than its column is refused with a
422, never a500. Every stored text column has a width (255 characters for titles, captions, names and a link's text and url; 500 for a rejection reason), and a write past it used to fail inside the database in production while passing in every test. The limit is now checked before the write, on every database. A link'stextandurlare refused the way a Text field is, naming the field; an upload'sfilenameis bounded at 255. - A search hit is keyed
_uuid, like every other resource.POST /queryused to answer each hit with anidsuch asfile-8, the index's own key built on a row id, next to auuid. Theidis gone,uuidis now_uuid, and the related identifiers aredocument,libraryandfolderwithdocumentTitle,libraryTitleandfolderPathbeside them, the wayparentandfolderalready read on documents and files. A client keying a results list onidwants_uuid. - API tokens have their own screen, in the project sidebar, linked from the Overview and from Settings, instead of a form below the activity feed on the Overview. Every ability checkbox carries the catalogue's own label and description, so "Search" and "Validate" are no longer two checkboxes both called "Read". The docs' Getting a Token section walks the five steps. The screen's link can prefill the form (
?name=&abilities=&expires=), so a tool or an agent asking for access sends a URL and the owner only checks and clicks Create; the one-time reveal has Copy buttons and a shell setup snippet that makes the first call. - The API has an entry point.
GET /projectanswers the project behind the token: its title, the locales it publishes in with the default first, and its root document in full. A consumer no longer copies the root's uuid out of the admin or hardcodes the languages. GET /documentanswers full document rows, the same resource every other document endpoint answers, so slug, parent,publishedand tree position are there without walking the tree, and the root is the row whoseparentisnull. A client readingidfrom the listing now wants_uuid.?limit=without?offset=answers the first page instead of a422, on this listing and on files and libraries.- A link inside rich text can point at a page or a file of the project, by uuid, not only at an address. A read resolves it to the page's current path, its title and whether it is published, so a rename never leaves a dead link and a withdrawal is visible; the editor picks the page or file the same way a link or file field does.
- A Rich text field says what it may contain. A
richtextkeyword on the field lists the marks, blocks and heading levels it allows, each key overriding the project-wide setting; the schema builder offers it per field. The set is enforced: a write using a block or mark the field does not allow is a422naming it, and the project default is enforced the same way for the first time. - The API has a machine-readable contract: an OpenAPI 3.1 document at
/openapi.yaml, describing every endpoint with the token abilities it needs. Hand it to a client generator; see OpenAPI specification. - One response shape for every resource. Libraries and library relations answer
_uuidand lowerCamelCase keys like everything else:Uuidis_uuid,ComponentUuidiscomponent,FilterableFieldsisfilterableFields,LabelFieldislabelField.GET /componentandGET /component/{uuid}answer the same resourcePOST /componentdoes, with the schema document underdata.schemaand the handle insidedata; the list no longer carriesidandconfiguration. A client reading the old keys has to change. GET /file/{uuid}/rendertakes?variant=<uuid>and sizes that crop instead of the original, so an image field'svariant_idsurvives into asrcset. An unknown render parameter, including a misspeltvariant, is now a422instead of being ignored.- Rich text is a structured document of blocks and marks, not an HTML string. Ask for it rendered with
?richtext=htmlor?richtext=texton documents, content and library entries; the document tree is the default. The admin edits it in a real editor. - A caller that is not the editor reads only published versions. Drafts are invisible to a public token.
GET /document/{uuid}/versionslists a document's versions, drafts included, so a draft can be found again without keeping the uuid from the create call.DELETE /content/{uuid}removes exactly the version it names. It used to remove the whole lineage.POST /validationruns the same validator as a content write, so its answer is the answer you would get from saving.- Every
/apiroute answers JSON whatever theAcceptheader says. A bad token or a validation error is no longer a redirect. - New guide: Modelling pages for editors.
- Fixed: the component metadata endpoint answered an empty body instead of the component.
v0.10.0 — 2026-11-25
- Imprint, privacy policy and terms are published in full. The privacy policy names every sub-processor, states that the servers are in Helsinki and that transfers rest on the EU-U.S. Data Privacy Framework. A data processing agreement for customers is drafted.
- Fonts are served from our own origin. No third-party font CDN is loaded by the admin.
- A new project starts with a Page container, so there is a page to compose from the first minute.
imagehas a$refof its own, and the docs say when to useimageand whenfile.llms.txtat the docs root points agents at the API.- Fixed: a component with a required field could not be added to a document. A non-image file was accepted in an
imagefield.
v0.9.1 — 2026-11-23
- Fixed: production enforced the old free-tier limits after v0.9.0 raised them.
v0.9.0 — 2026-11-23
- Long text is a field kind (
"format": "text"), unbounded, for prose that wants a plain text box. Text stays bounded at 255 characters, which is what makes it filterable. - A schema declaring
maxLengthabove 255 on a plain string is refused when it is saved. An over-long value answers422naming the field and the two kinds that would hold it, instead of500. - The free tier is 25 schemas and 15,000 API requests a month, up from ten schemas.
- Fixed: a
PATCHon a component whose root is rich text, datetime or null answered200and wrote nothing.
v0.8.0 — 2026-11-23
- A project defines its own roles. Admin and editor are the starting pair; an admin adds more, and a member's abilities are the union of every role they hold.
- A node's group is a role. A node set to
664with a group says "this role maintains it, everybody else reads it", and that lock survives a person leaving. - Fixed: a duplicated document was stored without a creation date.
v0.7.0 — 2026-11-21
- Authorization has two gates: your role decides what you may do, a node's access bits decide what you may touch, and both are enforced on every content read and write.
- A project can require approval before publishing.
- An admin can lock a single block from editing, and an editor sees the lock before trying.
- Documents created before this release are writable by their creator and admins only. An admin changes a document's access from the admin.
v0.5.0 to v0.6.1 — 2026-11-20
- Imprint, privacy policy and terms are linked from every page. Signup requires a business declaration, because the terms are written for businesses.
- Files are stored in the EU. The API serves binaries itself, so a CDN in front of it is yours to choose, and object storage stays private.
- Unhandled errors are reported to an error tracker in the EU. Errors only, no personal data.
v0.4.0 — 2026-11-19
- A component's root can be a list or a single value, not only a group of fields.
- The component picker in the admin was rebuilt.
- flatnode.net has a new homepage.
v0.3.0 and v0.3.1 — 2026-11-19
- The documentation lives at docs.flatnode.net, with examples that name the real host.
- Fixed: a list of lists lost its grouping the first time content was saved. Content already saved flat has to be entered again.
v0.1.0 to v0.2.3 — 2026-11-18 and 19
The first tagged releases. Hosting and deployment work; the admin shows its version in the footer. Fixed: an API response carrying a file variant answered 500.
Before the first release — September to mid-November 2026
Shipped without tags. The headlines:
- Versions. Every piece of content is a version with a lineage: draft, approval, scheduling and promotion, with the lineage shown in the admin.
- Translations. A translation is a sibling version carrying a locale. A project declares its languages, and editors work in them.
- Libraries. Queryable collections of entries, picked or filtered from a block through
libraryEntryandlibraryQueryfields. Relations between libraries follow from the schema. Entries can be corrected and withdrawn. - Webhooks. Signed, fired when content changes, carrying identifiers only.
- A uuid-only API. Every identifier is a uuid, in paths and bodies. Responses carry
_uuidand lowerCamelCase keys. Row ids never cross the boundary. - Files. Uploads past 10 MB, images sized on request, folders in the media library, and a file picker that matches it.
- Components. A visual schema builder, drafts and publishing with content pinned to a version, admin-set handles, and a closed schema vocabulary that refuses keywords that never did anything.
- Documents. A real route per document, so internal links have a url. Links can point outside the project.
- Search across content, documents, components, files and libraries.
- Access. Admin and editor roles per project, API tokens scoped to a resource and a verb, and plan limits with quota headers on every response.
- Projects can be deleted and taken back, carry an overview with description, image and links, and can require self-approval.
- Many fixes along the way.