From 5870a8a67d2e82cc58c31293d07fbb3d9e7d61a7 Mon Sep 17 00:00:00 2001 From: yusuf-gundogdu Date: Thu, 12 Nov 2026 04:56:11 +0300 Subject: [PATCH] site: move to 1.3.0 and resync the compose copy from upstream The version line goes to 1.3.0. The compose page's copy of docker-compose.example.yml was taken from an older upstream than the tag claimed, so three things on the page were wrong: - LLM_MODEL_EFFORT was missing, so the variable table omitted a variable the image reads. - The node version read 26.10.0; the Dockerfile at 1.3.0 builds the runner FROM node:26.13.0-trixie-slim, and the correction's reason still cited 0.18.3. - upstreamCompose.sha256 was the hash of the stale copy restored, not of upstream, so the gate compared the file with itself. The copy is rebuilt from upstream 1.3.0 with the same six comment corrections, moved to their new line numbers, and sha256 is now upstream's own hash. --- site.config.json | 2 +- src/data/compose.ts | 16 +++++++++++----- src/data/docker-compose.example.yml | 13 ++++++++----- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/site.config.json b/site.config.json index 271c9c5..e7d64a9 100644 --- a/site.config.json +++ b/site.config.json @@ -5,7 +5,7 @@ "domain": "libredb.org", "tagline": "The database editor that deploys next to your data.", "description": "LibreDB Studio is the open-source database IDE that deploys next to your data instead of onto your laptop — one browser tab for PostgreSQL, MySQL, MongoDB, Redis and thirty-seven more engines, with SSO and audit built in.", - "version": "1.2.0", + "version": "1.3.0", "license": "MIT", "company": "Sekoya Grup Bilişim ve Teknoloji Ltd. Şti., İstanbul", "copyrightYear": 2026, diff --git a/src/data/compose.ts b/src/data/compose.ts index aa34d9e..e1e727e 100644 --- a/src/data/compose.ts +++ b/src/data/compose.ts @@ -159,6 +159,12 @@ export const composeGroups: ComposeGroup[] = [ desc: 'Required for custom, and read by every provider: an Ollama that is not on localhost:11434, e.g. http://host:11434/v1, or a proxy or regional endpoint for gemini.', state: 'commented', }, + { + name: 'LLM_MODEL_EFFORT', + def: '—', + desc: 'openai only: none, minimal, low, medium, high, xhigh or max. Other providers ignore it.', + state: 'commented', + }, ], }, { @@ -261,8 +267,8 @@ docker compose up -d`; * re-apply only the corrections still needed, and update `tag` and `sha256`. */ export const upstreamCompose = { - tag: '1.2.0', - sha256: '305c389ed153de7c9c1244fc62b1a3cf5d906bbab165f627a5ad006561963d85', + tag: '1.3.0', + sha256: 'f1be45587454e02991c18d03f7be67edd03eaa2f1ad781215f00cce7731cf62b', corrections: [ { line: 14, @@ -295,10 +301,10 @@ export const upstreamCompose = { why: '.env.example: "required for the custom provider, and read by every kind" (Gemini reads it for a proxy or regional endpoint).', }, { - line: 129, + line: 132, upstream: " # Image runs as node:24.16.0-trixie-slim (no curl/wget) — use Node's built-in fetch.", - site: " # Image runs as node:26.10.0-trixie-slim (no curl/wget) — use Node's built-in fetch.", - why: 'The Dockerfile at 0.18.3 builds the runner FROM node:26.10.0-trixie-slim.', + site: " # Image runs as node:26.13.0-trixie-slim (no curl/wget) — use Node's built-in fetch.", + why: 'The Dockerfile at 1.3.0 builds the runner FROM node:26.13.0-trixie-slim.', }, ], } as const; diff --git a/src/data/docker-compose.example.yml b/src/data/docker-compose.example.yml index 255ed9a..6261a79 100644 --- a/src/data/docker-compose.example.yml +++ b/src/data/docker-compose.example.yml @@ -73,6 +73,7 @@ services: # LLM_API_KEY: ${LLM_API_KEY} # required for gemini/openai # LLM_MODEL: ${LLM_MODEL:-gemini-2.5-flash} # LLM_API_URL: ${LLM_API_URL} # required for custom, read by every provider, e.g. http://host:11434/v1 + # LLM_MODEL_EFFORT: ${LLM_MODEL_EFFORT} # openai only: none|minimal|low|medium|high|xhigh|max # ----------------------------------------------------------------------- # AGENT RUNTIME — standalone only, and there is no flag to turn it on. @@ -96,10 +97,12 @@ services: # ----------------------------------------------------------------------- # MCP SERVER: off unless LIBREDB_MCP_ENABLED says on. An AI client of your - # own reads schemas and runs read-only SQL at /api/mcp with a token minted on - # the settings screen. The URL is the address clients use, with your - # BASE_PATH, and every token is bound to it; changing the label revokes - # every token at once. See docs/MCP.md. + # own reads schemas and runs bounded, read-only statements in each + # engine's own language at /api/mcp with a token minted on the settings + # screen. MCP needs no LLM provider: the model runs in the client. The URL + # is the address clients use, with your BASE_PATH, and every token is + # bound to it; changing the label revokes every token at once. See + # docs/MCP.md. # ----------------------------------------------------------------------- # LIBREDB_MCP_ENABLED: "true" # LIBREDB_MCP_URL: ${LIBREDB_MCP_URL:-http://localhost:3000/api/mcp} @@ -126,7 +129,7 @@ services: # # Seed connections file (read-only): # - ./seed-connections.yaml:/app/config/seed-connections.yaml:ro - # Image runs as node:26.10.0-trixie-slim (no curl/wget) — use Node's built-in fetch. + # Image runs as node:26.13.0-trixie-slim (no curl/wget) — use Node's built-in fetch. # BASE_PATH must match a custom image built with that prefix (docs/SUBPATH.md). healthcheck: test: ["CMD", "node", "-e", "fetch('http://localhost:3000${BASE_PATH:-}/api/db/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]