Browse Source

docs: add changelog

Zaiming (Stone) Shi 3 years ago
parent
commit
b793aad344
2 changed files with 13 additions and 0 deletions
  1. 6 0
      changes/v5.0.15/fix-9765.en.md
  2. 7 0
      changes/v5.0.15/fix-9765.zh.md

+ 6 - 0
changes/v5.0.15/fix-9765.en.md

@@ -0,0 +1,6 @@
+Parse decimals as password from environment variable overrides correctly.
+Prior to this change, config values for passwords are not allowed to be decimals.
+e.g. `EMQX_FOOBAR__PASSWORD=12344` or `emqx.foobar.password=1234`
+would result in a type check error, unless quoted as:
+`EMQX_FOOBAR__PASSWORD='"12344"'` or `emqx.foobar.password="1234"`.
+After this fix, the value does not have to be auoted.

+ 7 - 0
changes/v5.0.15/fix-9765.zh.md

@@ -0,0 +1,7 @@
+允许使用纯数字作为密码配置。
+在此修复前,密码的配置必须是字符串,使用纯数字时,会报类型检查错误。
+例如,`EMQX_FOOBAR__PASSWORD=12344` 或 `emqx.foobar.password=1234` 会出错,
+必须用引把值括起来才行:
+`EMQX_FOOBAR__PASSWORD='"12344"'` 或 `emqx.foobar.password="1234"`。
+修复后可以不使用引号。在环境变量重载中使用更加方便。
+