emqx/changes/v5.0.17-zh.md

41 lines
2.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# v5.0.17
## 增强
- [#9802](https://github.com/emqx/emqx/pull/9802) 现在 HTTP API 增加对 `HAProxy protocol` 的支持。
- [#9871](https://github.com/emqx/emqx/pull/9871) 允许占位符出现在 `authz` 规则中的主题里的任意位置。
例如:
`{allow, {username, "who"}, publish, ["t/foo${username}boo/${clientid}xxx"]}.`
- [#9910](https://github.com/emqx/emqx/pull/9910) 桥接 API 中增加 `start` 操作,允许失败后手动重新连接。
- [#9917](https://github.com/emqx/emqx/pull/9917) 停止构建 -alpine docker 镜像,因为它的大小比基于 debian slim 的普通镜像要大。
- [#9930](https://github.com/emqx/emqx/pull/9930) Prometheus 统计指标增加 `live_connections.count``live_connections.max` 指标。
- [#9936](https://github.com/emqx/emqx/pull/9936) 默认禁用 diskup os_mon 的一部分),不会在磁盘出现错误时发出警告。
- [#9954](https://github.com/emqx/emqx/pull/9954) 提升大并发下桥接性能。
## 修复
- [#9864](https://github.com/emqx/emqx/pull/9864) 修复会话清除后相关的排他订阅主题没有被清理的问题。
- [#9875](https://github.com/emqx/emqx/pull/9875) 当通过 HTTP API 上传一个损坏的插件包时,返回 `400`,且删除该插件包。
- [#9916](https://github.com/emqx/emqx/pull/9916) 修复 MQTT 桥接器无法验证 TLS 通配符服务器证书的问题。
- [#9922](https://github.com/emqx/emqx/pull/9922) 修复桥接资源缓冲区问题,如果大量异步查询失败将 inflight window 填满,则可能会卡住。
- [#9923](https://github.com/emqx/emqx/pull/9923) 修复在启动和关闭过程中发生错误时,日志中的 REPORT_CB/2 CRASH 错误。
- [#9938](https://github.com/emqx/emqx/pull/9938) 将一些 egress MQTT 桥接错误报告为 recoverable便于稍后重试。
- [#9946](https://github.com/emqx/emqx/pull/9946) MQTT 桥接配置参数 `reconnect_interval` 在 v5.0.16/e5.0.0 中被误删,
导致旧版本配置格式在升级后无法通过校验。此修复把配置格式还原,但是会忽略配置值。
- [#9951](https://github.com/emqx/emqx/pull/9951) 返回桥接 API 操作(`start|stop|restart`) 的多节点远程调用的错误信息。
- [#9952](https://github.com/emqx/emqx/pull/9952) 不允许对 ingress MQTT 桥接的 QoS 2 进行订阅。 但允许用户为 ingress MQTT 桥接配置 "clean_start" 选项。