Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customizing the featureStates #4168

Merged
merged 15 commits into from
Jan 1, 2024

Conversation

PKizzle
Copy link
Contributor

@PKizzle PKizzle commented Dec 14, 2023

Instead of statically disabling autofill-v2 and enabling fido2-vault-credentials let the user decide which features to en-/disable.

By default the above mentioned standard values are used but can be changed by specifying a comma separated list of any of the currently available in the bitwarden clients: https://github.com/bitwarden/clients/blob/00fd45a678956c76dde6caa76e8ba266c204471c/libs/common/src/enums/feature-flag.enum.ts

To disable a feature just prepend an exclamation mark (!). The default value is: !autofill-v2,fido2-vault-credentials

@BlackDex
Copy link
Collaborator

I'm not very fond of adding this.
The main reason is that people might enable something which either needs server changes or is not fully supported yet on all the clients if not updated.

One item which we do not (yet) support is flexible collections for example (and i do not even know what it does too).
And there are several others which are pointless when using Vaultwarden.

So, this will be a no-go from me.

@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 15, 2023

I understand your concerns regarding possible issues with unsupported server-side features. However, I would like to suggest that those features could simply be removed from the list of allowed features.

When it comes to old client versions that do not support all features enabled in the server, they simply ignore those features. I have already tested it with the autofill-overlay feature flag, which is only available in the latest client release, and older clients simply ignore it.

In the end, it is up to the user to make sure their configuration is stable and secure, as there are countless other ways to screw up your configuration. As the default values are exactly the same as before, a warning could be added to the documentation making sure that users are aware of the implications that en- or disabling of feature flags has.

I respectfully disagree with your decision to reject this feature, as I believe it would provide more flexibility and customization for the users. I hope you will reconsider your position and give this feature a chance.

PS: As already mentioned above I have enabled the autofill-overlay feature which for me is one of the biggest improvements to Bitwarden and has been demanded by the community since 2018. It is currently hidden behind this feature flag so users wanting to test it require this PR to enable it.

@BlackDex
Copy link
Collaborator

I meant to say as-is actually.

But we currently only support:

  • autofill-v2
  • fido2-vault-credentials

I think a few others might also work. So if you can prune the list to the bare minimum support items, that would be cool.

@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 15, 2023

I guess the following feature flags are purely client related if I am not mistaken?

  • autofill-overlay (requires autofill-v2)
  • autofill-v2
  • browser-fileless-import
  • display-kdf-iteration-warning
  • passwordless-login (requires trusted-device-encryption)

And these might require additional changes in Vaultwarden:

  • bulk-collection-access
  • flexible-collections
  • flexible-collections-v-1
  • item-share
  • trusted-device-encryption

Do you agree with this list?

@BlackDex
Copy link
Collaborator

I think browser-fileless-import is used to import from LastPass via a client without using uploaded files. I suppose they use the same import endpoints so that shouldn't be an issue.

@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 15, 2023

Then the list of available featureStates in Vaultwarden would look like:

  • autofill-overlay (requires autofill-v2)
  • autofill-v2
  • browser-fileless-import
  • display-kdf-iteration-warning
  • fido2-vault-credentials

By the way is something like trusted-device-encryption (Bitwarden doc) and passwordless-login (WebAuthn client login) planned for Vaultwarden as well?

@BlackDex
Copy link
Collaborator

@PKizzle, the trusted-device-encryption is linked to SSO. There is a PR open for SSO (Which i still need to look better at) so if, it should be part of that, or can be worked upon after it has been merged.

The passwordless-login probably needs some new endpoints or login validation.
While we already support Webauthn as 2FA/MFA, using it as a passwordless type probably needs some adjustments.

Keep in mind that the Bitwarden Self Hosted currently only supports

  • trusted-device-encryption (Because it has SSO support)
  • fido2-vault-credentials

@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 15, 2023

