removedInput schema / $schema
Removed value: -"https://json-schema.org/draft/2020-12/schema"
removedInput schema / properties / content / description
Removed value: -"HTML, Markdown, code or JSON to publish"
removedInput schema / properties / deliveryMode / description
Removed value: -"Optional delivery choice for a fresh publication, independent of password/namespace. Fresh sites and HTML-format pages outside public (including the default unlisted namespace) always use subdomain; an explicit path there still publishes, on subdomain, with a delivery notice. Everything else in any namespace (Markdown, code/text, files, JSON, KV, public HTML) defaults to path (Promotion); public HTML may automatically choose subdomain for browser features. When creation returns an existing publication, it keeps its actual mode and URL."
changedInput schema / properties / domain / description
Previous value: -"Optional custom domain for the new publication: a bare hostname the user owns (www.example.com or example.com, no scheme or path). Needs a profile token or an owner token added to a free BrewPage profile, and no password. The publication is always created; the result lists the DNS records for the domain owner to create, or says why the custom domain was not set."New value: +"Custom domain the user owns, a bare hostname"
addedInput schema / properties / entry
Added value: +{
+ "description": "Site entry file, default index.html",
+ "type": "string"
+}
changedInput schema / properties / filename / description
Previous value: -"Optional original filename (≤200 chars). Without `format`, a known extension sets the format (.md stays Markdown, even a whole HTML document). Used as title fallback when no <title>/<h1>; immutable on update."New value: +"Original file name; its extension sets the format"
removedInput schema / properties / filename / maxLength
Removed value: -200
addedInput schema / properties / files
Added value: +{
+ "description": "Site files; instead of `content`",
+ "items": {
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "content"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedInput schema / properties / format / description
Previous value: -"Omit: a known filename extension decides, else the server detects html, markdown, code or JSON. `html` keeps code/JSON as HTML; also markdown/md or a code language. A whole HTML document sent as markdown becomes an HTML page."New value: +"html, markdown or a code language; omitted: by file name, else by content"
removedInput schema / properties / format / minLength
Removed value: -1
changedInput schema / properties / namespace / description
Previous value: -"Send namespace=public for anything meant to be found or shared (docs, guides, demos, portfolios, reports, landing pages): listed in the public gallery and sitemap, so Google, Bing and AI search index it and people discover it. Public pages are served on the brewpage.app domain itself, for the strongest search reach; code that needs its own origin (cookies, storage) gets its own subdomain automatically. Anyone can find and read a public page, so it is unsuitable for secrets, tokens or personal data. Omit (default): private, a generated priv-* namespace; unlisted, not indexed; the link still opens it. Lowercase only: 1-32 of a-z, 0-9, hyphen."New value: +"`public` for anything meant to be found or shared: listed in the gallery and sitemap, indexed by Google, Bing and AI search; unsuitable for secrets or personal data. Omit (default): private, a generated priv-* namespace, unlisted; the link still opens it. A custom name: 1-32 of a-z, 0-9, hyphen."
changedInput schema / properties / ownerToken / description
Previous value: -"Optional; the ownerToken from your first create keeps publications under one owner. Default: env BREWPAGE_OWNER_TOKEN (local server only), else a new token per create."New value: +"Owner token of an earlier create"
removedInput schema / properties / password / description
Removed value: -"Optional password to protect the page"
changedInput schema / properties / showTopBar / description
Previous value: -"Add a thin top toolbar (filename + Download button + theme toggle) on the served page. Default: hidden."New value: +"Top toolbar with file name and Download"
removedInput schema / properties / state / anyOf
Removed value: -[
- {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
-]
changedInput schema / properties / state / description
Previous value: -"Page data config (the `state` API): `{collections: {<name>: {mode: 'private'|'shared', write?: 'author'}}}`; full reference: guide topic `page-data`. HTML pages and sites, not Markdown; the page gets its own address."New value: +"Page data config; `{}` = on with defaults"
addedInput schema / properties / state / type
Added value: +[
+ "object",
+ "null"
+]
addedInput schema / properties / tags
Added value: +{
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
removedInput schema / properties / ttlDays / anyOf
Removed value: -[
- {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- }
-]
changedInput schema / properties / ttlDays / description
Previous value: -"TTL in days: up to 30 days without an account, up to 90 with a free profile (pass an ownerToken held in the profile); a default applies when omitted. Accepts whole days: 15, '15d', '15 days'. The returned expiresAt is the actual expiry."New value: +"Days to keep it: up to 30 days without an account, up to 90 with a free profile (an ownerToken held in the profile). Omitted: the default. The result states the expiry."
addedInput schema / properties / ttlDays / exclusiveMinimum
Added value: +0
addedInput schema / properties / ttlDays / type
Added value: +"number"
removedInput schema / required
Removed value: -[
- "content"
-]