List of changes for this repo, including atomic-cli, atomic-server and atomic-lib.
By far most changes relate to atomic-server, so if not specified, assume the changes are relevant only for the server.
Changes to JS assets (including the front-end and JS libraries) are not shown here, but in /browser/CHANGELOG.
See STATUS.md to learn more about which features will remain stable.
- Releases: after a release PR merges, the Tag release workflow tags it once the owner approves in GitHub and the develop pipeline on the merge commit is green (
CONTRIBUTING.md). - Desktop release: the linuxdeploy build tools are no longer attached to the GitHub release as if they were installers.
- npm releases:
@tomic/form-rendererand@tomic/mcpfollow the release version (0.41.0 had them at a beta version),bump-version.mjs --checkfails on a published package it does not bump, and the npm job publishes every package that already exists before it fails on the ones that need a first publish. - CI: publishing the live docs fails when the Netlify token is missing, instead of skipping silently, and Netlify deploys upload the prebuilt sites (
--no-build) instead of running a Netlify build. - Fix: plain
application/jsonand JSON-LD responses for collections (e.g./classes,/properties) returned"@id": "internal:/classes"instead of the public URL. The@idis now resolved against the server origin, like in JSON-AD. atomic-serverpublishes to crates.io again: the WIT files its plugin host is generated from are vendored intoserver/wit/(they lay outside the crate, so the packaged crate did not compile since v0.41.0-beta.8). A test fails when the copies drift fromatomic-host/witandplugin-runtime/wit.- The Windows desktop build works again: the
browserpreparescript no longer uses POSIX shell syntax. - Releases: a weekly Prepare release workflow opens a release PR with the version bump, lockfiles and changelog (
CONTRIBUTING.md).
0.41.0 is the first feature release in more than two years (0.40.0 came out in October 2024), and the biggest change Atomic has had. Atomic is now local-first: your data lives on your device, works offline, and syncs between your devices. A server is one more device that never sleeps. Around that, almost everything you see in the app is new.
Read What changed in 0.41, and how to upgrade before upgrading a server. The first start migrates the store (sled to redb) and can take a while, needs about twice the store size in free disk, and cannot be rolled back without a backup.
- Local-first and offline. The web app keeps its own database in the browser, the desktop and phone apps keep one on disk. Nothing waits on the network, and edits made apart merge without conflicts. Sync your own devices by pairing them, no server needed.
- Desktop and phone apps. A desktop app for macOS, Windows and Linux that updates itself, and a new app for Android and iOS.
- A new onboarding. Start without an account: you get your own private drive, a Welcome drive with a short Start here guide, templates to begin from, and a Getting started checklist. Back up your account with a passkey and restore it on a new device.
- Tables, kanban, calendar and timer views. Tables got filters, sorting, totals, derived columns, decimal columns, comments on rows, bulk delete and linkable views. The same rows show as a kanban board, a calendar or a time tracker, and eleven table templates (Expenses, Deals, Time tracker, Issue tracker, Guest list and more) get you going.
- Dashboards. Pages built from blocks over your data: numbers, charts, embedded tables, notes and create buttons.
- AI assistant. Chat with your data, pick your model, use slash commands and speech. The assistant can create and change tables, dashboards and documents for you. Chats are saved in your private drive.
- Forms (beta). Build a form or survey, share a link, and guests fill it in without an account. Every answer becomes a row in a table.
- Comments and chat on everything. Every resource has its own chatroom, with notifications and an Inbox, also in the desktop and Android apps.
- Sharing. One Share dialog for inviting people and managing who has access, private drives for every account, and things shared with you that update live.
- Apps. Install WASM apps (views, tables, forms, integrations) from the app catalog in atomic-plugins.
- Everything else. A new navigation bar (at the bottom on phones), a search overlay that works like a command bar, tags, a redesigned settings page with search, history that shows who signed each version, a formatting toolbar in documents, and dark mode from the first screen.
- Connect Claude and other AI tools. Every server is an MCP server (
POST /mcp, with OAuth): you approve in the app which drives a tool may read or edit.@tomic/mcpdoes the same for local tools.
- Identities are Ed25519 keys (
atomic:agent:...), new resources get location-independentatomic:names (did:ad:stays valid), and every commit is a signed Loro CRDT delta. - Sync over WebSockets, Iroh peer connections and WebRTC. A drive's signed pkarr record tells a new device where its data is hosted, so signing in with your secret finds your data.
- Schemas are ordinary ontologies:
atomic-cli schema push | lock | check | diff, content-addressed properties, class constraints and lenses. - A new storage engine (redb), local full-text search in every app, and a much faster query layer.
- Breaking: commits with
set/remove/pushare rejected,/versionand/all-versionsare removed, vector search is opt-in, and/needsATOMIC_HOME_DRIVEto show a drive. Upgrade@tomic/lib,@tomic/react,atomic_libandatomic-clitogether with the server.
Changes since beta.9 (the betas below list everything else):
atomic-cli schema diff <file> [--against <old file>]lists how a schema differs from the ontology on the server (or an older file) as compatible, tightening or breaking changes, and fails on breaking ones.schema pushrefuses breaking changes unless you pass--allow-breaking. The schema lockfile gets an optionalfingerprint(atomic_lib::schema::compat) thatschema checkcompares; older lockfiles keep working.schema pushno longer needs--accept-changesto add a property that the lockfile does not list yet (atomic-cliand@tomic/cli;schema checkstill fails on it). Pushing a property whose datatype changed no longer fails with "Import identity already exists": the new property is made, and the old one stays under aschema:property:<shortname>:superseded:<subject>localId.
- WebSocket protocol cleanup (wire: additive). The server no longer advertises eight capabilities no client reads (
auth-max-age,pull-from,signed-destroy,unsub,auth-nonce,client-hello,rebind-on-auth,ephemeral; the behaviour is unchanged and the names stay reserved), tag0x36is only a reserved note indocs/src/websockets.md(the unusedQUERY_UPDATE_RESERVEDconstant is gone), and stale text-verb comments are fixed. NewERRORcodeDEPRECATED_CLIENT (14): a client whoseHELLOlackscanonical-scheme(everything before v0.41.0-beta.8) gets one notice withrequest_id0 and the server logs a warning; the connection keeps working. A client that authenticates without anyHELLO(before beta.5) is only logged. Old clients see an unknown error code with request id 0.WsClientlogs the notice instead of failing a pending request. atomic_lib: commits are parsed from JSON-AD in one place,Commit::from_json_ad, instead of through aResourceround trip (parse_json_ad_commit_resourceis gone), and the full, slim and pacedCOMMIT_OKframes come from oneCommitAckthat the sync engine and the WebSocket handler share. Internal: no wire change.- Removed the Tauri iOS and Android builds: the
androidandiosjobs of the Tauri release workflow (now desktop only),desktop/gen/androidanddesktop/gen/apple, the mobile capability and thetauri-plugin-barcode-scanner, Android-only code indesktop, and the Android option inscripts/dev-all.sh. The mobile app is the Flutter app; Tauri stays for macOS, Windows and Linux. @tomic/lib: theClientDbWorkerproxy and the database worker now derive from one typed method list (ClientDbRpcinclient-db.worker.ts) instead of three hand-kept mirrors (public method, request union, dispatcherswitch). Internal: the message format is unchanged, leader election and follower forwarding are untouched.- Sync probe: a hash-first
SYNCprobe over a drive that did not change no longer walks the drive. The KV layer logs which subjects were written (db::write_log, bounded ring of 4096), and the probe hash is cached per drive, agent, wire spelling and hash version. A cached hash is reused unless a write since touched a subject of the drive, a subject its read decision consulted (the drive's ancestors anddrivestamps), or one whose parent is now in the drive; batches count when they commit, and a ring overflow orclear_treerecomputes. Internal: no wire or hash change. The Iroh dialing side still computes its own hash by walking the drive. - Iroh sync: the dialing side opens with the hash-first probe the WebSocket client already uses when the peer advertises
sync-probe, so a drive that did not change costs one hash instead of the full version-vector table. On a miss (SYNC_RESEND) it sends the fullSYNC, in the sparse encoding with hash v2 when the peer advertisessparse-sync(no more R x R table), else the dense one. Peers withoutsync-probeget the fullSYNCstraight away.PeerSyncOutcomehas a newprobe_hitfield. Seedocs/src/websockets.md. atomic_lib: addAtomicNode::open_with_storefor application-supplied key-value backends, with the same bootstrap, migrations and indexes as built-in storage.lastCommitis derived and no longer stored in the resource's Loro document. The server used to writelastCommit = <commit id>into the document after every commit as its own change under the server's peer (about 100 incompressible bytes per commit, in every oplog, re-created on every replica). It now serves the id of the newest kept envelope when a resource is read or sent, from the stored projection row, falling back to the newest envelope and then to the genesis commit. Wire and HTTP are unchanged:lastCommitis still in JSON-AD and inHAS_COMMIT_IDframes, so released clients keep working. Existence of a DID agent is now "has a stored Loro snapshot" instead of "has alastCommit". Documents that already hold a stamp keep it; the derived value wins. Chat log pages are no longer exempt: theirlastCommitfollows the newest entry commit.- Kept signed commits are stored as compact rows: the signed
loroUpdatebytes as raw bytes plus the signer and previous commit as raw ids, instead of the full JSON-AD. A small edit takes about 340 bytes on disk instead of about 660 (20 edits: 6.8 KB instead of 13.6 KB). The JSON is rebuilt from the row alone, byte for byte, with no Loro history involved; a commit is only stored compact when that round-trips exactly, otherwise the full JSON is kept. Rows that cannot be decoded are reported (unreadablein/history-attribution, a warning in packs and sync export),latest_envelopedoes not return an older row in their place, and Latest retention never prunes around them. Older rows keep working. A node from before this change reads compact rows as missing, so rolling back after compact rows exist loses them. - Audit history per resource: a resource (or a folder, or a drive) can set
retentiontoauditto keep every signed commit of itself and everything below it, next to the node-wide--envelope-retention. Audit is inherited down the parent chain and only raises what a node keeps; taking it off never deletes the audit era, and values other thancompact/auditare refused.GET /history-attributionreports the retention that applies to the resource (docs/src/commits/versioning.md). No wire change: it is an ordinary property, and software that predates it keeps what its node setting says. - Write-load signal: a node tells clients to commit less often when it is busy.
POST /commitand the WebSocketCOMMITshare a count of commits in flight; above--commit-soft-limit(ATOMIC_COMMIT_SOFT_LIMIT, default 32)COMMIT_OKcarriespace_ms(newcommit-pacecapability, theX-Atomic-Pace-Msheader over HTTP) and above--commit-hard-limit(ATOMIC_COMMIT_HARD_LIMIT, default 256,0is off) a commit is refused before any work with the new error codeBUSY (12)(HTTP503withRetry-After). The WebSocket write rate limit is nowBUSYtoo, instead ofUNKNOWN. Clients that do not advertise the capability see no change on the wire. Seedocs/src/websockets.md. - Class constraints: a property's entry in
constraintscan describe nested JSON values withtype(including["string", "null"]),const,properties,required,additionalProperties,itemsandanyOf, up to 16 levels deep. Every keyword works at every level and errors name the failing value by JSON pointer (... breaks maximum on class patch at /pad/tune: ...). JSON Schema import keeps nested schemas, nullable types andanyOfbelow a property asjsonplus constraints instead of refusing them, and export writes them back (docs/src/schema/classes.md,json-schema.md). Older nodes reject commits that put the new keywords in a class, and skip every constraint of such a class (flat ones included) when it reaches them by sync. - Class constraints:
class_constraints::violations(Rust) andconstraintViolations(@tomic/lib) list every value of a resource that breaks its classes' constraints, so apps can check data that arrived by sync, which stays unchecked.devtools.inspectshows them. - Loro documents: strings that start with
[,{,atomic:,did:ad:orhttp(s)://are tagged asstringin thedatatypesmap so they are no longer read back as nested resources or URLs, and JSONnullis kept inside nested maps and lists. RedbStore::flushno longer returns before a concurrent flush's durable commit finishes, and keeps retrying after an early error #2378- A
SYNC_PUSHimports an unstamped child (parentset, nodrive) in the same frame as its parent regardless of entry order. The child is still skipped, with no snapshot left behind, when that parent is missing, rejected, or belongs to another drive. #2063
-
Discovery (#2198): a drive's pkarr record also lists the public https origins of the servers hosting it (
_atomic_http), published at boot and every hour, so the app can find a drive's server from the secret alone. New anonymousGET /genesis?subject=<did>returns only a drive's genesis certificate, which the app verifies against the drive DID before connecting. Drives minted before genesis certificates existed answer 404 and are not found this way. -
Schemas (#2151): properties get content-addressed subjects,
atomic:prop:{blake3}of their ontology, shortname and datatype (docs/src/schema/property-identity.md). The server verifies the hash on genesis, accepts the same property from two devices, and refuses changes to itsparent,shortnameordatatype. Existing properties keep their subjects and stay editable. -
Class constraints (#2151): a Class's
constraintsmap holds JSON Schema keywords per property (enum,minimum,maximum,exclusiveMinimum,exclusiveMaximum,minLength,maxLength,minItems,maxItems,pattern,class), enforced on commit; peer commits and sync skip it. An emptyallowsOnlyon a Property now restricts nothing. -
Lenses (#2151):
atomic:lens:resources map one property onto another (rename,wrap,head,map,convert); the derived values appear in reads and indexes without changing signed data (docs/src/schema/lenses.md). -
atomic-cli schema push | lock | check: turn a JSON Schema or ontology file into an ontology and a lockfile that pins its property IDs (#2151).atomic_lib::schema::json_schemaimports JSON Schema andensure_ontologycreates the result. -
Forms: field options use JSON Schema keyword names (
minItems,maxItems,minimum,maximum; the old names are still read) and may only tighten the column's class constraints;describe_formreturns the form's JSON Schema (#2151). -
--served-domain-suffix/ATOMIC_SERVED_DOMAIN_SUFFIXtakes a comma-separated list (atomicserver.eu,atomic.place), so a node can answer under two domains while it moves from one to the other. -
MCP endpoint:
POST /mcp(Streamable HTTP) is the one implementation of the MCP tools, for clients that cannot run a local process, such as claude.ai, and for the local@tomic/mcp, which now only bridges to it. It is an OAuth 2.1 resource server (RFC 9728 metadata at/.well-known/oauth-protected-resource) with the node as authorization server (/oauth/register,/oauth/authorize,/oauth/token, PKCE S256, dynamic client registration,resourcechecked). The person approves in the app (/app/authorize-mcp): which drives, and read only or read and edit. Reading is as an issued agent under the normal rights checks. If editing was allowed,edit_resource,create_resource(documents take Markdown as_documentText) anddelete_resourceexist, and the node signs those commits as that issued agent, never as the person. Revoking is removing it under Connected apps.list_drives,get_resource,search,query,get_user_classesandget_schemaare the read tools.--app-url/ATOMIC_APP_URLsays where the approval page lives when the app is not served by this node. -
The approval page only works with a node the person is already using: a link naming another server is refused, and the redirect back to the client must be exactly the one registered, so a crafted link cannot grant access to someone else's key or run script in the app.
-
atomic-cli connect: connect the CLI with a key made on this machine, approved in the app (/app/connect-agent), instead of pasting your agent secret. Without a config file, the CLI now points you to it rather than asking for the secret. -
Forms (beta): guests can fill in a form without an account, and each answer becomes a row in a Table. New default ontology
forms(lib/defaults/forms.json:Form,FormPage,FormField,FormHeading,FormParagraph,FormInfoBox,FormCondition,FormInviteCodeand their properties). New public endpoints:GET /form/{id}(the form page),GET /form/{id}/definition,GET /form/{id}/challenge(a self-hosted proof-of-work captcha, ALTCHA),GET /form/{id}/imageandPOST /form/{id}/submit.{id}is a short publish slug or the form's identifier. Only published forms inside their open/close window answer (others get410); invite-only forms need a single-use code. Submissions are validated against the form's questions and branching conditions (answers to hidden questions are dropped), rate-limited per client address, and written by the server's agent; a form can only write into, and show visitors resources from, its own drive. A class extender addsform-submission-summaryto a Form for readers who may see it.server/build.rsembeds thebrowser/form-appbundle. #875 -
Collection
/query: the rights walk no longer full-decodes ancestors (memoize by subject +get_resource_shallow). Denied members still do not consumepage_size, so a readable row after a private streak is returned. -
Commits whose Loro update depends on ops the server does not have are now refused ("parked as pending") instead of being accepted without effect; the browser resends a self-contained update.
-
/download/files/{hash}and blob URLs serve the File's stored mimetype. -
A plain
GET /wsthat is not a WebSocket upgrade (a crawler, a pasted URL) now answers 400 instead of 500, so it no longer shows up as an incident in error reporting. -
A commit is also sent to WebSocket subscribers of the resource's parent. A resource shared out of a drive the recipient can't read (a chatroom) can only be subscribed to on its own, and a new child is a new subject, so its new messages reached neither that subscription nor a drive subscription the recipient could hold. Read rights are checked per subscriber against the resource when it is sent, and a connection already reached through the resource or its drive doesn't get it twice.
-
End-to-end encrypted conversations.
atomic_lib::conversationderives an agent's X25519encryptionKey, keeps a conversation's keys in a keyring wrapped to each member, and seals and opens messages; the WASM build exports it. New default ontologyconversations(lib/defaults/conversations.json) with theConversationandSealedMessageclasses. New endpoint/conversationslists the conversations on the server the requesting agent is a member of. Seeplanning/encrypted-conversations.md. -
New default ontology
notifications(lib/defaults/notifications.json): theInboxandNotificationclasses, and aninboxproperty the private drive points to its Inbox with. -
Removed range-based set reconciliation (RBSR,
lib/src/sync/rbsr.rs). The server rebuilt a drive's whole inventory for everyRBSR_FPround trip, so the descent cost more than the one full version-vectorSYNCit replaced.RBSR_FPis now answered with{"drive","unsupported":true}and no fingerprints, which makes an older browser fall back to the fullSYNCimmediately.RBSR_ITEMSstays as the drive inventory, and aSYNCwithsubjectsis still honoured. Therbsrcapability is no longer advertised. -
The server raises its own file-descriptor soft limit to its hard limit at startup. It already budgeted HTTP connections against the soft limit and kept a reserve, but HTTP is not the only tenant of that pool: the database, Iroh's QUIC sockets and every open websocket draw on it too, so on a stock soft limit of 1024 the process can run out while the HTTP budget still looks healthy. Staging did, for twenty-three minutes, with 2,655
error accepting connection: No file descriptors available, Iroh unable to bind its hairpin probe, and a panic at the tail. A process may raise its own soft limit as far as the hard limit without privileges, and the connection budget is computed from whatever is in force afterwards, so a refused raise is logged and not fatal. -
Publishing a plugin release that is already recorded on the server (the same zip, uploaded by someone else) now grants the new publisher read on the
Releaseand its package File. Before, their Installation could not resolve the release and activation failed with a 401. -
Version 2 request signatures (ontola/atomic-plugins#54). A request sent with
x-atomic-signature-version: 2is checked againstatomic-request-v2\n{METHOD}\n{full URL}\n{timestamp ms}\n{sha-256 hex of the body}instead of v1's"{url} {timestamp}", so a captured proof can no longer be replayed with a different method or body within its five minutes. v2 is opt-in: a request without the header is checked as v1 exactly as before, and a v2 request that fails is refused, never retried as v1./app-agentand/plugin-view-tokenaccept v2 (they do not require it yet); every other endpoint refuses a v2 signature with a 401 that says to sign with v1, as do an unknown version and a v2 header without thex-atomic-*headers. Cookies and WebSocketAUTHstay v1.atomic_libexportsrequest_signature_message_v2,RequestBindingandclient::get_authentication_headers_v2; shared test vectors live inlib/src/authentication_v2_vectors.json. -
Identifiers are now emitted as
atomic:(atomic:{genesis},atomic:agent:,atomic:commit:,atomic:blob:,atomic:node:). The previousdid:ad:spelling is accepted forever and names the same resource. New genesis certificates still encode the v1 header byte (0x01) soGenesisCertliterals in downstream crates keep compiling;GenesisCert::new_v2canonicalizes parent/drive strings toatomic:. Decode accepts a0x02header. Existing v1 certificates and the personal-drive singleton stay v1. Pairing isatomic:node:{id}?v=1&drives=*;/resource?subject=is the HTTP endpoint (/atomicand/didremain aliases). The store canonicalizes subjects and identifier-shaped values on write and on query filters. Opening a pre-rename database rewrites leftoverdid:ad:keys in every subject-keyed tree (resources, snapshots, DID mapping keys and hint values, envelopes, tombstones, the outbox), streaming each tree, and rebuilds indexes. A v2 certificate that carries adid:ad:string is refused on decode; a v1 certificate's parent and drive are compared with the resource in one spelling. Sync advertisescanonical-schemeand emitsdid:ad:to peers that do not list it on every frame that names a subject, over WebSocket and Iroh alike; a client canonicalizes what an old server echoes back. The in-memory store keys resources canonically (#1584). -
The causality guard no longer refuses a commit whose writes lost an honest race. It asked whether the merge kept what the commit sent, which an unseeded client and a client that simply lost to a newer peer both answer no, so a client with a perfectly good doc was told to refetch and retry, and could only resend the same bytes. It now asks what it means to ask: whether the incoming update's version vector carries any peer the stored state also has. A doc seeded from the server does, however far behind it has fallen, and losing last-writer-wins from there is accepted. A doc built from scratch does not, and its vanished writes are still refused, as before. The version comes from the blob header via
update_range, so the check costs a parse and not a second document build. -
A causality rejection now names the writes it dropped. The error a client gets when its Loro update lost every write to LWW reports each mismatching property as
sent <x>, stored <y>, in place of the full list of values sent and the bare list of stored keys. Which write lost, and to what, previously lived only in the server's own[causality-guard] rejectinglog line. TheCommit's Loro update produced no state changesprefix thatclassify_commit_errorand the client outbox match on is unchanged, and so is the condition for accepting or rejecting a commit. -
Fix: a stale authentication proof no longer fails a request that needed no authentication. A browser keeps its proof in the
atomic_sessioncookie, and untilAUTH_MAX_AGE_MSarrived in 0.41 a proof never expired, so a stale one is the ordinary state of any tab left open. Every request such a tab made was answered 401, public ones included: on staging one tab polling the publicGET /serverendpoint produced 4,215 rejections, all carrying the samesigned attimestamp. An HTTP request, and the headers a socket is opened with, now treat a proof that has aged out as no proof at all and continue as the public agent, leaving the rights check to decide whether that matters for what was asked. A signature that does not verify is still refused outright, and so is a stale proof in anAUTHframe or a peer handshake, where the caller asked to be authenticated and is owed the answer (get_agent_from_auth_values_or_publicbeside the existingget_agent_from_auth_values_and_check). -
Sentry no longer records every server error twice.
sentry_actixcaptures a handler's 5xx with the request attached, andtracing_actix_webseparately logs "Error encountered while processing the incoming HTTP request" aterror!, which the Sentry tracing layer turned into a second event; the two staging floods of September arrived as paired issue groups of 6313 and 6312 events for the same incidents. The tracing layer now ignores thetracing_actix_webtarget and delegates every other target todefault_event_filter, so background work reports as before and the stdout log line is unchanged (server/src/trace.rs). -
Plugin install path, three fixes after the runtime convergence (#1571):
- A publish refused for claiming the wrong
worldused to have already stored the package bytes and cached the release record. The claim is now checked before the first write, so a refusal leaves nothing behind (POST /plugin-release-package). - A JS plugin whose Installation could not be read, or whose
grantscould not be, ran with everything its own manifest declared. Only a legacy draft with no Installation still reads the manifest; anything else grants nothing and logs why. Reading which classes a resource has also went throughValue::to_subjects, which errors on the scalarisAencodings, so an encoding alone could widen a plugin's grants.Resource::class_subjectsandResource::has_classare the one encoding-tolerant reader, shared withClassExtender. - An Installation's
releaseis declared anatomicURLand now holds one. The browser's two zip paths dropped theReleasesubject the publish response carries and stored the bareblake3:id, which meant writing the property with datatype validation switched off.release::resolvestill accepts a bare id, for Installations written before this.
- A publish refused for claiming the wrong
-
atomic_lib: a signed destroy commit now removes the resource (and its cascade-deleted children, Loro snapshot, index and search rows) in the same redb transaction that stores its envelope and commit row.Db::apply_commitused to callremove_resource, which applied a transaction of its own, so a crash between the two left a deleted resource with no signed destroy forSYNC_DIFF.removeCommitsto carry; tombstones are now recorded once that single transaction has landed. The destroy branch also returns an error on a malformed commit instead of panicking the request. -
Security hygiene, from the September 2026 audit (
planning/security-audit-2026-09.mdD, C16, F):- CORS: any origin may still read (Atomic is a headless CMS), but
Access-Control-Allow-Credentialsis now sent only to origins this server answers for — the configured domain, a subdomain of the base domain, loopback, and the desktop webview origins (tauri://localhost,http://tauri.localhost) — by the same ruleRequestContextuses for trustingHost. Before, every origin was told it could attach the session cookie;SameSite=Laxwas the only thing stopping it (server/src/cors.rs). - Client errors are answered as client errors instead of 500: a request
body that does not parse is 400 (
AtomicErrorType::ParseErrormaps toBadRequest; malformed commits are parse errors), a signature that does not verify, an unknown signer, or authentication headers that do not parse are 401 (Commit::validate_signatureandget_agent_from_auth_values_and_checktype every failure as unauthorized, andget_client_agentno longer flattens the type into a string). These no longer reach Sentry as crashes. /uploadreturns 400 when the multipart body cannot be read (no boundary, truncated part) instead of ending its loop quietly and answering 200 for the files that made it through.atomic_lib: the "importing from a peer" flag and the import source are a tokio task-local scope (sync::ws_apply::import_scope) instead of process-wide statics, so two peer connections importing at once no longer clear each other's flag or stamp each other's peer id on their writes (audit C16). The live push loop no longer consults a global mute; it skips the one peer a change came from, via thesource_idthe scope stamps on theDbEvent, which now also coversCOMMITframes applied for a live peer.CommitIngestOpts::suppress_live_echois gone: a peer commit is attributed to the connection's import scope instead.sync::peer::is_importing()is now per task; a listener on another task should read the event'ssource_id(the Flutter binding does).collections::sort_resourcesis a total order (missing values last in both directions, numbers compared numerically withNaNin a fixed place, numbers before strings), so a collection sorted through thesort_byquery parameter can no longer panicsort_byon Rust 1.81+.sync::peer: the live peer map recovers from a poisoned lock instead of unwrapping it, so one panic no longer stops live broadcast for the rest of the process.
- CORS: any origin may still read (Atomic is a headless CMS), but
-
atomic_lib:DbEvent::Destroyedfor a cascade-deleted child is sent only after the removal has been applied.Db::recursive_removeannounced each child while it was still queueing the deletes into a transaction the caller had yet to apply, so a listener (atomic-server'sCommitMonitor, which fans removals out to WebSocket subscribers; a peer transport) heard of a deletion that could still fail or roll back, and heard of the children before their parent. The callers (remove_resource, the destroy branch ofapply_commit) now announce every removed subject once the transaction has landed; the destroyed subject itself is still announced exactly once, wrapped in its signed destroy commit.remove_resourcenow also announces the subject it was called for, which it never did. Follow-up to #1544. -
classify_commit_errorclassifies "Commits cannot be edited." (a write whose subject is itself a Commit) as the newIMMUTABLE_COMMIT(10) error code, on the WSERRORframe and the HTTP/commiterror body'serrorCodealike. It was going out asUNKNOWN, leaving clients to match the message text to know the refusal is terminal. The Rust outbox drops such entries as terminal. -
Query index: a drive-scoped, sorted, class-filtered collection could list and count fewer rows than the store held, with nothing to show for it (
planning/silent-failures.md). Rows whoseisAread back as a plainStringwere in the index and then hidden, because the built-in collection class extender could not parse the value andDb::resolve_query_memberdropped any row an extender check errored on; an extender that cannot decide is now skipped with a warning and the row is listed. Rows whoseisAwas aStringholding the JSON array were never indexed under their class and never matched it; the index keys and the matcher now read the array's elements from one helper (Value::to_reference_index_strings,Value::contains_value). NewDb::check_query_index(&Query)compares a query's member index with a scan of the store and reports the missing and stale subjects; the first build of a filter cross-checks the equality constraints the planner did not scan (bounded by its 512-entry scan cap), warns with the filter and the subjects, and files them. DID resources stamped into another drive no longer enter a drive's watched query on commit or build: theDbresolves each watched filter'sdrivesubject to its drive root and compares stamps (security audit C17; the filter's identity is unchanged). -
Startup store-size diagnostics and automatic redb compaction. Opening the store now logs the file's size and open duration (a warning above 1 GiB, naming
atomic-server compact) and, from redb'sDatabaseStats, how much of the file is live, fragmented and reclaimable (bytes on disk minus pages in use; redb's sparse growth headroom does not count). When the file is at least 256 MiB on disk and at least 30% of that is dead,Db::init_redb_filecompacts it before the server listens and logs the before/after sizes and duration; the outcome is kept in the store and readable throughDb::last_compaction. A compaction failure is a warning, never a refused start. New options--auto-compact(ATOMIC_AUTO_COMPACT, defaulttrue),--auto-compact-min-mb(ATOMIC_AUTO_COMPACT_MIN_MB,256) and--auto-compact-min-reclaimable-percent(ATOMIC_AUTO_COMPACT_MIN_RECLAIMABLE_PERCENT,30);atomic_libcallers pass adb::compaction::CompactionPolicytoDb::init_redb_file_with_policy. Not applied to the OPFS (browser) or sled backends. Seeplanning/disk-storage-and-persistence-optimization.md. -
CI: the
:developdocker image is published by its own job instead of a step tacked onto the end of the CI job. As a step it inherited whatever the CI step had already spent (a wedged Dagger engine on the runner burned the ten minute connect timeout and the publish was skipped without trying), and it could not be re-run on its own, so recovering a missed image meant re-running a pipeline that takes hours.developwent 2026-09-15 to 2026-09-18 without an image that way. The gate is unchanged:needs: ci, so a red pipeline still publishes nothing. A new manual "Publish :develop image" workflow covers the case where the pipeline cannot go green for reasons unrelated to whether the binary builds; it refuseslatestandv*tags, which release.yml owns. -
Error-handling hygiene on the commit and read paths. The legacy
set/push/removerejection insync::engine::ingest_commitnow checks the parsed commit's properties instead of substring-matching the raw body, so a commit whose subject is one of those Property resources (or whose values quote their URLs) is no longer refused.Db::get_resourcewarns (with the subject and error) when a stored Loro snapshot cannot be read or applied instead of silently serving the stale propvals. The sledDb::initwraps a migration failure in its error message (.map_err, not.map).AppState::initdrops its own core-models bootstrap branch: its "store did not exist" check ran after the store directory had been created, andDb::init_redb_filealready seeds a fresh store on open. -
atomic_lib: host-to-Drive mappings are reconcilable, so a control plane can install hosted vanity subdomains without an agent that can sign on the Drive's behalf.Db::sync_drive_mappingsadds, repoints and removes a desired set idempotently and scopes removal to the hosts it installed itself (so/bind-drivebindings and thelocalhostentries from setup survive);Db::list_drive_mappingsandDb::managed_alias_hostsread the table, which had no read path beyond a single-host lookup. Mapping keys are now normalized, so a mixed-caseHostheader resolves the Drive it was bound to instead of falling through to the store root. -
A host bound to a Drive now serves that Drive or answers 404. It used to fall through to the store root when the bound Drive was missing — not synced yet, or moved to another node — which on a multi-tenant server answers one tenant's hostname with another namespace's content.
-
New
--served-domain-suffix/ATOMIC_SERVED_DOMAIN_SUFFIX: answer for*.<suffix>so the request origin follows the hostname the visitor used, without--base-domain's other effect of also becoming the store's base domain (which changes how subjects are normalized and migrated, and is not something to switch on for a server that already holds data). -
The
/versionand/all-versionsendpoints are removed. Resource history is read from the Loro oplog on the client now (resource.getLoroHistory(), with signers from/history-attribution), which is what the History route has used for a while; these endpoints were the older server-side path to the same data, reachable only from a single "All versions" link.atomic_libloseshistory::encode_version_idandhistory::decode_version_idwith them -- they existed to carry an opaqueVersionIDthrough an HTTP query parameter.history::versions,history::at_version,Resource::get_historyandResource::view_atare unaffected. -
The outbox drains over a live Iroh link too (
sync::peer::LivePeerCommitTransport): a device with no hub in reach delivers its queued writes to a paired peer as signedCOMMITframes, which the peer validates and applies like a hub would, and a freshly registered live link drains on connect. The Flutter binding falls back to it when no WebSocket session is open. This is the sending half of serverless sync (planning/serverless-p2p.mdP4). -
atomic_libhas a durable outbox (sync::outbox,Tree::Outbox): local commits mark their subject dirty per signing agent, a drain exports the Loro delta since the version the hub holds, signs one commit per subject in parent-before-child order and sends it as aCOMMITframe over anyCommitTransport(the WebSocket client implements it). Refusals back off exponentially, park the entry after repeated authorization failures, and drop it only when the hub says it can never apply. The Flutter binding records every local save in it and drains on save and on session open, so an edit made offline on Android now survives an app kill and reaches the hub on the next connection (planning/unified-sync.md, Outbox modernization item 6). -
Desktop: the app window now runs under a Content Security Policy (
desktop/tauri.conf.json; security audit B7). Scripts only from the bundle plus WebAssembly, connections to the embedded and remote servers over HTTP and WebSocket, Google Fonts, no plugins or objects. Tauri hashes the bundle's inline scripts itself, sodangerousDisableAssetCspModificationis off. A script injected through synced content can no longer reach the IPC surface. -
CI: a
v*tag now publishes@tomic/*to npm through Trusted Publishing (release.ymlnpmjob). Tags only published crates.io and GitHub assets before, which is why npmlateststayed on 0.40.0 andbetaon 0.41.0-beta.0 through v0.41.0-beta.7. Pre-releases get thebeta(orrc, …) dist-tag, notlatest;@tomic/pluginand@tomic/edit-modeare marked public for their first publication. -
Signed history now replicates.
SYNC_PUSHcarries the retained envelopes of the subjects it pushes (flag0x02 ENVELOPES, a trailer old decoders never read) over WebSocket, Iroh and browser peer links, and Cloud Vault packs carry them per entry. Receivers verify each envelope's signature and subject before keeping it, honouring their own--envelope-retention. A restored or newly invited device therefore shows who signed each change instead of "Unattributed" (planning/auditability-loro-history.md). -
Security:
POST /commitcharged the per-agent write budget to the signer the body named before verifying the signature, so anyone who knew an agent's public DID could flood the endpoint with forged commits naming that agent and lock them out of writing with429s. The signature is now verified first and the budget is charged to the signer it proves; a body that proves no signer spends the peer address's anonymous budget, like any other unsigned write. GHSA-f9rw-g3gr-3jw5, reported by hackchang. -
Rate-limit the write endpoints.
POST /commit(HTTP and the WebSocketCOMMITframe),/upload,PUT /blob,/iroh-sync,/forget-peerand resource posts spend a per-agent token (--write-rate-limit, default 6000 per minute,ATOMIC_WRITE_RATE_LIMIT); requests without a signed agent share a per-peer-address budget (--anonymous-write-rate-limit, default 60 per minute). Over budget answers429 Too Many Requestswith aRetry-After;0disables either limit. -
Fix: writes made through a directly opened file store (the Flutter/Android binding) were never made durable. Every redb commit skips the fsync and relies on a periodic flush that only the server, desktop and WASM hosts ran, so on Android an app kill rolled back every edit since the last drive switch.
Db::init_redb_filenow owns the 100ms durable-flush tick for every binding, and an idle tick no longer writes anything. -
Fix remaining
clippywarnings inwasm/src/lib.rsblockingdevelop's pre-commit hook (#1508).
-
Store hosted files in S3 without silently falling back to node-local storage.
-
Fix stale collection queries bringing deleted sidebar resources back.
-
Improve browser database durability and resource save-state handling.
-
Isolate E2E shard state and simplify local test tooling; full develop CI passes on the release base.
-
Add drive-scoped authenticated browser peer sessions; subscription-independent signaling and optional temporary TURN credentials are provided by the managed signaling service (#1396).
-
Desktop restore discovers reachable workspace sources and supports an explicit server address when automatic discovery does not find one.
-
Security audit fixes (
planning/security-audit-2026-09.md, #1384).POST /iroh-syncrequires a signed agent with write on the drive and only answers POST;SYNC_PUSHentries are checked against the admitted drive;https://host/agents/{key}subjects bind the path key to the signing key and are never fetched from other hosts; a genesis can no longer append to a parent through its ownwritearray, squat another agent'sdid:ad:agent:resource, or reserve top-level server paths; the request origin used for token binding honoursHost/X-Forwarded-*only for the configured domain, its tenants and loopback; IrohAUTHproofs name the responder node (drive#nodeId, unbound proofs accepted only from paired peers);/forget-peerneeds write on a drive the peer was paired for; path-only auth signatures are refused; plugin zips and bookmark bodies go through the SSRF guard with size caps; blob responses are hash-checked; ephemeral relays require a subscriber; ACME errors instead of panicking and certificates are renewed daily on disk (restart to serve); the desktop and Android builds bind127.0.0.1;config.tomlis written 0600; wasmtime 47. API change:/plugin-listand the plugin UI files are read as the calling agent, so clients must sign that request (the data-browser does) or carry the session cookie. -
Fix: live collaboration stopped for the author of a document after a peer edited it. The server stamps
lastCommitunder its own Loro peer after applying a commit; the fan-out only forwarded the author's own bytes and never echoed to the author, so an edit built on the stored snapshot could not apply there. TheUPDATEnow carries everything the apply added and reaches the author too (CommitResponse::fanout_delta). -
Commits are signed envelopes, not a queryable event log. Ordinary content commits are not stored as resources after apply (genesis and rights/parent/destroy stay). Loro binaries are not KV-index keys. The
/commitscollection is not created. UI reads author/dates from the resource, not by fetchingdid:ad:commit:rows. A creation commit is retained whether or not the client flaggedisGenesis. Clients no longer chainpreviousCommit; apply no longer has a previous-commit validation gate. History no longer offers a "Show Commit" link at a discarded envelope. -
Signed envelopes live on the resource (
Tree::Envelopes). Every signed commit's JSON-AD is kept per resource, keyed by createdAt and signature, in the same transaction as the state it signs. Not a resource, not indexed.--envelope-retention/ATOMIC_ENVELOPE_RETENTIONislatest(the envelope that produced the current state; default) orall(every envelope: a signed audit log).GET /history-attribution?subject=(read-gated) answers who signed which Loro change, verified with the apply code, plus whether every change is covered. Rust builder commits andcreate_didnow tag their Loro change like the browser does, so History maps versions to signers. The destroy envelope on the tombstone (added forSYNC_DIFF.removeCommits) is now the subject's latest row in this tree. Envelopes do not yet travel in bulk sync or the vault. -
Missing-drive bootstrap is no longer a free pass (OQ5). A
SYNC_PUSHor live write for a drive this node has never stored goes throughadmit_unknown_drive:Publicnever creates one (even onOpenPolicy); Owner mode enrolls only the owner; an authenticated first-sync on an open node still works. AUTH-before-SYNC_PUSHalready closed the unauthenticated wire; this closes the library path. -
SUB/UNSUBare engine-owned. Parse andcheck_readlive inhandle_frame_full; the WebSocket handler registers the connection with the commit monitor only when the engine admits the subscription. The0x20/0x21wire is unchanged (anonymousSUBon a public share link still works). -
One subscription actor.
LoroSyncBroadcasteris gone; Loro ephemera and drive presence fan out fromCommitMonitor(one mailbox, oneUnsubscribeAllon socket close). Wire and behaviour unchanged. -
Bulk
SYNC_DIFF.removecan carry a signed destroy. When the sender still holds the destroy commit on the tombstone,removeCommitsmaps that subject to the JSON-AD envelope and the receiver applies it as a peerCOMMIT. A bad signature does not fall back to the unsigned tombstone path. Senders without the envelope still send a subject-onlyremove[]entry (admission-gated). The envelope is only handed to a session that may read the drive; a signed destroy that is already stored here, or that predates the current resource's genesis, is refused as a replay. The browser applies the envelope as a local-cache write and removes the resource either way. Requiring an envelope on every delete still waits onTree::Envelopes. -
AtomicTransport/SyncSessionfirst slice. The engine loop is callable over any byte-pipe (lib/src/sync/transport.rs,SyncSession::serve). Iroh and WebSocket still have their own lifecycles; the outbox port and FRBopen_sync_sessionare not this change.
-
Local full-text search in
atomic_lib(lib/src/search/): a KV inverted index on the existing redb / sled / BTreeMap (OPFS) store. Indexes title, description, and Loro document body on every commit; queries AND tokens, rank with BM25, and match 1-edit prefix-fuzzy (avacadofindsavocado). Exactproperty:"value"filters reuse the PropValSub index (emptyq+isAis the file picker); there is no query language and no key escaping.Db/AtomicNode/ WASMClientDb.searchexpose it. Hosted/searchis the same engine — Tantivy is removed. The browser uses this index (MiniSearch is gone) and merges with/searchwhen online. Scale benches:cargo bench -p atomic_lib --bench search_bench --features db-redb. Seeplanning/local-search.md. -
Live collaboration is one binary frame on both transports. Edits in progress, cursors and drive presence cross the WebSocket as
EPHEMERAL (0x40), the frame the Iroh link already used, in both directions; the text framesLORO_SYNC_UPDATE,LORO_EPHEMERAL_UPDATEandPRESENCE_UPDATE(base64 in JSON) are removed, the four subscribe / unsubscribe text frames stay. The server ignores the agent a client puts in the frame and stamps the connection's authenticated identity on every copy it fans out. Between nodes the payload is now the raw bytes rather than their base64 text, so cursors from a pre-2026-09-04 peer do not decode on this build (and vice versa); nothing persistent is affected.WsClient::send_loro_sync_update/send_loro_ephemeral_update/send_presence_updatesend the binary frame. Capabilityephemeral. -
Drive sync is one binary frame on both transports. The browser's hash-first probe and its reduced reconcile now arrive as
SYNC (0x30)with"probe": trueor"subjects": [...]in the JSON tail (encode_sync_probe,encode_sync_filtered), handled by the shared sync engine; a stale probe is answered with the newSYNC_RESEND (0x38). The textSYNC_VVrequest, its textSYNC_RESEND <drive>answer and the server handler's private copy of the reconcile are removed. Capabilitysync-probe.WsClientreportsWsMessage::SyncResend. -
One WebSocket subscription frame.
SUB <subject>registers a drive-wide subscription when the subject is a drive and a per-resource one otherwise; the per-resource text frameSUBSCRIBE <subject>(which also registered a spurious drive fan-out entry that delivered URL subjects' commits twice) and the filter subscriptionSUBSCRIBE_QUERY(sent by nothing outside the Rust integration tests) are removed, along with the commit monitor's third subscription map, theMembershipNotificationfan-out andWsClient::subscribe_query.WsClient::subscribe_resourcesendsSUB. The lib's watched-query index (QueryFilter::watch,DbEvent::QueryMembershipChanged) is unchanged; the Flutter event stream still consumes it. -
atomic_lib::runtime::AtomicNodeis cut down to what binds to it. The WASMClientDbis the only adapter on the node and usesfrom_db,db,queryandapply_commit; those, plus the agent accessors andIngestPolicy::{Hub, Peer, LocalCache}, are what remains.open/NodeConfig/NodeStorage,get,mutate/ResourceEdit,subscribeandsync_with_peerare removed (each was one line overDb, with no consumer three days after landing). The seam stays and grows again from what the next binding actually calls (planning/atomic-lib-runtime.md). -
Sync stack cleanup. No wire changes.
WsMessagelost itsCommitandResourcevariants and the client no longer parses the pre-v2COMMIT,RESOURCE,AUTHENTICATEDandERRORtext frames (nothing has sent them since the binary protocol);IngestPolicy::Replicawent with them.CommitIngestOpts::hub/::peerare the two validation presets that were copied in three places;ws_apply::apply_destroy_checked(a byte-identical twin ofapply_destroy) is merged into it; the server's three copies of "encode anUPDATE/DESTROYfor a change" are oneencode_change_frame. Iroh: the deadsync_drive_with_peerwrapper and the private_forcedindirection are gone, the live-peer registry is aLazyLock<Mutex<HashMap>>holding the pinned QUIC connection alongside the stream (a peer registered before the registry was initialised used to be dropped silently), and the sync-event debounce map is pruned instead of growing for the life of the process. Test-only helpersengine::drive_items/drive_sync_hashandOwnerPolicy::{owner_agent, hosted_drive_subjects}are removed. -
Sync protocol follow-ups (see
docs/src/websockets.md, "Changed in 2026-09"):- Challenge-bound
AUTHover WebSocket: the server's first frame isCHALLENGE (0x42)with a per-connection nonce; a client signsrequestedSubject = "{origin}#{nonce}"and the proof is good on that socket only, so a captured frame can no longer be replayed elsewhere inside the five-minute window. Nonce-less proofs are still accepted (engine::AuthChallenge::Issued);AuthChallenge::Requiredis the strict mode, not yet wired to an option. Capabilityauth-nonce. - The WebSocket handler reads a client
HELLO(capabilityclient-hello) and answersCOMMITwith a slimCOMMIT_OKof[request_id] [commit_id]for a client that listedcommit-ok-slim(the browser and the RustWsClientboth do).protocol::decode_commit_okreads both forms. - Subscriptions follow the connection's identity: when an
AUTHchanges it, the commit monitor re-runscheck_readfor every subject, drive and filter subscription the connection holds and drops the unreadable ones (RebindAgent, capabilityrebind-on-auth). Until now aSUBaccepted as the owner kept delivering after the socket re-authenticated as a stranger. WsMessage::Erroris a struct (request_id,code,message);WsClient::post_commitsettles only on its ownrequest_idand returns the commit id, so several commits can be in flight on one connection. Unknown text frames surface asWsMessage::Unrecognizedinstead of an error.WsClientsends aHELLOon connect and answers the server's challenge automatically (WsClient::auth_subject).- New error code
INVALID_SIGNATURE (9)for aCOMMITwhose signature does not verify; it went out asUNKNOWNbefore. - Iroh:
LIVE_CONNECTIONSis keyed by peer and pruned when the peer is removed. It was an append-only list that pinned every QUIC connection ever dialed for the life of the process. ws_apply::apply_commit_json(the replica applier that skips rights checks, audit finding F6) is gone: its only route was the pre-v2COMMITtext frame, which no server sends. The server's rights-checkedhandlers::commit::apply_commit_jsonis the only function of that name.- New integration tests:
ws_errors(ERROR format,request_idecho and codes), the nonce, the identity re-bind, and the slim ack.
- Challenge-bound
-
Sync protocol hardening (WebSocket and Iroh; wire reference rewritten in
docs/src/websockets.md, see its "Changed in 2026-09" section):AUTHproofs expire: a signed authentication older than five minutes (atomic_lib::authentication::AUTH_MAX_AGE_MS) is refused, on WebSocket, Iroh and the HTTP auth headers alike. Until now only future-dated timestamps were rejected, so a captured proof never expired.- Over WebSocket,
AUTH.requestedSubjectmust name the server: either the origin the socket was opened on or the configured server URL (AuthBinding::Origins, the same tolerance the HTTP auth headers have); a proof signed for another server, or for the agent's own subject, no longer opens a session. A refusedAUTHanswers with the new error codeAUTH_FAILED (8). The RustWsClientnow signs the server origin (it signed the agent subject before). The Iroh initiator only accepts an auth-back signed for its own node id. - The hash-first
SYNC_VVprobe and theRBSR_FP/RBSR_ITEMSframes are gated bycheck_readper subject, like the fullSYNC_VVexchange. Previously any socket could enumerate every subject and version vector of any drive it could name. - On the Iroh live link, destroys travel as the signed destroy
COMMIT(DbEvent::Destroyednow carriescommit_json); a nakedDESTROYframe from a peer is ignored instead of applied on the connection's drive-level write verdict. - Capability advertisement:
AUTH_OKcarries a JSON array of capability names (atomic_lib::sync::protocol::CAPABILITIES),HELLOcarries the same list after the device name. Both are optional trailing bytes. UNSUB (0x21)now actually cancels a drive subscription (it previously edited a set nothing read).KEEPALIVE (0x41)is echoed over WebSocket so browsers can detect a dead socket.- Shared golden wire vectors (
lib/src/sync/protocol_vectors.json, mirrored atbrowser/lib/src/protocol_vectors.json) pin the Rust and TypeScript codecs byte-for-byte. - Integration tests bind the test server to
127.0.0.1and fall back to an OS-assigned port whenportpickerfinds none (hosts without IPv6).
-
Tauri Android: ship
arm64-v8aonly. The sideloadable universal APK was ~369 MB because it bundled four copies oflibatomic_server_tauri.so(armeabi-v7a / x86 / x86_64 as well). Phones and tablets we install on are arm64; override withcargo tauri android build --target …for an Intel emulator. -
CI: tag releases publish
@tomic/*to npm. They previously only published crates.io and GitHub assets, which is why npmlateststayed on 0.40.0 andbetaon 0.41.0-beta.0 through v0.41.0-beta.4. Pre-releases use thebeta(orrc, …) dist-tag, notlatest. -
Docs / planning: Atomic as an MCP server — local stdio signs writes as the user's Agent; remote Streamable HTTP is read-only until issued-agent writes. OAuth Bearer never hits
/commit. Seeplanning/mcp-endpoint.md.
- Fix: with
ATOMIC_HOME_DRIVEset,GET /serveranswered 500 for plain JSON and JSON-LD (Accept: application/json): thehomeDriveproperty the endpoint sets was never defined in the default store, so rendering tried to fetch it from atomicdata.dev. JSON-AD (what the data-browser asks for) was unaffected. The property is now part of the defaults.
- Git / CI: one integration branch (
develop) plus stablev*tags. Staging followsdevelop; production and live docs follow a tagged release.masteris no longer a deploy or docs trigger, andmainis not introduced as a copy of the latest tag. - Fix: Atomic Canvas no longer returns to the gallery when the screen rotates. Android was treating the rotation as a back press.
- Fix: built-in defaults (
lib/defaults/*.json+ base models) now reach existing stores. The store records a fingerprint of the embedded defaults; every open (server and browser/OPFS) re-seeds add-only when the fingerprint changed, so a Property or Class added in a new release no longer 404s against a store seeded by an older one. Existing values, including user edits to default resources, are never overwritten.--repopulate-defaultsremains as a forced re-run with the same add-only semantics. atomic_lib:atomic_lib::runtime::AtomicNode— a named node surface overDb(open,get,query,apply_commit(json, IngestPolicy),mutate,subscribe,sync_with_peer). Thin delegation, no behaviour change; the WASMClientDbis the first adapter on it.IngestPolicy::{Hub, Peer, Replica, LocalCache}names the four commit-validation profiles.sync::engine::ingest_commitreturns theCommitResponsethatingest_commit_jsonserializes;sync::ws_apply::apply_commit_jsonnow returns theCommitResponseinstead of(). Seeplanning/runtime-boundary-decision.md.
This is the local-first release. Atomic Data no longer needs a server to exist.
It is also the first release with new features since v0.40.0 in October 2024 — v0.40.2 and v0.40.3 were security-only patches. That is 1,222 commits and ~334,000 lines. The highlights below cover the whole 0.41 line; per-release detail continues in the v0.41.0-beta.1 and v0.41.0-beta.0 sections of the changelog, and everything front-end is in the browser changelog.
Your data works without us. Create a drive, write to it, and read it back with no server in reach. Every write is a signed CRDT commit against a local database, so the app is fully usable offline and syncs when it can. This is not a cache in front of a server — the browser runs the same Rust storage and query engine through WASM, which is why an offline table computes the same totals as an online one.
did:ad — identifiers that don't belong to a hostname. Resources are addressed by a decentralized identifier rather than a URL on someone's domain, and resolved peer-to-peer over the Mainline DHT. No DNS, no certificate authority, no hosting company in the trust path. Combined with self-verifying genesis certificates, a resource proves who created it on its own terms. Your agent is now just a private key: no account on any server, nothing to be locked out of.
Peers, not clients. A sync protocol (#1178) and Iroh/Mainline peer sync let two devices converge directly. Pair a phone by scanning a QR code, mount a drive, and edits flow between them. A server, when you use one, is now described as just another device you sync with — it is a convenience, not the source of truth.
Live everything. Live queries (#1174) mean a collection updates as the data does, rather than when you reload. On top of that sits a full presence layer (#1229): see who else is here as avatars, follow someone through the app, watch "typing…" appear in chats and comments, and see live cursors while co-editing a document. Presence rides a drive-scoped ephemeral relay, so it never touches your stored data.
A new document editor. A ground-up rich text editor backed by a Loro CRDT, so two people can edit the same document at once without a lock or a merge conflict — with slash commands, resource mentions, tables, math and a collaborative canvas alongside it. And peer-to-peer video and audio calls in the meeting panel, where media never passes through a server at all.
Tables became apps. A Kanban board (#1198) with drag-and-drop and custom card ordering, plus calendar and timer views — all the same grid underneath, so cells stay editable and columns sortable whichever way you look at them. Then: dashboards that compose numbers, charts and embedded tables over your data; computed columns (a live duration, days-since, quantity × price); totals computed by the store across every matching row rather than the page on screen; row actions and one-tap create buttons that turn a table into something you press rather than something you fill in; and thirteen ready-made templates — issue tracker, CRM, expenses, grocery list, plant care, workout log and more. None of it ships a custom renderer: a mini-app is configuration, so the built-in assistant can build and reshape one for you.
Private by default. The browser's local database is now one encrypted store per agent (XChaCha20-Poly1305 at rest), so switching accounts or signing out genuinely closes the door. Account backup is passkey-first — one prompt, no secret to write down — and a device lock can seal the keypair after inactivity or when the browser closes.
And it got much faster. A query and indexing rework cut a 1000-member collection query by ~88% at the Rust level and ~70% over HTTP.
Also in this line: content localization with a LocalizedText datatype and locale-routed site templates, a desktop app that mounts your drives as a real virtual drive in Finder or your file manager, emoji and cover images on any resource, favorites, stateless invites, and the removal of SERVER_URL so a server can answer on several domains at once.
Beta, and honest about it: the storage format changed, so your database migrates on first run — take a backup first. See STATUS.md for what is expected to stay stable.
All four fixes documented under v0.40.3 are present here — they reached this line through the develop merge, not through that tag. One deliberate divergence:
- The commit-level
check_server_managed_propertiesguard that accompanied the/downloadarbitrary-file-read fix is not part of this line. It rejected any commit writinginternalId, which breaks local-first uploads — here the client legitimately assigns that content hash at genesis./downloadresolvesinternalIdas an opaque content-addressed blob key rather than a filesystem path, so the path-traversal primitive the guard defended against does not exist. Thedownload.rshardening itself is retained.
DashboardandBlockclasses in the default store, withdashboard-blocks/dashboard-layoutandblock-kind/block-source/block-view/block-query/block-aggregate/block-chart-spec. OneBlockclass carrying a kind string, the wayViewdoes, so a new block kind needs no ontology change. This is the schema behind the browser's new dashboards; the numbers themselves come from the aggregation engine already inQuery.- A
view-row-actionsproperty in the default store: the buttons a view puts on each row, as a JSON array of{ id, label, kind, property, value }.kindis a closed vocabulary of patches (setNow/setValue/toggle/increment) rather than code, so a person can edit one in a dialog and an assistant can write one, and each press stays an ordinary commit. - A
view-quick-addproperty in the default store: the button a view offers for creating a row, as a JSON object{ label, field?, placeholder?, presets? }. Each preset is{ kind, property, value? }using the same closed patch vocabulary asview-row-actions, applied to the row being created — so a button can stamp the current time and create in one press. dashboard-layoutholds{ subject, w, h }— sizes only. It previously also carriedx/y, which no renderer read.- A
block-quick-addproperty and a'create'block kind, so a Dashboard can carry a create button. It holds the same JSON shape asview-quick-add, which is what lets the table and the dashboard describe one button identically. - Aggregate queries: a
Querycan carry anaggregation, and the store answers it by walking its own index instead of returning rows for the caller to add up. Sum, count, average, min and max over every row a query matches — filters included, paging excluded — plus an optional breakdown giving one subtotal per distinct value of a column, with day and month buckets resolved in the caller's timezone. Results arrive on the Collection's newcollection/aggregatesproperty. Because the browser's local database runs this same code through wasm, a table shows identical totals with no server in reach. Note thatcountcounts the rows the asking agent may actually read, which can be lower thantotalMembers— that one counts raw index hits, before rights are applied. - Argon2id key derivation in
atomic-libasvault::keys(argon2id_derive_key), exposed to the browser asargon2idDeriveKey. This backs the passkey-wrapped ("envelope v2") backup of the agent secret: AES-GCM runs natively in WebCrypto, and Argon2id is the one primitive the Web platform's crypto API is missing. Defaults to ~64 MiB / 3 iterations / 1 lane. EncryptedBackendwraps any redbStorageBackendand encrypts data at rest with XChaCha20-Poly1305 (4 KiB blocks, a fresh random nonce per write, block-index AAD, key-check header), so resources, Loro snapshots, blobs and derived indexes are all ciphertext. Backs the browser's per-agent OPFS databases.- A
coverImageproperty in the default store — an image File shown as a decorative banner at the top of a resource's page — and acoverImageFocusfloat (0-1) holding that banner's vertical focal point, since a wide crop of a photo rarely has its subject in the middle.
- Vector search is now opt-in (pass
--enable-vector-index/ATOMIC_ENABLE_VECTOR_INDEX) instead of on by default. Loading embedding models and indexing every write on a plain create/edit had a real, measured performance cost that most deployments don't need. - BREAKING (build):
vector-searchis no longer a default cargo feature — build with--features vector-searchfor semantic search. It was already opt-in at runtime and already absent from every released binary, butcargo install atomic-serverstill compiled the whole fastembed/lancedb/arrow/ort stack for a feature that stays switched off unless asked for: a very large build, requiringprotoc, and failing outright on musl whereorthas no prebuilt ONNX Runtime binary. Default now matches both the runtime default and what actually ships. Passing--enable-vector-indexto a build without the feature warns instead of silently doing nothing. - Query/index performance rework (
atomic-lib): collection queries now read materialized rows instead of decoding a Loro CRDT snapshot per member, permission checks are memoized per request, and the query-members index uses compact query ids with typed, order-preserving sort keys. Verified paired before/after: a 1000-member collection query dropped ~88% at the Rust level (52ms → 6–7ms) and ~70% over HTTP in a single round trip (~104ms → ~30ms). Seeplanning/index-performance.md. - Live-query index updates are routed by
(drive, property), and multi-constraint (AND) queries pick their starting index by estimated selectivity — commits and first-time index builds touch far fewer filters/resources. - Sorted collections now include members that lack the sort property (they sort first). Previously such members were silently dropped from sorted listings.
- A row edited until it no longer satisfies a filter now leaves that filter's results. Filtered queries are answered from a cached member list per watched query, and the whole-resource write path (
add_resource, used by the browser's local database for every write it makes, and by imports) evicted the previous values' entries against the new resource — so it asked whether the new value still matched the filter, and a row edited out of the view answered no, skipping the one deletion that mattered. The row then stayed listed until the index was rebuilt, a reload included. The same mistake also listed a row twice when an edit kept it in the view but changed its sort value: the entry was filed under the old key and deleted under the new one, so the stale entry survived alongside the fresh one. It now evicts against the resource being replaced, the way commit application and recursive deletes already did. Commits were never affected, which is why this only ever showed up in the browser. - #287 Sorting collections by numeric properties (integers, floats, timestamps) now orders numerically instead of lexicographically ("2" no longer sorts after "10").
/search?filters=actually filters again. Tantivy only scopes a JSON-field query to a path when the clause carries the field's own name, so the documented bare<property-uri>:<value>syntax silently matched nothing (no parse error) —filters=isA:File, used by the file picker, never found anything. Each AND/OR clause is now rewritten with thepropvals.prefix before parsing, so the documented syntax works without any client change.- Fixed a deadlock in
Db::apply_commit: the per-subject lock was held across the after-commit handler loop, so a plugin'safter_commitissuing its own follow-up commit to the same subject re-enteredapply_commitand waited forever on a lock only it could release. The lock is now released before handlers run. ATOMIC_REPOPULATE_DEFAULTSnow repopulates the base models (genesis, drive, the Commit class and the other fixed base-model properties/classes) as well as the JSON ontologies. Previously a store seeded before a base model was added could never receive it short of wiping the database._new:placeholder resources no longer loop stuck-commit drops. If anything clearedResource.newbefore a client-only_new:<random>subject completed its genesis save, the next local edit reached the outbox's incremental-commit path with an unresolved subject, which the server rejects.atomic-clicompiles again: the interactivenewprompt's exhaustiveDataTypematch had no arm forLocalizedText(added for #1069). Like the existingLoroDocarm it now returnsOk(None), since a per-language map isn't something a CLI prompt can collect as one string.
- Bumped wasmtime/wasmtime-wasi/wasmtime-wasi-http (45.0.0 → 45.0.3, RUSTSEC-2026-0182 and -0188, the WASM plugin sandbox), quinn-proto (0.11.14 → 0.11.16, RUSTSEC-2026-0185), crossbeam-epoch (0.9.18 → 0.9.20, RUSTSEC-2026-0204) and plist (1.9.0 → 1.10.0, RUSTSEC-2026-0194 and -0195). The remaining cargo-audit findings (hickory-proto, rustls-webpki) trace to the deferred iroh 0.35 transport migration — see
planning/rust-dependency-upgrade-audit.md.
- #1069 Internationalization / content localization: new
LocalizedTextdatatype storing per-language values as a native Loro map, with a fallback-chain resolver (exact locale → primary subtag → configured default language → first available). - #1069 Fixed a DID-import bug where any string value equal to a reserved local ID was rewritten, not just values in reference positions — this could silently corrupt content (e.g. the website template ontology's own
shortname, which equals its own local ID). Values now only resolve local IDs in reference positions; keys are still rewritten. - Add
GET /drive-usage?subject=<drive>— per-drive resource and byte usage (fromper_drive_usage), signed by the requesting agent and gated on read access to the drive. Generic node metadata, available to self-hosted nodes too (not just managed ones). - Add a
favoritesproperty to the default store, so clients can keep a per-user favorites list (alongsidedrives/sharedWithMe) on the user's private drive.
- #1139 AtomicServer can now create data without being dependent on a server! AtomicServer is now Local-First, using the new
did:adschema. Instead of relying on HTTP, Atomic can resolve resources over DHT Mainline. It combines true decentralization, cryptographic proof of ownership and high performance. User's agents are now also truly decentralized, relying solely on a private key. - #584 Replace ureq with reqwest (async HTTP calls)
- #481 Drive scoped queries
- #1178 Sync protocol
- #1174 Live queries / real-time queries
- #1164 #1166 New Agents get private drives, shared resources through invites listed there
- #420 Fix OTLP / OpenTelemetry, update docs from Jaeger to SigNoz, add metrics
- Added self-verifying genesis certificates, including server-minted genesis support and dual-acceptance of the new certificates during migration.
- Stamp drives at resource creation and check write rights drive-first. This fixes resources being assigned the wrong drive and prevents drive-scoped commit fan-out from leaking cross-tenant updates.
- Added drive-scoped commit log diffing by accumulating Loro state before computing deltas, so history diffs reflect the actual resource state.
- Preserve cosmetic datatypes through the Loro round-trip and migrate away from stringified JSON datatype metadata in Loro properties.
- Reworked signed local commits so the outbox owns signed-but-not-acknowledged commits and drains them with per-agent scoping, retry backoff, and unrecoverable-commit parking.
- Added and hardened Iroh/Mainline peer sync, including smaller sync frames, faster version-vector decoding, and better websocket drop handling.
- Added vector search and made the vector-search stack optional. The server now uses rustls-backed FastEmbed/ORT features and disables the heavy vector stack for ARM64 musl builds.
- Relaxed redb durability with periodic flushes for better write performance.
- Speed up server development builds by skipping asset pre-compression in debug builds and parallelizing release asset work.
- Fixed WS/HTTP auth for agents whose key uses a different base64 alphabet.
- Fixed the default Commit class/genesis property population.
- #590 Get rid of the
SERVER_URLenv var, which makes moving & setup easier. All resources are now relative to the hosted domain, and AtomicServer can be available from multiple domains at once. - #544 Stateless invites, using JWTs. Server setup now requires you to check the logs for the invite token.
- We changed the binary format in which resources are stored. This means your data will be migrated the first time you run the server. This could take some time depending on the size of your database.
- #1048 Fix search index not removing old versions of resources.
- #1056 Switched from Earthly to Dagger for CI. Also made improvements to E2E test publishing, cross-target builds, and multi-architecture Docker images.
- Fixed Dagger CI workspace mounting after adding the
tools/cargo-binworkspace member. - #979 Fix nested resource deletion, use transactions
- #1057 Fix double slashes in search bar
- #986 CLI should use Agent in requests - get
- #1047 Search endpoint throws error for websocket requests
- #958 Fix search in CLI / atomic_lib
- #658 Added JSON datatype.
- #1024 Added URI datatype.
- #998 Added YJS datatype.
- #851 Deleting file resources now also deletes the file from the filesystem.
BREAKING: #1107 Named nested resources are no longer supported. Value::Resource and SubResource::Resource have been removed. If you need to include multiple resources in a response use an array.
BREAKING:
store.get_resource_extended()now returns aResourceResponseinstead of aResourcedue to the removal of named nested resources. Use.into()or.to_single()to convert to aResource. - #415 Mutli-filter queries.
- fix property sort order when importing + add tests #980
- auto-run
initializeif server URL has changed #273
Security patch release, tagged from develop — so it carries the 0.41 development line's code, not v0.40.0's, despite the version number. All four fixes below are included, and all four are also present in the 0.41 line (see UNRELEASED for the one deliberate divergence).
- Guard outbound fetches (
/bookmark,/import) against SSRF: reject loopback, RFC1918/CGNAT, and link-local (incl. cloud metadata) targets on every connection and redirect hop, plus a scheme check. Escape hatch:ATOMIC_ALLOW_PRIVATE_FETCH=1. Reported by Ray Sabee / Whitehat Security (@raysabee). - Close two bugs undermining the single-use guarantee of the bootstrap
/setupinvite: an inverted expiry check that rejected valid invites and let expired ones through, and a TOCTOU race onusagesLeftthat let concurrent requests both redeem what's meant to be a single-use invite. Reported by luuhung1217. - Block arbitrary file read via
internalId: a signed Commit could set this server-managed property directly, and/downloadtrusted it verbatim as a filesystem path (traversal / absolute path).internalIdis now denied in externally-submitted commits, and/downloadindependently sanitizes and confines the resolved path to the uploads directory. GHSA-8vc4-8hjq-988p, reported by luuhung1217. - Prevent stored XSS via uploaded files:
/downloadnow forcesContent-Disposition: attachmentandX-Content-Type-Options: nosniff, so an uploaded HTML/SVG file can no longer render inline in the app's own origin. GHSA-x277-3wcg-g9r2, reported by luuhung1217.
Security patch release on the v0.40.0 stable line (tagged from the v0.40.0 commit), superseded three days later by v0.40.3. Note that v0.40.3 is not a descendant of this tag — the two were cut from divergent lines, so v0.40.2 contains none of the 0.41 development work that v0.40.3 does.
- Guard outbound fetches (
/bookmark,/import) against SSRF. Reported by Ray Sabee / Whitehat Security (@raysabee). Superseded by v0.40.3, which carries this fix plus three more.
- Speed up Commits by bundling DB transactions #297
- Introduce
Db::apply_transactionandStorelike::apply_commit - Deprecate
add_atom_to_indexandremove_atom_from_indexas public methods.
- The download endpoint can now optimize images on the fly. This is controlled via query parameters. #257
- Added export endpoint for exporting resources to other formats. Currently only supports exporting tables to csv. #925
- Remove
process-managementfeature #324 #334 - Add
atomic_lib::client::searchfor building queries #778 - Add
atomic-cli searchcommand #778 - Migrate atomic_cli to use the derive API #890
- Refactor
atomic_lib::Resourcepropval methods (e.g.set_propval=>set), make them chainable. #822 - Make
set_propvalandset_propval_shortnamechainable #785 - Deterministic serialization JSON AD #794
- Use
musl+alpinebuilds for docker images, way smaller images #620 - Support multi-platform docker builds #731
- Remove deprecated ENV vars #732
- Fix no Agent as drive
- Add
clearoption to error component (resets all front-end state) - Add
Agent::from_secret#785 - Don't use default agent when fetching with Db #787
- Fix HTTPS / TLS setup #768
- Fix locally searching for atomicdata.dev resources in external servers #706
- Use Earthly for CI: building, testing, pushing Docker images #576
- Host @tomic NPM docs on Netlify #707
- Deprecate Tauri Desktop build #718
- Merge Docs repository into this one #719
- Requires
--rebuild-index - Switch to monorepo. Include
atomic-data-browserin this repo #216 - Add Tables (edit, keyboard support, sorting, more) #638
- The
parentquery param in/searchhas changed toparentsand accepts an array of Subjects #677 - Improve query performance, less index storage #678
- Remove
tpfqueries fromatomic-cli#610 - Fix
pageSizeproperty in Collections not using persistence - Add Table Ontology #25
- Fix Post endpoints not including search params in returned
@idfield. - Rebuilding indexes done on separate thread, only once #616 #615
- Don't require building index for populate commands
- Refactor
for_agentarguments to use the newForAgentenum #623 - Add support for Bearer token authentication, find in
/app/token#632 - Add a
queryendpoint that allows performing collection queries via an endpoint instead of repurposing the collections collection. resource.destroynow recursively destroys its children.- Update JS assets, add History view
- Requires
--rebuild-index - Improve full-text search, use JSON fields #335
- Rename
setup-envtogenerate-dotenvand build it from clap #599 - Remove
remove_previous_searchandasset_urloptions - Parse multiple auth cookies #525
- Fix
--scriptflag - Add
Storelike::post_resource, which allows plugins to parse HTTP POST requests #592 - Move Server-Timing header to crate
simple-server-timing-header - Add
POST+bodysupport for Endpoints #592 - Refactor
Endpointhandlers, uses a Context now #592 - Re-build store + invite when adjusting server url #607
- Use local atomic-server for properties and classes, improves atomic-server #604
- Improve query performance, refactor indexes. The
.tpfAPI is deprecated in favor of the more powerful.query. #529 - Replace
acme_libwithinstant-acme, drop OpenSSL dependency, add DNS verification for TLS option with--https-dns#192 - Improved error handling for HTTPS initialization #530
- Add
--forcetoatomic-server import#536 - Fix index issue happening when deleting a single property in a sorted collection #545
- Update JS assets & playwright
- Fix initial indexing bug #560
- Fix errors on succesful export / import #565
- Fix envs for store path, change
ATOMIC_STORE_DIRtoATOMIC_DATA_DIR#567 - Refactor static file asset hosting #578
- Meta tags server side #577
- Include JSON-AD in initial response, speed up first render #511
- Remove feature to index external RDF files and search them #579
- Add staging environment #588
- Add systemd instructions to readme #271
- Add parent parameter to search endpoint which scopes a search to only the descendants of the given resource. #226
- Bookmark endpoint now also retrieves
og:imageandog:description#510 - Give server agent rights to edit all resources, fix issue with accepting invites in private drives #521
- Add cookie based authentication #512
Store::all_resourcesreturnsIteratorinstead ofVec#522 #487- Change authentication order #525
- Fix cookie subject check #525
- Change how the sidebar resources are created
- Update JS assets
- Use WebSockets for fetching resources and authentication. Faster than HTTP! #485
- Added JSON-AD Importer
- Add HTML Bookmarks features
- Update Atomic-Data-Browser
- Improve CLI errors for Atomic-Server #465
- Fix default config directory, set it again to
~/.config/atomic. This accidentally was~since v0.32.0. - Fix flaky query test #468
- Don't subscribe to external resources #470
- Improve frequency search indexing #473
- Add HTML importer / bookmarks endpoint #432
- Allow new
Driveresources without a parent - Refactor end-to-end tests
- Upgrade to stable tauri #451
- Improve performance of invites #450
- Update JS bundle:
- Fix Dropdown input bug
- Fix autogrow textarea bug
- Fix issue when creating invite for chatroom #413
- Add OpenTelemetry suport #416
- Fix
removeCommit command #417 (thanks @rasendubi!) - Make tests less flaky by removing the
StoreinAgent:to_resource#430 - Update JS bundle
- Warning: Various default directories have moved (see #331). Most notably the
datadirectory. The location depends on your OS. Runshow-configto see where it will be stored now. If you have data in~/.config/atomic/db, move it to this new directory. Also, the search index will have to be rebuilt. Start with--rebuild-index. - Updated various dependencies, and made
cargo.tomlless restrictive. - Handle
previousCommit. This means that Commits should contain a reference to the latest Commit. - Remove
async-stdcalls fromupload.rs - Added
resetandshow-configcommands toatomic-server. - Added
data-dirflag - Replaced
awcwithureq#374 - Get rid of
.unwrapcalls incommit_monitor#345 - Make process management optional #324 #334
- Auto-update desktop distributions using Tauri #158
- Internal migration logic for inter-version compatibility of the database. Makes upgrading trivial. #102
- Use commits in populate and init
- Fix bug when opening the same invite twice with the same agent
- Update atomic-data-browser, deal with new commits, add chatrooms
- Add
Store::set_handle_commit. Changes how Commits are internally processed. Now, users ofatomic_libcan pass a custom handler function. This can be used to listen to events. #380 #253 - Added ChatRoom functionality. #373
- Add
pushoption to Commits, which allows for efficient manipulation of ResourceArrays. RemoveResource::append_subjectsmethod in favor ofpush_propvals#289. - Add
appendright, only allows creating children #381. - Fix logic for updating indexes. Sometimes atoms were ignored. #392 #395
- Host the data-browser assets / JS bundles from
atomic-server's binary #185 - Allow reading Commits #307
- Upgrade
actix,clapandtauridependencies #301 - No
MutexforAppstatein server #303 - Removed system tray from
atomic-server, since I only want to maintain the Tauri version - Rename
src-tauritodesktopand make the tauri code part of the cargo workspace - In Queries, respect a
limitofNoneandinclude_external#317 - Run end-to-end tests from
atomic-data-browserinatomic-serverCI #204 - Use
nextestfor testing #338 - Improve and monitor test coverage #337
- Fix commit indexing #345
- Huge performance increase for queries! Added sortable index, big refactor #114
- Added
store.query()function with better query options, such asstarts_atandlimit. Under the hood, this powersCollections, Resource.savereturns aCommitResponse.- Refactor
Commit.apply_opts, structure options. - Remove the potentially confusing
commit.applymethod. store.tpfnow takes aValueinstead ofString.- Improved sorting logic. Still has some problems.
Run with --rebuild-index the first time, if you use an existing database.
Note that due to an issue in actix, I'm unable to publish the atomic-server crate at this moment.
You can still build from source by cloning the repo.
- Improve performance for applying commits and updating index (from ca. 50ms to <1ms), refactor value index #282
- More tracing / logging insights
- More search results for authorized resources #279
- Fix panic on unwrapping multipart upload
- Improve tauri dev UX
- Fix HTTPS initialization
- Add
--server-urloption - Improved logs (better fitting level options, less verbose by default)
- rename
base_urltoserver_url
- Update to actix v4, get Tauri to work again #246
- Replace
logwithtracingfor structured logging and add tracing toatomic-lib, enables better (performance) diagnostics #261 - Add
--log-leveloption #261 - Add
--trace-chromeoption #261 - Correct 404 status code
- Server-Timings header #256
- Added various endpoints as resources #259
- Show version, author and description in cli tool
- Fix indented welcome message in generated Drive
- Add file uploading and downloading #72
- Reverted to earlier Actix build, which unfortunately also means you have to wait longer for the Tauri desktop version of Atomic-Server #246
- Stricter authorization checks for Invites #182
- Add expires at check to Invites #182
- Add github CI action for Tauri Builds #221
- Add
append_subjectsmethod to Resource, helps dealing with arrays - Running
--initializeis non-destructive - rights to the Drive are only added, not removed. - Stricter collection authorization #247
- Improved
check_rightsAPI #247 - Make Agents public by default, required for authentication process #247
- Desktop build (using Tauri) with system tray, icon, installers, menu items. #215
- Upgraded Actix to latest (needed for Tauri due to usage of Tokio runtime) #215
- Allow Agents to write and edit themselves #220
- Less collections for first-time users #224
- Sort collections by subject by default
- Set default port to 9883 instead of 80 #229
- Add authentication to restrict read access. Works by signing requests with Private Keys. #13
- Refactor internal error model, Use correct HTTP status codes #11
- Add
public-modeto server, to keep performance maximum if you don't want authentication.
- Full-text search endpoint, powered by Tantify #40
- Add RDF-Search usecase (enables re-use of this server as search service for Solid pods)
- Add
enumsupport using theallows-onlyProperty. #206
- Fix docker env issue #202
- Fix docker image by switching
heimwithsysinfo#203 - Fix path ENV variables
- Fix logging while terminating existing process
- IMPORANT: before upgrading to this version, export your database using your previous version:
atomic-server export. The database could become corrupted when running the new version. - Refactor internal
Valuemodel and add Nested Resource parsing #195 - Added tests, improved some documentation
- Fix indexing commits #194
- Add more control over adding resources with
Store.add_resource_opts()
- Make HTTPS optional #192
- Fix parsing .env file
- Fix bootstrapping issue #193
- IMPORANT: before upgrading to this version, export your database using your previous version:
atomic-server export. The database could become corrupted when running the new version. - Include Resources in Collection responses, improving performance dramatically for collections #62
- Introduce
incompleteresources - Update
get_resource_extended, allow specify whether to calculate nested resources. - Sort
childrenin hierarchies. - Sort
exportoutput - first export Properties, fixing #163 - Add
only-internaltoexportCLI command inatomic-server.
- Many
atomic-serverCLI improvements. Add options as flags, without needing environment variables. #154
- Add
setup-envcommand toatomic-serverfor creating a.envfile #154 #187 - Remove analytics in server
- Make
asset-urlandscriptin HTML template customizable. #189
- Improved error message for hierarchy authorization check #178
- Fix Property
recommends#177 - Refuse commits with query parameters in their subjects #179
- Add
resource.destroy()method, which uses commits - Improve killing existing processes - wait until other process has stopped #167
- Make
atomic-clismaller (don't usedbfeature fromatomic-lib)
- Added WebSockets support for live synchronization / real-time updates with the front-end #171
- Update index after
destroying a resource #173
- Improve process ID functionality #167
- Improve invite URL
- Fix domain .env #169
- Fix HTTPS port bug
- Check and terminate running instances of
atomic-serverwhen running instance #167
- Add flags for
reindexandinit - Improve CI for automated tests & builds #165
- Improve ease of initial setup with initial invite on
/setup#159 and welcoming descriptions for first Drive and Invite.
- Fixes caching bugs for collections introduced by #14
- Fix external resources in Collections #161
- Add Value indexing, which speeds up TPF queries / collections tremendously #14
- Add models for Document editor
- Improve commit authorization checks - allow new resources with existing parents
- Fix
/pathendpoint return values #143 - Add ASCI logo in terminal on boot
- Fix getting resources from server's
/commitpath #144 - Fix cache-control header issue when opening a closed tab #137
- Add collection properties
name,sortByandsortDesc#145 - Extract
apply_changesfromapply_commit, make versioning safer and more reliable #146 - Remove AD3 remnants, clean up code #148
- TPF endpoint supports JSON-AD #150
- Custom serializations in
atomic-cli tpf
- Add write rights to Agent itself on accepting Invite
- Fix RDF serialization for dynamic resources #141
- Update and check Usages for Invites #134
- Make names for agents optional
- Move shortname property always to first one
- Hierarchy with breadcrumbs and easy to use navigation #134
- Authorization using Hierarchy, which means you can add write & read permissions anywhere in a hierarchy.
- Invites to invite new and existing users to read / edit a bunch of resources. Test it here.
- Build using esbuild instead of webpack #31
- Some documentation improvements
- Remove
createdAtfrom Agent model required fields - Fix
n-triplescontent type negotiation
- Fix deadlock in
cli newcommand #124 - Added boolean, timestamp and unsupported fallback to
cli newcommand #30 - Fix CLI input
server- no subcommand required for running
- Added import / export to server and lib #121
- Added basic cli functionality with Clap to server #125
- Added multi-resource JSON-AD array parsing #123
- Use JSON-LD as default store #79
- Removed all HTML rendering from
atomic-server(since we're usingatomic-data-browser). - Changed how config paths are calculated and shared.
- Remove the need for having the
./staticfolder #118 when runningatomic-server, moved to config dir. - Add
open configto tray icon - Updated
atomic-clipath, no longer requires quotes
- Added versioning #42
- Added endpoints #110 #73
- Moved
/pathlogic toatomic-libas endpoint #110 get_extended_resourceis now DB only #110- Correct response codes (404) #105
- Improved .html page (+PWA support and Matomo tracking)
- Upgraded various dependencies
- Reject commits if they are editing a non-owned resource #106
- Correct response codes (404) #105
- Use atomic-data-browser js frontent by default #103
Warning: existing databases will not work with this version.
- Fix deleting items #101
- Add a datatype for floats #93.
- Switch to JSON-AD parsing & serialization for Commits #100
Warning: existing Agents and Commits will no longer work. Be sure to create new ones.
- Change Commit serialization to match atomic-data-browser implementation #98.
- Permissive CORS #92
- Add JSON-AD serialization #79, use it in Commits
- Servers are aware of their own URL #51
- Improved CLI edit feature, more flexible (create new resources if none exist, fix newlines)
- Add
resource.save_locally()
- Fix array length bug in paths
- Add docker link to homepage
- Add system tray icon #75
- Removed
ResourceString - Improved WASM compliance #76
- Add ARM Docker compatibility #80
- Remove dead dependency #82
- CLI commit commands shortname fix #83
- rename
set_propval_by_shortnametoset_propval_shortname
- Added persistence to server docker image #70
- Improved default Agent setup for server
- Improved error handling in cli
- Added tests for cli #67
- Fixed generated addresses
localhost/collectionvslocalhostcollection - Added dockerfile for server #69
- Huge refactor of internals. Got rid of all string representations for Atoms, so store should only contain valid data. All Resources have all required props, and data is of the correct datatype.
Resource.save()can be called! Easy way to store changes, both locally and externally.- Added collection sorting #63
- Added table view for
atomic-server#53 - Changed many methods from the
ResourceAPI to fix some ownership / trait object issues #45.Resourceno longer has an internal reference toStore, so it needs an explicit store in most methods.
- Atomic-cli 0.18.0 allows for instantiating new Resources, whilst creating commits! It also re-introduces the TPF query.
- Atomic-server 0.17.1 now automatically renews HTTPS certificates on boot, if needed.
atomic-clican now edit data securely on anatomic-server#41 #13- Root agent is automatically generated #38
- Convenient Collections (such as a list of all Commits, Classes, Agents, etc.) are generated for every store on
populate(). #43 - Fixed some props for Collections and Commits
- Add dynamic collections with pagination #36 #17
- Refactor Db to use native values, for allowing nested resources #16
- Atomic Commits using deterministic serialization and cryptographic signatures #26 #24 #27 #31
- Recognize filetypes in URL #33
- Save reference to Store inside Resource #19
- No more &muts #18 #15
- Adds HTTPS auto certificate support