# MQTTX v1.8.1 Release Notes

> Released: 2022-07-29 · Canonical: https://mqttx.app/changelogs/v1.8.1

> 🚚  Automatic update support for software packages 📦

## Features 🌈

- **MQTT X**: Automatic update (Thanks @laybrid)
- **MQTT X**: Default connection using MQTT 5.0
- **MQTT X**: Topic is validated before publishing (Cannot contain #, +, $, etc.)
- **MQTT X CLI**: Support MQTT 5.0 connection
- **MQTT X CLI**: Support MQTT 5.0 for User Properties and Subscription Options
- **MQTT X CLI**: Add the `conn` command to test the connection
- **MQTT X Web**: UI style updates, synchronized with MQTT X

## Fix 🛠

- **MQTT X**: Fixed exited unexpectedly on macOS
- **MQTT X**: Fixed User Properties display issue
- **MQTT X CLI**: Fixed invalid `clean` option

## The New ✨

- MQTT X CLI Repo 👉 https://github.com/emqx/MQTTX/tree/main/cli
- MQTT X Web Repo 👉 https://github.com/emqx/MQTTX/tree/main/web
- MQTT X Web Online 👉 http://www.emqx.io/online-mqtt-client

## Preview 🖼

![mqttx-conn](https://user-images.githubusercontent.com/21299158/181675498-ee381cad-eedf-4da2-be28-9002fa9d8d2f.png)

<img width="1495" alt="image" src="https://user-images.githubusercontent.com/21299158/181675740-67999420-44b9-48e5-a8ea-c230a834dd46.png">

## What's Changed
* chore(deps): bump shell-quote from 1.7.2 to 1.7.3 in /web by @dependabot in https://github.com/emqx/MQTTX/pull/959
* docs(readme): update cli readme by @ysfscream in https://github.com/emqx/MQTTX/pull/961
* docs(readme): update web readme by @ysfscream in https://github.com/emqx/MQTTX/pull/962
* docs(readme): update cli readme by @ysfscream in https://github.com/emqx/MQTTX/pull/963
* docs(readme): update cli readme by @ysfscream in https://github.com/emqx/MQTTX/pull/964
* docs(readme): update readme by @ysfscream in https://github.com/emqx/MQTTX/pull/965
* chore(cli): release mqttx-cli v1.8.1 by @Red-Asuka in https://github.com/emqx/MQTTX/pull/966
* docs(readme): update web readme by @ysfscream in https://github.com/emqx/MQTTX/pull/967
* feat(cli): add main module & modify bin executable file by @Red-Asuka in https://github.com/emqx/MQTTX/pull/971
* docs(readme): update homebrew by @ysfscream in https://github.com/emqx/MQTTX/pull/972
* chore(cli): set default client id by @Red-Asuka in https://github.com/emqx/MQTTX/pull/975
* chore(deps): bump moment from 2.29.2 to 2.29.4 by @dependabot in https://github.com/emqx/MQTTX/pull/980
* chore(deps): bump moment from 2.29.2 to 2.29.4 in /web by @dependabot in https://github.com/emqx/MQTTX/pull/981
* docs(readme): update readme by @ysfscream in https://github.com/emqx/MQTTX/pull/982
* chore(web): modify router mode & public path by @Red-Asuka in https://github.com/emqx/MQTTX/pull/984
* feat(page): set page title & description by @Red-Asuka in https://github.com/emqx/MQTTX/pull/985
* feat(ci): add deploy website by @Swilder-M in https://github.com/emqx/MQTTX/pull/986
* feat(src/main/updateChecker.ts): add a feature for automatic updates by @laybrid in https://github.com/emqx/MQTTX/pull/978
* chore(web): modify utm params & update web readme by @Red-Asuka in https://github.com/emqx/MQTTX/pull/988
* fix(deploy): upload  dist to oss by @Swilder-M in https://github.com/emqx/MQTTX/pull/989
* feat(web): add google analytics by @Red-Asuka in https://github.com/emqx/MQTTX/pull/991
* feat(cli): add connect command & support the user properties for MQTT 5.0 by @Red-Asuka in https://github.com/emqx/MQTTX/pull/992
* chore(deps): bump terser from 4.8.0 to 4.8.1 in /web by @dependabot in https://github.com/emqx/MQTTX/pull/994
* chore(deps): bump terser from 4.8.0 to 4.8.1 by @dependabot in https://github.com/emqx/MQTTX/pull/993
* fix(properties): fix user properties display issue by @Red-Asuka in https://github.com/emqx/MQTTX/pull/998
* fix(license): fix licnese warning by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1000
* chore(desktop): modify the default mqtt version from 3.1.1 to 5.0 by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1001
* chore(web): modify the default mqtt version from 3.1.1 to 5.0 by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1003
* fix(license): recover the root license file by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1006
* style(web): synchronize styles by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1004
* feat(web): add version & releases link by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1007
* feat(desktop): add publish topic validation by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1008
* chore(pkg): 1.8.0 -> 1.8.1 by @ysfscream in https://github.com/emqx/MQTTX/pull/1009
* fix(background): fix exited unexpectedly on macos by @ysfscream in https://github.com/emqx/MQTTX/pull/1010
* fix(cli): change clean to no-clean option by @ysfscream in https://github.com/emqx/MQTTX/pull/1011
* fix(ci): fix deploy web CI failed issue by @ysfscream in https://github.com/emqx/MQTTX/pull/1012
* fix(cli): modify user properties description by @ysfscream in https://github.com/emqx/MQTTX/pull/1013
* feat(cli/sub): add mqtt5 sub options by @ysfscream in https://github.com/emqx/MQTTX/pull/1014
* chore(format): add web and cli code format by @ysfscream in https://github.com/emqx/MQTTX/pull/1015
* fix(ci): add cli build action and modify web action by @Swilder-M in https://github.com/emqx/MQTTX/pull/1016

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

**Full Changelog**: https://github.com/emqx/MQTTX/compare/v1.8.0...v1.8.1
