# MQTTX v1.9.9 Release Notes

> Released: 2024-02-05 · Canonical: https://mqttx.app/changelogs/v1.9.9

> 🚀 Extended Formats, 🛠 Debug Logging, and 🔧 UI Flexibility

## Features 🌈

- **Connection Events (Desktop/Web/CLI)**: Adds support for disconnect and offline events, improving the robustness of connection handling.
- **CBOR Support (Desktop/CLI)**: Introduces CBOR as a new option for data type decoding, enhancing the flexibility in handling different message formats.
- **Log Level (Desktop)**: Added a log level field with debug support, allowing customized log verbosity.
- **Connection List Visibility (Desktop)**: Enhances the desktop interface by allowing users to hide or show the connection list, providing a more streamlined experience.
- **CLI Enhancements**: Added a message limit option to the bench pub command for improved publishing control.

## Improvements 💫

 - **MQTTX Copilot Enhancements**: The MQTTX Copilot now supports a wider array of client code generation categories for both software and hardware projects, including:
  	- **UI Frameworks**: Vue.js and React.
  	- **Hardware Platforms**: ESP32, ESP8266, Arduino, Raspberry Pi.
  	- **Mobile Applications**: Android, iOS, React Native, Flutter.
- **UI/UX Enhancements (Desktop/Web)**: Refinements in log message clarity, icon updates, and extracted hard-coded style values into enums contribute to a more cohesive and user-friendly interface.
- **Documentation and Readme Updates**: Simplification and updates to the CLI readme and badges, making it easier for users to get started and understand the tool's capabilities.
- **Dependency Updates**: Bumps `follow-redirects` library across different project parts, ensuring improved stability and performance.
- **Codebase Refinements**: Numerous refactorings across desktop and web versions, including payload type table migration.

## Fixes 🛠

- **Connection Issues (Desktop)**: Fixes a bug where the reconnect feature would only work on the current page and addresses an issue with hiding the connection list in new windows.

## Preview 🖼️

<img width="1093" alt="image" src="https://github.com/emqx/MQTTX/assets/21299158/3291f570-d67e-4889-b2c8-d1727985e416">

## What's Changed ♻️
* docs(cli): update cli readme by @ysfscream in https://github.com/emqx/MQTTX/pull/1543
* docs(readme): update badges by @ysfscream in https://github.com/emqx/MQTTX/pull/1546
* feat(desktop): connection support disconnect and offline event by @ysfscream in https://github.com/emqx/MQTTX/pull/1549
* feat(web): add disconnect event by @ysfscream in https://github.com/emqx/MQTTX/pull/1550
* feat(cli): add disconnect event by @ysfscream in https://github.com/emqx/MQTTX/pull/1551
* chore(deps): bump follow-redirects from 1.14.8 to 1.15.4 by @dependabot in https://github.com/emqx/MQTTX/pull/1553
* chore(deps): bump follow-redirects from 1.15.1 to 1.15.4 in /web by @dependabot in https://github.com/emqx/MQTTX/pull/1554
* refactor(desktop): improve log message clarity and consistency by @ysfscream in https://github.com/emqx/MQTTX/pull/1555
* chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /cli by @dependabot in https://github.com/emqx/MQTTX/pull/1556
* feat(settings): add log level field by @ysfscream in https://github.com/emqx/MQTTX/pull/1557
* docs(readme): simplify cli readme by @ysfscream in https://github.com/emqx/MQTTX/pull/1559
* fix(connection): the reconnect can only works on current page by @ysfscream in https://github.com/emqx/MQTTX/pull/1560
* feat(decoder): added CBOR as new option data type to decode the paylo… by @Danfx in https://github.com/emqx/MQTTX/pull/1547
* refactor(msg): payload type table migration and update by @ysfscream in https://github.com/emqx/MQTTX/pull/1562
* feat(msg): cbor support on publisher by @ysfscream in https://github.com/emqx/MQTTX/pull/1563
* style(convertPayload.ts): adding formatting text on publish field whe… by @Danfx in https://github.com/emqx/MQTTX/pull/1564
* feat(cli): cbor format support by @ysfscream in https://github.com/emqx/MQTTX/pull/1565
* feat(desktop): connection list hide support by @ysfscream in https://github.com/emqx/MQTTX/pull/1567
* refactor(desktop): extracted hard-coded style values into enums by @ysfscream in https://github.com/emqx/MQTTX/pull/1569
* fix(desltop): fix editor layout issue when conn-list visible change by @ysfscream in https://github.com/emqx/MQTTX/pull/1570
* feat(cli): add message limit option to bench pub command by @Red-Asuka in https://github.com/emqx/MQTTX/pull/1571
* refactor(desktop): all icons updated by @ysfscream in https://github.com/emqx/MQTTX/pull/1574
* refactor(web): sync the new icons by @ysfscream in https://github.com/emqx/MQTTX/pull/1576
* fix(desktop): fix can not hide the conn-list in new window by @ysfscream in https://github.com/emqx/MQTTX/pull/1577
* refactor(copilot): add more category code generators by @ysfscream in https://github.com/emqx/MQTTX/pull/1578
* 1.9.9 by @ysfscream in https://github.com/emqx/MQTTX/pull/1581

## New Contributors ✨
* @Danfx made their first contribution in https://github.com/emqx/MQTTX/pull/1547

**Full Changelog**: https://github.com/emqx/MQTTX/compare/v1.9.8...v1.9.9
