[PR #11018] [CLOSED] DRAFT: refactor: Upgrade to svelte 5 #61499

Closed
opened 2026-05-06 05:02:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/11018
Author: @cesasol
Created: 3/1/2025
Status: Closed

Base: devHead: feature/svelte-4


📝 Commits (9)

📊 Changes

333 files changed (+21518 additions, -22338 deletions)

View changed files

.eslintignore (+0 -13)
.eslintrc.cjs (+0 -31)
📝 .gitignore (+2 -0)
eslint.config.mjs (+57 -0)
📝 hatch_build.py (+2 -2)
package-lock.json (+0 -12878)
📝 package.json (+134 -116)
pnpm-lock.yaml (+9072 -0)
📝 src/app.css (+39 -28)
📝 src/lib/apis/index.ts (+10 -3)
📝 src/lib/apis/ollama/index.ts (+1 -1)
📝 src/lib/components/AddConnectionModal.svelte (+68 -55)
📝 src/lib/components/AddFilesPlaceholder.svelte (+14 -7)
📝 src/lib/components/ChangelogModal.svelte (+25 -16)
📝 src/lib/components/NotificationToast.svelte (+10 -5)
📝 src/lib/components/OnBoarding.svelte (+12 -7)
📝 src/lib/components/admin/Evaluations.svelte (+17 -16)
📝 src/lib/components/admin/Evaluations/FeedbackMenu.svelte (+30 -22)
📝 src/lib/components/admin/Evaluations/Feedbacks.svelte (+20 -19)
📝 src/lib/components/admin/Evaluations/Leaderboard.svelte (+25 -21)

...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:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • 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?
  • Prefix: To cleary 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

  • Upgrade to svelte 5 to a minimum of same functionality state
  • Migrate to pnpm due to its way better usage of disk space
  • Migrate to eslint flat config
  • Address some of the typescript issues

Added

  • [List any new features, functionalities, or additions]

Changed

  • Upgrade to svelte 5
  • Migration to pnpm
  • Migration to eslint flat config

Deprecated

  • [List any deprecated functionality or features that have been removed]

Removed

  • [List any removed features, files, or functionalities]

Fixed

  • [List any fixes, corrections, or bug fixes]

Security

  • [List any new or updated security-related changes, including vulnerability fixes]

Breaking Changes

  • BREAKING CHANGE: [List any breaking changes affecting compatibility or functionality]

Additional Information

  • [Insert any additional context, notes, or explanations for the changes]
    • [Reference any related issues, commits, or other relevant information]

Screenshots or Videos

  • [Attach any relevant screenshots or videos demonstrating the changes]

🔄 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/11018 **Author:** [@cesasol](https://github.com/cesasol) **Created:** 3/1/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/svelte-4` --- ### 📝 Commits (9) - [`046f1fb`](https://github.com/open-webui/open-webui/commit/046f1fb30ace13b81dea846629841c86fa97aa46) Merge pull request #10927 from open-webui/dev - [`95cadac`](https://github.com/open-webui/open-webui/commit/95cadaca72e676199caf894f40cc132d7c8416df) Merge pull request #10933 from open-webui/dev - [`f998e5d`](https://github.com/open-webui/open-webui/commit/f998e5dc23c6570af35c38b89a1382c6824ca5d4) Upgrade to svelte 4, eslint, pnpm, corepack. - [`196dd81`](https://github.com/open-webui/open-webui/commit/196dd8152bd1eedb26d6e1a81b550bc81f44dee8) svelte5 migration script - [`859a2b8`](https://github.com/open-webui/open-webui/commit/859a2b8118c9a217dc00b4a3e0e5ccc295462fe1) Fix build - [`e2bd7a1`](https://github.com/open-webui/open-webui/commit/e2bd7a115982c982a6a29d0ecc17c0c6cc652ae3) Merge remote-tracking branch 'upstream/dev' into feature/svelte-4 - [`a087e2d`](https://github.com/open-webui/open-webui/commit/a087e2dce98ecaec24d9558252865458f7a55291) bring back prettier - [`b0997fc`](https://github.com/open-webui/open-webui/commit/b0997fca82fa69da41341c58242a70ba77bafdda) upgrade eslint parse - [`8c66b7e`](https://github.com/open-webui/open-webui/commit/8c66b7ee0686f4aef1a93b811f609a7200313b24) Finish upgrade ### 📊 Changes **333 files changed** (+21518 additions, -22338 deletions) <details> <summary>View changed files</summary> ➖ `.eslintignore` (+0 -13) ➖ `.eslintrc.cjs` (+0 -31) 📝 `.gitignore` (+2 -0) ➕ `eslint.config.mjs` (+57 -0) 📝 `hatch_build.py` (+2 -2) ➖ `package-lock.json` (+0 -12878) 📝 `package.json` (+134 -116) ➕ `pnpm-lock.yaml` (+9072 -0) 📝 `src/app.css` (+39 -28) 📝 `src/lib/apis/index.ts` (+10 -3) 📝 `src/lib/apis/ollama/index.ts` (+1 -1) 📝 `src/lib/components/AddConnectionModal.svelte` (+68 -55) 📝 `src/lib/components/AddFilesPlaceholder.svelte` (+14 -7) 📝 `src/lib/components/ChangelogModal.svelte` (+25 -16) 📝 `src/lib/components/NotificationToast.svelte` (+10 -5) 📝 `src/lib/components/OnBoarding.svelte` (+12 -7) 📝 `src/lib/components/admin/Evaluations.svelte` (+17 -16) 📝 `src/lib/components/admin/Evaluations/FeedbackMenu.svelte` (+30 -22) 📝 `src/lib/components/admin/Evaluations/Feedbacks.svelte` (+20 -19) 📝 `src/lib/components/admin/Evaluations/Leaderboard.svelte` (+25 -21) _...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:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ ] **Testing:** Have you written and run sufficient tests for validating the changes? - [ ] **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? - [ ] **Prefix:** To cleary 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 - Upgrade to svelte 5 to a minimum of same functionality state - Migrate to pnpm due to its way better usage of disk space - Migrate to eslint flat config - Address some of the typescript issues ### Added - [List any new features, functionalities, or additions] ### Changed - Upgrade to svelte 5 - Migration to pnpm - Migration to eslint flat config ### Deprecated - [List any deprecated functionality or features that have been removed] ### Removed - [List any removed features, files, or functionalities] ### Fixed - [List any fixes, corrections, or bug fixes] ### Security - [List any new or updated security-related changes, including vulnerability fixes] ### Breaking Changes - **BREAKING CHANGE**: [List any breaking changes affecting compatibility or functionality] --- ### Additional Information - [Insert any additional context, notes, or explanations for the changes] - [Reference any related issues, commits, or other relevant information] ### Screenshots or Videos - [Attach any relevant screenshots or videos demonstrating the changes] --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 05:02:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#61499