Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
[v] Target branch: Please verify that the pull request targets the dev branch.
[v] Description: Provide a concise description of the changes made in this pull request.
[v] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[v] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[v] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[v] Testing: Have you written and run sufficient tests to validate the changes?
[v] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[v] Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work
Changelog Entry
Description
svelte5 had been stable, so merge to this. I use npx sv merge svelte-5 to complete this. But there is also some bug, I fix these. Now it works well. Discussions here
Added
Svelte5 provide more code syntax check.
Changed
Almost every file.
Deprecated
Nothing
Removed
Nothing
Fixed
Change every svelte file with <script> tag to <script lang="ts">.
Security
None
Breaking Changes
BREAKING CHANGE: None
Additional Information
I merge npm to pnpm. If you don't like this, you can ignore the package.json.
My node version v23.3.0 is conflict with i18next, so it is nesseary to install using pnpm install --config.engine-strict=false
In backend floder, I can't run ./dev.sh (front will throw CROS error). Maybe in the root directory, it make sense. I use another way by set a environment varient CORS_ALLOW_ORIGIN="http://localhost:5173"
Screenshots or Videos
it run well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/12844
**Author:** [@lyha23](https://github.com/lyha23)
**Created:** 4/14/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `dev`
---
### 📝 Commits (10+)
- [`8b0e565`](https://github.com/open-webui/open-webui/commit/8b0e565e2c8a8f47f54ef039eb132ddb756e83a6) Merge pull request #12715 from open-webui/dev
- [`aca37f5`](https://github.com/open-webui/open-webui/commit/aca37f592d0dedea2529fcb4304e4ff39e0c1219) Merge pull request #12807 from open-webui/dev
- [`99f47cb`](https://github.com/open-webui/open-webui/commit/99f47cbf8c425613c8cc057110fc154bc95bc603) merge 前端到 pnpm
- [`1d9b33b`](https://github.com/open-webui/open-webui/commit/1d9b33b288521e069903e71de636df9580b8e8be) Merge branch 'main' of https://github.com/open-webui/open-webui
- [`87cdc43`](https://github.com/open-webui/open-webui/commit/87cdc43673a661afc52d976277f46184cf6a423e) 完善后端dev
- [`02fc97d`](https://github.com/open-webui/open-webui/commit/02fc97d32009af07f7dd489740f132b6c773e01c) merge front to svelte5
- [`3c42fa5`](https://github.com/open-webui/open-webui/commit/3c42fa54d8b00bbb0965dc006e4f3b053290dbcc) Merge branch 'dev' of https://github.com/open-webui/open-webui into dev
- [`6de4cf7`](https://github.com/open-webui/open-webui/commit/6de4cf760a6dcec5eb4453f11fb8110a0c656fff) chore: bump
- [`c0ae20f`](https://github.com/open-webui/open-webui/commit/c0ae20fbeb8881b56af8d98749acd49d79a37af6) i18n: update zh-CN
- [`b67b37d`](https://github.com/open-webui/open-webui/commit/b67b37d36f1c582313b50f97b1da2ce03ade006e) Properly handle ldap3.abstract.attribute.Attribute value
### 📊 Changes
**333 files changed** (+15521 additions, -4440 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/dev.sh` (+1 -1)
📝 `package.json` (+16 -8)
➕ `pnpm-lock.yaml` (+9000 -0)
📝 `src/lib/components/AddConnectionModal.svelte` (+40 -24)
📝 `src/lib/components/AddFilesPlaceholder.svelte` (+10 -6)
📝 `src/lib/components/AddServerModal.svelte` (+35 -20)
📝 `src/lib/components/ChangelogModal.svelte` (+9 -5)
📝 `src/lib/components/NotificationToast.svelte` (+8 -4)
📝 `src/lib/components/OnBoarding.svelte` (+15 -7)
📝 `src/lib/components/admin/Evaluations.svelte` (+6 -6)
📝 `src/lib/components/admin/Evaluations/FeedbackMenu.svelte` (+28 -21)
📝 `src/lib/components/admin/Evaluations/Feedbacks.svelte` (+6 -6)
📝 `src/lib/components/admin/Evaluations/Leaderboard.svelte` (+11 -7)
📝 `src/lib/components/admin/Functions.svelte` (+29 -25)
📝 `src/lib/components/admin/Functions/FunctionEditor.svelte` (+40 -22)
📝 `src/lib/components/admin/Functions/FunctionMenu.svelte` (+114 -97)
📝 `src/lib/components/admin/Settings.svelte` (+15 -15)
📝 `src/lib/components/admin/Settings/Audio.svelte` (+38 -32)
📝 `src/lib/components/admin/Settings/CodeExecution.svelte` (+10 -4)
📝 `src/lib/components/admin/Settings/Connections.svelte` (+16 -14)
_...and 80 more files_
</details>
### 📄 Description
# Pull Request Checklist
### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request.
**Before submitting, make sure you've checked the following:**
- [v] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [v] **Description:** Provide a concise description of the changes made in this pull request.
- [v] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [v] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [v] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [v] **Testing:** Have you written and run sufficient tests to validate the changes?
- [v] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [v] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following:
- **BREAKING CHANGE**: Significant changes that may affect compatibility
- **build**: Changes that affect the build system or external dependencies
- **ci**: Changes to our continuous integration processes or workflows
- **chore**: Refactor, cleanup, or other non-functional code changes
- **docs**: Documentation update or addition
- **feat**: Introduces a new feature or enhancement to the codebase
- **fix**: Bug fix or error correction
- **i18n**: Internationalization or localization changes
- **perf**: Performance improvement
- **refactor**: Code restructuring for better maintainability, readability, or scalability
- **style**: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
- **test**: Adding missing tests or correcting existing tests
- **WIP**: Work in progress, a temporary label for incomplete or ongoing work
# Changelog Entry
### Description
- svelte5 had been stable, so merge to this. I use `npx sv merge svelte-5` to complete this. But there is also some bug, I fix these. Now it works well. [Discussions here](https://github.com/open-webui/open-webui/discussions/12843)
### Added
- Svelte5 provide more code syntax check.
### Changed
- Almost every file.
### Deprecated
- Nothing
### Removed
- Nothing
### Fixed
- Change every svelte file with <script> tag to <script lang="ts">.
### Security
- None
### Breaking Changes
- **BREAKING CHANGE**: None
---
### Additional Information
- I merge npm to pnpm. If you don't like this, you can ignore the package.json.
- My node version v23.3.0 is conflict with i18next, so it is nesseary to install using `pnpm install --config.engine-strict=false`
- In backend floder, I can't run ./dev.sh (front will throw CROS error). Maybe in the root directory, it make sense. I use another way by set a environment varient `CORS_ALLOW_ORIGIN="http://localhost:5173"`
### Screenshots or Videos
- it run well.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/12844
Author: @lyha23
Created: 4/14/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (10+)
8b0e565Merge pull request #12715 from open-webui/devaca37f5Merge pull request #12807 from open-webui/dev99f47cbmerge 前端到 pnpm1d9b33bMerge branch 'main' of https://github.com/open-webui/open-webui87cdc43完善后端dev02fc97dmerge front to svelte53c42fa5Merge branch 'dev' of https://github.com/open-webui/open-webui into dev6de4cf7chore: bumpc0ae20fi18n: update zh-CNb67b37dProperly handle ldap3.abstract.attribute.Attribute value📊 Changes
333 files changed (+15521 additions, -4440 deletions)
View changed files
📝
backend/dev.sh(+1 -1)📝
package.json(+16 -8)➕
pnpm-lock.yaml(+9000 -0)📝
src/lib/components/AddConnectionModal.svelte(+40 -24)📝
src/lib/components/AddFilesPlaceholder.svelte(+10 -6)📝
src/lib/components/AddServerModal.svelte(+35 -20)📝
src/lib/components/ChangelogModal.svelte(+9 -5)📝
src/lib/components/NotificationToast.svelte(+8 -4)📝
src/lib/components/OnBoarding.svelte(+15 -7)📝
src/lib/components/admin/Evaluations.svelte(+6 -6)📝
src/lib/components/admin/Evaluations/FeedbackMenu.svelte(+28 -21)📝
src/lib/components/admin/Evaluations/Feedbacks.svelte(+6 -6)📝
src/lib/components/admin/Evaluations/Leaderboard.svelte(+11 -7)📝
src/lib/components/admin/Functions.svelte(+29 -25)📝
src/lib/components/admin/Functions/FunctionEditor.svelte(+40 -22)📝
src/lib/components/admin/Functions/FunctionMenu.svelte(+114 -97)📝
src/lib/components/admin/Settings.svelte(+15 -15)📝
src/lib/components/admin/Settings/Audio.svelte(+38 -32)📝
src/lib/components/admin/Settings/CodeExecution.svelte(+10 -4)📝
src/lib/components/admin/Settings/Connections.svelte(+16 -14)...and 80 more files
📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
npx sv merge svelte-5to complete this. But there is also some bug, I fix these. Now it works well. Discussions hereAdded
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
pnpm install --config.engine-strict=falseCORS_ALLOW_ORIGIN="http://localhost:5173"Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.