From a5337e0cdfeb32a77bfffbd90b278ebbabd8413b Mon Sep 17 00:00:00 2001 From: Stefan Strigler Date: Wed, 7 Dec 2022 14:13:44 +0100 Subject: [PATCH] chore: add changelog --- changes/v5.0.12-en.md | 4 +++- changes/v5.0.12-zh.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changes/v5.0.12-en.md b/changes/v5.0.12-en.md index d3a0e7a27..27e56741e 100644 --- a/changes/v5.0.12-en.md +++ b/changes/v5.0.12-en.md @@ -39,4 +39,6 @@ - Fix shadowing `'client.authenticate'` callbacks by `emqx_authenticator`. Now `emqx_authenticator` passes execution to the further callbacks if none of the authenticators matches [#9496](https://github.com/emqx/emqx/pull/9496). -- Return `400` if query param `node` is not a known in `/trace/:id/download?node={node}` [#9478](https://github.com/emqx/emqx/pull/9478). +- Return `400` if query param `node` is not a known node in `/trace/:id/download?node={node}` [#9478](https://github.com/emqx/emqx/pull/9478). + +- `POST /traces` to return `409` in case of duplicate [#9494](https://github.com/emqx/emqx/pull/9494). diff --git a/changes/v5.0.12-zh.md b/changes/v5.0.12-zh.md index 26208a7cc..2a0b567c5 100644 --- a/changes/v5.0.12-zh.md +++ b/changes/v5.0.12-zh.md @@ -39,3 +39,5 @@ - 通过 `emqx_authenticator` 修复隐藏 `'client.authenticate'` 回调。 现在 `emqx_authenticator` 如果没有任何验证器匹配,则将执行传递给进一步的回调 [#9496](https://github.com/emqx/emqx/pull/9496)。 - 如果在调用 `/trace/:id/download?node={node}` 时,`node` 不存在,则会返回 `400` [#9478](https://github.com/emqx/emqx/pull/9478). + +- 现在,当重复调用 `POST /traces` 时,将会返回 `409` ,而不再是 `400` [#9494](https://github.com/emqx/emqx/pull/9494)。