Reference
Changelog
On this page
What changed in each release of Kazari, newest first. Each release lists what is new, what behaves differently and what was fixed; the changes that need something from you before or after upgrading are under Upgrading. Upgrading describes the upgrade itself.
Versions follow semantic versioning. Until 1.0.0, a minor release can change behaviour, and the upgrade notes say how.
0.9.0#
Released 2026-11-23.
Share links can ask for a password, and kazari pull brings a published page back into a directory to change and deploy again, where kazari deploy now sends only the files that changed. Artifact hosts compress text files themselves and serve pages faster. Behind a proxy, Kazari reads the client’s address from one header, which some proxies need to name in the configuration.
Upgrading#
- In proxy mode the client’s address comes from one header,
listen.client_ip_header:X-Real-IPby default, orX-Forwarded-For, whose last entry is read. The other header is ignored. TheCaddyfileindeploy/and the Caddy and nginx examples setX-Real-IP. Behind a proxy that only appends toX-Forwarded-For, such as Cloudflare Tunnel, a load balancer or Caddy withoutheader_up X-Real-IP, setclient_ip_header: X-Forwarded-For, or the per-IP limits and the logs see the proxy’s address (running behind a reverse proxy). - Raise the proxy’s request body limit to a third more than
limits.max_version_bytes, about 70 MiB for the default 50 MiB, to accept a whole version sent inline in base64. The nginx example now setsclient_max_body_size 70m(proxy examples). api,mcpandadminare always reserved, also whenserve.reserved_slugsleaves them out, andkazari admin settingsshows the list with them added. An existing artifact with one of these slugs is not served at its version addresses; publish its files under another slug (reserved slugs).kazari.csprefuses every source that matches every host, such ashttps://*,wss://*:443or*:*, as it refused*and bare schemes. Subdomain wildcards such ashttps://*.example.comare accepted. A page that already sets such a source is served without it, so check the pages that setkazari.csp(per-artifact CSP).
New#
- Share link passwords.
password, 12 to 256 characters, onPOST /v1/artifacts/{slug}/share-links,create_share_link,kazari share create --password, the dashboard and the account page has the link ask for a password before it opens the page. Only a hash is stored. Wrong passwords make the next try from that address wait, up to a minute, and listings and the audit log show which links have a password (share links). kazari pullwrites the files of the published version, or of--version N, to./<slug>, sokazari pull q3-reportandkazari deploy q3-reportwork on the same files;-writes thetar.gzto standard output.GET /v1/artifacts/{slug}/bundle?version=Nstreams the same archive and names the version inKazari-Version(pull).- Compression on artifact hosts. Text files from 1 KiB to 4 MiB are sent with Brotli, zstd or gzip, the coding the client weighs highest, and kept compressed in memory up to
serve.compression_cache: 5% of the memory the server may use by default, at most 1 GiB, and0turns it off. The start log and thecompressionline ofkazari checkstate the size, and thekazari_site_compression_*metrics report hits, evictions and use. A proxy in front needs no compression of its own (compression). - An orphan sweep. Once a day the
gcjob also removes files in the blob store that the database has no record of and that were last written more than a day ago, such as those a publish stopped by a crash leaves.kazari_gc_orphans_removed_totalandkazari_gc_orphans_removed_size_bytes_totalcount them (sweeping orphan blob files). - The image checks its own health with
kazari admin healthevery 30 seconds, so a container started withdocker runshows ashealthytoo. The installation guide describes the image: its tags and platforms, pinning a version or a digest, verifying its signature, reading its SBOM and running it without Compose (the image).
Changed#
kazari deploysends only what changed since the version it builds on, and reports it as3 files, 12 KiB; 11 unchanged; removed: assets/index-3fa0c2.js.--dry-runlists the unchanged files too, and a file that changes on disk after the deploy has checked it fails the deploy (deploy).- Pages are served faster, however many files a version holds, and the checks after a publish read only the files that changed. Large publishes and garbage collection take less time too.
- A sign-in handed over from an invite, reset or setup link asks to continue. The sign-in page asks the person to continue as their handle, and signs the browser in when they press Continue.
- The image is built on distroless
static-debian13, in place ofstatic-debian12. - Inline files over REST are read as MCP reads them: base64 can be unpadded, contain line breaks, spaces and tabs, and start with a
data:prefix, andencodingis read in any case. A JSON body with files can be a third larger thanlimits.max_version_bytesplus 1 MiB, so a whole version fits in base64, andlimits.max_version_bytesalso bounds the files one request names by URL. update_artifactwithstageand no files or edits fails withinvalid_argument, also when it sets the visibility.- Every CLI command stops at Ctrl-C or
SIGTERMand says what it left behind, and--timeoutcovers the admin socket too. - Sizes in the output of the CLI and
kazari checkhave no trailing.0(312 KiB), and--quotatakes the units the configuration takes.
Fixed#
- Sign-in no longer waits on an identity provider that does not answer: each request for discovery, the token exchange or the signing keys gives up after 10 seconds.
- After signing in with an API key, the account page revokes only keys no wider than that key, as it rotates them and as
/me/keysdoes. - The admin socket appears at its path only with mode
0600. - An import counts once in
kazari_artifact_publishes_total, asimport. - A page name taken from a
<title>cut to the name limit no longer ends in a space.
0.8.0#
Released 2026-11-22.
Pages can now be reviewed before they go live, and old versions can be deleted to free quota. Publishing says when a page will not render as intended, members manage their own pages from the account page, and the CLI gains kazari deploy, kazari login and exit codes for scripts. Running an instance gets stricter checks at start and a server that no longer waits on its identity provider.
Upgrading#
Most of what changes for an instance is in Upgrading to 0.8:
- Listener addresses are
host:port. A bare port such as8080inlisten.http,listen.httpsoradmin.listenfails validation; write127.0.0.1:8080or:8080. - Placeholder domains stop the server. A
base_domainortls.emailunderexample.com,example.orgorexample.netfails validation, andtls.emailis optional. - One server per data directory. A second server on the same
data_dirstops withanother kazari (pid N) is using <data_dir>. - The identity provider no longer stops the start. Sign-in answers “temporarily unavailable” until the new
oidc-discoveryjob reaches it, andadmin_emailsmakes its addresses admins whateverallowed_domainssays (provisioning policy). - A change after a rollback names its base. While an earlier version than the latest is published,
update_artifact,edit_file,PUT /v1/artifacts/{slug}and the edit route fail withpublished_not_latestunless they setbase_version, andkazari update,deployandeditneed--base(after a rollback). The same holds while a version is staged. kazari.cspadds sources to the instance policy instead of replacing it, directive by directive, and refuses*and bare schemes such ashttps:(per-artifact CSP). Check the pages that set it.- CLI exit codes tell failures apart:
2for usage,3not found,4conflict,5rate limited,6not signed in or not allowed, and1for anything else (exit codes). - The first start runs four migrations. One records the uploader of every stored file, so on an instance with many versions it takes longer than usual.
New#
- Staged versions.
stage: trueonupdate_artifact,edit_fileandPUT /v1/artifacts/{slug}, or--stageonkazari update,deployandedit, adds a version without publishing it. Its version address opens only for people signed in to the instance, never through a share link, untilpublish_versionorkazari rollbackmakes it live (staging a version). - Deleting versions.
DELETE /v1/artifacts/{slug}/versions/{n},POST /v1/artifacts/{slug}/versions/prunewithkeepanddry_run,kazari versions rm|pruneand Delete this version on the dashboard free the quota old versions take. The published and the latest version always stay, and a prune keeps staged versions newer than the published one. A page’skazari.keep_versionsmetadata has every sweep prune it (versions). Deleting versions of another member’s page, or setting the key on it, needsartifacts:delete. - Warnings after a publish: a missing root
index.html, files a page or stylesheet refers to that are not in the version, and origins the page’s Content-Security-Policy blocks. kazari deploymakes an artifact match a directory, creating it the first time and deleting files gone from the directory after that, with--dry-runand a.kazariignore.kazari publishtakes a single file, and bundles may be zip or tar.gz.kazari loginandkazari logoutkeep the API address and a key in the client configuration.- Edits to several files in one version:
update_artifacttakeseditsper file, asedit_filedoes for one. - Members manage their own pages at
/account/pages/{slug}on the apex: visibility, share links, versions and taking a page offline. The account page shows the address to connect an agent. kazari admin restore-backuprestores a backup into a stopped instance, andkazari admin backup -streams one as tar.- Configuration sources:
kazari admin settings,GET /v1/settings/sourcesandkazari checksay where each value that is not a default was set. kazari.envbeside the configuration file is read byserve,checkandadmin, as/etc/kazari/kazari.envbeside/etc/kazari/kazari.yaml.- One file through an archive URL:
archive_pathinPOST /v1/uploadsandbegin_uploadsends a single file toarchive_urlwithout zipping it. - Creating on the first deploy:
PUT /v1/artifacts/{slug}?create=truecreates a missing artifact, andmirrordeletes the files the request does not carry.GET /v1/artifacts/{slug}sends anETagwith the latest version number. - OAuth responses to a client’s redirect URI carry
iss, and the server metadata advertisesauthorization_response_iss_parameter_supported. - The changelog is published at
/docs/changelog/, ships in the archives and packages, and is linked from the dashboard.
Changed#
- A publish whose files match the latest version adds no version, and says
unchanged. A version added without a label gets one listing what changed, and a page created without a name takes its<title>. - The default
serve.cspallows stylesheets and fonts from cdnjs, jsDelivr and unpkg, as it already allowed their scripts. - The MCP tool list follows the credential’s scopes: a read-only key sees no write tools. The tool descriptions are shorter,
read_filenames the version it read, and arguments in common wrong shapes are read as meant. - MCP lists, discovery and resources are cached privately:
cacheScopeisprivate, withttlMsof five minutes, and zero for an artifact’s record and files. - Durations accept weeks and days (
2w,3d) everywhere, includingkazari admin audit --sinceand--until, and sizes in errors are written in units such as25 MiB. A file over the size limit is named with its own size when it is known up front. - A change to a page in the bin says how to restore it, to the people who could restore it.
- The CLI retries after
429and503asRetry-Aftersays, up to twice, and--timeoutlimits a request. - The systemd unit keeps restarting through a long outage, ten seconds apart.
kazari admin … --helpleaves out the flags of the user API.
Fixed#
- An upload given to a publishing call that fails stays open, so the call can be sent again with the same
upload_id. - The restore and upgrade steps in the operations guide work as written, including a backup without certificates.
- A forgotten password set with a recovery code returns to the sign-in that asked for it.
0.7.0#
Released 2026-11-22.
Kazari now runs day to day from a browser and without an identity provider: a dashboard on the admin host, built-in accounts with passwords and passkeys, and page views. Keys can be limited to a few slugs for agents that publish on a schedule, and the MCP server returns smaller results.
Upgrading#
- Sign-in is a password on instances without
auth.oidc. The sign-in page asks for a handle and a password, with Use an API key instead under the form. Existing keys keep working. Upgrading to 0.7 says how to give people a password, or how to keep sign-in by API key alone withauth.local.enabled: false. - The dashboard needs
admin.public_urlwhenadmin.listenis set. Without it, the dashboard stays off (the dashboard’s address). GET /v1/auditanswers an object,{"events": [...], "next_cursor": "..."}, instead of an array. The same goes forkazari --json admin audit.- Client commands read a dotenv file only when
KAZARI_ENV_FILEnames it. They no longer read./.env. Forserveandcheckwith a configuration file,./.envfills${NAME}references only;KAZARI_*overrides come from the process environment or a named env file. - Usage counts 4 KiB for each file of each version, on top of the file sizes, so
used_bytesrises on upgrade. Check the quotas of people who are close to theirs (quotas). - Users named
adminorschedulerare renamed to the first free suffix, such asadmin-2, at the first start (users named admin or scheduler). - The MCP endpoint refuses JSON-RPC batches with
400 invalid_argument. Clients on the 2025-03-26 and earlier revisions that batch calls send one per request. - The release image has no per-architecture tags.
<version>-amd64and<version>-arm64are no longer pushed;<version>andlatestcover both platforms.
New#
- A dashboard at the root of the admin host: Overview, People, Pages, Activity and System. It does nothing the admin API and the CLI cannot (dashboard).
- Built-in accounts: passwords, single-use invite and reset links that need no email server, a setup link for the first admin on a fresh instance, and account pages at
/account/on the apex. On by default whenauth.oidcis absent (built-in accounts). - Passkeys and recovery codes for built-in accounts. A person signs in with a passkey, and sets a new password with a recovery code when they forget it, without an admin.
- Page views: daily totals per page and per file, daily visitors, views through share links, and which members opened a members page, on the dashboard and with
kazari admin views. No request log, IP address or user agent is stored. Theanalyticssection turns it off or changes the retention, 366 days by default. - Keys for agents that run unattended. A key can be limited to slugs (
--slugs 'weekly-*'), people issue, rotate and revoke their own keys withkazari keys, and a key can sign in an MCP connection with its own scopes and expiry. Token lifetimes are set inauth.tokens, andkazari admin grantslists and revokes OAuth grants (scheduled and unattended agents). - A built-in backup,
kazari admin backup, which needs nosqlite3binary. - Readiness:
kazari admin readyandGET /v1/readyrun the checks ofkazari checkagainst the running server. - An update check, a daily job that asks GitHub for the newest release and shows it on the dashboard.
admin.update_check: falseturns it off. - New commands:
kazari restore,kazari admin identities link|unlink, andkazari admin users show|transfer|invite|reset-password|sign-out. The artifact list takes a search text and a visibility filter, and the audit log takes action and time filters and a cursor. - Anchor inserts:
afterandbeforeinedit_file, the API andkazari edit --after|--beforeinsert lines next to an anchor. - Release provenance: every released file has a build provenance attestation, and the image carries an SBOM. Archives and packages are reproducible from the commit.
Changed#
- MCP write tools return a summary (URL, version, visibility and state) instead of the whole artifact record, and edit excerpts no longer repeat the text the agent sent. The skill and the tool descriptions tell agents to edit from the last result instead of reading the file first.
- Marking another member’s artifact stale needs
artifacts:delete. Owners and admins are unaffected. Restoring an artifact without files now clears its stale mark unlesskeep_staleis set. - Visibility and share links need the new
artifacts:sharescope. Every stored credential withartifacts:writegets it at upgrade. - Refresh tokens last 90 days by default (
auth.tokens.refresh_ttl). - Signing out moved to the MCP host.
/oauth/signoutonmcp.<base>ends the sign-in on every host of that browser; signing out on an artifact host ends only that host’s view. - Disabling a user revokes the share links they created. Enabling them again does not restore the links.
- File lists come in pages of whole versions, newest first, up to 5,000 files:
next_files_beforein the response goes back asfiles_before. - OAuth limits: redirect URIs and URL client IDs are limited to 2 KiB and
stateto 1 KiB, and clients that never complete a grant are removed after one day. - Imports have a size budget for what rewriting a page adds, 4 MiB or
limits.max_file_bytesif lower, and fail withtoo_largepast it. - Members pages send
Cross-Origin-Opener-Policy: same-originandCross-Origin-Resource-Policy: same-originon every response. - Exported OTLP logs redact identities in paths and quoted error text, as spans already did. Stderr keeps the full values.
serve --localruns onkazari.localhost, where passkeys work over plain HTTP.- Text in MCP results no longer escapes
<,>and&.
Fixed#
- A publish that fails partway deletes the files it stored, instead of leaving them for the garbage collector.
- A service worker registered by an artifact is replaced once its author can no longer change the artifact.
- Signing out ends every sign-in of the browser, also those finished in another tab.
- Edits that are refused, reads with anchors and
read_filewindows hold a small, fixed amount of memory, whatever the file size. - Zip archives whose entries add up to more than the archive are refused.
- Errors from the DuckDNS provider no longer contain the account token.
- The CLI replaces control characters in server text in errors and in the import report.
- The operator’s admin token and socket no longer make a user involved in the artifacts they hide or transfer.
- Edit excerpts keep an empty last line, two cases of the import rewriter are fixed, and an aborted response is no longer logged as a panic.
- The dashboard’s meters and the website’s search, menu, tables and code buttons work with a keyboard and a screen reader.
0.6.1#
Released 2026-11-02.
Changed#
- The MCP server no longer advertises
list_changed, so clients do not hold a long-lived event stream open waiting for changes that never come.
0.6.0#
Released 2026-10-31.
Kazari now reports what it does over OpenTelemetry, so an operator can follow an agent’s request through the tracing and metrics tools they already run (metrics).
Upgrading#
- Every metric is renamed to the OpenTelemetry semantic conventions. Upgrading from before 0.6 maps the old names to the new.
/metricson the admin host needs a token,telemetry.metrics.token.admin.listenand the admin socket stay open.
New#
- Traces of requests, MCP tool calls, the store, blobs, outbound fetches, jobs and startup, exported over OTLP with HTTP or gRPC. The control plane is sampled in full and artifact hosts at 1%.
- Metrics for HTTP and MCP, sign-ins, rate limits, API errors and artifact actions, with gauges for the census, the connection pool, jobs and the certificate.
- Optional OTLP log export (
telemetry.logs.otlp), without identity fields. - The
telemetrykeys win; unset ones fall back to the standardOTEL_*variables.kazari checktests the OTLP endpoint, and the repository has an example collector configuration and a Compose profile.
0.5.0#
Released 2026-10-30.
Agents in a sandbox can now send a whole site from their shell in one request, and this release carries the fixes from the first review of the code.
Upgrading#
- An admin signs in through a listed email or a linked identity. An existing admin links by email only when
auth.admin_emailsnames the address; any other admin needs an identity linked through the admin API (provisioning policy). - Only an admin transfers an artifact, and a version counts against the owner’s quota whoever adds it.
- Reserved slugs stop serving. An artifact whose slug is later added to
serve.reserved_slugsanswers with the instance’s 404 page. - The handles
adminandschedulerare reserved for new users. - Agents in a sandbox with an egress allow-list need
api.<base>on it to use archive uploads.
New#
- Archive uploads to a signed URL.
begin_uploadwitharchive_sha256andarchive_bytesreturns a single-use URL that takes a zip or tar.gz archive withcurl, which the agent then publishes withupload_idas before.
Changed#
- Changing an artifact that is offline needs read access to it first, under either write policy.
- An invalid authorization request shows an error page instead of redirecting to the client.
- Reusing an authorization code revokes the tokens it was exchanged for.
- OAuth clients that never complete a grant are removed after seven days.
Fixed#
- The sweep no longer purges an artifact restored after it was listed.
- A chunked upload stores exactly the bytes it recorded.
- A tar entry’s declared size counts against the bundle limit before it is read.
0.4.0#
Released 2026-10-28.
Agents can now copy an existing web page and change it, and work with large files over MCP.
New#
import_pagecopies a page with its stylesheets, fonts, images and media underassets/, and returns an outline of its sections for the edits that follow. Over REST it issource_urlonPOST /v1/artifacts; on the command line,kazari import.- Files by URL:
files[].urlon create and update downloads the file before the publish. Thefetchsection of the configuration controls both. read_filewindows:start_lineandend_lineread part of a text file of any size, with anchors thatedit_fileaccepts.discard_uploadremoves an upload the agent no longer needs.- Restore over MCP:
update_artifacttakesrestore: true, andlist_artifactstakesdeleted.
0.3.0#
Released 2026-10-27.
Setting up an instance takes a few copy-and-paste steps: packages, an install script, a preflight check and admin commands that need no token on the server itself.
Upgrading#
- The CLI is rebuilt on one grammar for
serve,check, the client and the admin commands. The client’s--configis now--client-config. - The module path is
github.com/PeterBooker/kazari, sogo installworks. serve --localreplacesdeploy/dev.yaml.
New#
kazari checktests the configuration, the data directory, the DNS records, the DNS token and the ports before the first start.- An admin socket in the data directory serves the admin API to
kazari adminon the same host without a URL or a token. - Packages and an install script:
.deband.rpmpackages, andinstall.sh, which verifies the checksums. - More DNS providers: DigitalOcean, Gandi, OVH, Namecheap and DuckDNS.
- Secrets from files: any secret key also reads
KAZARI_<KEY>_FILE. deploy/kazari.yamlis the short file an instance starts from,deploy/kazari.reference.yamllists every key, anddeploy/compose.ymlruns the published image.
Changed#
- Edits return the changed content, so agents that read only the text of a result see it.
0.2.1#
Released 2026-10-25.
Fixed#
- claude.ai connects as a custom connector. Kazari refused clients that list grant types it does not offer; it now requires only the ones it uses.
0.2.0#
Released 2026-10-25.
Pages can now be limited to the people of the organisation, and agents can change a file without sending all of it.
New#
- Members-only pages: the
membersvisibility serves a page only to people who sign in to the instance in their browser, and to holders of one of its share links. - Share links with an expiry, for people who cannot sign in.
edit_filechanges part of a text file by matching text or by line anchors fromread_file, and publishes the result as a new version.- A served skill: the instance’s own guide for agents, generated from its configuration.
- Confirmation before a purge over MCP, and a preview card of a published page in MCP clients that show apps.
0.1.0#
Released 2026-10-25.
The first release: one Go binary that serves each artifact as its own site at <slug>.<base> under a wildcard certificate.
- Immutable versions stored once by SHA-256, with roll back and forward, and
expected_versionandIf-Matchagainst lost updates. - A REST API, an MCP server with twelve tools and the
kazariCLI over one service layer. - Inline files, tar.gz bundles and chunked uploads.
- A stale, soft-delete and purge lifecycle that can be undone until the purge, recorded in an audit log.
- An OAuth 2.1 server for MCP clients federated to one OpenID Connect provider, and API keys.
- ACME DNS-01 for Cloudflare, Route 53 and Hetzner, certificate files or a proxy in front; SQLite and a blob directory as the only state; Prometheus metrics, quotas and rate limits.