Changelog¶
Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
[0.8.0] - 2026-10-22¶
Added¶
- Sign in with Google (
auth.sso.google.*), next to passwords. Existing accounts sign in with their verified Google email; withallowed_domains, people of your Google Workspace domain get an account withdefault_roleon their first sign-in. OpenID Connect authorization code flow with PKCE; migration0008_user_ssolinks accounts to their provider. - Demo mode (
demo.enabled), to run a public demo: visitors sign in from the login page with a shared account that sees the whole admin read-only, edits drafts and tries agents with test runs, but cannot publish, upload, approve calls or change settings. Every day atdemo.reset_at, GoHead restores the snapshot taken withPOST /admin/demo/snapshot(SQLite).deploy/demo/render.yamldeploys GoHead in demo mode and the conference starter on Render;deploy/demo/setup.mjssets up the content, an optional GitHub agent and the snapshot.
Changed¶
- The Render Dockerfile follows the 0.8.x releases;
GOHEAD_VERSION(for exampleedge, the latest commit of master) picks another image. - The Next.js starters depend on
@gohead-cms/client^0.8.0.
[0.7.0] - 2026-10-22¶
Added¶
-
Agent tools in a short form:
"tools": [{"use": "content.update", "on": ["articles"]}]. The catalog provides each tool's name, description and arguments;name,descriptionandparametersonly override them. Readable names for every built-in tool (content.save,content.update,ai.summarize,ai.tags…), the implementation keys still work. The agent editor picks tools from the catalog, grouped and described, with collection scopes and the overrides folded under Customize. -
Connected apps: agents use other services' tools over MCP (the Model Context Protocol). Connect GitHub, Zapier (Gmail, Google Drive, Sheets, Slack… through the actions you enable) or any MCP server under AI → Connected apps; their tools appear in the agent's tool picker as
github.create_issue. Calls of tools that may change something in the app wait for an admin's approval on the Approvals page ("action": "call"), unless the agent sets"approval": false; test runs never make them. Tokens are write-only, encrypted with a key derived fromjwt_secret, and only sent to the URL they were given for. New settingsconnections.allow_private_networksandconnections.timeout; migration0007_connections.
Changed¶
- Agent responses return
tools(as written) next tofunctions(every tool as the model gets it). Agents in the longfunctionsform keep working; a function with an emptyparametersschema now gets the tool's own, so the model knows its arguments. Unknown tools are refused when an agent is saved. - The Next.js starters depend on
@gohead-cms/client^0.7.0, and the conference starter sets up its agents in the shorttoolsform (it needs GoHead 0.7).
[0.6.3] - 2026-10-21¶
Added¶
- Deploy to Render: a button,
render.yamland a guide run GoHead in your Render account in one click:gohead standalonewith a persistent disk, about $7 a month.
Fixed¶
- Agents on Anthropic call their functions. Claude usually writes a sentence before calling a tool ("I'll write a summary and save it."), and that text and the tool call arrive as two content blocks. Only the first was read, so the run ended with the sentence as its answer and no function call. Runs now see the tool call, and the run log shows the sentence before it.
[0.6.2] - 2026-10-21¶
Added¶
- Homebrew:
brew install gohead-cms/tap/gohead, thengohead standalone, starts GoHead on a Mac with no Docker. The cask is published togohead-cms/homebrew-tapwith each release.
Changed¶
- Admin UI on Chakra UI v3 (from v2): same screens and behaviour. Confirmation dialogs still close on an outside click.
[0.6.1] - 2026-10-21¶
Fixed¶
- Public access works with rate limiting on (the default): anonymous reads of public types answered
401, because the public rate limiter ran the request before marking it as public. Tests ran with rate limiting off.
[0.6.0] - 2026-10-21¶
Breaking changes¶
gohead startserves the admin UI at/:GETrequests outside the API paths return the UI instead of404(ui.enabled: falseturns it off).- SQLite URL parameters of the former cgo driver (
_busy_timeout,_foreign_keys,_loc…) are ignored; use_pragma=…parameters. See the upgrade guide.
Fixed¶
- A save that changes nothing sends no
item:updatedevent (webhooks, agents), as singletons and translations already did. timeattributes accept a time of day ("08:30","08:30:00") instead of refusing every value that was not a date.docker composeno longer depends on MinIO images, which MinIO stopped publishing: uploads are kept on local disk (thegohead-datavolume) by default, and any S3-compatible bucket can be set withGOHEAD_MEDIA_*variables.
Added¶
- Every field in the content editor: relations are picked from a searchable list of the target collection's entries (one, or several for many-to-many) and shown by name; components are edited as nested fields, repeatable ones as a list you can add to, reorder and remove from; JSON fields are edited as text and checked as you type (invalid JSON blocks saving); media fields can use files already in the library (Choose from library, with search and the field's allowed types) as well as uploads.
gohead standalone: the API, the admin UI and the background jobs (worker, dispatcher, scheduler) in one process, with no Redis and no separate admin container. The SQLite database, uploads and a generated JWT secret go to a data directory (--data, defaultdata) unless configured. About 45 MB of memory and near-zero idle CPU: made for small servers and Raspberry Pis. See the standalone guide.- Database job queue (
queue.driver: database): content events, agent runs and webhook deliveries can be queued in GoHead's own database instead of Redis, with retries, backoff, deduplication and recovery of jobs whose process stopped.redisstays the default of the separate processes;queue.concurrencyandqueue.poll_intervaltune it. Migration0006_jobs. - Admin UI in the binary: release binaries and the
goheadimage serve the admin UI at/(ui.enabled, on by default), calling the API on the same origin.make uibuilds it into a source build. - Raspberry Pi and ARM builds: release binaries for Linux ARMv7 and ARMv6, in addition to ARM64.
- JavaScript client
@gohead-cms/client(npm): typed reads and writes for collections, singletons, media, locales and GraphQL, filters and sorts checked against your model, pagination helpers, Next.js-friendly fetch options,GoHeadError, and webhook signature verification. No dependencies; Node 20+, browsers and edge runtimes. gohead-clientCLI: TypeScript types from the content model (types), content models as code (model pull,model push, with a JSON Schema for editors), sample content with references and translations (seed), API tokens (token create).- Starter templates:
npm create @gohead-cms@latestcreates a Next.js blog (App Router, English and French, typed client, revalidation from signed webhooks) with its content model and sample content, ready withnpm run gohead:setup. - Webhook events for single types:
singleton:updatedandsingleton:deleted, withcollectionset tosingleton:<name>, so sites can rebuild when settings or a homepage change. Webhooks subscribed to all events receive them. - Public access: requests without a token act with the new
publicrole. It grants nothing by default; give itreadon the collections and singletons your site shows (PUT /admin/roles/public, or Settings → Roles → Public) and browsers and apps read published content without a token. It never writes or sees drafts;*, the media library and types with password attributes can't be public; the content model, GraphQL introspection and the admin area still need a token. Anonymous requests populate relations 2 levels deep at most, GraphQL queries are bounded (4 levels, 200 fields) and requests are rate limited per IP (rate_limit.public_per_minute, 600). Migration0005_public_rolerenames an existing custom role namedpublictopublic-legacy. - Agent approvals: an agent with
require_approvalproposes its content changes instead of making them. Editors review proposals in Approvals (field diff, approve, edit and approve, reject) or with/api/proposals; whoever may make a change may approve it. Approved changes are applied as the agent in its run (history, run revert), and stale proposals are flagged before they overwrite a later edit. Migration0004_agent_reviews. - Test runs:
POST /admin/agents/{name}/testand a Test run button run an agent with a message or a simulated collection event on an existing item; content writes are validated and reported (would_update…) but not applied. Runs started from the UI are recorded asqueuedright away and the response carries the run ID. - Agent templates: summarizer, tagger, moderator and translator, rendered from a few parameters checked against the content model (
/admin/agent-templates), in the admin UI under New agent. collections.patch_itemagent function (changes some attributes, keeps the others) and areasonargument on content writes.- Conference starter:
npm create @gohead-cms@latest -- --template nextjs-conferencecreates a bilingual conference site that uses every GoHead feature (every attribute type, components, relations, draft preview, visitor forms through a scoped API token, GraphQL, signed webhooks, seven agents with all three triggers, approvals and content history). The feature tour walks through it.
Changed¶
- Changes an agent makes while it runs send no content events (webhooks, other agents) in any process,
gohead standaloneincluded; changes from approved proposals do, but never trigger the agent that proposed them. - SQLite is pure Go (no cgo): release binaries can use SQLite, and the image is static. Existing databases keep working (same time format); they are switched to WAL mode on first open, with a busy timeout and transactions that wait for the write lock (no more
database is lockederrors under concurrent writes). Settings of the old driver insqlite://URLs (_busy_timeout,_foreign_keys,_loc…) are ignored: use_pragma=busy_timeout(5000)-style parameters. - The container image is built without cgo on
distroless/static, cross-compiled for each platform.
[0.5.0] - 2026-10-19¶
Breaking changes¶
- Self-registration is off by default (
auth.registration: disabled):POST /auth/registerreturns403unless set toopen, and it never creates an admin, even on an empty database. See the upgrade guide. - The first administrator is created from
admin.username/admin.email/admin.password(GOHEAD_ADMIN_*, password 12+ characters) when the API starts on a database without users, or withgohead admin create.
Added¶
- Custom roles with per-type permissions: besides
admin,editorandviewer, roles grantread,create,update,deleteandpublishper collection (singleton:<name>for singletons,*for every other type) andread/create/update/deleteon the media library. They're managed under/admin/rolesand in Settings → Roles, and assigned to users and API tokens like built-in roles. The REST API, GraphQL, the schema endpoints, populated relations, content history and the change feed all enforce them.GET /auth/mereturns the caller's permissions. - Localization: locales (
/api/locales, managed under/admin/locales, default fromi18n.default_locale) and attributes marked"localized": true, which keep a value per locale while the rest of the entry is shared. Read any entry, list or singleton with?locale=(falling back to the default locale unlessfallback=false; filters and sorts use the locale), and write translations withPUT ?locale=. Unique localized values are unique per locale. GraphQL takeslocaleandfallback, and update mutations takelocale. Translations are part of the history, webhook payloads (translations) and agent functions (collections.upsert_itemwithlocale,collections.list_locales). Migration0003_i18n. In the admin UI: Settings → Locales, a Localized switch per attribute, and a locale switcher in the entry editor. - Content history: every change to an item or a singleton (create, update, publish, unpublish, delete, restore) is recorded as a revision with the data, who made it (user, API token or agent with its run) and when, in the same transaction (migration
0002_revisions). Compare versions field by field, restore any version (including deleted items, under the same ID), browse a change feed (GET /api/revisions), and revert everything an agent run changed (POST /admin/agents/{name}/runs/{run}/revert, skipping entries changed since unless forced).content.revisions_kept(100) per entry are kept. In the admin UI: history with diffs and restore on every entry, recently deleted entries, content changes in Activity, and run revert. - Versioned database migrations recorded in
schema_migrationsand serialized by a database lock, so replicas starting together no longer race:gohead migrate,migrate status,migrate down. The API applies them at startup unlessauto_migrateis false (then it refuses to start on an outdated schema); the Helm chart runs them in an init container. gohead admin createandgohead admin set-password(passwords from standard input only).- API contract:
api/openapi.jsonandapi/graphql.jsonsnapshot the public API; CI fails when they drift from the code and reports breaking changes against the last release (oasdiff, GraphQL Inspector). See API stability. - Docs: upgrade guide with version notes, API stability policy, release checklist. Image builds warn when a package cannot be pulled anonymously.
- Helm:
bootstrapAdminvalues and amigrateinit container (migrations.initContainer). - A complete admin UI: a real dashboard; a content model editor for collections, components and single types (every attribute type and option); the schema designer shows the saved model; content editing for single types; a media library (drag-and-drop upload, metadata, search); agents can be created, edited, deleted and run from the UI, with a function catalog and collection scopes; an activity page across agents; users, API tokens and webhooks (with test sends and delivery logs) under Settings. Navigation follows the signed-in user's role, and an expired session signs out.
- API:
GET /auth/me;GET /admin/overview(dashboard counts and recent activity);GET /admin/runs(runs of every agent);GET /admin/agent-functions(built-in functions with descriptions and argument schemas);POST /admin/agents/{name}/run(run an agent now);GET /api/schema/collections|singletons|components[/{name}], the content model read-only for every signed-in user. - API tokens: long-lived, role-scoped (
viewer,editor,admin), optionally expiring and revocable keys (ght_…) for front-ends, CI and integrations, managed under/admin/tokens. Only a SHA-256 hash is stored; last use is recorded. Tokens cannot manage tokens or users. - OpenAPI 3.1 description generated from the content model (collections, components, singletons, media, auth, GraphQL) at
/api/openapi.json, with Swagger UI at/api/docs. Behind a token unlessopenapi.publicis on. - Outbound webhooks on content events (
item:created|updated|deleted|published|unpublished), filtered by event and collection, in JSON or Slack format, with custom headers, HMAC-SHA256 signatures, retries with backoff, a delivery log and a test endpoint (/admin/webhooks). Private and link-local addresses are refused by default. - Agent run history: every run records its trigger, input, each model and function call (arguments, results, errors, tokens, duration), output, status (
succeeded,failed,limited), tokens and cost. Runs are saved as they progress, the newestagents.runs_kept(200) per agent are kept, and they are available at/admin/agents/{name}/runs,/runs/{id}and/usage. - Admin UI: an agent page (AI Management → Agents) with an overview (model, prices, trigger, limits, function scopes) and a Runs tab: usage against limits, a filterable run list and a step-by-step view of each run.
- Collection-scoped functions:
collections.*functions accept"collections": [...]. Calls outside the scope are refused by the server;collections.delete_itemchecks the collection the item actually belongs to, andcollections.listonly shows collections in scope. - Per-agent limits:
max_runs_per_hour,max_runs_per_day,max_tokens_per_run,max_tokens_per_dayandmax_cost_per_day, over rolling windows, shared by all workers. Runs over a limit are skipped or stopped, recorded aslimitedand not retried. - Token usage is read from OpenAI-compatible, Anthropic and Ollama responses, including calls made by
llm.*helper functions. Costs useinput_cost_per_million/output_cost_per_millionset in an agent'sllm_configor in thellmdefaults (no built-in price list). - Helm chart (
oci://ghcr.io/gohead-cms/charts/gohead, released with every version): API with ingress, autoscaling, disruption budget and ServiceMonitor, worker, dispatcher, single scheduler, admin UI, optional bundled Redis; secrets from values or an existing Secret. - MySQL support is tested: CI runs the database test suite on MySQL 8.4 as well as PostgreSQL 17 (and SQLite).
- Playwright smoke test of the admin UI (login, schema designer, content creation, agents) against the real API in CI.
Changed¶
- Publishing and unpublishing require the new
publishpermission instead ofupdate, and so does changing a published item in a draft-and-publish collection. Built-in editors and admins have both, so nothing changes for them. - A user's role is read from the account on each request, so changing it no longer waits for the user's token to expire.
- Deleting a singleton's content removes it for good (it was soft-deleted, which blocked creating new content); its revisions keep the old content.
storage.UpdateItem, which saved unvalidated data, was removed. - MySQL: JSON columns are created as
JSON(they used PostgreSQL'sJSONB, which MySQL rejects), and unique text columns (collection, component, singleton, agent and user slug names, token hashes, media keys) have a length. On PostgreSQL these columns becomevarchar(191)(varchar(64)andvarchar(255)for token hashes and media keys) instead oftext, changed by the automatic migration at startup: it fails if an existing value is longer, so check first, e.g.SELECT max(length(name)) FROM collections(andcomponents,singletons,agents,users.slug). - Use
loc=UTCin MySQL URLs (the examples did not), so times are stored in UTC like on the other databases. - The admin UI lint (ESLint, React hooks rules) is clean and blocks CI.
- The JWT secret that
docker-compose.ymlfalls back to is treated as unset (a random secret is generated and a warning logged), and the quick start generates the secret and the admin password. /admin/usersrequires a user session (not an API token).- Usernames cannot contain
:(reserved fortoken:<name>attribution). - Deleting an agent deletes its run history and conversation.
Fixed¶
GET /api/singleton/{name}?status=alllets editors and admins see links to draft entries, so saving a singleton from the admin UI no longer drops them.GET /admin/agentscapspageSizeat 100./auth/meis no longer rate limited together with login.POST /admin/agentsno longer logs the whole request, which could include an LLM API key.- The dashboard's recent entries only use a title, name, label or slug as the entry title, never other fields.
- Editing a collection through the API's own schema dropped
unique, enumoptions,min/max,patternand the description (they were not returned, and an update replaces the definition); relation targets returned asapi::x.xare accepted back. - Admins can no longer demote or delete their own account or the last admin.
- Two agent functions may use the same implementation with different scopes, as documented; renaming an agent to a taken name returns
409instead of500; agent list filters only accept known fields. - Single type admin endpoints returned objects as error messages.
- Removed admin UI pages that only showed mock data (dashboard) or saved nothing (schema designer edits, relation drawing).
- MySQL: updating a collection, component or singleton failed (
Incorrect datetime value), looking up related items by unique fields used PostgreSQL-only SQL, and finding the agents of a collection event failed (triggeris a reserved word). - Admin UI: the workspace's Edit action on a collection node opened nothing; the relation dialog sent
oneToMnyand labelled many-to-many as many-to-one; hooks were called conditionally in the sidebar and the collection list. - Re-creating an agent with the name of a deleted one restored the old configuration instead of the new one.
- The admin UI's Agents link led to an empty page.
[0.4.0] - 2026-10-18¶
Breaking changes¶
- GraphQL:
mediaattributes are nowMediaobjects instead of strings. Querycover { url }instead ofcover. REST still returns URL values as they were stored.
Added¶
- Media uploads:
POST /api/media(multipart, several files, atomic) stores files on local disk or in any S3-compatible bucket (AWS S3, MinIO, Cloudflare R2, Garage…), with a media library (GET/PUT/DELETE /api/media/{id}, list withmimeandsearchfilters). Types are detected from the content and checked against an allow-list (no SVG/HTML by default), sizes are limited (media.max_size_mb), and image dimensions, SHA-256 hash, alt text and caption are recorded. mediaattributes reference uploaded files by ID (multiple,allowed_types,min/max) and are returned as file objects with their URL, including inside components, singletons and related items; GraphQL exposes them asMediaobjects. Existing URL values keep working.- Local files are served at
/uploads/<key>with safe headers (nosniff, sandboxing CSP, attachments for non-media types) and range requests; S3 files usemedia.public_url(public bucket or CDN) or presigned URLs. docker-compose.ymlruns MinIO with a ready-to-use public bucket; the container image stores local uploads in/data/uploads.- Admin UI: upload fields for media attributes.
[0.3.0] - 2026-10-18¶
Breaking changes¶
- One response shape for items. Every item response (lists, single items, create, update, populated relations, singletons) is a flat object: the attributes at the top level next to
id,createdAtandupdatedAt. Single items, create/update responses and singletons used{id, attributes}, and create responses nested relations as{data: {id}}. Clients that readdata.attributes.xmust readdata.x. - Attribute names
id,createdAt,updatedAtandpublishedAtare reserved for new and updated collections. level=0is now accepted (no relation population); create and update responses populate relations one level deep, like reads.
Added¶
- Component values in items: collections and singletons can use components (
"type": "component", "component": "seo"), single orrepeatable(withmin/maxlist length). Values are validated field by field, can nest components, and are exposed in GraphQL as typed objects and input objects. Components that are in use cannot be deleted or renamed (409). - Draft and publish, opt-in per collection (
"draft_and_publish": true): items start as drafts,status/publishedAtappear in responses,POST /api/collections/{c}/{id}/publish|unpublishand a"status"field on writes change state, lists return published items unless an editor asks forstatus=draft|all, and viewers never see drafts (also in relations and GraphQL). Newitem:published/item:unpublishedevents. Enabling it on an existing collection publishes the existing items. - GraphQL:
createdAt/updatedAton every type,statusargument on queries,publish<Name>/unpublish<Name>mutations, list inputs for many-to-many relations. - Sorting and filtering on
createdAt,updatedAtandpublishedAt. - Admin UI: edits update the entry instead of creating a new one, drafts are listed with a status badge and a publish toggle.
Fixed¶
- One-to-many relations were missing from single-item and create responses.
- GraphQL:
date/datetimeattributes are strings, as stored (they were declaredDateTime, so values read back asnulland plain dates were rejected). - Updating an item with a
uniqueattribute failed when the value did not change; soft-deleted items no longer block unique values; numbers are compared by value (1000000was not seen as a duplicate of1e+06), and names with dots or dashes work on MySQL/SQLite. - REST
PUTdid not emititem:updated. - Relations nested deeper than one level were not populated, and a deleted related item made the whole read fail.
- Viewers could write singleton content; singleton writes now need the
updatepermission. - Agent item updates (
collections.upsert_itemwithitem_id) are validated like API writes. - Item list errors use the standard error envelope.
[0.2.0] - 2026-10-18¶
Security¶
- Registration privilege escalation:
POST /auth/registerno longer accepts a client-chosen role. The first account on an empty instance becomesadmin; later ones areviewer. - GraphQL authorization bypass: queries and mutations now enforce role permissions and item validation, like the REST API.
- JWT: replaced the unmaintained
dgrijalva/jwt-gowithgolang-jwt/jwt/v5; only HS256 is accepted andexpis required. The sample/emptyjwt_secretis replaced by a random per-run secret. - Agent webhooks: only
webhook-triggered agents with a token can be invoked, and the token is compared in constant time. - Secrets in responses: password hashes are never serialized; agent API keys and webhook tokens are masked.
- Per-agent LLM keys: keys are passed to each client directly instead of through process-wide environment variables.
- Login no longer logs issued tokens.
- Brute-force protection:
/auth/loginand/auth/registerare rate limited per client IP (20/min), and 5 failed logins for a username from one IP lock it out for 15 minutes (429+Retry-After). Unknown usernames take as long as known ones. Configurable underrate_limit.*. X-Forwarded-Foris only trusted fromtrusted_proxies(previously from anyone).- Collection list
filter/sortparameters are restricted to known columns (they were interpolated into SQL). - Dependencies: upgraded to fix 15 reachable vulnerabilities reported by govulncheck (golang.org/x/net, x/text, OpenTelemetry, gRPC, pgx, quic-go). Go 1.26 is now the minimum; builds use Go 1.27.
Changed¶
- Telemetry is off by default.
- The Docker image entrypoint is
gohead; pass the command (start,worker, …).
Added¶
- Multi-replica API: collection changes are broadcast over Redis so every API replica rebuilds its GraphQL schema; replicas poll a version counter to catch up after missed messages or Redis outages. Rate-limit counters are shared through Redis too, with an in-memory fallback.
- Admin user management:
/admin/users(create, list, get, update, delete). GET /admin/componentsandGET /admin/singletons.- Filtering (
filters[field][$op]=value) and multi-key sorting (sort=field:desc) on item lists, validated against the collection schema. - GraphQL
variables/operationName, partial update inputs, list types for to-many relations, and hot reload of the schema when collections change. base_urloption for LLM providers.GOHEAD_TEST_DATABASE_URLto run the test suite against PostgreSQL.- Graceful shutdown on SIGINT/SIGTERM.
- Handbook (MkDocs Material, published to GitHub Pages) and a new README.
- Delivery pipeline: CI (lint, race tests, PostgreSQL tests, govulncheck, UI and docs builds), multi-arch signed images on GHCR with SBOM/provenance, GoReleaser v2 releases, CodeQL, Dependabot.
- Deployment: Kubernetes manifests (kustomize, staging/production overlays, External Secrets) and Flux image automation; full-stack
docker-compose.yml; admin UI image configurable at runtime (GOHEAD_API_URL). - Configuration works from environment variables alone;
redis.password/redis.dband thellmblock are honoured;gohead versionreports the build. - The scheduler reloads cron agents every minute.
Fixed¶
- Item creation leaked an open database transaction on every request; single and bulk creation are now atomic and events are published after commit.
- Bulk creation stored unvalidated data instead of the processed data.
- GraphQL list pagination passed the offset as a page number.
- Tracing was shut down as soon as the server started; spans are now exported and flushed on exit.
- Agent webhooks crashed because the queue client was never wired into the handler.
- Singleton delete and attribute updates used a non-existent column.
- Restoring a soft-deleted singleton restored another entity's attributes.
- Singleton item updates ignored the singleton's attributes during validation.
- Deleting a component left its attributes behind.
- Roles were duplicated on every startup.
JSONMapcould not be scanned from drivers that return strings.- The GraphQL schema crashed on component/dynamiczone attributes and unknown relation targets.
POST /admin/agentsredirected because of a trailing slash.- Relation population depth is capped (
level≤ 5). - Middleware errors now use the same
{"error": {...}}envelope as handlers. - The test suite passes again (7 of 12 packages were failing), including under
-race. - Enum attributes could not be saved; components could not be created (tables not migrated).
float,decimal,integer,enumerationandpasswordvalues were rejected.- Cron triggers never ran an agent; agent functions failed on string arguments from the runner.
- GraphQL relation fields resolved to
null; relation IDs showed as0after nested creates. - Agent history replayed to the LLM is bounded (last 40 messages).
- The default CORS headers did not allow
Authorization, so the admin UI failed from another origin. - The Docker image did not build, and the admin UI did not type-check.
[0.1.0] - 2025-01-05¶
Added¶
- User Role Management: Introduced roles (
admin,editor,viewer) with distinct permissions. - API Endpoints: Implemented
/auth/registerand/auth/loginroutes. - Test Utilities: Added helper methods for mocking JSON POST requests and initializing test servers.
- Slug Utility: Added a utility for generating URL-friendly slugs, including support for accented characters.
Changed¶
- Refactored Role Handling: Centralized role fetching and validation in storage layer.
- Improved Logging: Enhanced request and error logging with structured logs for debugging.
Fixed¶
- Database Migrations: Resolved issues with
AutoMigratenot applying schema changes during tests. - Test Failures: Fixed inconsistencies in test cases for duplicate entries and invalid roles.
Legend:¶
- Added: For new features.
- Changed: For changes in existing functionality.
- Fixed: For any bug fixes.
- Deprecated: For soon-to-be removed features.
- Removed: For now-removed features.