diff --git a/CHANGELOG.md b/CHANGELOG.md index ff5af104f..f7ee69b3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ 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.3.32] - 2024-10-06 + +### Added + +- **🔢 Workspace Enhancements**: Added a display count for models, prompts, tools, and functions in the workspace, providing a clear overview and easier management. + +### Fixed + +- **🖥️ Web and YouTube Attachment Fix**: Resolved an issue where attaching web links and YouTube videos was malfunctioning, ensuring seamless integration and display within chats. +- **📞 Call Mode Activation on Landing Page**: Fixed a bug where call mode was not operational from the landing page. + +### Changed + +- **🔄 URL Parameter Refinement**: Updated the 'tool_ids' URL parameter to 'tools' or 'tool-ids' for more intuitive and consistent user experience. +- **🎨 Floating Buttons Styling Update**: Refactored the styling of floating buttons to intelligently adjust to the left side when there isn't enough room on the right, improving interface usability and aesthetic. +- **🔧 Enhanced Accessibility for Floating Buttons**: Implemented the ability to close floating buttons with the 'Esc' key, making workflow smoother and more efficient for users navigating via keyboard. +- **🖇️ Updated Information URL**: Information URLs now direct users to a general release page rather than a version-specific URL, ensuring access to the latest and relevant details all in one place. +- **📦 Library Dependencies Update**: Upgraded dependencies to ensure compatibility and performance optimization for pip installs. + ## [0.3.31] - 2024-10-06 ### Added diff --git a/package-lock.json b/package-lock.json index 5bedd09d8..d031abeea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.3.31", + "version": "0.3.32", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.3.31", + "version": "0.3.32", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", diff --git a/package.json b/package.json index 3acfcd775..2f403bf12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.3.31", + "version": "0.3.32", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host", diff --git a/pyproject.toml b/pyproject.toml index 1df284f80..f7a90a5b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ license = { file = "LICENSE" } dependencies = [ "fastapi==0.111.0", "uvicorn[standard]==0.30.6", - "pydantic==2.8.2", + "pydantic==2.9.2", "python-multipart==0.0.9", "Flask==3.0.3", @@ -19,7 +19,7 @@ dependencies = [ "passlib[bcrypt]==1.7.4", "requests==2.32.3", - "aiohttp==3.10.5", + "aiohttp==3.10.8", "sqlalchemy==2.0.32", "alembic==1.13.2", @@ -43,7 +43,7 @@ dependencies = [ "langchain==0.2.15", "langchain-community==0.2.12", - "langchain-chroma==0.1.2", + "langchain-chroma==0.1.4", "fake-useragent==1.5.1", "chromadb==0.5.9", @@ -62,7 +62,7 @@ dependencies = [ "nltk==3.9.1", "Markdown==3.7", "pypandoc==1.13", - "pandas==2.2.2", + "pandas==2.2.3", "openpyxl==3.1.5", "pyxlsb==1.0.10", "xlrd==2.0.1", @@ -87,10 +87,10 @@ dependencies = [ "extract_msg", "pydub", - "duckduckgo-search~=6.2.11", + "duckduckgo-search~=6.2.13", "docker~=7.1.0", - "pytest~=8.2.2", + "pytest~=8.3.2", "pytest-docker~=3.1.1" ] readme = "README.md" diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 853ad4c8c..54e14d984 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -352,16 +352,22 @@ webSearchEnabled = true; } - if ($page.url.searchParams.get('q')) { - prompt = $page.url.searchParams.get('q') ?? ''; - selectedToolIds = ( - $page.url.searchParams.get('tools') ?? - $page.url.searchParams.get('tool-ids') ?? - '' - ) - .split(',') + if ($page.url.searchParams.get('tools')) { + selectedToolIds = $page.url.searchParams + .get('tools') + ?.split(',') .map((id) => id.trim()) .filter((id) => id); + } else if ($page.url.searchParams.get('tool-ids')) { + selectedToolIds = $page.url.searchParams + .get('tool-ids') + ?.split(',') + .map((id) => id.trim()) + .filter((id) => id); + } + + if ($page.url.searchParams.get('q')) { + prompt = $page.url.searchParams.get('q') ?? ''; if (prompt) { await tick(); diff --git a/src/lib/components/chat/ChatControls.svelte b/src/lib/components/chat/ChatControls.svelte index 68c976b5c..45d9b93dc 100644 --- a/src/lib/components/chat/ChatControls.svelte +++ b/src/lib/components/chat/ChatControls.svelte @@ -83,7 +83,7 @@ document.removeEventListener('mouseup', onMouseUp); }); - $: if (!chatId) { + const closeHandler = () => { showControls.set(false); showOverview.set(false); showArtifacts.set(false); @@ -91,6 +91,10 @@ if ($showCallOverlay) { showCallOverlay.set(false); } + }; + + $: if (!chatId) { + closeHandler(); } diff --git a/src/lib/components/layout/UpdateInfoToast.svelte b/src/lib/components/layout/UpdateInfoToast.svelte index bb75de94f..4dc84e0ef 100644 --- a/src/lib/components/layout/UpdateInfoToast.svelte +++ b/src/lib/components/layout/UpdateInfoToast.svelte @@ -21,11 +21,7 @@ LATEST_VERSION: version.latest })} - + {$i18n.t('Update for the latest features and improvements.')} diff --git a/src/lib/components/workspace/Functions.svelte b/src/lib/components/workspace/Functions.svelte index 25a8a8540..2618b25b3 100644 --- a/src/lib/components/workspace/Functions.svelte +++ b/src/lib/components/workspace/Functions.svelte @@ -174,8 +174,14 @@ -