Skip to content
What's new

Docs with room for the whole team

Docs become the place a team builds its work together. Pages nest in a tree you can drag, comments hold on to the words they're about, sharing works by person, team or project until a date you choose, and versions can be named and brought back. Everything already written elsewhere comes in from Notion, Confluence, Google Docs, Word or Markdown. Around the docs, chat lets people find the channels they're not in yet, booking pages keep their bookings, the app fits a tablet, and every screen shares one calmer, more consistent design.

  • Pages in a tree. Nest pages inside pages and drag them where they belong; before a move, you see how the page's access will change. A docs home lists your recent, own, shared, workspace, starred and archived docs, and search reads what's inside them.
  • One design on every screen. Buttons, rows, tabs and fields show hover, press, selection and focus the same way everywhere, a checked box takes the accent as switches do, and nothing stays lit under a finger on a touch screen. Channels and docs wear their own colours, and the sidebar and the command palette tint each row in the colour of the place it opens. Dates and times have one field: type a date or pick a quick day, with a sheet on a phone. Dragging works one way on every surface, and controls side by side are spaced for a finger.
  • Comments on the exact words. A thread holds on to the passage or block it's about, with replies, resolve and reopen.
  • Sharing that fits how teams work. Levels from view to full access, for people or a whole team, for good or until a date. Anyone can ask for access, and the owner or someone with full access answers; a doc can be handed to a new owner or locked.
  • History you can name. Versions are kept as people edit and before every change made from outside the editor. Name or pin one to keep it, compare it, and restore it as one change.
  • Bring it all in, take it all out. Import Markdown, HTML, text, Word, or a zip exported from Notion, Confluence or Google Takeout; export a doc as Markdown, HTML, PDF or Word. Admins can export every doc they can open, plus private docs their owners let in.
  • Ask AI inside a doc. The Ask AI bar edits, rewrites, summarises and answers questions about the page, and its rewrites arrive as suggestions you accept or decline piece by piece. Readers can ask it too, a doc's action items become tasks, and every edit an agent makes is marked in the margin and can be undone exactly.
  • Links that stay alive. Mentions of docs, tasks and people stay current, a to-do turns into a task that ticks both ways, links to other sites show a preview, and a page lists the pages that link to it.
  • Docs for your scripts. The API lists, reads, creates and appends to docs, with docs:read and docs:write tokens.
  • Chat that shows what you're not in yet. Discover lists every public channel you can join, with search; an archived channel can be restored with its history, and stays findable by its members while it's archived. A message sent again after a dropped connection is posted once.
  • Booking pages keep their bookings. Deleting a page keeps every booking made through it, with the guests' links to change or cancel; guests' emails are written in their own time zone, and the owner hears of each booking in the inbox as well.
  • A tablet layout. Touch screens between phone and laptop size get a shell of their own, and below 1,100 pixels wide the right panel opens over the page instead of beside it.

Before you update: Twelve database migrations: 205 to 213, 340, 343 and 344, and 214 as well for an install coming from an older release than the one before this. They add the tables for edit suggestions, places, imports and exports, threads, versions, follows and notices, access requests and end dates, bookings that outlive their page, the AI activity index, to-dos linked to tasks and export consents, and a record of the mentions docs already hold, so the update tells nobody again of a mention made before it. The server refuses to start until they're applied, and make update applies them first. Re-run the install command you installed with, then make update; it takes a backup first and checks the result. Installs and updates from earlier releases printed your LiveKit API secret in a warning on the terminal: if you haven't run make rotate-livekit-key since, and that output was saved or shared, run it after updating (calls in progress end). Update the web app with the server, as make update does. Until it's rebuilt, an older web app can't open docs ("Something broke on this page"). Anyone with OneCamp open in a browser should reload it once the update is done. If you host the web app yourself, deploy this release's web app at the same time. The update rebuilds the collaboration service, which now takes the server's writes into open docs on an internal port, 1235: keep it private, as the compose file does. The first start does some work once, in the background: the graph database gains its new fields and rebuilds three indexes, and every doc's search entry is rewritten. Channels archived before the update stay out of search until they're restored. Each existing doc's first open after the update rewrites it: its old toggles and colours are converted, every block gets an id, a colour outside the palette is dropped, and the doc is saved in full, so its doc.updated webhooks fire. Versions older than a day are thinned to the new keeping rules: every version for a day, one an hour for a week, then one a day for the retention period, within 64 MB a doc. Deleted docs now go to a trash and are removed for good after 30 days (DOC_TRASH_RETENTION_DAYS); docs deleted before the update stay as they were. Calendars and their events are left as they are: this update doesn't move or convert them. make update backs up the whole workspace first, under data/backups, and that backup is the way back. Going back to an earlier release isn't supported: sharing by team, project and full access, end dates and locks would stop applying. To undo the update instead, make backup-list shows the backup it took, and make restore FROM=<that backup> CONFIRM=restore puts the workspace back as it was before (it replaces everything in it). For scripts and integrations: GET /v1/docs, GET /v1/docs/{id}, POST /v1/docs and POST /v1/docs/{id}/append are new, with the docs:read and docs:write scopes. POST /doc/createDoc without doc_private makes a private doc, and its failures answer 403, 404, 409, 422 or 503 instead of 400. POST /doc/deleteDoc moves the doc and its subpages to the trash for anyone who may edit it, and answers batch_id and count. POST /doc/updateDoc writes through the live doc and answers 503 while the collaboration service is down; changing a doc's privacy needs full access. POST /doc/updateDocPermissions refuses the whole change (400) for an unknown person or team, a malformed id, or more than 200 grants. A refusal to open a doc answers 403 with code: "no_access" and whether access can be asked for; admin-only routes answer code: "admin_required". Deleting a booking page answers 200 with the number of bookings still to come, instead of 409. COLLAB_INTERNAL_URL is no longer read; COLLAB_LIVE_URL, DOC_IMPORT_MAX_BYTES, IMPORT_PAGE_WORKERS, DOC_TRASH_RETENTION_DAYS and DOC_SNAPSHOT_MAX_MB are optional.

