From b04f7ecccf936ff3bf578dc54c7f68dc2ee9ca67 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 1 Mar 2023 11:54:15 +0100 Subject: [PATCH] chore: Generate changelog for v5.0.19 --- changes/v5.0.19.en.md | 23 +++++++++++++++++++++++ changes/v5.0.19.zh.md | 24 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 changes/v5.0.19.en.md create mode 100644 changes/v5.0.19.zh.md diff --git a/changes/v5.0.19.en.md b/changes/v5.0.19.en.md new file mode 100644 index 000000000..f8404317e --- /dev/null +++ b/changes/v5.0.19.en.md @@ -0,0 +1,23 @@ +# v5.0.19 + +## Bug Fixes + +- [#10032](https://github.com/emqx/emqx/pull/10032) When the resource manager is busy trying to establish a connection with the remote, the resource might yet lack any metrics information. Prior to this fix, the `bridges/` API handler crashed in such circumstances. + +- [#10037](https://github.com/emqx/emqx/pull/10037) Fix Swagger API doc rendering crash. + In version 5.0.18, a bug was introduced that resulted in duplicated field names in the configuration schema. This, in turn, caused the Swagger schema generated to become invalid. + +- [#10041](https://github.com/emqx/emqx/pull/10041) For influxdb bridge, added integer value placeholder annotation hint to `write_syntax` documentation. + Also supported setting a constant value for the `timestamp` field. + +- [#10042](https://github.com/emqx/emqx/pull/10042) Improve behavior of the `replicant` nodes when the `core` cluster becomes partitioned (for example when a core node leaves the cluster). + Previously, the replicant nodes were unable to rebalance connections to the core nodes, until the core cluster became whole again. + This was indicated by the error messages: `[error] line: 182, mfa: mria_lb:list_core_nodes/1, msg: mria_lb_core_discovery divergent cluster`. + + [Mria PR](https://github.com/emqx/mria/pull/123/files) + +- [#10043](https://github.com/emqx/emqx/pull/10043) Fixed two bugs introduced in v5.0.18. + * The environment varialbe `SSL_DIST_OPTFILE` was not set correctly for non-boot commands. + * When cookie is overridden from environment variable, EMQX node is unable to start. + +- [#10044](https://github.com/emqx/emqx/pull/10044) Fix node information formatter for stopped nodes in the cluster. diff --git a/changes/v5.0.19.zh.md b/changes/v5.0.19.zh.md new file mode 100644 index 000000000..065049671 --- /dev/null +++ b/changes/v5.0.19.zh.md @@ -0,0 +1,24 @@ +# v5.0.19 + +## 修复 + +- [#10032](https://github.com/emqx/emqx/pull/10032) 当资源管理器忙于尝试与远程建立连接时,资源可能还缺少任何度量信息。 在此修复之前,`bridges/' API 处理程序在这种情况下崩溃。 + +- [#10037](https://github.com/emqx/emqx/pull/10037) 修复 Swagger API 文档渲染崩溃。 + 在版本 5.0.18 中,引入了一个错误,导致配置 schema 中出现了重复的配置名称,进而导致生成了无效的 Swagger spec。 + +- [#10041](https://github.com/emqx/emqx/pull/10041) 为 influxdb 桥接的配置项 `write_syntax` 描述文档增加了类型标识符的提醒。 + 另外在配置中支持 `timestamp` 使用一个常量。 + +- [#10042](https://github.com/emqx/emqx/pull/10042) 改进 `core` 集群被分割时 `replicant`节点的行为。 + 修复前,如果 `core` 集群分裂成两个小集群(例如一个节点离开集群)时,`replicant` 节点无法重新平衡与核心节点的连接,直到核心集群再次变得完整。 + 这种个问题会导致 replicant 节点出现如下日志: + `[error] line: 182, mfa: mria_lb:list_core_nodes/1, msg: mria_lb_core_discovery divergent cluster`。 + + [Mria PR](https://github.com/emqx/mria/pull/123/files) + +- [#10043](https://github.com/emqx/emqx/pull/10043) 修复 v5.0.18 引入的 2 个bug。 + * 环境变量 `SSL_DIST_OPTFILE` 的值设置错误导致节点无法为 Erlang distribution 启用 SSL。 + * 当节点的 cookie 从环境变量重载 (而不是设置在配置文件中时),节点无法启动的问题。 + +- [#10044](https://github.com/emqx/emqx/pull/10044) 修复 v5.0.18 引入的一个节点信息序列化时发生的错误。