docs: update changlog for pr 12940

This commit is contained in:
zmstone 2024-04-28 14:54:01 +02:00
parent 07cbdc6e90
commit c3d27347b0
2 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,12 @@
Add `ignore_readonly` argument to `PUT /configs` API.
Prior to this change, EMQX would retrun 400 (BAD_REQUEST) if the raw config
included readonly root keys (`cluster`, `rpc`, and `node`).
After this enhancement it can be called as `PUT /configs?ignore_readonly=true`,
EMQX will in this case ignore readonly root config keys, and apply the rest.
A warning message is logged to warn that the readonly keys are dropped.
Also fixed an exception when config has bad HOCON syntax (returns 500).
Now bad syntax will cause the API to return 400 (BAD_REQUEST).

View File

@ -1,3 +0,0 @@
Fix config update API `/configs` 500 error when config has bad HOCON syntax.
Now bad syntax will cause the API to return 400 (BAD_REQUEST).