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

err on invalid feature flag #4263

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

stefan0xC
Copy link
Contributor

@stefan0xC stefan0xC commented Jan 21, 2024

As mentioned in the PR #4168 (comment) we have to err! to disallow unknown flags otherwise all flags are allowed.

I've just tested it and the warning is not even displayed. Might be the same reason as

// We can't use warn! here because logging isn't setup yet.

@BlackDex
Copy link
Collaborator

The problem with that is, if we remove a flag, we will break those setups.

@stefan0xC
Copy link
Contributor Author

stefan0xC commented Jan 21, 2024

Let me quote myself:

I think it's better to return an error so that users can't enable unsupported flags (or at least immediately notice that they have misspelled a feature flag when changing the flag via the admin panel - which I'm not sure would happen if this were a mere warning) and if we remove a feature flag from KNOWN_FLAGS (because it's not supported anymore or was added prematurely) I'd probably want this validation to fail. Furthermore I don't think that it's an issue enabling feature flags that are not in use anymore (like display-kdf-iteration-warning), so we won't have to remove them as soon as possible. (Users might also want to clean up removed feature flags that they have enabled to reduce the size of the returned /api/config - without such a drastic feedback I don't think this will happen.)

And also

In order not to break too many installations we probably should not remove features from KNOWN_FLAGS that we have enabled by default (like fido2-vault-credentials) or only if there's an important reason to do so or we really want to remove it. (I think the other flags, which we don't enable by default, would be fair game as users would be responsible if they change the defaults).

We could also inform our users in the release notes about removed flags if we do remove them.

@stefan0xC
Copy link
Contributor Author

stefan0xC commented Jan 21, 2024

Let me put it in other words: Without this change, it makes no difference if we remove flags from KNOWN_FLAGS and we could also get rid of the validation. (IMHO it would still be better to validate the spelling to get immediate feedback and have a growing list of known flags, if we never want to break someones configuration instead of accepting every string.)

@BlackDex
Copy link
Collaborator

I still do not like using err! here. My main point is.
If a user auto updates Vaultwarden, and a flag has been removed from the known flags list, it will break that setup and the instance is not reachable anymore. So, for me, that is a no-go.

What is happening currently is also not ok i think.
It should filter out the unknown flags and return only a list of valid items and warn/println about the unknown ones.

Currently the latest Self-Hosted is returning:

"trusted-device-encryption": true,
"fido2-vault-credentials": true

So the actions i think we need to take to fix this are:

  1. Still warn/println about unknown flags
  2. Filter those unknown flags, and only return valid flags
  3. Maybe have a default list like fido2-vault-credentials, and always add that, unless it is excluded with ^fido2-vault-credentials for example.
    That way we are still able to add new flags by default, and allow users to override them if they do not want it.

@stefan0xC
Copy link
Contributor Author

Why do we have to remove something from the KNOWN_FLAGS?

@BlackDex
Copy link
Collaborator

Because, if those flags are not needed anymore, we probably also do not want them to be added.
It might even cause troubles in the future or something if they are still in there.
What if they re-use a flag for some reason. They know when they removed a flag and were not using it for a while, and can just re-use a previous flag for any other reason.

@stefan0xC
Copy link
Contributor Author

stefan0xC commented Jan 26, 2024

I'd say in those cases it would be fine to break a user's invalid configuration, is it not? 🤨

I don't see the point in making sure it doesn't break (by filtering out unknown flags) and somehow still warn a user (which doesn't currently work). I mean, why would anyone fix their invalid config, if it just keeps working?

edit: I mean, I see the point. I just think that it's better to force users to keep their config up-to-date than to risk unwanted side effects because they did not notice a spelling error or because they have kept a reused feature flag enabled.

@BlackDex
Copy link
Collaborator

The only way i would see err! work is if we do not remove known features, and when we do, we need to filter those out, and have at least those a warn, and no err.

Also, best to also parse all flags, and create an err with all invalid flags instead of break on the first invalid one.

@stefan0xC
Copy link
Contributor Author

stefan0xC commented Jan 26, 2024

Okay, I've rewritten the check so it prints all invalid flags and also tells users what flags are supported:

Error loading config:
  Unrecognized experimental client feature flags: ["passwordless-login", "bla"].

Please ensure all feature flags are spelled correctly and that they are supported in this version.
Supported flags: ["autofill-overlay", "autofill-v2", "browser-fileless-import", "fido2-vault-credentials"]

Regarding the other change, you've suggested: I've added a comment so that we don't forget about dealing with removed flags once we do decide to remove a flag.

@dani-garcia dani-garcia merged commit 4b9384c into dani-garcia:main Jan 28, 2024
5 checks passed
@stefan0xC stefan0xC deleted the err-on-invalid-flag branch January 28, 2024 22:36
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

4 participants