# MQTTX v1.9.5 Release Notes

> Released: 2023-08-04 · Canonical: https://mqttx.app/changelogs/v1.9.5

> 🎨 Enhanced JSON syntax error messages and JSON highlighting in messages

MQTTX 1.9.5 has improved error messages for JSON syntax issues and support for JSON highlighting in messages. It also includes style and UI modifications to enhance the user experience.

## Features 🌈

- **JSON Highlighting Support**: Messages now support JSON highlighting for better readability.
- **Lazy Update Detection and Component Loading**: Enhanced system efficiency by implementing lazy update detection and component loading.
- **Improved JSON Syntax Error Messages**: Enhanced error messages related to JSON syntax for better troubleshooting.

## Fixes 🛠

- **Text Processing Error**: Resolved text processing error for better functionality.
- **Style Modifications**: Several UI and style modifications for an improved user experience, including the ability to fully display user properties in messages.
- **Dark Mode Adaptation**: Tabs border color now adapts to dark mode settings.
- **Highlighting for Valid JSON Code**: JSON code now gets highlighted when the payload is valid.
- **Scroll Bar Style**: Modified scroll bar style for better navigation.

## Preview 🖼️

<img width="1093" alt="image" src="https://github.com/emqx/MQTTX/assets/21299158/10416200-cd4f-4497-aa04-31329c521c81">

## Known Issues❗️

- Escape "\n" in message-type text.
- Message display truncates long user properties and does not expand as space is available.
- Layout issue after maximizing.
- UI - Wrong format of the sub-topic column.
- MQTTX shows a blank screen after upgrading to 1.9.4.

## What's Changed ♻️
* fix(connections):fix text processing error by @ni00 in https://github.com/emqx/MQTTX/pull/1359
* feat(ci): upload packages to aws s3 by @Swilder-M in https://github.com/emqx/MQTTX/pull/1353
* chore(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in https://github.com/emqx/MQTTX/pull/1344
* chore(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in https://github.com/emqx/MQTTX/pull/1368
* chore(deps): bump semver from 5.7.1 to 5.7.2 in /web by @dependabot in https://github.com/emqx/MQTTX/pull/1351
* chore(ci): add node version by @ysfscream in https://github.com/emqx/MQTTX/pull/1374
* improve(upodate):lazy update detection and component loading by @ni00 in https://github.com/emqx/MQTTX/pull/1377
* fix(connections-detail):use event listeners instead of onsize events by @ni00 in https://github.com/emqx/MQTTX/pull/1379
* style(subscriptions-list):modify scrollbar style by @ni00 in https://github.com/emqx/MQTTX/pull/1378
* style(key-value-editor):modify el-input styles by @ni00 in https://github.com/emqx/MQTTX/pull/1380
* style(connections):fix some styles by @ni00 in https://github.com/emqx/MQTTX/pull/1382
* feat(msg-left-item):support json highlight by @ni00 in https://github.com/emqx/MQTTX/pull/1381
* improve(msg-left-item):add msg type meta props by @ni00 in https://github.com/emqx/MQTTX/pull/1383
* style(msg-left-item):modify topic color bar by @ni00 in https://github.com/emqx/MQTTX/pull/1384
* feat(msg): change the highlight code theme by @ysfscream in https://github.com/emqx/MQTTX/pull/1385
* fix(msg): highlight json code when payload is valid by @ysfscream in https://github.com/emqx/MQTTX/pull/1386
* fix(script): adapt the tabs border color to dark mode by @ysfscream in https://github.com/emqx/MQTTX/pull/1387
* chore(pkg): upgrade version 1.9.5 by @ysfscream in https://github.com/emqx/MQTTX/pull/1389
* feat(settings): add enabled json highlight setting by @ysfscream in https://github.com/emqx/MQTTX/pull/1390
* chore(ci): fix can not cp to aws s3 by @ysfscream in https://github.com/emqx/MQTTX/pull/1392
* chore(ci): fix aws s3 upload cli by @Swilder-M in https://github.com/emqx/MQTTX/pull/1395


**Full Changelog**: https://github.com/emqx/MQTTX/compare/v1.9.4...v1.9.5
