Repository navigation
docs.plus 2.3.7 is an improvements and hardening release: 54 public tasks closed, with 15 audited before-and-after measurements. Over 7 days on our live site, duplicate versions in history dropped to 0 of 624 (none, down from 5 of 414), Safari's offline copy shrank 92 % (13 rows to 1 on every reload), known server security issues fell 76 % (6,515 to 1,527 on Debian 13), monitoring self-logs fell 99 %, and Google Analytics is turned off across docs.plus. docs.plus is a free, open-source editor where every heading has its own chat. If you write and read on docs.plus, you have nothing to do.
📊 2.3.7 in numbers
| ✅ 54 issues closed | every work item in our public 2.3.7 milestone |
| 📏 15 audited improvements | every before-and-after number below sits in our public benchmark list, with where and when we measured it |
| 🐛 14 bugs fixed | early-restart saves, Safari offline copies, slow uploads, chat retry buttons, and more |
| 🔒 15 security improvements | Google Analytics off, tighter Word import caps, Traefik v3.7.18, and Debian 13 |
| 🗄️ 0 database migrations | self-hosters have no database schema step in this release |
All of it is open source and built in public. Try it on docs.plus.
⚡ Faster and steadier
This release is mostly about measurable reliability, memory, speed, and security improvements. We measured the old and the new the same way, and each row says where we measured it.
| Before | Now | Change | Measured on | |
|---|---|---|---|---|
| 🧭 Safari offline copy rows after reload | 13 rows | 1 row | 92 % fewer | our live site in Safari 27.2, 5 reloads in a row |
| 🗂️ Duplicate versions in document history | 5 of 414 (1.20 %) | 0 of 624 (0 %) | none | our live site, 7 days (2026-11-23 to 2026-11-30) |
| 💾 New pads that lost saves on an early server restart | 7 of 10 | 0 of 10 | 100 % fewer | local server test, 10 runs each |
| 🤖 AI-app edit on a 3.6 MB pad, pad already open † | 2,273.5 ms | 274.5 ms | 87 % less time | one laptop, middle of 5 runs |
| 🤖 AI-app edit on a 3.6 MB pad, pad closed † | 3,470.9 ms | 1,554.4 ms | 55 % less time | one laptop, middle of 5 runs |
| 📄 Memory added by one crafted Word table cell on export | 577.6 MB | 10.6 MB | 98 % less memory | one laptop, middle of 5 runs |
| 📄 Memory added by the largest admitted Word import we measured | 841.9 MiB | 219.0 MiB | 73 % less memory | one laptop, middle of 5 runs |
| 🛡️ Known security issues in installed server packages ‡ | 6,515 | 1,527 | 76 % fewer | our live server, Debian 11 to Debian 13 in place |
| 🚦 Edge router CPU throttling under a local flood test | 23.18 s | 0.05–0.19 s | 99 % less | local Docker flood test, 5 runs (1.0 → 2.0 CPUs) |
| 📉 Monitoring self-logs stored per day | 1,392,680 lines | 1,343 lines | 99 % fewer | our live site, 7 days before vs 7 days after |
| ✅ Docs-only checks in CI | 278 s | 52 s | 81 % less time | our CI pipeline, 7 runs before vs 5 runs after |
| 🔎 Type-checking all 15 workspaces | 5.28 s (22 s CI) | 0.44 s (2 s CI) | 91 % less time (90 % CI) | one laptop, middle of 5 runs (and 7 vs 5 CI runs) |
| ✨ Code format check across the repo | 10.82 s | 0.15 s | 98 % less time | one laptop, middle of 5 runs |
| 📦 Webapp container install time during deploys § | 158.0 s | 24.8 s | 84 % less time | our deploy pipeline, 6 deploys before vs 15 after |
† On that same laptop run, background store-job time rose 11 % (open) and 27 % (closed), cold reads rose 22 %, and a nearby commit was present in the after run. Over 7 days on our live site, all 462 AI-app calls ran with zero failed saves and zero alerts. (#726)
‡ From upgrading our live server from Debian 11 to Debian 13 (Linux 5.10 → 6.12, OpenSSL 1.1.1w → 3.5.7, OpenSSH 8.4p1 → 10.0p1, Docker 29.1.3 → 29.10.0). Fixed-not-installed issues also fell from 117 to 11 (90 % fewer). This is a server upgrade, not a docs.plus code change. (#747, #708)
§ The install changes behind this row shipped in 2.3.0. This release measured them on our live pipeline. (#559)
More measured improvements from this milestone: while 3 Word imports ran at once on one laptop, the worst /health reply fell from 1,678 ms to 978 ms (41 % less time), and production saw zero import refusals over 14 days (#577). Under the local edge flood test, median /health fell from 0.261 s to 0.012–0.118 s (#802). Docs-only checks now run 0 build or test jobs (down from 3), and admin-only pull requests run 2 gate jobs instead of 4 (50 % fewer) (#563). The faster format gate also cut the full local CI check from 97.24 s to 85.54 s (12 % less time, one laptop; CI format check 0.37 s) (#795). Our full Bun 1.4.x benchmark notes sit in docs/benchmarks/bun-1.4.md (#660, #794, #712).
🚀 Enhancements and fixes
- 💾 New pads keep saving through an early server restart. Before, if our collaboration server restarted in the first seconds of a new pad, typing could stay in your browser until you clicked away and back. In a local test that stopped the server in that 10-second window, 7 of 10 pads saved nothing before, and 0 of 10 after (100 % fewer, 10 runs each). Seven days on our live site and checks on a real iPhone all passed. (#799)
- 🧭 Safari's offline copy stays small and never blocks live edits. Each pad keeps a local browser copy so it reopens fast. In Safari 27.2 on our live site, 13 saved update rows now shrink to 1 row on every reload (92 % fewer, 5 reloads in a row). Even if Safari clears that local copy while you type, live edits still reach another browser in 452 ms instead of stalling. Over 7 days on our live site, browser errors from compacting offline copies fell to 2 (71 % fewer than our 7-trace bar), with zero uncaught errors. (#751)
- 🗂️ Cleaner version history with zero duplicate saves. When two servers saved the same pad state back to back, history used to keep two identical versions. Now it keeps one version and lists every person who contributed to it. Over 7 days on our live site, identical back-to-back versions fell from 5 of 414 (1.20 %) to 0 of 624 (0 %, none, with 7 unchanged saves skipped live). In a local 92-write test, leftover temporary save data fell from 298 MB to none. (#704)
- 🤖 Faster edits from connected AI apps. When a connected AI app (such as Claude or ChatGPT, using MCP) edits a pad, our server no longer pauses 1 second after each of the two saves in one edit. On one laptop (middle of 5 runs on a 3.6 MB pad), an AI edit fell from 2,273.5 ms to 274.5 ms when the pad was already open (87 % less time), and from 3,470.9 ms to 1,554.4 ms when the pad was closed (55 % less time). (#726)
- 📊 Richer Mermaid diagrams. Diagrams now draw with Pele 1.13.0, up from 1.8.0. Labels draw 11 new HTML tags (
<sub>,<sup>,<code>,<kbd>,<samp>,<tt>,<u>,<ins>,<var>,<cite>, and<dfn>), keep non-HTML text likeList<T>or<foreignObject>intact as plain text (while still stripping unsafe HTML such as<img>and<script>), and stay easy to read on custom colored fills in dark themes. Error line and column numbers now count your source as written (including front matter, directives, and comments), and connected AI apps see that exact line on a mistake. Render time stayed about the same (0.99 ms to 1.05 ms on a 250-edge flowchart, 6 % more time, one laptop). (#805) - 📄 Safer Word imports and exports, plus tracked-changes warnings. Importing a Word file that has tracked changes now warns you first that tracked changes were accepted (17 of 17 tracked files warned, 0 of 130 clean files had a false warning). Exporting a Word file now caps extreme table cell spans at 64, cutting memory added by one crafted cell from 577.6 MB to 10.6 MB on one laptop (98 % less memory). Imports now handle one file at a time per server process, cap pictures at 128, and refuse tiny zip bombs that expand into huge documents. The import card now shows clear refusal messages when a file holds more than 128 pictures or when the server is busy with another import (verified in Chromium and WebKit). (#677, #577)
- 📤 Slow media uploads finish cleanly. Large pictures and videos on slow connections now have up to 5 minutes (300 seconds, up from 60 seconds) to finish uploading. In a local test, 5 of 5 slow 10 MiB uploads taking 102.49–102.52 s succeeded where all failed at 60.21 s before. If you cancel an upload mid-way, the server now notes it quietly instead of logging a server error. (#803)
- 💬 Failed chat messages show their full Retry button. When a chat message fails to send while you are at the bottom of the list, the list now scrolls with the taller failed row so the full 24 px Retry button stays in view instead of clipping to 8 px. Readers who scrolled up stay where they are. (#730)
- ⭐ Animated star demo and fixed TOC link in the README. Our GitHub README now includes a light-and-dark animated star demo under Community and support (refreshed to live counts: 100 stars, 17 forks, 6 watching), and the table-of-contents demo link now lands directly on the TOC section instead of an empty view. (#809)
- 🔔 One save notice instead of two, and quieter internals. Each open browser now gets one save or access notice per event instead of one from each collaboration server (2 to 1 in a local 2-server test, 50 % fewer). Typing 100 characters in a pad also stopped writing the same save status over and over (101 writes down to 2 in a local check, 98 % fewer; not a speed gain), and we cleaned up noisy browser error reports. (#758, #736, #752)
🔒 Safer by default
- Google Analytics is turned off on docs.plus. Moving from the home page to a pad no longer leaks pad addresses to Google (5 of 5 leaking visits before, 0 of 5 after; heading URLs are also redacted as
?h=(redacted)). Stored analytics data is queued for deletion (2-month retention), and our Privacy page now lists Google for sign-in only. (#741) - Our web app's image route no longer fetches remote sites.
/_next/imageanswered 3 of 3 remote probe images before and 0 of 3 after (none). (#641) - Grafana's internal metrics page is closed to the public. Four exposed paths fell to 0 (none), and
/metricsfell from a 905,142-byte200reply to a 19-byte404(99 % fewer bytes). (#745) - Upgraded edge router with doubled CPU headroom. Production moved to Traefik
v3.7.18(closing 6 matching advisories), doubled its CPU limit to2.0CPUs, dropped stalewww.new.docs.pluscertificate retries (about 10 failed requests a day down to none), and redirectedwww.docs.pluscleanly todocs.plus. (#746, #802) - Tighter Word import limits. Imports now refuse zip files whose entry counts disagree, cap unpacked Word XML text at 2.5 MiB and 14,500 tags, and cap embedded pictures at 128. (#577)
- Hardened production host and deploy boundary. Our live server moved to Debian 13, switched SSH to keys only with
fail2banactive (2 auth methods down to 1), locked every production secret file to owner-only permissions (10 world-readable files down to none), and moved the deploy runner to its own service so deploy jobs no longer see app secrets (74 secret keys down to none). (#747, #708, #742, #743, #744) - Three-day wait on new third-party package versions. Package updates now wait 3 days across all 3 update paths before docs.plus accepts them, giving supply-chain checks time to catch bad releases. We also added live collaboration sync-size tracking and an automated database seed drift check. (#653, #659, #808)
🛠️ If you self-host, read this first
| Do this | Why |
|---|---|
Pull traefik:v3.7.18 before deploying, and remove dynamic/redirects.yml beside dynamic/tiny.yml |
Traefik v3.6 refuses the new aliasHeadersStrategy option, so roll the image tag and scripts/traefik/traefik.yml forward or back together. (#746) |
Update the new 7th Host( line (rest-api-mcp) in docker-compose.prod.yml |
/api/mcp now has its own Traefik router and rate-limit bucket when you use the bundled Traefik. (#726) |
Deploy back before observability |
Keeps worker-job-failures from paging on retry counts produced by older workers. (#726) |
There are no Supabase database migrations in 2.3.7. Upgrade with the steps in Upgrade to a new release. They send you to the Migration section of the hocuspocus CHANGELOG; follow it in order.
🤯 The surprise
One crafted table cell was bigger than our entire server's memory limit. In a test Word export, a single table cell asking to span 100,000 columns expanded to 577.6 MB of memory — more than the server container's whole 512 MB cap. Clamping table spans to 64 brought that exact same export down to 10.6 MB, 98 % less memory, with zero change to real tables. (#677)
Full details: CHANGELOG.md · webapp · hocuspocus · supabase