# MQTTX v1.10.0 Release Notes

> Released: 2024-06-07 · Canonical: https://mqttx.app/changelogs/v1.10.0

> 🚀 This release introduces multiple enhancements, new features, and critical fixes across Desktop, CLI, and Web platforms.

## Features 🌈

- **Desktop:**
    - Added a database reset page to fix blank screens caused by corrupted files.
    - Added auto resubscription tips on the subscription dialog.
    - Handle large data in messages.
    - GPT-4o support for Copilot.
- **CLI:**
    - Support for reading and writing messages from/to files.
    - Added delimiter option for sub-file write.
    - Bench pub supports split file content.
    - Support for text output.
    - Added support for init and load config file.
    - Config support for max reconnect times.
    - Improved check update with Ora.
- **Web:**
    - Online address migration to → http://mqtt-client.emqx.com/
    - Added support for BASE_URL configuration via env file.
    - Supported clearing historical data.
    - Data export and import features.

## Improvements 💫

- **Desktop:**
    - Version update dialog adapted to dark mode.
    - Replaced [[nlark.com](http://nlark.com/)](http://nlark.com/) with [[npmjs.org](http://npmjs.org/)](http://npmjs.org/).
- **CLI:**
    - Improved logging format.
    - Upgraded node version to 18.
    - Refactored configs to options.
    - Grayed out output meta info.
    - Improved bench sub logs.
- **Web:**
    - Added a Docker local deployment guide.
    - Modified web deploy configuration.
- **Desktop, CLI, Web:**
    - Updated links from [[emqx.io](http://emqx.io/)](http://emqx.io/) to [[emqx.com](http://emqx.com/)](http://emqx.com/).

## Fixes 🛠

- **Desktop:**
    - Fixed the bug of topic filtering.
    - Fixed some TypeScript errors.
    - Shared one message event.
    - Removed useless i18n.
- **CLI:**
    - Fixed options handler for file write.
    - Fixed split option bugs and set a default value.
    - Fixed display issue with a split default value.
    - Fixed bench sub duplicate logs.
    - Fixed wrong prompt type on error.
    - Fixed sub-error logic with multiple topics.

## Breaking Changes ⚠️

- **CLI:** command changes: `config` -> `options`

| Old Command                                      | New Command                            |
|--------------------------------------------------|----------------------------------------|
| `mqttx conn -h broker.emqx.io -p 1883 --save`    | `mqttx conn -h broker.emqx.io -p 1883 --save-options`  |
| `mqttx conn --config /Users/mqttx-cli-config.json` | `mqttx conn --load-options /Users/mqttx-cli-options.json` |

## Preview 🖼️

![Screen Recording 2024-05-22 at 16 35 41](https://github.com/emqx/MQTTX/assets/21299158/06f68b8d-5787-42c4-875b-a1cc5ba4e314)

## What's Changed
* refactor(script): update the simulate script by @ysfscream in https://github.com/emqx/MQTTX/pull/1585
* feat(web): add env file to support configuration of BASE_URL by @DM1-1 in https://github.com/emqx/MQTTX/pull/1619
* docs(web-readme): add docker local deployment guide by @DM1-1 in https://github.com/emqx/MQTTX/pull/1621
* chore(deps): bump protobufjs from 7.2.4 to 7.2.5 by @dependabot in https://github.com/emqx/MQTTX/pull/1626
* chore(deps): bump protobufjs from 7.2.3 to 7.2.5 in /cli by @dependabot in https://github.com/emqx/MQTTX/pull/1625
* chore(deps): bump tar from 6.1.0 to 6.2.1 by @dependabot in https://github.com/emqx/MQTTX/pull/1624
* feat(desktop): add database reset page to fix blank screen from corrupted file by @DM1-1 in https://github.com/emqx/MQTTX/pull/1627
* feat(cli): support for reading and writing messages from/to files by @DM1-1 in https://github.com/emqx/MQTTX/pull/1629
* feat(cil): support for reading messages from files in bench by @DM1-1 in https://github.com/emqx/MQTTX/pull/1634
* fix(cli): fix options handler of file write by @DM1-1 in https://github.com/emqx/MQTTX/pull/1639
* fix(desktop): fix the bug of topic filtering by @XL-YiBai in https://github.com/emqx/MQTTX/pull/1638
* fix(services): add some ts ignores by @ysfscream in https://github.com/emqx/MQTTX/pull/1641
* feat(cli): bench pub support split file content by @ysfscream in https://github.com/emqx/MQTTX/pull/1642
* fix(cli): fix split option bugs & set default value for split option by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1643
* fix(cli): fix can not display split default value by @ysfscream in https://github.com/emqx/MQTTX/pull/1644
* feat(cli): add delimiter option for sub file write by @ysfscream in https://github.com/emqx/MQTTX/pull/1645
* chore(desktop): replace nlark.com to npmjs.org by @ysfscream in https://github.com/emqx/MQTTX/pull/1648
* feat(web): support clearing historical data by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1647
* feat(web): support data export by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1649
* feat(web): support data import by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1650
* feat(copilot): gpt-4o support by @ysfscream in https://github.com/emqx/MQTTX/pull/1653
* refactor(cli): improve logging format by @ysfscream in https://github.com/emqx/MQTTX/pull/1652
* chore(ci): modify web deploy by @Swilder-M in https://github.com/emqx/MQTTX/pull/1654
* chore(cli): upgrade the node version to 18 by @ysfscream in https://github.com/emqx/MQTTX/pull/1655
* feat(cli): support init and load config file by @ysfscream in https://github.com/emqx/MQTTX/pull/1656
* feat(cli): support init and load config file by @ysfscream in https://github.com/emqx/MQTTX/pull/1657
* feat(cli): apply the config file by @ysfscream in https://github.com/emqx/MQTTX/pull/1662
* feat(cli): support text output by @ysfscream in https://github.com/emqx/MQTTX/pull/1664
* feat(cli): improve check update with ora by @ysfscream in https://github.com/emqx/MQTTX/pull/1665
* refactor(cli): configs -> options by @ysfscream in https://github.com/emqx/MQTTX/pull/1666
* refactor(cli): gray the output meta info by @ysfscream in https://github.com/emqx/MQTTX/pull/1668
* fix(cli): fix bench sub duplicate logs by @ysfscream in https://github.com/emqx/MQTTX/pull/1669
* fix(cli): update wrong prompt type when error by @ysfscream in https://github.com/emqx/MQTTX/pull/1670
* feat(cli): config support max reconnect times by @ysfscream in https://github.com/emqx/MQTTX/pull/1671
* fix(cli): fix sub error logic with multi topics by @ysfscream in https://github.com/emqx/MQTTX/pull/1672
* 1.10.0 by @ysfscream in https://github.com/emqx/MQTTX/pull/1673
* refactor(cli): improve bench sub logs by @ysfscream in https://github.com/emqx/MQTTX/pull/1675
* fix(desktop): version update dialog adapt to dark mode by @ysfscream in https://github.com/emqx/MQTTX/pull/1676
* docs(cli): Increase recommended node version to 18.*.* in cli README by @yigitpirildak in https://github.com/emqx/MQTTX/pull/1679
* fix(desktop): fix some ts errors by @ysfscream in https://github.com/emqx/MQTTX/pull/1681
* feat(desktop): add auto resub tips on sub dialog by @ysfscream in https://github.com/emqx/MQTTX/pull/1682
* fix(links): emqx.io -> emqx.com by @ysfscream in https://github.com/emqx/MQTTX/pull/1683
* fix(desktop): share one message event by @ysfscream in https://github.com/emqx/MQTTX/pull/1684
* feat(desktop): handle the large data on the messages by @ysfscream in https://github.com/emqx/MQTTX/pull/1685
* fix(desktop): remove useless i18n by @ysfscream in https://github.com/emqx/MQTTX/pull/1686
* chore(cli_ci): upgrade the node version to 18 by @ysfscream in https://github.com/emqx/MQTTX/pull/1688

## New Contributors
* @yigitpirildak made their first contribution in https://github.com/emqx/MQTTX/pull/1679

**Full Changelog**: https://github.com/emqx/MQTTX/compare/v1.9.10...v1.10.0
