From 97ba5b84363252d21c9f046254e55547b149031e Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 25 Nov 2025 05:42:18 -0500 Subject: [PATCH 1/6] fix: changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c42ab4f59c..47c416ef41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -### [0.6.39] - 2025-11-25 +## [0.6.39] - 2025-11-25 ### Added From 35ab6b7667b6479df6e1059f54d1e239b521f5c9 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 25 Nov 2025 05:47:04 -0500 Subject: [PATCH 2/6] fix: postgres user list issue --- backend/open_webui/models/users.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/open_webui/models/users.py b/backend/open_webui/models/users.py index a66a95a98c..d93f7ddeb3 100644 --- a/backend/open_webui/models/users.py +++ b/backend/open_webui/models/users.py @@ -340,7 +340,6 @@ class UsersTable: query = query.order_by(User.created_at.desc()) # Count BEFORE pagination - query = query.distinct(User.id) total = query.count() # correct pagination logic From 33a52628e63ea9765fe914549978d95ce6f9eb51 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 25 Nov 2025 05:48:12 -0500 Subject: [PATCH 3/6] chore: bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 47850a35ef..899f3f5356 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.6.39", + "version": "0.6.40", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.6.39", + "version": "0.6.40", "dependencies": { "@azure/msal-browser": "^4.5.0", "@codemirror/lang-javascript": "^6.2.2", diff --git a/package.json b/package.json index a887550f53..97bdda0871 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.6.39", + "version": "0.6.40", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host", From 363ef194d8c41057dd0156dbfc8415f759ea752b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 25 Nov 2025 05:49:30 -0500 Subject: [PATCH 4/6] chore: bump python-socketio==5.14.0 --- backend/requirements-min.txt | 2 +- backend/requirements.txt | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/requirements-min.txt b/backend/requirements-min.txt index 04befcf8c1..c09f1af820 100644 --- a/backend/requirements-min.txt +++ b/backend/requirements-min.txt @@ -7,7 +7,7 @@ pydantic==2.11.9 python-multipart==0.0.20 itsdangerous==2.2.0 -python-socketio==5.13.0 +python-socketio==5.14.0 python-jose==3.5.0 cryptography bcrypt==5.0.0 diff --git a/backend/requirements.txt b/backend/requirements.txt index 999818f7a4..658e249090 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -4,7 +4,7 @@ pydantic==2.11.9 python-multipart==0.0.20 itsdangerous==2.2.0 -python-socketio==5.13.0 +python-socketio==5.14.0 python-jose==3.5.0 cryptography bcrypt==5.0.0 diff --git a/pyproject.toml b/pyproject.toml index fb797a72cc..f0568a4237 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "python-multipart==0.0.20", "itsdangerous==2.2.0", - "python-socketio==5.13.0", + "python-socketio==5.14.0", "python-jose==3.5.0", "cryptography", "bcrypt==5.0.0", From 15c6860a496ad1bfb2ef7e7ce086707d566c74b5 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Tue, 25 Nov 2025 11:50:39 +0100 Subject: [PATCH 5/6] Update CHANGELOG.md (#19463) * Update CHANGELOG.md * Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47c416ef41..8cacf29521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.40] - 2025-11-25 + +### Fixed + +- 🗄️ A critical PostgreSQL user listing performance issue was resolved by removing a redundant count operation that caused severe database slowdowns and potential timeouts when viewing user lists in admin panels. + ## [0.6.39] - 2025-11-25 ### Added From f3547568e4ed67995dc86ff93ee8183bce589232 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 25 Nov 2025 05:53:31 -0500 Subject: [PATCH 6/6] refac: channel user list order by --- src/lib/components/channel/ChannelInfoModal/UserList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/channel/ChannelInfoModal/UserList.svelte b/src/lib/components/channel/ChannelInfoModal/UserList.svelte index 8c0c8704c6..a38ad352f9 100644 --- a/src/lib/components/channel/ChannelInfoModal/UserList.svelte +++ b/src/lib/components/channel/ChannelInfoModal/UserList.svelte @@ -44,7 +44,7 @@ let total = null; let query = ''; - let orderBy = 'created_at'; // default sort key + let orderBy = 'name'; // default sort key let direction = 'asc'; // default sort order const setSortKey = (key) => {