mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-06 11:37:57 -05:00
7 files changed
+32
-21
No files matched your search
@@ -5,6 +5,14 @@ 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.13.2] - 2026-11-08
|
||||
|
||||
### Fixed
|
||||
|
||||
- 🔓 **Chat over plain HTTP.** Opening Open WebUI over plain HTTP at a LAN or Docker address now loads new and existing chats instead of staying on a spinner with "crypto.randomUUID is not a function". [#33919](https://github.com/open-webui/open-webui/issues/33919)
|
||||
- 📝 **Comments and Markdown editing over plain HTTP.** Creating, replying to and editing comments, and editing Markdown files containing rendered blocks such as Mermaid diagrams or callouts, no longer fail with the same UUID error. [Commit](https://github.com/open-webui/open-webui/commit/3c400952cbb30e8eb72652d83b2af2f75a3b9341)
|
||||
- 🎛️ **Side Chat permission switch.** The Allow Side Chat switch is now visible even when Temporary Chat is off, so administrators can configure the two permissions independently. [#33920](https://github.com/open-webui/open-webui/pull/33920)
|
||||
|
||||
## [0.13.1] - 2026-11-03
|
||||
|
||||
### Added
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "open-webui",
|
||||
"version": "0.13.1",
|
||||
"version": "0.13.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "open-webui",
|
||||
"version": "0.13.1",
|
||||
"version": "0.13.2",
|
||||
"dependencies": {
|
||||
"@azure/msal-browser": "^4.5.0",
|
||||
"@codemirror/lang-javascript": "^6.2.2",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "open-webui",
|
||||
"version": "0.13.1",
|
||||
"version": "0.13.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"crypto:verify": "node scripts/encryption/artifact.mjs",
|
||||
|
||||
@@ -950,20 +950,6 @@
|
||||
</div>
|
||||
|
||||
{#if permissions.chat.temporary || defaultPermissions?.chat?.temporary}
|
||||
<div class="ml-2 flex flex-col">
|
||||
<div class="flex w-full justify-between my-1">
|
||||
<div class="self-center text-xs font-normal">
|
||||
{$i18n.t('Allow Side Chat')}
|
||||
</div>
|
||||
<Switch bind:state={permissions.chat.side_chat} ariaLabel={$i18n.t('Allow Side Chat')} />
|
||||
</div>
|
||||
{#if defaultPermissions?.chat?.side_chat && !permissions.chat.side_chat}
|
||||
<div class="text-xs text-gray-500">
|
||||
{$i18n.t('This is a default user permission and will remain enabled.')}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="flex w-full justify-between my-1">
|
||||
<div class=" self-center text-xs font-normal">
|
||||
@@ -983,6 +969,20 @@
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="flex w-full justify-between my-1">
|
||||
<div class="self-center text-xs font-normal">
|
||||
{$i18n.t('Allow Side Chat')}
|
||||
</div>
|
||||
<Switch bind:state={permissions.chat.side_chat} ariaLabel={$i18n.t('Allow Side Chat')} />
|
||||
</div>
|
||||
{#if defaultPermissions?.chat?.side_chat && !permissions.chat.side_chat}
|
||||
<div class="text-xs text-gray-500">
|
||||
{$i18n.t('This is a default user permission and will remain enabled.')}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class=" border-gray-100/30 dark:border-gray-850/30" />
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { getAllContexts, getContext, mount, unmount, onDestroy, tick } from 'svelte';
|
||||
import { Node, type Editor } from '@tiptap/core';
|
||||
import type { Transaction } from '@tiptap/pm/state';
|
||||
@@ -154,7 +155,7 @@
|
||||
context,
|
||||
props: {
|
||||
content: node.attrs.source,
|
||||
id: `editor-${crypto.randomUUID()}`,
|
||||
id: `editor-${uuidv4()}`,
|
||||
path,
|
||||
baseUrl,
|
||||
apiKey,
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { getContext } from 'svelte';
|
||||
import XMark from '$lib/components/icons/XMark.svelte';
|
||||
import { settings, mobile, user } from '$lib/stores';
|
||||
@@ -32,7 +33,7 @@
|
||||
draftAccount = $user?.id;
|
||||
}
|
||||
let content = drafts.get(draftKey)?.content ?? initialContent;
|
||||
let tempId = drafts.get(draftKey)?.temp_id ?? crypto.randomUUID();
|
||||
let tempId = drafts.get(draftKey)?.temp_id ?? uuidv4();
|
||||
let editor: import('@tiptap/core').Editor | null = null;
|
||||
let saving = false;
|
||||
let submitted = false;
|
||||
@@ -70,7 +71,7 @@
|
||||
submitted = true;
|
||||
content = '';
|
||||
drafts.delete(draftKey);
|
||||
tempId = crypto.randomUUID();
|
||||
tempId = uuidv4();
|
||||
editor?.commands.clearContent();
|
||||
onSubmitted();
|
||||
} catch (e) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { browser } from '$app/environment';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { writable } from 'svelte/store';
|
||||
import { getChatView, updateChatView } from '$lib/apis/chats/view';
|
||||
import { terminalRequest, type TerminalConnection } from '$lib/apis/terminal';
|
||||
@@ -83,7 +84,7 @@ export function chatViewEntry(userId: string, chatId: string | null, temporary =
|
||||
const existing = chatId && entries.get(key(userId, chatId));
|
||||
if (existing) return existing;
|
||||
const entry: Entry = {
|
||||
instanceId: crypto.randomUUID(),
|
||||
instanceId: uuidv4(),
|
||||
userId,
|
||||
chatId,
|
||||
state: { schemaVersion: 1, selectedTerminalId: null, panels: emptyTabs() },
|
||||
|
||||
Reference in new issue
Block a user