Skip to content

Releases: gausby/gen_mqtt

GenMQTT 0.3.1

24 Jun 12:13

Choose a tag to compare

This release simplifies the installation of the module significantly, before one had to include a :vmq_commons dependency via Github. Now it is possible to just add {:gen_mqtt, "~> 0.3.1"} to the deps section in the mix.exs-file.

Thanks to Erlio for publishing their vmq_commons package to the Hex package manager. <3

v0.3.0

22 Jun 19:04

Choose a tag to compare

v0.3.0 introduces a retain option on the publish function. Retained messages are described in the VerneMQ documentation.

# Send a retained message to my_topic
GenMQTT.publish(pid, "my_topic", "my payload", 0, true)

The retain value defaults to false, so the API should remain the same.