Updates
New features and changes in each Charter release.
[1.0.0-alpha.6] - 2026-12-01
Still a public alpha. The config format, the REST and MCP surfaces, and the CLI may still change before 1.0.0.
Added
- Added
CHARTER_SETUP_TOKENoncharter serve. With that secret,/setupcreates the first operator and shows an API key once. The secret cannot be used again. When the variable is unset,/setupis not served. - Added
uniqueWithon bindings. It makes a unique index cover sibling JSON keys (for examplenameunique withuser_id), so the same label can exist for different owners. - Permission checks accept operator
inwith avalues(orvalue) array. On PATCH, only keys the client wrote are checked. A role can allowparse_status=pendingfor retries without resetting that field on every update. - Added
examples/pocket.toml, a Pocket-style items/tags schema with relation filters, per-owner unique tags, URL patterns, and separate parser vs user write rules. - Docs pages on charterapp.dev now have a Copy page control (Markdown, page link, ChatGPT, or Claude). Each article is also available as raw Markdown at
/docs/{slug}.md.
Changed
- System columns
created_at,updated_at, andidwork in_sort, filters, andfields=without declaring them as resource fields. - Pattern validation rules accept optional
flags(currentlyifor case-insensitive). - The homepage now treats
charter.tomlas one option for version control and GitOps, not the only way to change the API. - The quickstart now starts a local project from one
compose.yamlthat runs Charter and Postgres together. The published port binds127.0.0.1so the seeded password and API key stay on this machine. - The OpenTelemetry docs now list the metric names Charter emits (
charter.http.*,charter.db.*, andcsv.import.*), including attributes.
Fixed
- Fixed a bug where filters on many-to-many and one-to-many relation fields matched an empty JSON
datakey instead of junction or child membership.tags__eq/tags__innow return linked rows. - Fixed a bug where create skipped a binding's
defaultValuewhen that field was outside the role's create allow-list. Values such asparse_status=pendingare now set on insert even when users cannot write the field.
[1.0.0-alpha.5] - 2026-11-14
Still a public alpha. The config format, the REST and MCP surfaces, and the CLI may still change before 1.0.0.
Added
- Added
one-to-one,one-to-many, andmany-to-manyrelation fields, in addition tomany-to-one. You declare the cardinality; Charter creates the uniqueness, inverse foreign keys, and hidden junction tables. - Added
GET /.well-known/api-catalog, a linkset that points clients at/openapi.jsonand/openapi.yaml.HEADon that path returns aLinkheader withrel="api-catalog"./docsand/llms.txtappear in the linkset only when those routes are on.--no-openapiremoves the catalog with the spec.
Changed
- Docs headings now include a permalink.
Fixed
?include=relationship keys now use the relation alias when one is set. A fieldkiln_idwith aliaskilnisrelationships.kiln, matching the docs. The field name is still the key when there is no alias.- Resource MCP now reports unique, foreign-key, not-null, and check failures as invalid parameters, with the same wording as REST and without the stored value. Those used to come back as a generic internal error.
- Fixed a bug where create, replace, and update responses omitted one-to-many and many-to-many id arrays.
- Fixed OpenAPI and
/docsso those id arrays appear on create, replace, update, and get. Retrieve and list examples include arelationshipsobject for?include=, with an array of links for to-many relations. - Fixed a bug where
charter import config --applyreported database failures asconfig.invalid_file. - Fixed the reference config so role
adminhas explicit read, update, and delete permissions. That role has no implicit bypass on/v1.
Security
- Fixed a vulnerability where a revoked or disabled API key kept working for up to 60 seconds.
- Fixed a vulnerability where MCP tool errors included Postgres error text, including constraint details.
[1.0.0-alpha.4] - 2026-11-12
Still a public alpha. The config format, the REST and MCP surfaces, and the CLI may still change before 1.0.0.
Added
- Added
charter upgrade. With no version it readshttps://downloads.charterapp.dev/latest.jsonand replaces this binary when that release is newer. Pass a version, such ascharter upgrade 1.2.0, to install that release instead. The command picks the Linux or macOS archive for this machine and checksSHA256SUMSbefore replacing the binary. Homebrew installs still usebrew upgrade --cask charter.
[1.0.0-alpha.3] - 2026-11-10
Still a public alpha. The config format, the REST and MCP surfaces, and the CLI may still change before 1.0.0.
Added
- Added
charter license setandCHARTER_LICENSE_KEY. The web console, organizations, invitations, and SSO stay off until a signed license key is accepted. An accepted key keeps those features on through its grace period when the license server cannot be reached. - Added Homebrew cask publishing for stable, alpha, and beta releases (
brew tap snaapi/charterthenbrew install --cask charter).
Changed
charteris now the only binary. Paid features ship in that binary and turn on from a license key.- Renamed the charterapp.dev Download buttons, nav CTA, and footer link to Install. They still point at
/docs/install/. - Renamed the Docs nav label to Documentation, and moved Changelog to the footer. The header now shows Documentation and Install.
Fixed
- Fixed release downloads so
latest.jsonand versioned tarballs publish at the download host root thatcurl | shand the Homebrew cask request. - Fixed a macOS path collision between the Apache
LICENSEfile and the license server project directory that broke darwin release builds. The project now lives atlicense-server/.
[1.0.0-alpha.2] - 2026-11-09
Still a public alpha. The config format, the REST and MCP surfaces, and the CLI may still change before 1.0.0.
Added
- Added an OpenTelemetry docs guide for exporting traces, metrics, and logs to an OTLP endpoint, and listed OpenTelemetry on the homepage feature grid.
- Added a Laravel-shaped outbound mail stack (
MAIL_MAILER=smtp|log) with amailqueue job for invitation delivery. - Added Pro organizations, membership, email invitations, and org-scoped OIDC SSO under
/api/orgs, with console pages,charter orgCLI, andCHARTER_DISABLE_ORGANIZATIONS,CHARTER_DISABLE_INVITATIONS, andCHARTER_DISABLE_SSO(default on). - Documented organizations, invitations, SSO, and mail on charterapp.dev. Pro pricing now lists organizations and invitations; control plane stays off the page until that feature ships.
- Added a Requirements docs page for Postgres,
DATABASE_URL, and the database role privileges Charter needs. - Added Server-Sent Events on
GET /v1/{resource}andGET /v1/{resource}/{id}whenAcceptpreferstext/event-stream. The stream sends a JSON:APIsnapshotevent, then lifecycle events with the same payload shape as webhooks. Paths stay the same as JSON:API; only the header changes. - Added Resource MCP for end-user record CRUD:
charter mcp api(stdio) and HTTP/v1/mcp, authenticated with acrt_…API key or Bearer access token and checked against that user's role and permissions. Admin MCP (charter mcp//mcp) still shapes the schema; Resource MCP is for agents that use the API as a normal user.CHARTER_BASE_URLhosts are allowed on/v1/mcpalongside loopback. - Added support for mirroring
charter.tomlwith the live registry whilecharter devruns.--no-watchorCHARTER_NO_WATCHturns that off. - Added support for dropping a resource's data table when that resource is deleted from the watched config file.
Changed
charter import configandcharter exportnow default tocharter.toml.charter exportstill will not replace an existing file.charter setupnow writes a Compose PostgresDATABASE_URL(matchingcompose.yaml) instead of a SQLite URL.charter devstarts Compose Postgres whenDATABASE_URLis unset or a local Compose URL is unreachable. Every other database-backed command requires an explicitDATABASE_URL.
Removed
- Removed YAML as a registry config format.
charter import configandcharter exportread and write TOML only, and a.yamlor.ymlpath is refused. Thecharter export --formatflag andCHARTER_EXPORT_FORMATare gone. - Removed SQLite support.
sqlite:DATABASE_URLvalues and thesqlite:./charter.dbdefault are gone; Charter uses Postgres only.
Fixed
- Fixed org SSO so callback redirects honor trusted origins (or same-site relative paths), IdP emails must be verified and on the provider domain list, operator accounts cannot be linked through SSO, and OIDC discovery/token/userinfo requests refuse non-public URLs.
- Fixed invitation resend so accepted invitations are rejected and a failed token update does not queue a useless email.
- Fixed Server-Sent Events list filters so
contains/starts_with/ends_withmatch the same ILIKE patterns as JSON:API GET,neq/nintreat missing or null attributes like SQL, out-of-scopebefore/afterimages are redacted to null, the stream subscribes before the snapshot read, and Resource MCP writes oncharter servepublish to the same process-local bus as REST. - Fixed SQLite list filters to use
ESCAPE '\'withcontains/starts_with/ends_with/like/ilikeso snapshot rows agree with SSE matching when the needle includes%,_, or\, and replaced the SSE LIKE matcher with a linear-time scan so wildcard-denselikefilters cannot stall a worker. - Fixed a bug where
charter.tomlsaves weren't being applied while SQLite was writing in the same directory. - Fixed a bug where registry import and export weren't reading SQLite ids stored as text.
[1.0.0-alpha.1] - 2026-10-16
The first public alpha of Charter 1.0, and the first release with a changelog, so this entry lists everything in it. You describe the API once in a YAML or TOML file; one binary serves MCP, REST, and the CLI. The config format, the REST and MCP surfaces, and the CLI may still change before 1.0.0. Release binaries don't include the admin console, and there is no Windows build yet.
Added
- Added support for serving every interface from one config file: MCP, a JSON:API REST API under
/v1, OpenAPI at/openapi.jsonand/openapi.yaml, and reference docs at/docsand/llms.txt. - Added a built-in MCP server with 21 tools for shaping resources, fields, permissions, and webhooks and reading records, over stdio (
charter mcp) or HTTP (/mcp). Tool calls act as the role set inCHARTER_MCP_ROLE. - Added role-based permissions per action, with field-level and row-level rules and server-filled fields such as
owner_id. - Added email/password and Google/GitHub sign-in, hashed API keys with optional expiry, and short-lived access tokens (PASETO v4.local) that are revoked when a user's token version changes.
- Added the
charter exportandcharter import configcommands.charter import configshows a dry run until--applyis passed. - Added webhooks for record events, with before/after state, wildcard subscriptions, and retries with exponential backoff.
- Added CSV and Excel import that creates resources and fields from uploaded files and loads their rows.
- Added embedded SQLite by default, and Postgres support via
DATABASE_URL. - Added OpenTelemetry traces and metrics for requests and database queries.
- Added an optional TLS listener, with a separate plaintext port for health checks.
- Added an activity ledger that records schema, auth, and import changes.
- Added CLI commands for resources, fields, permissions, webhooks, users, roles, API keys, admins, and service accounts.
- Added binaries for Linux (x86_64, aarch64) and macOS (Apple silicon, Intel), installable with
curl -fsSL https://charterapp.dev/install.sh | shor the Homebrew cask.
Changed
charter --helpnow describes Charter as an open source API runtime.charter devnow prints the address it is bound to when--hostis not loopback.charter servenow logs its version at startup.- Requests to OAuth providers now send a
User-Agentofcharter/<version>.