From 7c2a7a98e71366f4d8e81cb4939b75107b62bf82 Mon Sep 17 00:00:00 2001 From: Jeena Date: Mon, 13 Apr 2026 10:35:11 +0000 Subject: [PATCH] feat: Add Open WebUI auto-update Simple local Docker update via existing update.sh script. Context file tells the classifier this is a single Docker instance, so database migration warnings aimed at multi-worker deployments are correctly classified as auto. --- services/open-webui/auto-update.sh | 4 ++++ services/open-webui/context.txt | 1 + .../open-webui/review-examples/auto-1.txt | 11 ++++++++++ .../open-webui/review-examples/auto-2.txt | 14 +++++++++++++ .../open-webui/review-examples/auto-3.txt | 20 +++++++++++++++++++ .../open-webui/review-examples/manual-1.txt | 13 ++++++++++++ 6 files changed, 63 insertions(+) create mode 100755 services/open-webui/auto-update.sh create mode 100644 services/open-webui/context.txt create mode 100644 services/open-webui/review-examples/auto-1.txt create mode 100644 services/open-webui/review-examples/auto-2.txt create mode 100644 services/open-webui/review-examples/auto-3.txt create mode 100644 services/open-webui/review-examples/manual-1.txt diff --git a/services/open-webui/auto-update.sh b/services/open-webui/auto-update.sh new file mode 100755 index 0000000..8cf56a9 --- /dev/null +++ b/services/open-webui/auto-update.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -euo pipefail + +bash -euo pipefail /home/jeena/Projects/open-webui/update.sh 2>&1 | tail -5 diff --git a/services/open-webui/context.txt b/services/open-webui/context.txt new file mode 100644 index 0000000..5f1a2e1 --- /dev/null +++ b/services/open-webui/context.txt @@ -0,0 +1 @@ +Single Docker instance, not a multi-worker or load-balanced deployment. Database migrations run automatically on container startup. \ No newline at end of file diff --git a/services/open-webui/review-examples/auto-1.txt b/services/open-webui/review-examples/auto-1.txt new file mode 100644 index 0000000..3cba383 --- /dev/null +++ b/services/open-webui/review-examples/auto-1.txt @@ -0,0 +1,11 @@ +action: auto +reason: Patch release with bug fixes only — access control fix, memory leak fix, and performance improvements. No database migrations or configuration changes. +--- +## [0.8.7] - 2026-03-01 + +### Fixed + +- 🔒 **Connection access control privacy.** Tool server and terminal connections without explicit access grants are now private (admin-only) by default, fixing a bug where connections configured with no access grants were visible to all users instead of being restricted. [Commit](https://github.com/open-webui/open-webui/commit/2751a0f0b) +- 🧠 **ChatControls memory leak.** The ChatControls panel no longer leaks event listeners, ResizeObserver instances, and media query handlers when navigating between chats, fixing memory accumulation that could degrade performance during extended use. [#22112](https://github.com/open-webui/open-webui/pull/22112) +- 💾 **Temporary chat params preservation.** Model parameters are now correctly saved when creating a temporary chat, ensuring custom settings like temperature and top_p persist across the session. [Commit](https://github.com/open-webui/open-webui/commit/fe837d80e) +- ⚡ **Faster artifact content updates.** Artifact content extraction during streaming is now debounced via requestAnimationFrame, reducing redundant DOM reads and improving CPU efficiency when tokens arrive faster than the browser can paint. [Commit](https://github.com/open-webui/open-webui/commit/6863ca482) diff --git a/services/open-webui/review-examples/auto-2.txt b/services/open-webui/review-examples/auto-2.txt new file mode 100644 index 0000000..ef9f20c --- /dev/null +++ b/services/open-webui/review-examples/auto-2.txt @@ -0,0 +1,14 @@ +action: auto +reason: Small patch with a keyboard shortcut addition and bug fixes. No breaking changes, no migrations, no manual steps. +--- +## [0.8.5] - 2026-02-23 + +### Added + +- ⌨️ **Voice dictation shortcut.** Users can now toggle voice dictation using Cmd+Shift+L (or Ctrl+Shift+L on Windows/Linux), making it faster to start and stop dictation without clicking the microphone button. + +### Fixed + +- 🚫 **Model access KeyError fix.** The /api/models endpoint no longer crashes with a 500 error when models have incomplete info metadata missing the user_id field (e.g. models using global default metadata). +- 🔄 **Frontend initialization resilience.** The app layout now gracefully handles individual API failures during initialization (getModels, getBanners, getTools, getUserSettings, setToolServers) instead of blocking the entire page load when any single call fails. +- 🛡️ **Backend config null safety.** Language detection during app initialization no longer crashes when the backend config fetch fails, preventing a secondary cause of infinite loading. diff --git a/services/open-webui/review-examples/auto-3.txt b/services/open-webui/review-examples/auto-3.txt new file mode 100644 index 0000000..010a4a9 --- /dev/null +++ b/services/open-webui/review-examples/auto-3.txt @@ -0,0 +1,20 @@ +action: auto +reason: Database schema changes and long-running migration run automatically on startup for single-instance Docker deployments. The warnings about simultaneous updates only apply to multi-worker or load-balanced setups, which this is not. +--- +> [!CAUTION] +> Database Migrations: This release includes database schema changes; we strongly recommend backing up your database and all associated data before upgrading in production environments. If you are running a multi-worker, multi-server, or load-balanced deployment, all instances must be updated simultaneously, rolling updates are not supported and will cause application failures due to schema incompatibility. + +> [!WARNING] +> Long-Running Database Migration: This release includes a migration for the `chat_message` table that can take a significant amount of time to complete, especially in larger deployments with extensive chat histories. Please plan for adequate downtime and allow the migration to finish completely without interruption. + +### New features + +- Experimental support for Open Responses protocol +- Yandex search provider +- Custom password hints via PASSWORD_VALIDATION_HINT environment variable +- MCP custom SSL certificates support + +### Important notes + +- Database Migration Required — This release includes database schema changes; multi-worker, multi-server, or load-balanced deployments must update all instances simultaneously. +- Chat Message Table Migration — This release includes a new chat message table migration that can take a significant amount of time to complete in larger deployments with extensive chat histories. diff --git a/services/open-webui/review-examples/manual-1.txt b/services/open-webui/review-examples/manual-1.txt new file mode 100644 index 0000000..1fb0f90 --- /dev/null +++ b/services/open-webui/review-examples/manual-1.txt @@ -0,0 +1,13 @@ +action: manual +reason: Docker volume mount paths have changed and the Ollama connection default has been removed. Admin must update docker-compose.yaml before upgrading. +--- +## Breaking changes + +- The default data directory inside the container has changed from `/app/backend/data` to `/data`. You must update your docker-compose volume mounts before upgrading or data will not be found. +- The default Ollama connection URL is no longer set automatically. You must set the OLLAMA_BASE_URL environment variable explicitly in your docker-compose.yaml or the connection to Ollama will fail after upgrading. +- The admin panel settings page has been reorganized. Custom environment variable overrides for UI settings may need to be updated. + +### Features + +- New dashboard with usage analytics +- Improved model management interface