Major features:
- Added report strategy for all connectors by default - strategy is `ON_RECEIVED` that keeps gateway data report behaviour not changed, `sendDataOnlyOnChange` processing removed. By imbeacon in https://github.com/thingsboard/thingsboard-gateway/pull/1554, by samson0v https://github.com/thingsboard/thingsboard-gateway/pull/1576
- All converter refactored to return entities - `ConvertedData`, that contains `TelemetryEntry` and `Attributes` inside. Old format of data returning (in dicts is deprecated and no longer supported).
- Statistics improvements - Changed information in statistics, added separated parameters to control statistics report periods: `statsSendPeriodInSeconds` and `customStatsSendPeriodInSeconds`
- Added Async Modbus connector (At the moment can be only manually chosen, will be added to UI after ThingsBoard 3.9) by samson0v in https://github.com/thingsboard/thingsboard-gateway/pull/1567
- Connection stability to platform improved
- Improved data converting and splitting for batch sending to the platform.
- Added ability to configure custom RPC execution by khalilKian in https://github.com/thingsboard/thingsboard-gateway/pull/1552
- Added `TB_GW_SECURITY_TYPE` env variable, it allows to set the type of security that you want to use, allowed values: `accessToken`, `usernamePassword` and `tlsAccessToken`
Minor features:
- Added `TB_GW_CONFIG` env variable - you can set it to configure location of config folder for the gateway.
- Reduced CPU usage
- Refactored sending information about errors and logs
- Improved device management
- MQTT Connector improvements
- Socket connector improvements
- FTP connector improvements
- ODBC connector improvements
- General optimization
Bug fixes:
- Fixed looping reconnect on credentials type changed by samson0v in https://github.com/thingsboard/thingsboard-gateway/pull/1586
- Fixed arguments order for MQTT Client by samson0v in https://github.com/thingsboard/thingsboard-gateway/pull/1569
* Fixed processing gateway RPC by samson0v in https://github.com/thingsboard/thingsboard-gateway/pull/1571, https://github.com/thingsboard/thingsboard-gateway/pull/1572
* Fixed devices removal handling by samson0v in https://github.com/thingsboard/thingsboard-gateway/pull/1570
New Contributors
* khalilKian made their first contribution in https://github.com/thingsboard/thingsboard-gateway/pull/1552
**Full Changelog**: https://github.com/thingsboard/thingsboard-gateway/compare/3.5.3...3.6