Fixes

  • Pictures in a doc shared by guest link didn't load; they do now.
  • Scrolling back through a channel could stop at the first page, because the newest page always said there was nothing older; fixed.
  • The sidebar went blank when one of its counts couldn't be read; it now shows everything it could read.
  • A channel's creator couldn't leave it; they can now, once someone else is one of its admins.
  • Someone taken off a calendar event wasn't told; they now are, without the event's title.
  • Channels, messages and threads answered a missing or forbidden item as a bad request; they now say it isn't there (404), isn't yours (403), or couldn't be read right now (503).
  • Some Markdown took the server seconds, even minutes, to read: a long paragraph of certain marks or brackets, arriving through an import, the API or a message. Its cost is now worked out before it is read; a doc that would cost too much is refused, and a message shows as plain text.
  • The update itself would have told everyone each existing doc mentions, by push and by email, as if they had just been mentioned, the first time that doc was saved. Mentions made before the update now tell nobody again.
  • A zip with a huge list of files cost the server hundreds of megabytes before its file limit was checked; the list is counted first now. Changing the sharing of a page with more than 5,000 pages under it changed only the first 5,000; it now changes every page under it, or is refused whole.
  • When one of two projects linking the same repository unlinked it, the other stopped hearing from GitHub; the repository's webhook now stays while another project uses it.

Two open doors closed: update nowv2.73.1 with AI · v1.58.1 without AI

  • This update closes two holes in the web app every install serves, and both are open today. Any member of your workspace could make the server run code of their choosing by uploading a crafted picture, and anyone on the internet could make the web app fetch addresses inside your install's network. Update now. It also brings the server, the document server and the code runner up to date with their own security fixes, moves Redis and Traefik to their newest patch releases, and fixes Esc when a notice is showing. It doesn't fix everything the audit found, and it says below what is left.
  • Pictures can't run code on your server. The web app shrinks every picture people attach before showing it, and the image library it used could be made to run code by a crafted picture, which any member can upload. Next.js 16.3.8 and its image library close it.
  • Nobody outside can reach inside your network through the web app. A crafted request to the web app's own server could make it fetch addresses inside your install's network, without signing in. Next.js 16.3.8 closes it, and the picture shrinker can no longer be made to stall the server.
  • Pasting is safe again. A paste of crafted text into any editor (docs, chat, tasks) could run script in the page; the editor's newest release closes it. The web app's request library, its HTML cleaner, its diagram drawing, its Word preview and its Markdown reader take their fixes too.
  • The server on Go 1.26. The server now builds with Go 1.26, the release your install already ran, and takes the network library's five HTTP/2 fixes, gRPC's fixes for oversized messages, and OpenTelemetry's.
  • The document server and the code runner. The live-editing server takes its connection library's fix for a flood of data sent before anyone signs in, and the code runner's images build on Go 1.26, which closes 35 standard-library advisories in code it runs.
  • Redis 8.6.7 and Traefik v3.7.14. Redis's newest patch fixes three ways to run code through a Redis connection; your install keeps Redis on its own network behind its password, so this is depth, not an open door. Traefik's fixes concern NTLM and Kerberos sign-in to backends, the Kubernetes Ingress-NGINX provider and builds made with Go 1.27, none of which an install uses. v3.7.15 adds only fixes for an experimental proxy and that provider, so this update takes v3.7.14, which has been out for over a week.
  • Spreadsheet previews: the library that reads a shared .xlsx in the browser has two open advisories, a prototype pollution and a slow pattern, so a member who shares a crafted spreadsheet could affect the browser of whoever opens its preview. Its fixed releases aren't published where the app gets its libraries; a later update brings them.
  • The editor's attribute handling has a moderate advisory that only its next major version fixes.
  • Some advisories remain in libraries the app doesn't reach: test tools that never ship, and parts of libraries no code of ours calls.
Show 9 more fixes
  • PostgreSQL 12, which every install runs, is past its end of life and gets no more fixes.

  • With a notice showing (Saved a version, Link copied), Esc closed the notice and left the dialog, sheet or menu it came up in open; Esc now closes the dialog, sheet or menu, and a notice with the focus still closes itself.

  • One Esc could close two things at once, a notice and the right panel; it now closes one, the right panel first.

  • On a narrow window, Esc no longer closed the right panel when it covered the page; it does again.

  • Right after a start, make verify could say file storage failed when it was only a moment away from answering; the check now looks twice more within a second and a half before it says storage is down.

  • The document server's image installed whatever version of its package manager was newest on the day, so two installs a day apart could build it differently; it now always uses the same one.

  • Updating could build the document server from an older file when a changed file kept its size; updates now rebuild from the files they install.

  • A developer's log file was part of every install's download; it no longer is.

  • Before you update: Update the web app with the server, as make update does. If you host the web app yourself, deploy this release's web app now: it carries the Next.js fixes. Anyone with OneCamp open in a browser should reload it once the update is done.

    Building the server from source now needs Go 1.26.

v2.73.0 with AI · v1.58.0 without AI