docs: add changelog

This commit is contained in:
Zaiming (Stone) Shi 2023-01-17 11:21:01 +01:00
parent 263deae1f3
commit b793aad344
2 changed files with 13 additions and 0 deletions

View File

@ -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.

View File

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