Yes, exactly. This is how Vaultwarden currently looks when enabling passwordless-login (the spinner never stops as the API call fails):
Screenshot passwordless login

@stefan0xC
Copy link
Contributor

stefan0xC commented Dec 16, 2023

Last time I checked the display-kdf-iteration-warning feature flag is not used anymore (since web-v2023.7.0, cf. bitwarden/clients@4820c88) so it should not make a difference for newer web-vault versions.

Copy link
Collaborator

@BlackDex BlackDex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks almost ok to me.
There are a few items i left a comment about.

I'm also missing the new feature in the .env.template with comments so that needs to be added.

And, there might be an issue with using ! as an exclusion option.
In bash this will cause issues when used between " double quotes.

We can either add a good note regarding this in the config/template/wiki or think of a different character or other way to negate it? Maybe a ^ could be an option? While i do like the ! though, it is kinda universal.

src/api/core/mod.rs Outdated Show resolved Hide resolved
src/config.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@stefan0xC stefan0xC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we let users decide which features should be enabled/disabled, we should use a conservative approach (i.d. the features should be disabled by default).

The problem with making it configurable by users at all is that we can't provide the defaults anymore for all users because whether or not we enable or disable them by default, once a user has the default saved in the config.json they'd need to update the feature flag list accordingly, even if we decided that it is not supported anymore. (I mean removing them from the list of supported/known flags would be a way to explicitly disable it yes, but the reverse would also be the case so some users would still have to explicitly configure all new flags to enable them and the comment that all feature flags are disabled by default would be misleading).

So if this is implemented I'd rather tell users that they'll have to deliberately enable a (known) feature flag to help us test a new feature instead of telling users that they'll have to disable features which we have set as a default and have noticed that they were not ready yet.

Regarding the question of whether or not we should also give users a way to disable features I think this would depend on the clients. Currently if a feature flag is missing the clients should assume that any given feature flag defaults to false (however that might not be the case given that the getFeatureFlag() function technically allows for providing a different defaultValue in the client).

Last point I'd prefer if users only had to list features they want enabled to keep it as simple as possible. (And only implement a way to disable a feature explicitly, when it is really mandatory, which I personally would consider a bug in the clients repository...)

src/config.rs Outdated Show resolved Hide resolved
src/config.rs Outdated Show resolved Hide resolved
Additionally, use a caret (^) instead of an exclamation mark (!) to disable features
@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 17, 2023

@stefan0xC Instead of allowing to disable a feature all known feature flags could be set to false by default to ensure that any defaultValue other than false does not negatively affect Vaultwarden users. This however requires that two feature lists are used. One list that is equal to bitwarden/clients@00fd45a/libs/common/src/enums/feature-flag.enum.ts and another one which includes the ones supported by Vaultwarden. Otherwise users would be able to enable unsupported features.

@BlackDex It seems like Bitwarden is now enabling autofill-v2 by default: https://api.bitwarden.com/config

@stefan0xC
Copy link
Contributor

stefan0xC commented Dec 17, 2023

@PKizzle feature flags as I understand them are not enabled by default. So we should add only those feature flags that might be safe to enable to the KNOWN_FLAGS (and not add something that is known that it is not supported in the backend like trusted-device-encryptions - i.e. the PR that implements this feature would have to also add the appropriate feature flag and once the feature is stable, we could also add this to a default if it makes sense or wait until the feature flag is not checked anymore). So we would not have to add all feature flags that are currently available in Bitwarden but still we'd have to decide which we set to true (like fido2-vault-credentials) and where we would let the users decide (and I'd argue that we should only provide those as default that are a) known to work and b) where Bitwarden would make the decision for self hosted or the demand is high enough / the feature has been stable / whatever the case maybe). - Users could then still decide to disable our defaults if they remove them from the feature list and there's no need for us to have a way to disable a feature (unless Bitwarden messes up there intended feature flag system - which would be a bug in my opinion as this would violate their architecture decision)

@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 17, 2023

