From a84349f969796854f949515e236bd82acf37a9ef Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 14 Jul 2023 11:16:41 +0100 Subject: [PATCH] Deprecate camelCase config options (#25800) --- docs/config.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/config.md b/docs/config.md index 0666f03ccd..b8ddeed93d 100644 --- a/docs/config.md +++ b/docs/config.md @@ -1,5 +1,13 @@ # Configuration +### 🦖 Deprecation notice + +Configuration keys were previously a mix of camelCase and snake_case. +We standardised to snake_case but added compatibility for camelCase to all settings. +This backwards compatibility will be getting removed in a future release so please ensure you are using snake_case. + +--- + You can configure the app by copying `config.sample.json` to `config.json` or `config.$domain.json` and customising it. Element will attempt to load first `config.$domain.json` and if it fails `config.json`. This mechanism allows different configuration options depending on if you're hitting e.g. `app1.example.com` or `app2.example.com`. Configs are not mixed