EMQ X 4.0.0 is now released, including following changes:
General
Made the following changes:
Optimize internal code, reduce CPU and memory usage, and greatly improve performance
Optimize handling of MQTT packets
Rule engine supports new SQL
Modify metrics naming and add more metrics
Modify parameters of hooks and add more hooks
emqtt provides command line interfaces to publish and subscribe
Fixed the following issues:
Fix the issue that failure of SSL handshake could cause crash
Fix the issue that
max_subscriptions
don't workingFix message out-of-order issues when forwarding across clusters
Fix the issue that REST API and CLI cannot get multiple routes for a topic
REST API
Made the following changes:
Support IPv6
The default listening port for the HTTP API server is changed from 8080 to 8081
Remove all REST API related with sessions
connections
APIs change toclients
APIs,the new APIs support features in sessionsSupport return the real topic of shared subscription in querying subscriptions API
Support to configure the default AppID and AppSecret
The HTTP API for publishing message now supports base64 encoded payload
Fixed the following issues:
- Fix the issue that encoded URI isn't handled correctly
Authentication
Made the following changes:
HTTP authentication plugin supports users to defining HTTP request headers in profile
Clientid and username authentication plugin Resupport to configure the default clientid and username in profile