Changelog

Updates

New features and changes in each Charter release.

Latest Release

[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, and many-to-many relation fields, in addition to many-to-one. Charter provisions uniqueness, inverse foreign keys, and hidden junction tables from the declared cardinality so config authors do not choose storage details.
  • Added GET /.well-known/api-catalog, a linkset that points clients at /openapi.json and /openapi.yaml. HEAD on that path returns a Link header with rel="api-catalog". /docs and /llms.txt appear in the linkset only when those routes are on. --no-openapi removes the catalog with the spec.

Changed

  • Docs headings now include a permalink, so a section can be shared directly.

Fixed

  • ?include= relationship keys now use the relation alias when one is set. A field kiln_id with alias kiln is relationships.kiln, matching the docs. The field name is still the key when there is no alias.
  • Resource MCP reports unique, foreign-key, not-null, and check failures as invalid parameters, with the same wording as REST and without the stored value. They were 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 /docs so those id arrays appear on create, replace, update, and get. Retrieve and list examples include a relationships object for ?include=, with an array of links for to-many relations.
  • Fixed a bug where charter import config --apply reported database failures as config.invalid_file.
  • Fixed the reference config so role admin has 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.
Previous Releases

[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 reads https://downloads.charterapp.dev/latest.json and replaces this binary when that release is newer. Pass a version, such as charter upgrade 1.2.0, to install that release instead. The command chooses the Linux or macOS archive for this machine and checks SHA256SUMS before replacing the binary. A Homebrew install is left for brew 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 set and CHARTER_LICENSE_KEY. The web console, organizations, invitations, and SSO stay off until a signed license key is accepted, and 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/charter then brew install --cask charter).

Changed

  • charter is 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.json and versioned tarballs publish at the download host root that curl | sh and the Homebrew cask request.
  • Fixed a macOS path collision between the Apache LICENSE file and the license server project directory that broke darwin release builds. The project now lives at license-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 a mail queue job for invitation delivery.
  • Added Pro organizations, membership, email invitations, and org-scoped OIDC SSO under /api/orgs, with console pages, charter org CLI, and CHARTER_DISABLE_ORGANIZATIONS, CHARTER_DISABLE_INVITATIONS, and CHARTER_DISABLE_SSO (default on).
  • Documented organizations, invitations, SSO, and mail on charterapp.dev; Pro pricing now lists organizations and invitations (control plane removed 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} and GET /v1/{resource}/{id} when Accept prefers text/event-stream. The stream sends a JSON:API snapshot event, 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 a crt_… 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_URL hosts are allowed on /v1/mcp alongside loopback.
  • Added support for mirroring charter.toml with the live registry while charter dev runs. --no-watch or CHARTER_NO_WATCH turns that off.
  • Added support for dropping a resource’s data table when that resource is deleted from the watched config file.

Changed

  • charter import config and charter export now default to charter.toml. charter export still will not replace an existing file.
  • charter setup now writes a Compose Postgres DATABASE_URL (matching compose.yaml) instead of a SQLite URL. charter dev starts Compose Postgres when DATABASE_URL is unset or a local Compose URL is unreachable. Every other database-backed command requires an explicit DATABASE_URL.

Removed

  • Removed YAML as a registry config format. charter import config and charter export read and write TOML only, and a .yaml or .yml path is refused. The charter export --format flag and CHARTER_EXPORT_FORMAT are gone.
  • Removed SQLite support. sqlite: DATABASE_URL values and the sqlite:./charter.db default 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_with match the same ILIKE patterns as JSON:API GET, neq / nin treat missing or null attributes like SQL, out-of-scope before / after images are redacted to null, the stream subscribes before the snapshot read, and Resource MCP writes on charter serve publish to the same process-local bus as REST.
  • Fixed SQLite list filters to use ESCAPE '\' with contains / starts_with / ends_with / like / ilike so snapshot rows agree with SSE matching when the needle includes %, _, or \, and replaced the SSE LIKE matcher with a linear-time scan so wildcard-dense like filters cannot stall a worker.
  • Fixed a bug where charter.toml saves 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. Describe your API once in a YAML or TOML file and one binary serves it to agents, apps, and the command line. 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.json and /openapi.yaml, and reference docs at /docs and /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 in CHARTER_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 export and charter import config commands. charter import config shows a dry run until --apply is 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 | sh or the Homebrew cask.

Changed

  • charter --help now describes Charter as an open source API runtime.
  • charter dev now prints the address it is bound to when --host is not loopback.
  • charter serve now logs its version at startup.
  • Requests to OAuth providers now send a User-Agent of charter/<version>.