# Changelog

## [2.0.20~7](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_7)

### Features

- Add a simple unit test ([47d98b64](https://github.com/espressif/esp-protocols/commit/47d98b64))

### Bug Fixes

- Fix mosquitto restart issue ([b438fe1d](https://github.com/espressif/esp-protocols/commit/b438fe1d), [#1022](https://github.com/espressif/esp-protocols/issues/1022))
- Add more stack to broker example ([6d82fdd0](https://github.com/espressif/esp-protocols/commit/6d82fdd0))

## [2.0.20~6](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_6)

### Features

- Add support for linux build ([58380585](https://github.com/espressif/esp-protocols/commit/58380585))

### Bug Fixes

- Fix mosquitto build on latest master ([ebc1258e](https://github.com/espressif/esp-protocols/commit/ebc1258e))
- Fix build with the new picolibc ([dc68bf87](https://github.com/espressif/esp-protocols/commit/dc68bf87))

## [2.0.20~5](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_5)

### Features

- Add support for basic MQTT authentication ([65b58aa0](https://github.com/espressif/esp-protocols/commit/65b58aa0))

### Bug Fixes

- Add optional mqtt deps to examples ([6f6110e3](https://github.com/espressif/esp-protocols/commit/6f6110e3))
- Update example to optionally use basic mqtt auth ([38384852](https://github.com/espressif/esp-protocols/commit/38384852))
- Fix unpwd-check wrap function ([ba3377b2](https://github.com/espressif/esp-protocols/commit/ba3377b2))
- Fix the version check ([9fbb6e6d](https://github.com/espressif/esp-protocols/commit/9fbb6e6d))

## [2.0.20~4](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_4)

### Features

- Update brokerless example to work with esp-peer ([76e45f72](https://github.com/espressif/esp-protocols/commit/76e45f72))

### Bug Fixes

- drop newlib from PRIV_REQUIRES ([6318022c](https://github.com/espressif/esp-protocols/commit/6318022c))
- Make esp-peer build optional ([03df9ae9](https://github.com/espressif/esp-protocols/commit/03df9ae9))
- Fix esp_webRTC deprecation with new FreeRTOS ([78ae2559](https://github.com/espressif/esp-protocols/commit/78ae2559))

## [2.0.20~3](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_3)


### Bug Fixes

- Support build on older IDF branches ([13b90ad1](https://github.com/espressif/esp-protocols/commit/13b90ad1))
- Fix misleading error when accepting connection ([fd410061](https://github.com/espressif/esp-protocols/commit/fd410061), [#807](https://github.com/espressif/esp-protocols/issues/807))
- Make mosquitto component c++ compatible ([c4169765](https://github.com/espressif/esp-protocols/commit/c4169765), [#817](https://github.com/espressif/esp-protocols/issues/817))
- include config.h before any system header ([1b1ede43](https://github.com/espressif/esp-protocols/commit/1b1ede43))

## [2.0.20~2](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_2)

### Features

- Allow user to enable SYS topic ([905b84fb](https://github.com/espressif/esp-protocols/commit/905b84fb))

### Bug Fixes

- Remove temp modification of IDF files ([9162de11](https://github.com/espressif/esp-protocols/commit/9162de11))
- Add a note about stack size ([dbd164dd](https://github.com/espressif/esp-protocols/commit/dbd164dd))

## [2.0.20~1](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_1)

### Bug Fixes

- Use sock_utils instead of func stubs ([3cd0ed37](https://github.com/espressif/esp-protocols/commit/3cd0ed37))
- Update API docs adding on-message callback ([5dcc3330](https://github.com/espressif/esp-protocols/commit/5dcc3330))

## [2.0.20](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20)

### Features

- Upgrade to mosquitto v2.0.20 ([3b2c614d](https://github.com/espressif/esp-protocols/commit/3b2c614d))
- Add support for on-message callback ([cdeab8f5](https://github.com/espressif/esp-protocols/commit/cdeab8f5))
- Add example with two brokers synced on P2P ([d57b8c5b](https://github.com/espressif/esp-protocols/commit/d57b8c5b))

### Bug Fixes

- Fix dependency issues moving esp-tls to public deps ([6cce87e4](https://github.com/espressif/esp-protocols/commit/6cce87e4))

## [2.0.28~0](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.28_0)

### Warning

Incorrect version number! This version published under `2.0.28~0` is based on upstream v2.0.18

### Features

- Added support for TLS transport using ESP-TLS ([1af4bbe1](https://github.com/espressif/esp-protocols/commit/1af4bbe1))
- Add API docs, memory consideration and tests ([a20c0c9d](https://github.com/espressif/esp-protocols/commit/a20c0c9d))
- Add target tests with localhost broker-client ([5c850cda](https://github.com/espressif/esp-protocols/commit/5c850cda))
- Initial moquitto v2.0.18 port (TCP only) ([de4531e8](https://github.com/espressif/esp-protocols/commit/de4531e8))

### Bug Fixes

- Fix clean compilation addressing _GNU_SOURCE redefined ([e2392c36](https://github.com/espressif/esp-protocols/commit/e2392c36))

### Updated

- docs(mosq): Prepare mosquitto component for publishing ([c2c4bf83](https://github.com/espressif/esp-protocols/commit/c2c4bf83))
