[PR #6981] [MERGED] Update Feature Flags #22077

Closed
opened 2026-04-30 08:23:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6981
Author: @BlackDex
Created: 3/21/2026
Status: Merged
Merged: 3/23/2026
Merged by: @dani-garcia

Base: mainHead: update-feature-flags


📝 Commits (3)

  • 7dff07c Update Feature Flags
  • 2d32716 Adjust code a bit and add Diagnostics check
  • e133439 Update .env template

📊 Changes

7 files changed (+122 additions, -77 deletions)

View changed files

📝 .env.template (+16 -13)
📝 src/api/admin.rs (+9 -1)
📝 src/api/core/mod.rs (+15 -16)
📝 src/config.rs (+45 -35)
📝 src/static/scripts/admin_diagnostics.js (+7 -0)
📝 src/static/templates/admin/diagnostics.hbs (+8 -0)
📝 src/util.rs (+22 -12)

📄 Description

Added new feature flags which could be supported without issues. Removed all deprecated feature flags and only match supported flags. Do not error on invalid flags during load, but do on config save via admin interface. During load it will print a WARNING, this is to prevent breaking setups when flags are removed, but are still configured.

There are no feature flags anymore currently needed to be set by default, so those are removed now.

Also added the invalid flags into the Admin Diagnostics and Support string if they are filled, else the check is not shown.


🔄 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/dani-garcia/vaultwarden/pull/6981 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 3/21/2026 **Status:** ✅ Merged **Merged:** 3/23/2026 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `update-feature-flags` --- ### 📝 Commits (3) - [`7dff07c`](https://github.com/dani-garcia/vaultwarden/commit/7dff07c3182796e27406627e1482c15b6394d34a) Update Feature Flags - [`2d32716`](https://github.com/dani-garcia/vaultwarden/commit/2d327169b6d6b835f71ff31fcc313762b0268121) Adjust code a bit and add Diagnostics check - [`e133439`](https://github.com/dani-garcia/vaultwarden/commit/e1334397deaaf89e7e42a95bbbf30bb46598c98b) Update .env template ### 📊 Changes **7 files changed** (+122 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `.env.template` (+16 -13) 📝 `src/api/admin.rs` (+9 -1) 📝 `src/api/core/mod.rs` (+15 -16) 📝 `src/config.rs` (+45 -35) 📝 `src/static/scripts/admin_diagnostics.js` (+7 -0) 📝 `src/static/templates/admin/diagnostics.hbs` (+8 -0) 📝 `src/util.rs` (+22 -12) </details> ### 📄 Description Added new feature flags which could be supported without issues. Removed all deprecated feature flags and only match supported flags. Do not error on invalid flags during load, but do on config save via admin interface. During load it will print a `WARNING`, this is to prevent breaking setups when flags are removed, but are still configured. There are no feature flags anymore currently needed to be set by default, so those are removed now. Also added the invalid flags into the Admin Diagnostics and Support string if they are filled, else the check is not shown. --- <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-04-30 08:23:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#22077