diff --git a/changelog.d/2556.misc.md b/changelog.d/2556.misc.md new file mode 100644 index 000000000..6869942de --- /dev/null +++ b/changelog.d/2556.misc.md @@ -0,0 +1 @@ +The former configuration alias `allow_check_for_updates` is now explicitly deprecated in favor of `allow_announcements_check`. diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 43d991215..48fcb3d18 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -195,7 +195,7 @@ pub struct Config { /// announcements or major updates. This is not an update check endpoint. /// /// default: true - #[serde(alias = "allow_check_for_updates", default = "true_fn")] + #[serde(default = "true_fn")] pub allow_announcements_check: bool, /// Set this to any float value to multiply continuwuity's in-memory LRU @@ -2994,6 +2994,7 @@ impl<'de, K: Hash + Eq + Clone> Deserialize<'de> for PerMinuteRatelimiter { const DEPRECATED_KEYS: &[&str] = &[ "cache_capacity", + "allow_check_for_updates", "conduit_cache_capacity_modifier", "max_concurrent_requests", "otlp_protocol",