From ceb4973359397b2bbf83c21bf21d41ffa9d39c88 Mon Sep 17 00:00:00 2001 From: Andrew S Erwin Date: Mon, 16 Nov 2026 21:51:02 -0600 Subject: [PATCH] Reset version scheme to 0.x (pre-beta); release 0.2.14 Superbrain is not yet beta, so the release line moves from 1.2.x to 0.2.x. 0.2.14 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; CHANGELOG keeps the 1.2.x entries as history and notes the reset. Bumps in lockstep: federated service VERSION, installer SUPERBRAIN_IMAGE_VERSION, superbrain-mcp package version (pyproject + __init__). Also fixes the outbound MCP client implementation string, which still reported a stale hardcoded 1.2.7, to the release version. README release examples updated to the new scheme. The house upgrade flow compares version tags by string equality, so the 1.2.14 -> 0.2.14 transition deploys through the standard update.sh path (no downgrade special-casing needed). --- CHANGELOG.md | 14 +++++++++++++- README.md | 12 ++++++------ 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 +- 7 files changed, 24 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87e8e45..188dd58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,21 @@ 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. +(`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.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 diff --git a/README.md b/README.md index 8006e1c..d4c8ee9 100644 --- a/README.md +++ b/README.md @@ -359,7 +359,7 @@ sudo bash -c "$(docker run --rm --pull always federatedcomputer/superbrain-migra No clone and nothing to copy: the installer and the suite integration files ship inside the migrate image at `/deploy`. Pin a release with -`SUPERBRAIN_VERSION=1.2.3` (default `latest`), or use a local checkout's +`SUPERBRAIN_VERSION=0.2.14` (default `latest`), or use a local checkout's files instead with `SUPERBRAIN_SRC=/path/to/repo`. The installer: @@ -456,12 +456,12 @@ Then releasing is: ```bash git checkout main && git pull -git tag -a 1.2.3 -m "release 1.2.3" -git push origin 1.2.3 +git tag -a 0.2.14 -m "release 0.2.14" +git push origin 0.2.14 ``` Watch the run under the repo's Actions tab; verify with -`docker manifest inspect federatedcomputer/superbrain-app:1.2.3`. +`docker manifest inspect federatedcomputer/superbrain-app:0.2.14`. ### Option B — manual build & push (no runner required) @@ -469,7 +469,7 @@ From any Linux machine with Docker, buildx and login rights: ```bash git clone https://gitea.federated.computer/Federated_Computer/brain.git -cd brain && git checkout 1.2.3 # always build from the tag +cd brain && git checkout 0.2.14 # always build from the tag # One-time per machine: buildx builder + cross-arch emulation docker buildx create --use --name multiarch @@ -486,7 +486,7 @@ docker run --rm --link sb-smoke-pg -e DB_HOST=sb-smoke-pg -e PGPASSWORD=x sb-mig docker rm -f sb-smoke-pg # Build + push all three (each command pushes and latest): -V=1.2.3 +V=0.2.14 docker buildx build --platform linux/amd64,linux/arm64 --push \ -t federatedcomputer/superbrain-app:$V -t federatedcomputer/superbrain-app:latest . docker buildx build --platform linux/amd64,linux/arm64 --push \ diff --git a/deploy/federated/lib-superbrain.sh b/deploy/federated/lib-superbrain.sh index cd85fe7..3541844 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="1.2.14" +SUPERBRAIN_IMAGE_VERSION="0.2.14" # 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 d56898c..c42d118 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=1.2.14 +VERSION=0.2.14 INTERNAL_IP=192.168.0.93 DEPENDS="postgresql" PORTS=3000 diff --git a/internal/mcpclient/client.go b/internal/mcpclient/client.go index 4f14db0..a9636e7 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: "1.2.7"}, nil) + client := mcpsdk.NewClient(&mcpsdk.Implementation{Name: "superbrain", Version: "0.2.14"}, nil) var transport mcpsdk.Transport hc := httpClient(conn) switch conn.Transport { diff --git a/mcp/pyproject.toml b/mcp/pyproject.toml index 2959f00..1acdeae 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 = "1.2.14" +version = "0.2.14" 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 d3c7ffb..03f0f90 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__ = "1.2.14" +__version__ = "0.2.14"