Skip to content

v0.41.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 09:12
· 48 commits to develop since this release
4b6b44a

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.

New in the app

  • 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/mcp does the same for local tools.

Under the hood

  • Identities are Ed25519 keys (atomic:agent:...), new resources get location-independent atomic: 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 / push are rejected, /version and /all-versions are removed, vector search is opt-in, and / needs ATOMIC_HOME_DRIVE to show a drive. Upgrade @tomic/lib, @tomic/react, atomic_lib and atomic-cli together 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 push refuses breaking changes unless you pass --allow-breaking. The schema lockfile gets an optional fingerprint (atomic_lib::schema::compat) that schema check compares; older lockfiles keep working.
  • schema push no longer needs --accept-changes to add a property that the lockfile does not list yet (atomic-cli and @tomic/cli; schema check still 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 a schema:property:<shortname>:superseded:<subject> localId.