@stefan0xC It is very unfortunate but exactly this situation has already occurred. As mentioned earlier autofill-v2 was enabled by default in several client releases whilst being disabled again using Bitwarden's featureStates. For more information please have a look at the discussion in #4052

@stefan0xC
Copy link
Contributor

@stefan0xC This is sadly not always the case. As mentioned earlier autofill-v2 was enabled by default in several client releases whilst disabled again using Bitwarden's featureStates. Fore more information please have a look at the discussion in #4052

No it was enabled by us in #3990 not by the clients. We could have also removed the feature flag to disable the feature.

src/util.rs Outdated Show resolved Hide resolved
@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 18, 2023

@stefan0xC I see. I misunderstood some of the comments in the Bitwarden repo regarding the issue hinting at the client not resetting a feature flag to false once it was enabled. However, it seems like the self-hosted server version had the autofill-v2 feature flag enabled and not the client by default.

Copy link
Owner

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments, I agree about having a whitelist of features to enable, to avoid someone accidentally breaking their vault if the clients think that the server supports a feature that it doesn't.

How would we handle a change in the defaults for users that have already configured their flags? For example, by default we now set fido2-vault-credentials. If I decide on my instance that I don't care about passkeys but want the new autofill, I might set this setting to autofill-v2.

Now, if we release support for a new feature, we won't have any way to get this user updated, beyond announcing on the README or the changelog that this new feature is available. I think we need a way to forcefully enable some feature flags, regardless of user config. Of course we'd need to be conservative about it to make sure we don't break anything, but we can't afford to let users stay on old feature flags forever.

.env.template Outdated Show resolved Hide resolved
src/api/core/mod.rs Outdated Show resolved Hide resolved
src/config.rs Outdated Show resolved Hide resolved
src/util.rs Outdated Show resolved Hide resolved
@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 18, 2023

@dani-garcia A possible way to inform users about new features is to display a notice in the UI alongside the recommended default configuration.

Since these features are experimental, users who want to try them should be aware of the potential risks (such as bugs or removal of the feature in the future). It might also be helpful to show a general warning if the user's configuration differs from the default values in terms of the feature flags.

Could you explain what a possible use-case of forcefully enabling certain experimental features would be?

@dani-garcia
Copy link
Owner

My concern is some future feature flag informing the clients to use some new API endpoint instead of the existing one, eventually we might want to deprecate and then remove the old API endpoints, which can't be done if some older clients haven't enabled that flag.

Honestly this is mostly a future proofing issue and might turn out to be not a big deal, so we can cross that bridge when we get to it.

Yeah showing a warning with the defaults and maybe all the available values in the UI might be nice, but that can be done separately from this change, I think. We can also reserve a section at the release notes to mention any added/removed/updated flags too.

@BlackDex
Copy link
Collaborator

As a note, they released a bug fix release which disables the overlay by default.

bitwarden/clients@web-v2023.12.0...browser-v2023.12.1

@PKizzle
Copy link
Contributor Author

PKizzle commented Dec 19, 2023

The default value is now off, but the visibility in the client's settings is still controlled by the feature flag, which remains unchanged. I have already enabled the feature and adjusted the settings in multiple clients, so I don’t think this change affects me. Thank you for the information anyway!

@dani-garcia dani-garcia merged commit 98b2178 into dani-garcia:main Jan 1, 2024
5 checks passed
@PKizzle PKizzle deleted the feature/customize-feature-flags branch January 14, 2024 02:04
lumpsoid pushed a commit to lumpsoid/vaultwarden that referenced this pull request Jan 14, 2024
* Allow customizing the featureStates

Use a comma separated list of features to enable using the FEATURE_FLAGS env variable

* Move feature flag parsing to util

* Fix formatting

* Update supported feature flags

* Rename feature_flags to experimental_client_feature_flags

Additionally, use a caret (^) instead of an exclamation mark (!) to disable features

