Skip to content

Commit

Permalink
sync blog
Browse files Browse the repository at this point in the history
  • Loading branch information
emqx-ci-robot authored and Red-Asuka committed Dec 19, 2023
1 parent e6408c2 commit 6716406
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ The easiest way to start MQTT service. Connect your IoT devices to any cloud wit
## [EMQX Enterprise](https://www.emqx.com/zh/blog/category/enterprise)
The world's most scalable and reliable MQTT messaging platform to connect, move and process your data in business-critical scenarios for the IoT era.

- [EMQX Enterprise 5.3.2 发布:异步 MQTT 文件传输](https://www.emqx.com/zh/blog/emqx-enterprise-5-3-2-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/zh/202312/emqx-enterprise-5-3-2-release-notes.md))
- [EMQX Enterprise 4.4.23 发布:认证授权与数据集成支持 Upstash Redis](https://www.emqx.com/zh/blog/emqx-enterprise-4-4-23-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/zh/202312/emqx-enterprise-4-4-23-release-notes.md))
- [EMQX 性能调优:TCP SYN 队列与 Accept 队列](https://www.emqx.com/zh/blog/emqx-performance-tuning-tcp-syn-queue-and-accept-queue) ([Edit](https://github.com/emqx/blog/blob/main/zh/202312/emqx-performance-tuning-tcp-syn-queue-and-accept-queue.md))
- [利用 EMQX 和 Neuron 为智能制造构建坚实数据基础](https://www.emqx.com/zh/blog/consolidating-the-foundation-of-smart-manufacturing-with-emqx-and-neuron) ([Edit](https://github.com/emqx/blog/blob/main/zh/202312/consolidating-the-foundation-of-smart-manufacturing-with-emqx-and-neuron.md))
- [利用 EMQX 和 Neuron 融合 OT 和 IT 数据源](https://www.emqx.com/zh/blog/first-step-to-a-smart-factory) ([Edit](https://github.com/emqx/blog/blob/main/zh/202312/first-step-to-a-smart-factory.md))
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ Build a reliable, efficient and industry-specific Internet of Vehicles platform
## [MQTTX](https://www.emqx.com/en/blog/category/mqttx)
MQTTX is a Fully Open-source MQTT 5.0 cross-platform Desktop Client, makes it easy and quick to create multiple simultaneous online MQTT client connections, test the connection, publish, and subscribe functions of MQTT/TCP, MQTT/TLS, MQTT/WebSocket as well as other MQTT protocol features.

- [MQTTX 1.9.7: Introducing Copilot - Your AI-Powered MQTT Assistant](https://www.emqx.com/en/blog/mqttx-1-9-7-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/en/202312/mqttx-1-9-7-release-notes.md))
- [MQTTX 1.9.6 Released: ALPN Protocol Support, Optimized Publish Options Interface](https://www.emqx.com/en/blog/mqttx-v-1-9-6-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/en/202309/mqttx-v-1-9-6-release-notes.md))
- [Explore New Features of MQTT 5.0: Usage Examples Based on MQTTX CLI](https://www.emqx.com/en/blog/demonstrate-mqtt-5-0-features-using-mqttx-cli) ([Edit](https://github.com/emqx/blog/blob/main/en/202309/demonstrate-mqtt-5-0-features-using-mqttx-cli.md))
- [Simulating the Future: Crafting IoT Scenarios with ChatGPT and MQTTX](https://www.emqx.com/en/blog/simulating-the-future-crafting-iot-scenarios-with-chatgpt-and-mqttx) ([Edit](https://github.com/emqx/blog/blob/main/en/202308/simulating-the-future-crafting-iot-scenarios-with-chatgpt-and-mqttx.md))
Expand Down
118 changes: 118 additions & 0 deletions en/202312/mqttx-1-9-7-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
The [MQTT 5.0 client tool MQTTX](https://mqttx.app/) has recently rolled out its version 1.9.7. A significant highlight of this release is the introduction of **MQTTX Copilot**, our innovative MQTT AI assistant, specially designed to offer crucial convenience to users. This feature improves user interaction by providing intuitive assistance for better understanding and utilization of MQTT and EMQX. The update also addresses several bug fixes, leading to a notable improvement in the overall user experience.

> *Download the latest version here:* [*https://mqttx.app/downloads*](https://mqttx.app/downloads)
## MQTTX Copilot

MQTTX Copilot is an AI assistant designed to help with MQTT-related queries, provide solutions for common issues, and offer insights on best practices.

Using MQTTX and [EMQX](https://www.emqx.com/en/products/emqx) can be easier than ever with this tool. It simplifies testing MQTT connections, publishing and subscribing to topics, debugging, and developing MQTT applications and brokers, enriching your MQTT experience.

![MQTTX Copilot Preview](https://assets.emqx.com/images/d072d9c582feed8f2c50159f232020b5.png)

<center>MQTTX Copilot Preview</center>

### Preparation Before Getting Started

MQTTX Copilot is powered by OpenAI's GPT models. To use it, you need to configure your OpenAI API key on the MQTTX settings page located at the bottom. You can find detailed steps and information for getting your API key on the [OpenAI API Keys page](https://platform.openai.com/api-keys).

Also, remember to choose a language model version(e.g. GPT-3.5 or GPT-4) that aligns with your specific needs and OpenAI API Key requirements.

![Copilot Settings](https://assets.emqx.com/images/8f4232445a2e76400032a806597ca96a.png)

<center>Copilot Settings</center>

### Error Analysis with One Click

When encountering errors during connection or subscription, you can swiftly click the “Ask Copilot” button within the error prompt. Upon activation, MQTTX Copilot will assist you in analyzing potential causes for the issue, enabling you to methodically check and troubleshoot each possibility to identify and resolve the error.

![Error Analysis with One Click 1](https://assets.emqx.com/images/f3d2cc09ab5c29190b8dd935f40fa7cd.png)
![Error Analysis with One Click 2](https://assets.emqx.com/images/8b22f4a77ce42a821dbcab57615706a9.png)

### AI-Powered Code Generation

MQTTX Copilot now offers a one-click solution for generating MQTT client codes tailored to your current test connections. This feature greatly simplifies setting up MQTT clients in various programming languages. Currently, MQTTX Copilot supports code generation for several languages, including:

- JavaScript
- Python
- Java
- Golang
- ...

This functionality ensures a more streamlined and efficient development process, making it easier for users to integrate MQTT into their projects.

![AI-Powered Code Generation](https://assets.emqx.com/images/5bc0faa7671f0f6cc7f7af29b59ab063.png)

### MQTT FAQs and EMQX Tutorials

MQTTX Copilot offers tutorials on EMQX installation and usage, along with MQTT FAQs guidance, to enhance users' proficiency in MQTT and EMQX.

![MQTT FAQs and EMQX Tutorials](https://assets.emqx.com/images/a2ed4853459addf386cd01b4932aef09.png)

### Automated Test Data Generation

MQTTX Copilot simplifies test payload generation, allowing users to analyze and optimize MQTT data implementations quickly.

![Automated Test Data Generation](https://assets.emqx.com/images/a86a250549e6c173fa34a91402ede53c.png)

### Current Connection Information

With just one click, MQTTX Copilot offers valuable insights into MQTT connections by analyzing and interpreting connection information. This feature empowers users to effectively manage and optimize their MQTT connections.

![Current Connection Information](https://assets.emqx.com/images/e747eba5a7f50c3258d4d6e0f3c46a0a.png)

Besides, MQTTX Copilot allows users to edit prompt messages and quickly access relevant information using the `@connection` keyword. This enables customization and other upcoming features like topic management, automatic payload filling, and EMQX log analysis to enhance the MQTTX Copilot experience.

## Fixes and Improvements

In addition to the launch of MQTTX Copilot, MQTTX 1.9.7 includes a variety of optimizations and fixes:

### JSON Data Precision (Desktop, CLI, Web)

The issue of data precision loss in JSON messages has been solved, ensuring an accurate representation of long-type numerical data. (BigInt Support)

![JSON Data Precision (Desktop, CLI, Web)](https://assets.emqx.com/images/836037793c9f5bf1ffe7b532b97041ce.png)

### SSL Option Clarified (Desktop)

It enhanced the SSL option to include `CA Signed server certificates` and `CA or Self-Signed certificates` for improved clarity.

![SSL Option Clarified (Desktop)](https://assets.emqx.com/images/5dc5f442c89b17c5e105e9578b235ebf.png)

### Topic-Alias Issue Fix (Web, CLI):

The topic-alias maximum error in web and CLI connections has been resolved. This fixes the issue of MQTTX CLI not receiving messages with topic aliases properly, and also addresses the problem of not being able to set a maximum topic alias.

### Others

- **Reconnection Issue Fixed (Desktop)**: Addressed issues with reconnection after disconnection.
- **Unused Placeholders Removed (Desktop)**: Cleaned up unused placeholders in code.
- **Translation Updates (Desktop, Web)**: Improved translations for specific languages.
- **Typo Corrections (Desktop)**: Corrected typographical errors in documentation or code.
- **Web README Update**: Improved the README documentation for MQTTX Web.

## Special Thanks

Huge thanks to [@ni00](https://github.com/ni00) for resolving critical issues like JSON precision and topic alias, and to [@Rotzbua](https://github.com/Rotzbua) for documentation and engineering fixes in MQTTX.

## Roadmap

- **MQTTX Copilot Enhancements:** Upgrades to include stream output, payload autofill, payload analysis, and automatic creation of connections and subscriptions to topics.

- **IoT Scenario Data Simulation:** Sync this feature to the desktop client to simplify the testing of IoT scenarios.
- **Sparkplug B Support:** Extend the functionalities of MQTTX to include support for Sparkplug B.
- **QoS 0 Message Storage Optimization:** Reduce storage space usage through configurable options.
- **MQTT Debug Functionality:** Introduce features to assist users in debugging MQTT communications.
- **Automatic Chart Drawing:** Automatically transform received messages into charts for more straightforward analysis.
- **Plugin Functionality:** Launch a plugin system that supports protocol extensions such as [CoAP](https://www.emqx.com/en/blog/coap-protocol) and MQTT-SN.
- **Avro Message Format Support:** Introduce encoding and decoding functionalities for Avro message format.
- **Script Test Automation (Flow):** Simplify the creation and management of automated testing workflows.



<section class="promotion">
<div>
Try MQTTX for Free
</div>
<a href="https://www.emqx.com/en/try?product=MQTTX" class="button is-gradient px-5">Get Started →</a>
</section>
26 changes: 26 additions & 0 deletions zh/202312/emqx-enterprise-4-4-23-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[EMQX Enterprise](https://www.emqx.com/zh/products/emqx) 4.4.23 版本现已正式发布!

这是一个维护版本,优化了节点通信性能、并修复了 2 个 BUG,进一步提高了产品的稳定性。

## 性能提升

优化了用于节点间 MQTT 消息传输的 `gen_rpc` 库,改进了其对通道中积压消息的处理能力,从而使系统更快地从流量高峰中恢复。

## BUG 修复

以下是 BUG 修复列表:

- 修复规则引擎无法连接到 [Upstash](https://upstash.com/) Redis 的问题。修复前,在与 Redis 服务建立 TCP 连接之后,EMQX 的 Redis 驱动程序使用 [inline commands](https://redis.io/docs/reference/protocol-spec/#inline-commands) 来发送 AUTH 和 SELECT 命令。但 Upstash Redis 服务不支持 inline commands,导致 EMQX 无法连接到 Upstash Redis 服务。 修复后,EMQX 的 Redis 驱动使用 RESP (Redis Serialization Protocol) 来发送 AUTH 和 SELECT 命令。
- 为 "离线消息保存到 Redis" 动作和 Redis 资源的某些参数增加了合法性校验。
- 校验 "离线消息保存到 Redis" 动作的 "Redis Key 超期时间" 参数。
- 校验 Redis 资源的 "Redis 数据库" 参数。



<section class="promotion">
<div>
免费试用 EMQX 企业版
<div class="is-size-14 is-text-normal has-text-weight-normal">无限连接,任意集成,随处运行。</div>
</div>
<a href="https://www.emqx.com/zh/try?product=enterprise" class="button is-gradient px-5">开始试用 →</a>
</section>
51 changes: 51 additions & 0 deletions zh/202312/emqx-enterprise-5-3-2-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[EMQX Enterprise](https://www.emqx.com/zh/products/emqx) 5.3.2 版本现已正式发布!

这是一个维护版本,包含了几项小更新,主要进行了多项 BUG 修复,进一步提高了产品的稳定性。

## 功能更新

1. MQTT 文件传输能力得到了增强,现在客户端可以使用异步的方式进行文件传输:客户端可以通过 `$file-async/...` 主题进行文件传输,并通过 `$file-response/{clientId}` 主题订阅命令执行结果。相比于此前仅能通过 MQTT 5.0 专有特性 PUBACK 原因码获取传输结果而言,异步模式可以更好的用于 MQTT v3.1/v3.1.1 客户端,以及 MQTT 桥接传输的场景。
2. 将核心-复制数据库同步的默认 RPC 驱动从 `gen_rpc` 更改为 `rpc`,提升了核心副本数据复制的速度。

- 提升了 `emqx` 命令的性能。
- 为 Redis 授权数据源中的 Redis 命令添加了验证功能。此外,此次改进优化了认证和授权过程中 Redis 命令的解析,现在的解析符合 `redis-cli` 兼容性标准,并支持引号参数。

## BUG 修复

以下是 BUG 修复列表:

- [#11785](https://github.com/emqx/emqx/pull/11785) 拥有“查看者”角色的用户具有更改自己密码的权限,但无权更改其他用户密码。

- [#11757](https://github.com/emqx/emqx/pull/11757) 修复了下载不存在的追踪文件时返回的错误响应码。现在,响应码会返回 `404` 而不是 `500`

- [#11762](https://github.com/emqx/emqx/pull/11762) 修复了 EMQX 中 `built_in_database` 授权数据源的一个问题。现在在删除数据源时,所有 ACL 记录都会被彻底移除,解决了数据库残留的记录在重新创建授权数据源时仍然存在的问题。

- [#11771](https://github.com/emqx/emqx/pull/11771) 修复了通过 API/Dashboard 进行身份验证管理时 Bcrypt 盐轮次(salt rounds)的验证问题。

- [#11780](https://github.com/emqx/emqx/pull/11780) 修复了 `pbkdf2` 密码哈希算法中 `iterations` 字段的验证问题。现在,`iterations` 必须是严格正数。之前,`iterations` 可以被设置为 0,这会导致验证器无法正常工作。

- [#11791](https://github.com/emqx/emqx/pull/11791) 修复了 EMQX CoAP 网关中的一个问题,即心跳没有有效地维持连接的活跃状态。此修复确保心跳机制正确维持 CoAP 网关连接的活跃状态。

- [#11797](https://github.com/emqx/emqx/pull/11797) 修改了管理 `built_in_database` 授权数据源的 HTTP API 行为。如果未将 `built_in_database` 设置为授权数据源,这些 API 现在将返回 `404` 状态码,替换了以前的 `20X` 响应。

- [#11965](https://github.com/emqx/emqx/pull/11965) 优化了 EMQX 服务的停止过程,确保即使在存在不可用的 MongoDB 资源的情况下,也能够实现优雅停止。

- [#11975](https://github.com/emqx/emqx/pull/11975) 此修复解决了由于对端和服务器同时关闭套接字时发生竞争条件导致的冗余错误日志问题。以前,由操作系统和 EMQX 触发的并发套接字关闭事件会导致不必要的错误记录。通过改进事件处理,本次修复消除了不必要的错误信息。

- [#11987](https://github.com/emqx/emqx/pull/11987) 修复了在尝试设置 TCP/SSL 套接字的 `active_n` 选项时连接崩溃的问题。

在此修复之前,如果在连接过程中尝试设置 `active_n` 选项时套接字已经关闭,会导致 `case_clause` 崩溃。

- [#11754](https://github.com/emqx/emqx/pull/11754) 改进了 PostgreSQL 桥接的日志格式化功能,针对驱动程序返回的错误消息中的 Unicode 字符进行了处理。

更多功能变更和 BUG 修复请查看 [EMQX Enterprise 5.3.2 更新日志](https://www.emqx.com/zh/changelogs/enterprise/5.3.2)



<section class="promotion">
<div>
免费试用 EMQX 企业版
<div class="is-size-14 is-text-normal has-text-weight-normal">无限连接,任意集成,随处运行。</div>
</div>
<a href="https://www.emqx.com/zh/try?product=enterprise" class="button is-gradient px-5">开始试用 →</a>
</section>

0 comments on commit 6716406

Please sign in to comment.