268 lines
13 KiB
Markdown
268 lines
13 KiB
Markdown
# 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.
|
||
Dates are tag dates.
|
||
|
||
## 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/<username>/` 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.
|