From 6e8525014dc2fcb1a3b8bcb4282eda56d26c8529 Mon Sep 17 00:00:00 2001 From: Andrew S Erwin Date: Mon, 23 Nov 2026 13:08:00 -0600 Subject: [PATCH] release 0.3.3: bump federated service VERSION, installer image version and mcp package version --- CHANGELOG.md | 24 ++++++++++++++++++++++++ deploy/federated/lib-superbrain.sh | 2 +- deploy/federated/service | 2 +- internal/mcpclient/client.go | 2 +- mcp/pyproject.toml | 2 +- mcp/superbrain_mcp/__init__.py | 2 +- 6 files changed, 29 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1d5d2a..bc0aecf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,30 @@ Versions correspond to git tags and to the published image set (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 diff --git a/deploy/federated/lib-superbrain.sh b/deploy/federated/lib-superbrain.sh index 68a3193..82d202c 100644 --- a/deploy/federated/lib-superbrain.sh +++ b/deploy/federated/lib-superbrain.sh @@ -48,7 +48,7 @@ SUPERBRAIN_APP_IP="192.168.0.94" SUPERBRAIN_MIGRATE_IP="192.168.0.95" # Release to install; the generic `upgrade` flow keeps .env in step with the # service file's VERSION afterwards. -SUPERBRAIN_IMAGE_VERSION="0.3.2" +SUPERBRAIN_IMAGE_VERSION="0.3.3" # render_superbrain_compose writes the app-dir compose file. Called by # config_superbrain (install) and by deploy/federated/update.sh after a lib diff --git a/deploy/federated/service b/deploy/federated/service index 02a8a27..5c2f570 100644 --- a/deploy/federated/service +++ b/deploy/federated/service @@ -2,7 +2,7 @@ NAME=superbrain DESCRIPTION="Bookmark & Knowledge Base" DOCS=https://github.com/andrew/superbrain CONTAINER=federatedcomputer/superbrain-app -VERSION=0.3.2 +VERSION=0.3.3 INTERNAL_IP=192.168.0.93 DEPENDS="postgresql" PORTS=3000 diff --git a/internal/mcpclient/client.go b/internal/mcpclient/client.go index 3c9017a..ec876e6 100644 --- a/internal/mcpclient/client.go +++ b/internal/mcpclient/client.go @@ -91,7 +91,7 @@ func httpClient(conn Conn) *http.Client { // ListTools connects, initializes and lists the server's tools, then closes // the session. The context bounds the whole exchange. func ListTools(ctx context.Context, conn Conn) ([]Tool, error) { - client := mcpsdk.NewClient(&mcpsdk.Implementation{Name: "superbrain", Version: "0.3.2"}, nil) + client := mcpsdk.NewClient(&mcpsdk.Implementation{Name: "superbrain", Version: "0.3.3"}, nil) var transport mcpsdk.Transport hc := httpClient(conn) switch conn.Transport { diff --git a/mcp/pyproject.toml b/mcp/pyproject.toml index 4ea2bb9..c7e6a83 100644 --- a/mcp/pyproject.toml +++ b/mcp/pyproject.toml @@ -7,7 +7,7 @@ name = "superbrain-mcp" # Versioned in lockstep with the Superbrain release it speaks to (house # tooling tracks one version per app); the federated mcpserver gateway # installs this package and spawns `superbrain-mcp` per linked instance. -version = "0.3.2" +version = "0.3.3" description = "MCP server for Superbrain — bookmarks, tags and pages over the Superbrain REST API" readme = "README.md" requires-python = ">=3.10" diff --git a/mcp/superbrain_mcp/__init__.py b/mcp/superbrain_mcp/__init__.py index 5b6105b..9b16359 100644 --- a/mcp/superbrain_mcp/__init__.py +++ b/mcp/superbrain_mcp/__init__.py @@ -1,3 +1,3 @@ """Superbrain MCP server — bookmarks, tags and pages for AI tooling.""" -__version__ = "0.3.2" +__version__ = "0.3.3"