3.5 KiB
v4.3.22
Enhancements
-
We now trigger the
'message.acked'
hook after the CoAP gateway sends a message to the device and receives the ACK from the device #9264. With this change, the CoAP gateway can be combined with the offline message caching function (in the emqx enterprise), so that CoAP devices are able to read the missed messages from the database when it is online again. -
Support to use placeholders like
${var}
in the HTTPHeaders
of rule-engine's Webhook actions #9239. -
Asynchronously refresh the resources and rules during emqx boot-up #9199. This is to avoid slowing down the boot if some resources spend long time establishing the connection.
-
Add a warning log if the ACL check failed for subscription #9124. This is to make the ACL deny logging for subscription behave the same as for publish.
-
JWT ACL claim supports
all
action to imply the rules applie to bothpub
andsub
#9044. -
Added a log censor to avoid logging sensitive data #9189. If the data to be logged is a map or key-value list which contains sensitive key words such as
password
, the value is obfuscated as******
. -
Enhanced log security in ACL modules, sensitive data will be obscured. #9242.
Bug fixes
-
Fix that after uploading a backup file with an UTF8 filename, HTTP API
GET /data/export
fails with status code 500 #9224. -
Improve the display of rule's 'Maximum Speed' counter to only reserve 2 decimal places #9185. This is to avoid displaying floats like
0.30000000000000004
on the dashboard. -
Fix the issue that emqx prints too many error logs when connecting to mongodb but auth failed #9184.
-
Fix that after receiving publish in
idle mode
the emqx-sn gateway may panic #9024. -
"Pause due to rate limit" log level demoted from warning to notice #9134.
-
Restore old
emqx_auth_jwt
module API, so the hook callback functions registered in older version will not be invalidated after hot-upgrade #9144. -
Fixed the response status code for the
/status
endpoint #9210. Before the fix, it always returned200
even if the EMQX application was not running. Now it returns503
in that case. -
Fix message delivery related event encoding #9226 For rule-engine's input events like
$events/message_delivered
, and$events/message_dropped
, if the message was delivered to a shared-subscription, the encoding (to JSON) of the event will fail. Affected versions:v4.3.21
,v4.4.10
,e4.3.16
ande4.4.10
. -
Make sure Rule-Engine API supports Percent-encoding
rule_id
andresource_id
in HTTP request path #9190. Note that theid
inPOST /api/v4/rules
should be literals (not encoded) when creating arule
orresource
. See docs Create Rule Create Resource.