# Changelog Versions correspond to git tags and to the published image set (`federatedcomputer/superbrain-{app,web,migrate}` on Docker Hub); the `superbrain-mcp` Python package and the federated suite files (`service` VERSION, installer image version) move in lockstep from 1.2.0 on (the line was reset to 0.2.x at 0.2.14 — Superbrain is pre-beta). Dates are tag dates. ## 0.3.3 — 2026-11-23 ### Added - **Unified Nextcloud connect**: Settings → Nextcloud connects files, calendars and contacts with ONE credential entry. `POST /api/nextcloud/connect` composes the three per-user DAV roots server-side, verifies the credential against each protocol in parallel (netguard-pinned, sharing the siblings' `/test` outbound budgets) BEFORE storing anything, and creates one ordinary sibling connection per protocol that passes — orchestration, not a fourth connector. Every sibling plan gate, validation (including CardDAV's https/443 pin), cap and projection applies unchanged; partial success is a first-class 200 result (`created|exists|gated|error` per connector, server messages verbatim), so a free plan connects contacts only and an http origin still connects files/calendars while CardDAV reports its https requirement. Repeat calls are idempotent by composed URL; a wrong password stores nothing. `GET /api/nextcloud/status` serves the tab (the `NEXTCLOUD_URL` origin hint plus per-connector `allowed` flags and masked connections); the UI fires the existing per-protocol `/sync` surfaces right after connect so collections materialize immediately, and Manage jumps to the sibling tabs. The separate Contacts sync is untouched; no schema change. Covered by DB integration tests against a unified Nextcloud fake and a browser regression for the connect/sync/idempotent/Manage flow. ## 0.3.2 — 2026-11-22 ### Changed - **Accurate module identity**: the Go module is now `gitea.federated.computer/Federated_Computer/brain` — the real repository — instead of the placeholder `github.com/andrew/superbrain`. All internal imports, the agent's outbound User-Agent contact URL and the README/RUNNING clone URLs point at the Gitea repo. Pure identifier rename with no runtime behavior change; verified with the full gate (unit + database integration under `-race`, schema convergence and migration atomicity, web lint/SSR/build, browser regressions, and e2e against the rebuilt stack). ## 0.3.1 — 2026-11-21 ### Changed - **Brand refresh**: the real Superbrain mark replaces the LinkOS-era placeholders everywhere — browser favicon, apple-touch icon, the social share image (previously still branded "LinkOS"), and the in-app brand marks (sidebar, sign-in/sign-up, password reset, unsubscribe, help header) via a single shared icon component. - **README caught up to the shipped app**: grouped settings and sidebar, page tags and WYSIWYG editing, calendar views and bookmark group-by, WebDAV/CalDAV/CardDAV connectors, Signal notifications and share triggers, branded email with preferences/help/unsubscribe footers, profile particulars, the public help center, and developer access; a documentation line at the top links the API reference, running guide and Authelia guide. The publishing section now describes the actual release path. ## 0.2.17 — 2026-11-20 ### Added - **Branded email**: transactional mail (password resets, notification and automation emails) now uses the Superbrain HTML design with a plain-text fallback. Password resets get a proper "Choose a new password" button and an expiry note; every email carries a footer with Email preferences, Help center and — for mail to your own address — Unsubscribe. - **Help center** (`/help`): a public guide to every surface of the app (bookmarks, collections, pages, board, signals, notifications, assistant, connections, developer tools) plus an FAQ; linked from the sign-in page and email footers. - **One-click unsubscribe**: notification emails carry a secure unsubscribe link (and native mail-client unsubscribe support). It turns off your email channels and automations that email you — without signing in — and never affects password resets or other account emails. Re-enable anytime in Settings → Notifications. - **Profile particulars**: Settings → Profile is now a real form — display name, bio, location, occupation, organization and website. Your name appears where you share with others; public bookmark links still never reveal your identity. Saving refreshes the name shown in the top bar without a re-login. ### Changed - **Email preferences deep link**: the email footer's "Email preferences" opens Settings directly on the Notifications tab (`/settings?tab=…` deep links are now supported). ## 0.2.16 — 2026-11-18 ### Added - **Reorganized sidebar**: Quick find at the top; a **Pages** group (All Pages, Pinned Pages, Untagged Pages) and a **Bookmarks** group (All Bookmarks, Calendar, and expandable **Tags / Kanban / Collections / Contacts** lists that jump straight to a specific tag, column, collection or contact); Trash at the bottom. - **Page tags**: pages can now be tagged like bookmarks. The sidebar's "Untagged Pages" list shows pages without tags, and **dragging a page onto a tag** assigns it. - **Bookmark group-by**: All Bookmarks gains a "Group by" control — Calendar (due month), Tags, Kanban, Collections or Contacts — rendering the list in labeled sections. The default ungrouped view is unchanged. - **Calendar views**: Day, Week, Month, Year and a date-sorted List, with navigation and a Today button that adapt to the active view. ### Changed - **Kanban no longer auto-populates**: only bookmarks explicitly placed in a column appear on the board; unassigned bookmarks stay off it until added. - The test gate's Go timeout was raised so the full race-enabled integration suite completes reliably. ## 0.2.15 — 2026-11-17 ### Changed - **Settings are now grouped and fully visible.** The flat tab strip (which hid half the options behind a horizontal scrollbar, on desktop and mobile) is replaced by a grouped navigation: **Account** (Profile, Sign-in), **Connections** (WebDAV, CalDAV, CardDAV, Contacts sync, IMAP), **AI & Automation** (AI, MCP, Automations, Notifications) and **Developer** (API Keys). On desktop the menu sits beside the settings panel; on phones it's a list that opens into the selected panel with a back button. Two labels were clarified: "OIDC" is now **Sign-in**, and the Nextcloud contact import is now **Contacts sync** (distinct from the CardDAV connector). ## 0.2.14 — 2026-11-17 ### Changed - **Version scheme reset to 0.x**: Superbrain is not yet beta, so releases move from the 1.2.x line to 0.2.x. This release is the same code as 1.2.14 (the Nextcloud DAV connection fix) under the new number; future releases continue from 0.2.15. Existing 1.2.x tags and images stay published and untouched, and the 1.2.x entries below are kept as history. The outbound MCP client also now reports the real release version instead of a stale hardcoded one. ## 1.2.14 — 2026-11-17 ### Fixed - **Connecting the suggested Nextcloud shares on Core now works.** Two bugs combined to make every attempt fail: the app container resolved `nextcloud.` to the split-horizon *private* container IP (where nothing listens on 443, and the network guard refuses private dials), and the WebDAV/CalDAV prefills pointed one level above Nextcloud's per-user DAV roots. The Core install now pins the Nextcloud hostname to the deployment's public IP for the app container (the same pattern already used for Authelia — the network guard stays fully strict), and the WebDAV/CalDAV suggestions compose your username into the URL (`…/dav/files//`, `…/dav/calendars//`), matching the CardDAV prefill. Existing Core installs pick up the fix through the standard upgrade. ## 1.2.13 — 2026-11-16 ### Changed - **Mobile-friendly UI**: Superbrain now works properly on phones. The sidebar becomes a slide-in drawer (hamburger in the top bar, closes when you navigate); the bookmarks table becomes tappable cards; Collections, Tags and Contacts switch to a list-then-detail flow with a Back button; the Settings tab strip scrolls instead of overflowing; kanban columns fit the screen with a peek of the next one; dialogs scroll within the viewport instead of clipping. Desktop layouts are unchanged. - Fixed the viewport configuration so responsive layouts actually engage on phones, and a connector-settings bug where the action buttons squeezed the connection name out of view on small screens. ## 1.2.12 — 2026-11-16 ### Added - **CardDAV address books**: Settings → CardDAV connects an address book from **any** RFC 6352 service (Nextcloud, SOGo, …). Each server address book materializes as its **own Collection** and **every contact becomes a URL** — a bookmark carrying the card's DAV `.vcf` location, named by its `FN`, with email/phone shown in the description. The background engine re-pulls every ~30 minutes and **Sync** runs it on demand; **Test** lists what the server offers. Removed cards detach from the collection but **keep the bookmark**; a contact bookmark you delete is never resurrected. Credentials are encrypted, masked and write-only, dials pin to https:443 and never follow redirects, and the `carddav` connector is plan-gated at creation and every sync. This is separate from the existing Contacts sync, which still feeds contact-linking. - **Core suggests Nextcloud contacts**: `NEXTCLOUD_URL` now also offers a one-click **Nextcloud contacts** prefill (the `…/remote.php/dav/addressbooks/users//` home, composed with your username in the form), next to the existing files and calendars suggestions. ## 1.2.11 — 2026-11-15 ### Added - **CalDAV calendars**: Settings → CalDAV connects a calendar from **any** RFC 4791 service (Nextcloud, Radicale, Fastmail, …). Each server calendar materializes as its **own Collection**, and every in-window **event becomes a bookmark** whose URL is the event's DAV `.ics` location — so events show up alongside everything else you save. A background engine re-queries the rolling window (events from the last 30 days through the next 180) every ~30 minutes; **Sync** runs it on demand and **Test** lists what the server offers. Discovery accepts either a calendar home or a single calendar. Vanished or out-of-window events detach from the collection but **keep the bookmark**; a calendar-event bookmark you delete is never resurrected. Credentials are encrypted at rest, masked, and write-only, dials are netguard-pinned and never follow redirects, and the `caldav` connector is plan-gated like the notification channels. - **Core suggests Nextcloud calendars**: the same `NEXTCLOUD_URL` that powers the WebDAV prefill now also offers a one-click **Nextcloud calendars** connection (`…/remote.php/dav/calendars/`), prefilled with the signed-in person's username. Still just deployment data — it gates nothing. ## 1.2.10 — 2026-11-13 ### Added - **WebDAV file shares**: Settings → WebDAV connects a share from **any** RFC 4918 service (Nextcloud, Synology, …). The share **is a Collection** and **every file is a URL** — a bookmark carrying the file's DAV location — kept in sync by a background engine (every ~30 minutes) and on demand via **Sync**. Content changes never overwrite your titles/notes/tags; a file deleted on the server detaches its bookmark from the collection but never destroys it; a bookmark you deleted is never resurrected. Credentials are encrypted at rest, masked, write-only, netguard-pinned and redirect-refusing, exactly like every other connector. - **Core ships the Nextcloud suggestion**: when the deployment sets `NEXTCLOUD_URL` (the Core installer now writes it), the list carries a one-click **Nextcloud files** prefill pointing at the standard `/remote.php/dav/files/` endpoint. It is deployment data, never a plan or tier code fork. - The `webdav` connector is plan-gated like the notification channels: free-plan tenants are refused at creation with a clear notice, and a downgrade suppresses existing shares' syncs instead of deleting them. ## 1.2.9 — 2026-11-11 ### Added - **Page URLs become bookmarks** (product invariant): every URL a user adds to a page — the links popover's "Save & add", the editor Link button, or a bare-URL pasted straight into the text — now creates a bookmark linked to that page (`POST /api/bookmarks` + `addBookmarkId`). An existing same-URL bookmark (after normalization) is **reused** rather than duplicated. Pasted Markdown text is never rewritten — the titled-link upgrade keeps its explicit-click rule. - Browser regressions and e2e cover the new invariant, including the duplicate-URL reuse path. ### Fixed - Discarding a conflict draft (or reloading onto a recovered page) now repaints the editor with the fresh server content; the uncontrolled TipTap document previously kept the discarded draft on screen. - The browser regression suite had been dead since `4e421f6` removed the Next `/api/auth/login` route — every run died on the very first assertion. The auth preamble now speaks the live protocol (NextAuth CSRF + credentials callback; proxy Origin/Sec-Fetch-Site barriers; the 415 content-type mirror of Go), the fixtures match the current `pageView` projection and sidebar links, and the e2e pages section drives the WYSIWYG editor the way the product actually works. ## 1.2.8 — 2026-11-09 ### Added - **Notifications phase 2** (the old Gitea #10 ask): `share_received` trigger (bookmark/tag/collection shared with you); targeted recipients via `config.targetUserIds` (same tenant, ≤20) delivered through each target's **own** enabled channel of the rule's kind, gated by the target's plan, with `recipientId` in history (which now lists rows you own *or* were targeted on); `signal` channel kind via a signal-cli REST bridge (sender account encrypted + masked like every credential); Settings → Notifications gained the trigger option, a same-tenant target picker and the Signal fields. - **Managed-by footer**: deliveries for tenants on the free hosted plan carry "Managed by David's Superbrain."; paying plans, core and self-hosted never do. Plan data (`entitlements.ManagedFooter`, override key `managed_footer`), appended at delivery time. ### Changed - Entitlement catalog: `signal` joins the standard/premium/core/selfhosted channel allowlists. ## 1.2.7 — 2026-11-09 ### Added - **Outbound MCP connections (Superbrain as an MCP client)** — Notion-style: Settings → MCP registers external MCP servers (Streamable HTTP or SSE; none / Bearer / custom-header auth) and dials them with the official `modelcontextprotocol/go-sdk`. `/api/mcp/connections` CRUD plus a `/test` endpoint that returns the server's live tool list or a 502 with the dial error class. Encrypted write-only masked secrets, `version` on PATCH (409 on stale), netguard-pinned dials (public ranges, ports 80/443, no redirect following), per-user test rate limit and shared outbound budget, cap of 10 connections. Tool *use* by the assistant is slated as phase 2. ## 1.2.6 — 2026-11-07 ### Added - **Notion-style WYSIWYG page editor** (TipTap + tiptap-markdown): pages edit in rendered form — Markdown input rules (`# `, `**`, `[] ` …), slash block menu, formatting toolbar, GFM tables and task lists, `{{collection:…}}` markers rendered as live collection cards inside the document, `superbrain:page/` links navigate on click, bare-URL paste offers a titled link. Markdown remains the only storage/transport format, so autosave conflicts, revisions, exports and MCP tools are unchanged. ### Removed - The source textarea and the Eye/Pencil source↔preview toggle (the editor *is* the preview now). ## 1.2.5 — 2026-11-06 ### Added - `deploy/federated/mcpserver-superbrain.Dockerfile` and the `mcp` 1.x pin (see Changed) — the interim federated gateway image that carries superbrain's MCP server until upstream bakes it in. ### Removed - The page-tab strip (per-page chips, tab filter, tab drag-reorder) and the `< >` tab-move controls — tabs did not scale; the sidebar is now the only page navigation and reorder surface (same full-permutation `PUT /api/pages` contract). ### Changed - `superbrain-mcp` pinned to the `mcp` 1.x line (2.x renamed FastMCP and broke the federated gateway venv at import). - New derived gateway image `federatedcomputer/mcpserver-superbrain` (upstream mcpserver + superbrain-mcp + registry entry) as the interim until the mcpserver repo bakes superbrain in. ## 1.2.4 — 2026-11-05 ### Fixed - **Compose render injection**: unescaped backticks in the `render_superbrain_compose` heredoc became command substitution — a re-render while the stack ran injected `docker container inspect` JSON into the compose file (the 2026-11-03 core outage chain). Reworded. ### Added - Release version shown in the sidebar footer (baked at image build via `SUPERBRAIN_VERSION`), so any deployment is identifiable from the UI. - Suite-side updater hardening shipped as a portable artifact (`deploy/federated/apply-updater-fix.py` + format-patch): the house updater now verifies the post-redeploy start and alerts instead of printing success over a dead stack (applied on the operator's core; pending upstream merge). ## 1.2.3 — 2026-11-05 ### Fixed - Dead default OpenRouter free model (`recursive/flint-v1.0:free` lost its upstreams) replaced in the code default, the BYO suggested-model list and the docs examples — `AI_API_KEY`-only deployments no longer inherit a 503-ing default. ## 1.2.2 — 2026-11-02 ### Added - **Visible Markdown formatting bar** for pages and bookmark notes (bold/italic/strike/inline code/link, H1–H3, quote, bullet/numbered/to-do lists, divider) — the Gitea request for a Gitea-style toolbar; the `/` slash menu remains as the keyboard path. ## 1.2.1 — 2026-11-02 ### Changed - UI starts in **light mode** by default (next-themes default); the toggle and per-browser persisted choice are unchanged. ## 1.2.0 — 2026-11-02 ### Added - **Personal API keys** (`sb_…` Bearer, hash-only storage, Settings → API Keys, `/api/keys`): long-lived machine credentials for every data endpoint; issuance and use gated on the `mcp-core` connector (core plan); independent of `tokenVersion` so gateway links survive sign-out-everywhere. - **`superbrain-mcp`** — pip-installable stdio MCP server (bookmarks/tags/ pages tools, version-safe writes) for the federated `mcpserver` gateway and any MCP client; `config_mcpserver_superbrain()` suite hook mints the gateway's key on a core. - **Markdown prose styling fixed**: `@tailwindcss/typography` installed and enabled — previously the `prose` wrapper was a no-op and Tailwind Preflight flattened headings/blockquotes to body text (Gitea #3). ## 1.1.1 — 2026-11-01 ### Added - **BYO AI settings**: per-user provider configuration (Settings → AI) — openai-compatible / anthropic / gemini dropdown, write-only encrypted API key with masked responses and a show/hide toggle, per-provider model suggestions with a custom-model escape hatch, and a custom system instructions field (`UserAiConfig.instructions`) applied to the in-app assistant only (compiler and extraction prompts stay server-owned). *(Tag 1.1.0 (2026-10-31) carries the same content but was never published; deploy 1.1.1.)* ## 1.0.1 — 2026-10-30 ### Changed - **Migrate image made self-contained**: install/update scripts and the whole `db/` lifecycle ship inside `superbrain-migrate` at `/deploy` — hosts install and upgrade with one command and never need the source tree; source-mode installs migrate to registry mode. ## 1.0.0 — 2026-10-29 First registry release (three images, one version tag). Everything before it, in one place: ### Added - Core product: bookmarks with previews, tags, due dates and alerts; kanban board; Markdown pages; contacts via CardDAV; mailbox watches (IMAP) and signal sources; sharing (per-user and public links with owner-free projections); collections with typed properties, saved views and board/table editing. - Connected pages: hierarchy with backlinks and live collection embeds; trust phase: version history, Trash with recoverable deletions, structured export, collection sharing. - Auth: NextAuth session bridge to the Go API, Authelia OIDC identity bridge, deployment tiers (`TIER=core|multi`) and auth modes, self-service password reset over SMTP. - Tenancy phase 1: implicit tenant, plan catalog and per-tenant entitlement overrides; notification engine phase 1 (channels, rules, plan-gated exactly-once delivery). - Agent automations: "hey superbrain" natural-language compilation into validated watch-and-act specs (closed action set, fire caps, poll floor); in-app assistant chat with automation proposals; per-user BYO AI config with plan-gated server-key fallback. - Federated suite integration: one-shot installer, house SMTP relay wiring, dark-mode readability pass, and registry mode with the rollback-able `update.sh` flow.