* Fix formatting issue.

* Add documentation to env template

* Remove functionality to disable feature flags

* Fix JSON key for feature states

* Convert error to warning when feature flag is unrecognized

* Simplify parsing of feature flags

* Fix default value of feature flags in env template

* Fix formatting
@cl1ent
Copy link

cl1ent commented Jan 23, 2024

thank you for this PR! do you have any ETA when this will be part of the next (minor) release? once #4263 is merged maybe?

@bibicadotnet
Copy link

thank you for this PR! do you have any ETA when this will be part of the next (minor) release? once #4263 is merged maybe?

If you like, can use image:vaultwarden/server:testing
Add environment - EXPERIMENTAL_CLIENT_FEATURE_FLAGS=autofill-overlay,autofill-v2,browser-fileless-import,fido2-vault-credentials

truecharts-admin added a commit to truecharts/charts that referenced this pull request Jan 31, 2024
…1.30.2@ab34a7b by renovate (#17766)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden)
| patch | `1.30.1` -> `1.30.2` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden
(docker.io/vaultwarden/server)</summary>

###
[`v1.30.2`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.2)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2)

⚠️ **Note:** The WebSockets service for live sync has been integrated in
the main HTTP server, which means simpler proxy setups that don't
require a separate rule to redirect WS traffic to port 3012. Please
check the updated examples in the
[wiki](https://togithub.com/dani-garcia/vaultwarden/wiki/Proxy-examples).
It's recommended to migrate to this new setup as using the old server on
port 3012 is deprecated, won't receive new features and will be removed
in the next release.

#### What's Changed

- Prevent generating an error during ws close by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4127
- Update Rust, Crates, Profile and Actions by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4126
- Several small fixes for open issues by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4143
- Fix the version string by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4153
- Decrease JWT Refresh/Auth token by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4163
- Update crates by [@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4173
- Add additional build target which optimizes for size by
[@&#8203;gladiac](https://togithub.com/gladiac) in
[dani-garcia/vaultwarden#4096
- Update web-vault to v2023.12.0 by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4201
- Update Rust and Crates by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4211
- Fix Single Org Policy check by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4207
- Allow customizing the featureStates by
[@&#8203;PKizzle](https://togithub.com/PKizzle) in
[dani-garcia/vaultwarden#4168
- Fix
[#&#8203;3413](https://togithub.com/dani-garcia/vaultwarden/issues/3413):
push to users accessing the collections using groups by
[@&#8203;matlink](https://togithub.com/matlink) in
[dani-garcia/vaultwarden#3757
- US or EU Data Region Selection by
[@&#8203;toto-xoxo](https://togithub.com/toto-xoxo) in
[dani-garcia/vaultwarden#3752
- enforce 2FA policy on removal of second factor and login by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3803
- improve emergency access when not enabled by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4227
- Update crates and fix icon issue by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4237
- Bump h2 from 0.3.23 to 0.3.24 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[dani-garcia/vaultwarden#4260
- Fix bulk collection deletion by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4257
- fix: use black text for update badge (better contrast) by
[@&#8203;tessus](https://togithub.com/tessus) in
[dani-garcia/vaultwarden#4245
- prevent side effects if groups are disabled by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4265
- Update crates, web-vault to 2024.1.2 and GHA by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4275
- Return 404 when user public_key is empty by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[dani-garcia/vaultwarden#4271
- Improve file limit handling by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[dani-garcia/vaultwarden#4242
- Fix attachment upload size check by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4282
- err on invalid feature flag by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4263
- register missing push devices at login by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3792
- Update env template file by
[@&#8203;gzfrozen](https://togithub.com/gzfrozen) in
[dani-garcia/vaultwarden#4276

#### New Contributors

- [@&#8203;gladiac](https://togithub.com/gladiac) made their first
contribution in
[dani-garcia/vaultwarden#4096
- [@&#8203;PKizzle](https://togithub.com/PKizzle) made their first
contribution in
[dani-garcia/vaultwarden#4168
- [@&#8203;matlink](https://togithub.com/matlink) made their first
contribution in
[dani-garcia/vaultwarden#3757
- [@&#8203;toto-xoxo](https://togithub.com/toto-xoxo) made their first
contribution in
[dani-garcia/vaultwarden#3752
- [@&#8203;Timshel](https://togithub.com/Timshel) made their first
contribution in
[dani-garcia/vaultwarden#4271
- [@&#8203;gzfrozen](https://togithub.com/gzfrozen) made their first
contribution in
[dani-garcia/vaultwarden#4276

**Full Changelog**:
dani-garcia/vaultwarden@1.30.1...1.30.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
GabrielBarzen pushed a commit to GabrielBarzen/charts that referenced this pull request Feb 2, 2024
…1.30.2@ab34a7b by renovate (truecharts#17766)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden)
| patch | `1.30.1` -> `1.30.2` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden
(docker.io/vaultwarden/server)</summary>

###
[`v1.30.2`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.2)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2)

⚠️ **Note:** The WebSockets service for live sync has been integrated in
the main HTTP server, which means simpler proxy setups that don't
require a separate rule to redirect WS traffic to port 3012. Please
check the updated examples in the
[wiki](https://togithub.com/dani-garcia/vaultwarden/wiki/Proxy-examples).
It's recommended to migrate to this new setup as using the old server on
port 3012 is deprecated, won't receive new features and will be removed
in the next release.

#### What's Changed

- Prevent generating an error during ws close by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4127
- Update Rust, Crates, Profile and Actions by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4126
- Several small fixes for open issues by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4143
- Fix the version string by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4153
- Decrease JWT Refresh/Auth token by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4163
- Update crates by [@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4173
- Add additional build target which optimizes for size by
[@&truecharts#8203;gladiac](https://togithub.com/gladiac) in
[dani-garcia/vaultwarden#4096
- Update web-vault to v2023.12.0 by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4201
- Update Rust and Crates by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4211
- Fix Single Org Policy check by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4207
- Allow customizing the featureStates by
[@&truecharts#8203;PKizzle](https://togithub.com/PKizzle) in
[dani-garcia/vaultwarden#4168
- Fix
[#&truecharts#8203;3413](https://togithub.com/dani-garcia/vaultwarden/issues/3413):
push to users accessing the collections using groups by
[@&truecharts#8203;matlink](https://togithub.com/matlink) in
[dani-garcia/vaultwarden#3757
- US or EU Data Region Selection by
[@&truecharts#8203;toto-xoxo](https://togithub.com/toto-xoxo) in
[dani-garcia/vaultwarden#3752
- enforce 2FA policy on removal of second factor and login by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3803
- improve emergency access when not enabled by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4227
- Update crates and fix icon issue by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4237
- Bump h2 from 0.3.23 to 0.3.24 by
[@&truecharts#8203;dependabot](https://togithub.com/dependabot) in
[dani-garcia/vaultwarden#4260
- Fix bulk collection deletion by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4257
- fix: use black text for update badge (better contrast) by
[@&truecharts#8203;tessus](https://togithub.com/tessus) in
[dani-garcia/vaultwarden#4245
- prevent side effects if groups are disabled by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4265
- Update crates, web-vault to 2024.1.2 and GHA by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4275
- Return 404 when user public_key is empty by
[@&truecharts#8203;Timshel](https://togithub.com/Timshel) in
[dani-garcia/vaultwarden#4271
- Improve file limit handling by
[@&truecharts#8203;dani-garcia](https://togithub.com/dani-garcia) in
[dani-garcia/vaultwarden#4242
- Fix attachment upload size check by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4282
- err on invalid feature flag by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4263
- register missing push devices at login by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3792
- Update env template file by
[@&truecharts#8203;gzfrozen](https://togithub.com/gzfrozen) in
[dani-garcia/vaultwarden#4276

#### New Contributors

- [@&truecharts#8203;gladiac](https://togithub.com/gladiac) made their first
contribution in
[dani-garcia/vaultwarden#4096
- [@&truecharts#8203;PKizzle](https://togithub.com/PKizzle) made their first
contribution in
[dani-garcia/vaultwarden#4168
- [@&truecharts#8203;matlink](https://togithub.com/matlink) made their first
contribution in
[dani-garcia/vaultwarden#3757
- [@&truecharts#8203;toto-xoxo](https://togithub.com/toto-xoxo) made their first
contribution in
[dani-garcia/vaultwarden#3752
- [@&truecharts#8203;Timshel](https://togithub.com/Timshel) made their first
contribution in
[dani-garcia/vaultwarden#4271
- [@&truecharts#8203;gzfrozen](https://togithub.com/gzfrozen) made their first
contribution in
[dani-garcia/vaultwarden#4276

**Full Changelog**:
dani-garcia/vaultwarden@1.30.1...1.30.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
mruoss pushed a commit to mruoss/truecharts that referenced this pull request Feb 4, 2024
…1.30.2@ab34a7b by renovate (truecharts#17766)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden)
| patch | `1.30.1` -> `1.30.2` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden
(docker.io/vaultwarden/server)</summary>

###
[`v1.30.2`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.2)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2)

⚠️ **Note:** The WebSockets service for live sync has been integrated in
the main HTTP server, which means simpler proxy setups that don't
require a separate rule to redirect WS traffic to port 3012. Please
check the updated examples in the
[wiki](https://togithub.com/dani-garcia/vaultwarden/wiki/Proxy-examples).
It's recommended to migrate to this new setup as using the old server on
port 3012 is deprecated, won't receive new features and will be removed
in the next release.

#### What's Changed

- Prevent generating an error during ws close by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4127
- Update Rust, Crates, Profile and Actions by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4126
- Several small fixes for open issues by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4143
- Fix the version string by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4153
- Decrease JWT Refresh/Auth token by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4163
- Update crates by [@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4173
- Add additional build target which optimizes for size by
[@&truecharts#8203;gladiac](https://togithub.com/gladiac) in
[dani-garcia/vaultwarden#4096
- Update web-vault to v2023.12.0 by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4201
- Update Rust and Crates by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4211
- Fix Single Org Policy check by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4207
- Allow customizing the featureStates by
[@&truecharts#8203;PKizzle](https://togithub.com/PKizzle) in
[dani-garcia/vaultwarden#4168
- Fix
[#&truecharts#8203;3413](https://togithub.com/dani-garcia/vaultwarden/issues/3413):
push to users accessing the collections using groups by
[@&truecharts#8203;matlink](https://togithub.com/matlink) in
[dani-garcia/vaultwarden#3757
- US or EU Data Region Selection by
[@&truecharts#8203;toto-xoxo](https://togithub.com/toto-xoxo) in
[dani-garcia/vaultwarden#3752
- enforce 2FA policy on removal of second factor and login by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3803
- improve emergency access when not enabled by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4227
- Update crates and fix icon issue by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4237
- Bump h2 from 0.3.23 to 0.3.24 by
[@&truecharts#8203;dependabot](https://togithub.com/dependabot) in
[dani-garcia/vaultwarden#4260
- Fix bulk collection deletion by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4257
- fix: use black text for update badge (better contrast) by
[@&truecharts#8203;tessus](https://togithub.com/tessus) in
[dani-garcia/vaultwarden#4245
- prevent side effects if groups are disabled by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4265
- Update crates, web-vault to 2024.1.2 and GHA by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4275
- Return 404 when user public_key is empty by
[@&truecharts#8203;Timshel](https://togithub.com/Timshel) in
[dani-garcia/vaultwarden#4271
- Improve file limit handling by
[@&truecharts#8203;dani-garcia](https://togithub.com/dani-garcia) in
[dani-garcia/vaultwarden#4242
- Fix attachment upload size check by
[@&truecharts#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4282
- err on invalid feature flag by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4263
- register missing push devices at login by
[@&truecharts#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3792
- Update env template file by
[@&truecharts#8203;gzfrozen](https://togithub.com/gzfrozen) in
[dani-garcia/vaultwarden#4276

#### New Contributors

- [@&truecharts#8203;gladiac](https://togithub.com/gladiac) made their first
contribution in
[dani-garcia/vaultwarden#4096
- [@&truecharts#8203;PKizzle](https://togithub.com/PKizzle) made their first
contribution in
[dani-garcia/vaultwarden#4168
- [@&truecharts#8203;matlink](https://togithub.com/matlink) made their first
contribution in
[dani-garcia/vaultwarden#3757
- [@&truecharts#8203;toto-xoxo](https://togithub.com/toto-xoxo) made their first
contribution in
[dani-garcia/vaultwarden#3752
- [@&truecharts#8203;Timshel](https://togithub.com/Timshel) made their first
contribution in
[dani-garcia/vaultwarden#4271
- [@&truecharts#8203;gzfrozen](https://togithub.com/gzfrozen) made their first
contribution in
[dani-garcia/vaultwarden#4276

**Full Changelog**:
dani-garcia/vaultwarden@1.30.1...1.30.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
arthurgeek pushed a commit to arthurgeek/vaultwarden-fly-template that referenced this pull request Mar 18, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden) |
stage | patch | `1.30.1-alpine` -> `1.30.5-alpine` |

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden (vaultwarden/server)</summary>

###
[`v1.30.5`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.5)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.4...1.30.5)

#### What's Changed

- fix: web API call for jquery 3.7.1 by
[@&#8203;calvin-li-developer](https://togithub.com/calvin-li-developer)
in
[dani-garcia/vaultwarden#4400

#### New Contributors

-
[@&#8203;calvin-li-developer](https://togithub.com/calvin-li-developer)
made their first contribution in
[dani-garcia/vaultwarden#4400

**Full Changelog**:
dani-garcia/vaultwarden@1.30.4...1.30.5

###
[`v1.30.4`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.4)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.3...1.30.4)

⚠️ Note: The WebSockets service for live sync has been integrated in the
main HTTP server, which means simpler proxy setups that don't require a
separate rule to redirect WS traffic to port 3012. Please check the
updated examples in the
[wiki](https://togithub.com/dani-garcia/vaultwarden/wiki/Proxy-examples).
It's recommended to migrate to this new setup as using the old server on
port 3012 is deprecated, won't receive new features and will be removed
in the next release.

#### What's Changed

- Update crates to fix new builds by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4308
- Add Kubernetes environment detection by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4290
- Update GHA Workflows by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4309
- Update Rust, crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4328
- Change the codegen-units for low resources by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4336
- Fix env templateto ensure compatibility with systemd's EnvironmentFile
parsing by [@&#8203;seiuneko](https://togithub.com/seiuneko) in
[dani-garcia/vaultwarden#4315
- Update crates, GHA and a Python script by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4357

#### New Contributors

- [@&#8203;seiuneko](https://togithub.com/seiuneko) made their first
contribution in
[dani-garcia/vaultwarden#4315

**Full Changelog**:
dani-garcia/vaultwarden@1.30.3...1.30.4

###
[`v1.30.3`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.3)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.2...1.30.3)

This is a minor release to fix some issues with push notification device
registration and docker healthcheck.

⚠️ **Note:** The WebSockets service for live sync has been integrated in
the main HTTP server, which means simpler proxy setups that don't
require a separate rule to redirect WS traffic to port 3012. Please
check the updated examples in the
[wiki](https://togithub.com/dani-garcia/vaultwarden/wiki/Proxy-examples).
It's recommended to migrate to this new setup as using the old server on
port 3012 is deprecated, won't receive new features and will be removed
in the next release.

#### What's Changed

- fix push device registration by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4297
- Fix healthcheck when using .env file by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4299

**Full Changelog**:
dani-garcia/vaultwarden@1.30.2...1.30.3

###
[`v1.30.2`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.30.2)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2)

⚠️ **Note:** The WebSockets service for live sync has been integrated in
the main HTTP server, which means simpler proxy setups that don't
require a separate rule to redirect WS traffic to port 3012. Please
check the updated examples in the
[wiki](https://togithub.com/dani-garcia/vaultwarden/wiki/Proxy-examples).
It's recommended to migrate to this new setup as using the old server on
port 3012 is deprecated, won't receive new features and will be removed
in the next release.

#### What's Changed

- Prevent generating an error during ws close by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4127
- Update Rust, Crates, Profile and Actions by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4126
- Several small fixes for open issues by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4143
- Fix the version string by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4153
- Decrease JWT Refresh/Auth token by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4163
- Update crates by [@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4173
- Add additional build target which optimizes for size by
[@&#8203;gladiac](https://togithub.com/gladiac) in
[dani-garcia/vaultwarden#4096
- Update web-vault to v2023.12.0 by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4201
- Update Rust and Crates by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4211
- Fix Single Org Policy check by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4207
- Allow customizing the featureStates by
[@&#8203;PKizzle](https://togithub.com/PKizzle) in
[dani-garcia/vaultwarden#4168
- Fix
[#&#8203;3413](https://togithub.com/dani-garcia/vaultwarden/issues/3413):
push to users accessing the collections using groups by
[@&#8203;matlink](https://togithub.com/matlink) in
[dani-garcia/vaultwarden#3757
- US or EU Data Region Selection by
[@&#8203;toto-xoxo](https://togithub.com/toto-xoxo) in
[dani-garcia/vaultwarden#3752
- enforce 2FA policy on removal of second factor and login by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3803
- improve emergency access when not enabled by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4227
- Update crates and fix icon issue by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4237
- Bump h2 from 0.3.23 to 0.3.24 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[dani-garcia/vaultwarden#4260
- Fix bulk collection deletion by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4257
- fix: use black text for update badge (better contrast) by
[@&#8203;tessus](https://togithub.com/tessus) in
[dani-garcia/vaultwarden#4245
- prevent side effects if groups are disabled by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4265
- Update crates, web-vault to 2024.1.2 and GHA by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4275
- Return 404 when user public_key is empty by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[dani-garcia/vaultwarden#4271
- Improve file limit handling by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[dani-garcia/vaultwarden#4242
- Fix attachment upload size check by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[dani-garcia/vaultwarden#4282
- err on invalid feature flag by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#4263
- register missing push devices at login by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[dani-garcia/vaultwarden#3792
- Update env template file by
[@&#8203;gzfrozen](https://togithub.com/gzfrozen) in
[dani-garcia/vaultwarden#4276

#### New Contributors

- [@&#8203;gladiac](https://togithub.com/gladiac) made their first
contribution in
[dani-garcia/vaultwarden#4096
- [@&#8203;PKizzle](https://togithub.com/PKizzle) made their first
contribution in
[dani-garcia/vaultwarden#4168
- [@&#8203;matlink](https://togithub.com/matlink) made their first
contribution in
[dani-garcia/vaultwarden#3757
- [@&#8203;toto-xoxo](https://togithub.com/toto-xoxo) made their first
contribution in
[dani-garcia/vaultwarden#3752
- [@&#8203;Timshel](https://togithub.com/Timshel) made their first
contribution in
[dani-garcia/vaultwarden#4271
- [@&#8203;gzfrozen](https://togithub.com/gzfrozen) made their first
contribution in
[dani-garcia/vaultwarden#4276

**Full Changelog**:
dani-garcia/vaultwarden@1.30.1...1.30.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/arthurgeek/vaultwarden-fly-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants