These changes add a feature flag ENABLE_UPDATE_NOTIFICATION to disable the update toast notification. Deployments may choose not to upgrade if their infrastructure is not ready to handle it, with that in mind it is not always possible for the OI admin to update, given these external factors. The update sometimes might not be up to the OI admin.
Added
ENABLE_UPDATE_NOTIFICATION environment variable to disable the update notification through the global configs. Default True.
Changes in the UI to only show the 'Show "What's New" modal on login' setting interface option when the mentioned environment variable is truthy.
Changed
Conditional rule to render the toast in the frontend.
🔄 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/12409
**Author:** [@victorstevansuse](https://github.com/victorstevansuse)
**Created:** 4/3/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `optional-version-notification`
---
### 📝 Commits (1)
- [`83beb4e`](https://github.com/open-webui/open-webui/commit/83beb4e1a8c7205c094c8e1256af9f3993d600a8) feat(config): add optional new update toast notification
### 📊 Changes
**5 files changed** (+29 additions, -19 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/env.py` (+5 -0)
📝 `backend/open_webui/main.py` (+2 -0)
📝 `src/lib/components/chat/Settings/Interface.svelte` (+20 -18)
📝 `src/lib/stores/index.ts` (+1 -0)
📝 `src/routes/(app)/+layout.svelte` (+1 -1)
</details>
### 📄 Description
# Changelog Entry
### Description
These changes add a feature flag `ENABLE_UPDATE_NOTIFICATION` to disable the update toast notification. Deployments may choose not to upgrade if their infrastructure is not ready to handle it, with that in mind it is not always possible for the OI admin to update, given these external factors. The update sometimes might not be up to the OI admin.
### Added
- `ENABLE_UPDATE_NOTIFICATION` environment variable to disable the update notification through the global configs. Default `True`.
- Changes in the UI to only show the 'Show "What's New" modal on login' setting interface option when the mentioned environment variable is truthy.
### Changed
- Conditional rule to render the toast in the frontend.
---
<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/12409
Author: @victorstevansuse
Created: 4/3/2025
Status: ❌ Closed
Base:
dev← Head:optional-version-notification📝 Commits (1)
83beb4efeat(config): add optional new update toast notification📊 Changes
5 files changed (+29 additions, -19 deletions)
View changed files
📝
backend/open_webui/env.py(+5 -0)📝
backend/open_webui/main.py(+2 -0)📝
src/lib/components/chat/Settings/Interface.svelte(+20 -18)📝
src/lib/stores/index.ts(+1 -0)📝
src/routes/(app)/+layout.svelte(+1 -1)📄 Description
Changelog Entry
Description
These changes add a feature flag
ENABLE_UPDATE_NOTIFICATIONto disable the update toast notification. Deployments may choose not to upgrade if their infrastructure is not ready to handle it, with that in mind it is not always possible for the OI admin to update, given these external factors. The update sometimes might not be up to the OI admin.Added
ENABLE_UPDATE_NOTIFICATIONenvironment variable to disable the update notification through the global configs. DefaultTrue.Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.