changes.rst 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617
  1. .. _changes:
  2. =======
  3. Changes
  4. =======
  5. .. _release_2.0:
  6. -------------------------------
  7. Version 2.0 (West of West Lake)
  8. -------------------------------
  9. *Release Date: 2016-09-30*
  10. *Release Name: West of West Lake*
  11. TODO: ...
  12. -----------------
  13. Version 2.0-beta2
  14. -----------------
  15. *Release Date: 2016-09-10*
  16. API Breaking Changes
  17. --------------------
  18. '$u', '$c' variables in emqttd.conf and modules/acl.conf changed to '%u', '%c'
  19. Improve the design of mqtt retained message, replace emqttd_retainer with emqttd_mod_retainer.
  20. Add 'session.subscribed', 'session.unsubscribed' hooks, remove 'client.subscribe.after' hook
  21. Tab 'retained_message' -> 'mqtt_retained'
  22. Bugfix
  23. ------
  24. -----------------
  25. Version 2.0-beta1
  26. -----------------
  27. *Release Date: 2016-08-30*
  28. *Release Name: West of West Lake*
  29. EMQ - Shortened Project Name
  30. ----------------------------
  31. Adopt a shortened project name: EMQ(Erlang/Enterprise/Elastic MQTT Broker),E means Erlang/OTP, Enterprise and Elastic.
  32. Improve the Release Management
  33. ------------------------------
  34. In order to iterate the project fast, we will adopt a new release management strategy since 2.0. There will be two or three 'Preview Release' named beta1, beta2 or beta3, and then one or two 'Release Candidate' named rc1, rc2 before a Major version is production ready.
  35. Seperate Rel from Application
  36. -----------------------------
  37. We split the emqttd 1.x project into two projects since 2.0-beta1 release to resolve the plugins' dependency issue.
  38. A new project named `emqttd-relx`_ is created and responsible for buiding the emqttd application and the plugins::
  39. git clone https://github.com/emqtt/emqttd-relx.git
  40. cd emqttd-relx && make
  41. cd _rel/emqttd && ./bin/emqttd console
  42. erlang.mk and relx
  43. ------------------
  44. The rebar which is used in 1.x release is replaced by `erlang.mk`_ and `relx`_ tools since 2.0-beta1 release.
  45. You can check the 'Makefile' and 'relx.config' in the release project of the borker: `emqttd-relx`_ .
  46. Improve Git Branch Management
  47. -----------------------------
  48. +------------+-------------------------------------------+
  49. | stable | 1.x Stable Branch |
  50. +------------+-------------------------------------------+
  51. | master | 2.x Master Branch |
  52. +------------+-------------------------------------------+
  53. | emq10 | 1.x Developement Branch |
  54. +------------+-------------------------------------------+
  55. | emq20 | 2.x Development Branch |
  56. +------------+-------------------------------------------+
  57. | emq30 | 3.x Development Branch |
  58. +------------+-------------------------------------------+
  59. | issue#{id} | BugFix Branch |
  60. +------------+-------------------------------------------+
  61. New Config Syntax
  62. -----------------
  63. Since 2.0-beta1 release the configuration file of the broker and plugins adopt a new syntax like rebar.config and relx.config:
  64. etc/emqttd.conf for example::
  65. %% Max ClientId Length Allowed.
  66. {mqtt_max_clientid_len, 512}.
  67. %% Max Packet Size Allowed, 64K by default.
  68. {mqtt_max_packet_size, 65536}.
  69. %% Client Idle Timeout.
  70. {mqtt_client_idle_timeout, 30}. % Second
  71. MQTT-SN Protocol Plugin
  72. -----------------------
  73. The MQTT-SN Protocol Plugin `emqttd_sn`_ has been ready in 2.0-beta1 release. The default UDP port of MQTT-SN is 1884.
  74. Load the plugin::
  75. ./bin/emqttd_ctl plugins load emqttd_sn
  76. Improve the PubSub Design
  77. -------------------------
  78. .. image:: _static/images/publish.png
  79. Improve the Plugin Management
  80. -----------------------------
  81. The plugin of EMQ 2.0 broker is a normal erlang application which depends on and extends 'emqttd'. You can create a standalone plugin application project, and add it to `emqttd-relx`_ Makefile as a DEP.
  82. All the plugins' config files will be copied to emqttd/etc/plugins/ folder when making emqttd brinary packages in `emqttd-relx`_ project::
  83. ▾ emqttd/
  84. ▾ etc/
  85. ▸ modules/
  86. ▾ plugins/
  87. emqtt_coap.conf
  88. emqttd.conf
  89. emqttd_auth_http.conf
  90. emqttd_auth_mongo.conf
  91. emqttd_auth_mysql.conf
  92. emqttd_auth_pgsql.conf
  93. emqttd_auth_redis.conf
  94. emqttd_coap.conf
  95. emqttd_dashboard.conf
  96. emqttd_plugin_template.conf
  97. emqttd_recon.conf
  98. emqttd_reloader.conf
  99. emqttd_sn.conf
  100. emqttd_stomp.conf
  101. EMQ 2.0 Documentation
  102. ---------------------
  103. http://emqtt.io/docs/v2/index.html
  104. .. _release_1.1.3:
  105. -------------
  106. Version 1.1.3
  107. -------------
  108. *Release Date: 2016-08-19*
  109. Support './bin/emqttd_ctl users list' CLI (#621)
  110. Cannot publish payloads with a size of the order 64K using WebSockets (#643)
  111. Optimize the procedures that retrieve the Broker version and Borker description in the tick timer (PR#627)
  112. Fix SSL certfile, keyfile config (#651)
  113. -------------
  114. Version 1.1.2
  115. -------------
  116. .. _release_1.1.2:
  117. -------------
  118. Version 1.1.2
  119. -------------
  120. *Release Date: 2016-06-30*
  121. Upgrade mysql-otp driver to 1.2.0 (#564, #523, #586, #596)
  122. Fix WebSocket Client Leak (PR #612)
  123. java.io.EOFException using paho java client (#551)
  124. Send message from paho java client to javascript client (#552)
  125. Compatible with the Qos0 PUBREL packet (#575)
  126. Empty clientId with non-clean session accepted (#599)
  127. Update docs to fix typos (#601, #607)
  128. .. _release_1.1.1:
  129. -------------
  130. Version 1.1.1
  131. -------------
  132. *Release Date: 2016-06-04*
  133. Compatible with the Qos0 PUBREL packet (#575)
  134. phpMqtt Client Compatibility (#572)
  135. java.io.EOFException using paho java client (#551)
  136. .. _release_1.1:
  137. -----------
  138. Version 1.1
  139. -----------
  140. *Release Date: 2016-06-01*
  141. Highlights
  142. ----------
  143. Upgrade eSockd library to 4.0 and Support IPv6
  144. Support to listen on specific IP Address::
  145. {mqtt, {"192.168.1.20", 1883}, [
  146. ...
  147. ]},
  148. Add MongoDB, HTTP Authentication/ACL Plugins
  149. Upgrade MySQL, PostgreSQL, Redis Plugins to support superuser authentication and avoid SQL Injection
  150. Enhancements
  151. ------------
  152. Allow human-friendly IP addresses (PR#395)
  153. File operation error: emfile (#445)
  154. emqttd_plugin_mongo not found in emqttd (#489)
  155. emqttd_plugin_mongo Error While Loading in emqttd (#505)
  156. Feature request: HTTP Authentication (#541)
  157. Compatible with the Qos0 PUBREL packet (#575)
  158. Bugfix
  159. ------
  160. Bugfix: function_clause exception occurs when registering a duplicated authentication module (#542)
  161. Bugfix: ./emqttd_top msg_q result: {"init terminating in do_boot",{undef,[{etop,start,[],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}} (#557)
  162. Tests
  163. -----
  164. 111 common test cases.
  165. Dashboard Plugin
  166. ----------------
  167. WebSocket Page: Support 'Clean Session', Qos, Retained parameters (emqttd_dashboard#52)
  168. Upgrade eSockd library to 4.0, Show OTP Release on Overview Page (emqttd_dashboard#61)
  169. Changing dashboard credentials for username authentication (emqttd_dashboard#56)
  170. Add './bin/emqttd_ctl admins' CLI,support to add/delete admins
  171. HTTP Auth Plugin
  172. ----------------
  173. Authentication/ACL by HTTP API: https://github.com/emqtt/emqttd_auth_http
  174. MongoDB Plugin
  175. --------------
  176. Upgrade Erlang MongoDB driver to v1.0.0
  177. Support superuser authentication
  178. Support ACL (emqttd_plugin_mongo#3)
  179. MySQL Plugin
  180. ------------
  181. Support superuser authentication
  182. Use parameterized query to avoid SQL Injection
  183. Postgre Plugin
  184. --------------
  185. Support superuser authentication
  186. Use parameterized query to avoid SQL Injection
  187. Redis Plugin
  188. ------------
  189. Support superuser authentication
  190. Support ClientId authentication by '%c' variable
  191. Reloader Plugin
  192. ---------------
  193. Reload modified modules during development automatically.
  194. .. _release_1.0.3:
  195. -------------
  196. Version 1.0.3
  197. -------------
  198. *Release Date: 2016-05-23*
  199. eSockd 3.2
  200. MochiWeb 4.0.1
  201. .. _release_1.0.2:
  202. -------------
  203. Version 1.0.2
  204. -------------
  205. *Release Date: 2016-05-04*
  206. Issue#534 - './bin/emqttd_ctl vm' - add 'port/count', 'port/limit' statistics
  207. Issue#535 - emqttd_client should be terminated properly even if exception happened when sending data
  208. PR#519 - The erlang '-name' requires the fully qualified host name
  209. emqttd_reloader plugin - help reload modified modules during development.
  210. .. _release_l.0.1:
  211. -------------
  212. Version 1.0.1
  213. -------------
  214. *Release Date: 2016-04-16*
  215. PR#515 - Fix '$queue' pubsub, add 'pubsub_queue' test and update docs
  216. .. _release_1.0:
  217. ------------------------------------
  218. Version 1.0 (The Seven Mile Journey)
  219. ------------------------------------
  220. *Release Date: 2016-04-13*
  221. *Release Name: The Seven Mile Journey*
  222. We finally released Version 1.0 (The Seven Mile Journey) with full documentation after two years' development and more than fifty iterations.
  223. The emqttd 1.0 implements a fully-featured, scalable, distributed and extensible open-source MQTT broker for IoT, M2M and Mobile applications:
  224. 1. Full MQTT V3.1/3.1.1 Protocol Specifications Support
  225. 2. Massively scalable - Scaling to 1 million connections on a single server
  226. 3. Distributed - Route MQTT Messages among clustered or bridged broker nodes
  227. 4. Extensible - LDAP, MySQL, PostgreSQL, Redis Authentication/ACL Plugins
  228. Bugfix and Enhancements
  229. -----------------------
  230. Possible race condition using emqttd_cm (#486)
  231. Improve the design of retained message expiration (#503)
  232. Do not expire the retained messages from $SYS/# topics (#500)
  233. Documentation
  234. --------------
  235. http://emqtt.io/docs
  236. http://docs.emqtt.com/
  237. Thanks
  238. ------
  239. Thank Ericsson for the Great Erlang/OTP Platform (http://erlang.org/)!
  240. Contributors on GitHub: @callbay @lsxredrain @hejin1026 @desoulter @turtleDeng @Hades32 @huangdan @phanimahesh @dvliman @Prots @joaohf
  241. Partners: EACG (http://eacg.de/)
  242. Favorite Band: The Seven Mile Journey (http://www.thesevenmilejourney.dk/)
  243. .. _release_0.17.1:
  244. -------------------
  245. Version 0.17.1-beta
  246. -------------------
  247. *Release Date: 2016-03-22*
  248. Enhancements
  249. ------------
  250. Time unit of session 'expired_after' changed to minute. (#479)
  251. Dashboard
  252. ---------
  253. Code Review and improve the design of Dashboard.
  254. .. _release_0.17.0:
  255. -------------------
  256. Version 0.17.0-beta
  257. -------------------
  258. *Release Date: 2016-03-15*
  259. Highlights
  260. ----------
  261. Installation and Configuration Guide released on http://docs.emqtt.com
  262. Improve and Consolidate the design of Hook, Server, PubSub and Router
  263. Upgrade the [Web Dashboard](https://github.com/emqtt/emqttd_dashboard) to support pagination
  264. Bridge emqttd broker to another emqttd broker & emqttd to mosquitto bridge (#438)
  265. Enhancements
  266. ------------
  267. emqttd_ctl: better error message (#450)
  268. ./bin/emqttd_ctl: add 'routes' command::
  269. routes list # List all routes
  270. routes show <Topic> # Show a route
  271. Add 'backend_subscription' table and support static subscriptions (emqttd_backend)
  272. Add 'retained_message' table and refactor emqttd_retainer module (emqttd_backend)
  273. A New Hook and Callback Design (emqttd_hook)
  274. Add PubSub, Hooks APIs to emqttd module (emqttd)
  275. Move start_listeners/0, stop_listeners/0 APIs to emqttd_app module (emqttd_app)
  276. Tests
  277. -----
  278. Add 100+ common test cases.
  279. Plugins
  280. -------
  281. Upgrade Dashboard, Redis, Stomp and Template Plugins
  282. .. _release_0.16.0:
  283. -------------------
  284. Version 0.16.0-beta
  285. -------------------
  286. *Release Date: 2016-02-16*
  287. Highlights
  288. ----------
  289. Licensed under the Apache License, Version 2.0 Now.
  290. Improve the design of cluster, support to join or leave the cluster (#449)::
  291. $ ./bin/emqttd_ctl cluster
  292. cluster join <Node> #Join the cluster
  293. cluster leave #Leave the cluster
  294. cluster remove <Node> #Remove the node from cluster
  295. cluster status #Cluster status
  296. Improve the design of Trie and Route, only the wildcard topics stored in Trie.
  297. Common Test to replace EUnit.
  298. Enhancements
  299. ------------
  300. mqtt_message record: add 'sender' field (#440)
  301. refactor the emqttd, emqttd_time, emqttd_opts, emqttd_node modules.
  302. Bugfix
  303. ------
  304. noproc error when call to gen_server2:call(false, {add_route,Topic,<0.685.0>}, infinity) (#446)
  305. Plugins
  306. -------
  307. Changed the license of all plugins.
  308. .. _release_0.15.0:
  309. -------------------
  310. Version 0.15.0-beta
  311. -------------------
  312. *Release Date: 2016-01-31*
  313. Highlights
  314. ----------
  315. Optimize for Push Application, 500K+ Subscribers to a Topic.
  316. Optimization for Route ETS insertion (#427)
  317. Priority Message Queue for Persistent Session (#432)
  318. Add Redis, MongoDB Plugins (#417)
  319. Enhancements
  320. ------------
  321. Username/Password Authentication: Support to configure default users (#428)
  322. Improve CLI Commands: pubsub, bridges, trace (#429)
  323. emqttd_mod_subscription: fix client_connected/3
  324. emqttd_auth_mod: add passwd_hash/2 function
  325. priority_queue: add plen/2, out/2 functions
  326. Bugfix
  327. ------
  328. Fix dequeue/1 of emqttd_bridge...
  329. Add emqttd:seed_now/0 function
  330. Plugins
  331. -------
  332. emqttd_plubin_mysql: Changed mysql driver to mysql-otp
  333. emqttd_plugin_pgsql: Integrate with ecpool
  334. emqttd_plugin_redis: First release
  335. emqttd_plugin_mongo: First release
  336. .. _release_0.14.1:
  337. -------------------
  338. Version 0.14.1-beta
  339. -------------------
  340. *Release Date: 2015-12-28*
  341. Bugfix: emqttd_ws_client.erl: Unexpected Info: {'EXIT',<0.27792.18>,{shutdown,destroy}} (#413)
  342. Improve: fix spec errors found by dialyzer
  343. .. _release_0.14.0:
  344. -------------------
  345. Version 0.14.0-beta
  346. -------------------
  347. *Release Date: 2015-12-18*
  348. Highlights
  349. ----------
  350. Scaling to 1.3 Million Concurrent MQTT Connections on a 12 Core, 32G CentOS server.
  351. New PubSub, Router Design (#402). Prepare for scaling to 10 millions on one cluster.
  352. Enhancements
  353. ------------
  354. Improve the gproc_pool usage with a general emqttd_pool_sup
  355. Improve the design of emqttd_pubsub, add a new emqttd_router module
  356. Improve the design of the whole supervisor tree
  357. Route aging mechanism to remove the topics that have no subscriptions
  358. Improve the dashboard, mysql, pgsql, stomp, sockjs plugins
  359. Add 'topics', 'subscriptions' admin commands
  360. Avoid using mnesia table index and mnesia:index_read API to lower CPU usage
  361. Subscribe timeout exception (#366)
  362. Long Delay on Multiple Topic Subscription (#365)
  363. Subscriptions persistence (#344)
  364. emqttd_ctl: 'subscriptions' command to force clients to subscribe some topics (#361)
  365. Bugfix
  366. ------
  367. emqttd_sm: spec of lookup_session/1 is not right BUG (#411)
  368. Observer application should be removed from reltool.config for 'wx' app is not available (#410)
  369. Benchmark
  370. ---------
  371. 1.3 million concurrent MQTT connections on a 12 Core, 32G CentOS Server, consume about 15G Memory and 200% CPU.
  372. .. _release_0.13.1:
  373. -------------------
  374. Version 0.13.1-beta
  375. -------------------
  376. *Release Date: 2015-11-28*
  377. Bugfix: Plugin pathes error under windows (#387)
  378. Improve: Too many error logs "[error] Session ..... Unexpected EXIT: client_pid=<0.14137.35>, exit_pid=<0.30829.22>, reason=nop..." (#383)
  379. Improve: Define QOS0/1/2, Pooler Error (PR#382)
  380. Improve: High CPU load when 400K unstable mobile connections (#377)
  381. BugFix: emqttd_plugin_pgsql - error using same query with latest update plugin (pgsql#5)
  382. .. _release_0.13.0:
  383. -------------------
  384. Version 0.13.0-beta
  385. -------------------
  386. *Release Date: 2015-11-08*
  387. Highlights
  388. ----------
  389. Rate Limiting based on [Token Bucket](https://en.wikipedia.org/wiki/Token_bucket) and [Leaky Bucket](https://en.wikipedia.org/wiki/Leaky_bucket#The_Leaky_Bucket_Algorithm_as_a_Meter) Algorithm
  390. Upgrade eSockd and MochiWeb libraries to support Parameterized Connection Module
  391. Improve emqttd_client to support fully asynchronous socket networking
  392. Enhancements
  393. ------------
  394. Protocol Compliant - Session Present Flag (#163)
  395. Compilation fails if repo is cloned with a different name (#348)
  396. emqttd_client: replace gen_tcp:send with port_command (#358)
  397. TCP sndbuf, recbuf, buffer tuning (#359)
  398. emqttd_client.erl to handle 'inet_async', 'inet_reply' properly (#360)
  399. Refator the [client/session management design](https://github.com/emqtt/emqttd/blob/master/doc/design/ClientSession.md)
  400. Bugfix
  401. ------
  402. Cannot kick transient client out when clientId collision (#357)
  403. Fix the order of emqttd_app:start_server/1 (#367)
  404. emqttd_session:subscribe/2 will crash (#374)
  405. Benchmark
  406. ---------
  407. [benchmark for 0.13.0 release](https://github.com/emqtt/emqttd/wiki/benchmark-for-0.13.0-release)
  408. 3.1G memory and 50+ CPU/core:
  409. .. code-block:: bash
  410. Connections: 250K
  411. Subscribers: 250K
  412. Topics: 50K
  413. Qos1 Messages/Sec In: 4K
  414. Qos1 Messages/Sec Out: 20K
  415. Traffic In(bps): 12M+
  416. Traffic Out(bps): 56M+
  417. .. _release_0.12.3:
  418. -------------------
  419. Version 0.12.3-beta
  420. -------------------
  421. *Release Date: 2015-10-22*
  422. Bugfix: emqttd_sysmon crasher for 'undefined' process_info (#350)
  423. Bugfix: emqttd_client: catch parser exception (#353)
  424. .. _release_0.12.2:
  425. -------------------
  426. Version 0.12.2-beta
  427. -------------------
  428. *Release Date: 2015-10-16*
  429. Bugfix: Retained messages should not be expired if 'broker.retained.expired_after = 0' (#346)
  430. .. _release_0.12.1:
  431. -------------------
  432. Version 0.12.1-beta
  433. -------------------
  434. *Release Date: 2015-10-15*
  435. Highlight: Release for Bugfix and Code Refactor.
  436. Feature: Retained message expiration (#182)
  437. Improve: '$SYS/#' publish will not match '#' or '+/#' (#68)
  438. Improve: Add more metrics and ignore '$SYS/#' publish (#266)
  439. Improve: emqttd_sm should be optimized for clustered nodes may be crashed (#282)
  440. Improve: Refactor emqttd_sysmon and suppress 'monitor' messages (#328)
  441. Task: benchmark for 0.12.0 release (#225)
  442. Benchmark: About 900K concurrent connections established on a 20Core, 32G CentOS server.
  443. .. _release_0.12.0:
  444. -------------------
  445. Version 0.12.0-beta
  446. -------------------
  447. *Release Date: 2015-10-08*
  448. Highlights
  449. ----------
  450. Enhance the **emqttd_ctl** module to allow plugins to register new commands (#256)
  451. Add [emqttd_recon plugin](https://github.com/emqtt/emqttd_recon) to debug/optimize the broker (#235)
  452. Add **'./bin/emqttd_ctl broker pubsub'** command to check the status of core pubsub processes
  453. Add **'./bin/emqttd_top'** command(like etop) to show the top 'msg_q', 'reductions', 'memory' or 'runtime' processes
  454. 'rel/files/emqttd.config.production' for production deployment(default)
  455. 'rel/files/emqttd.config.development' for development deployment
  456. Enhancements
  457. ------------
  458. Qos1/2 messages will not be dropped under unstable mobile network (#264)
  459. **emqttd_session:subscribe/2, emqttd_session:unsubscribe/2** APIs should be asynchronous (#292)
  460. **etc/emqttd.config**: 'idle_timeout' option to close the idle client(socket connected but no 'CONNECT' frame received)
  461. **etc/emqttd.config**: 'unack_retry_interval' option for redelivering Qos1/2 messages
  462. How to monitor large 'message_queue_len' (#283)
  463. Bugfix
  464. ------
  465. Behaviour emqttd_auth_mod is missing init callback (#318)
  466. Benchmark
  467. ---------
  468. Write a new [benchmark tool](https://github.com/emqtt/emqtt_benchmark) to benchmark this release
  469. Hw requirements - 5K users, 25-50 msgs/sec, QoS=1 (#209)
  470. Supported Number of Connections Greatly Reduced When Clients are Subscribing (#324)
  471. .. _release_0.11.0:
  472. -------------------
  473. Version 0.11.0-beta
  474. -------------------
  475. *Release Date: 2015-09-25*
  476. Highlight: Rebar to manage plugin dependencies.
  477. Highlight: [Stomp](https://github.com/emqtt/emqttd_stomp) and [SockJS](https://github.com/emqtt/emqttd_sockjs) Plugins!
  478. Improve: add rel/files/emqttd.config.development|production.
  479. Improve: rel/reltool.config.script to release deps of plugin.
  480. Improve: persist mnesia schema on slave nodes.
  481. Improve: use timer:seconds/1 api.
  482. Improve: The binary release will be compiled with R18.1 now.
  483. Bugfix: issue#306 - emqttd_cm should unregister the duplicated client
  484. Bugfix: issue#310 - usage of emqttd_ctl error: 'session list' should be 'sessions list'
  485. Bugfix: issue#311 - './bin/emqttd_ctl sessions list' error
  486. Bugfix: issue#312 - unsubcribe will lead to crash if emqttd_plugin_template plugin loaded
  487. .. _release_0.10.4:
  488. -------------------
  489. Version 0.10.4-beta
  490. -------------------
  491. *Release Date: 2015-09-18*
  492. Optimize session management and upgrade eSockd library to 2.7.1
  493. [Benchmark for 0.10.4 release](https://github.com/emqtt/emqttd/wiki/benchmark-for-0.10.4-release)
  494. Improve: issue#294 - [error] failed to start connection on 0.0.0.0:1883 - enotconn
  495. Improve: issue#297 - How do I allow user with some pattern to access topic with some pattern?
  496. Bugfix: issue#291 - "./bin/emqttd attach ..." cannot work
  497. Bugfix: issue#284 - Should not use erlang:list_to_atom/1 in emqttd_vm.erl
  498. .. _release_0.10.3:
  499. -------------------
  500. Version 0.10.3-beta
  501. -------------------
  502. *Release Date: 2015-08-30*
  503. Bugfix: issue#271 - add emqttd_ws_client:subscribe/2 function
  504. Bugfix: issue#269 - bin/emqttd Syntax error on ubuntu
  505. Improve: issue#265 - client under unstable mobile network generate a lot of logs
  506. .. _release_0.10.2:
  507. -------------------
  508. Version 0.10.2-beta
  509. -------------------
  510. *Release Date: 2015-08-26*
  511. Improve: issue#257 - After the node name changed, the broker cannot restart for mnesia schema error.
  512. .. _release_0.10.1:
  513. -------------------
  514. Version 0.10.1-beta
  515. -------------------
  516. *Release Date: 2015-08-25*
  517. Bugfix: issue#259 - when clustered the emqttd_dashboard port is close, and the 'emqttd' application cannot stop normally.
  518. Feature: issue#262 - Add 'http://host:8083/mqtt/status' Page for health check
  519. .. _release_0.10.0:
  520. -------------------
  521. Version 0.10.0-beta
  522. -------------------
  523. *Release Date: 2015-08-20*
  524. [Web Dashboard](https://github.com/emqtt/emqttd_dashboard) and [MySQL](https://github.com/emqtt/emqttd_plugin_mysql), [PostgreSQL](https://github.com/emqtt/emqttd_plugin_pgsql) Authentication/ACL Plugins!
  525. Highlight: Web Dashboard to monitor Statistics, Metrics, Clients, Sessions and Topics of the broker.
  526. Highlight: JSON/HTTP API to query all clients connected to broker.
  527. Highlight: A new [Plugin Design](https://github.com/emqtt/emqttd/wiki/Plugin%20Design) and a [Template project](https://github.com/emqtt/emqttd_plugin_template) for plugin development.
  528. Highlight: Authentication/ACL with MySQL, PostreSQl databases (#194, #172)
  529. Feature: Session Statistics including inflight_queue, message_queue, message_dropped, awaiting_rel, awaiting_ack, awaiting_comp (#213)
  530. Feature: Cookie based authentication for MQTT over websocket connections (#231)
  531. Feature: Get all clients connected to the broker (#228, #230, #148, #129)
  532. Feature: "./bin/emqttd_ctl clients show ClientId" to query client status (#226)
  533. Feature: "./bin/emqttd_ctl clients kick ClientId" to kick out a client
  534. Feature: "./bin/emqttd_ctl sessions list" to show all sessions
  535. Feature: "./bin/emqttd_ctl sessions show ClientId" to show a session
  536. Feature: Erlang VM metrics monitor with Web Dashboard (#59)
  537. Improve: Too many "inflight queue is full!" log when session is overloaded (#247)
  538. Improve: There are two many "MQueue(~s) drop ~s" logs if the message queue of session is small (#244)
  539. Improve: gen_server2(from RabbitMQ) to improve emqttd_session, emqttd_pubsub
  540. Improve: Makefile to build plugins
  541. Bugfix: emqttd_broker:unhook/2 cannot work (#238)
  542. Bugfix: emqttd plugin cannot include_lib("emqttd/include/emqttd.hrl") (#233)
  543. Bugfix: Too many 'Session ~s cannot find PUBACK' logs (#212)
  544. Bugfix: emqttd_pooler cannot work
  545. .. _release_0.9.3:
  546. -------------------
  547. Version 0.9.3-alpha
  548. -------------------
  549. *Release Date: 2015-07-25*
  550. Wiki: [Bridge](https://github.com/emqtt/emqttd/wiki/Bridge)
  551. Improve: emqttd_protocol.hrl to define 'QOS_I'
  552. Improve: emqttd_pubsub to add subscribe/2 API
  553. Improve: ./bin/emqttd_ctl to support new bridges command
  554. Bugfix: issue #206 - Cannot bridge two nodes
  555. .. _release_0.9.2:
  556. -------------------
  557. Version 0.9.2-alpha
  558. -------------------
  559. *Release Date: 2015-07-18*
  560. Improve: issue #196 - Add New Hook 'client.subscribe.after'
  561. .. _release_0.9.1:
  562. -------------------
  563. Version 0.9.1-alpha
  564. -------------------
  565. *Release Date: 2015-07-10*
  566. Bugfix: issue #189 - MQTT over WebSocket(SSL) cannot work?
  567. Bugfix: issue #193 - 'client.ack' hook should be renamed to 'message.acked', and called by emqttd_broker:foreach_hooks
  568. .. _release_0.9.0:
  569. -------------------
  570. Version 0.9.0-alpha
  571. -------------------
  572. *Release Date: 2015-07-09*
  573. [Session, Queue, Inflight Window, Hooks, Global MessageId and More Protocol Compliant](https://github.com/emqtt/emqttd/releases/tag/0.9.0-alpha) Now!
  574. Feature: Session/Queue/Inflight Window Design (#145).
  575. Feature: Support to resume a persistent session on other clustered node.
  576. Feature: Support alarm management.
  577. Feature: emqttd_guid to generate global unique message id.
  578. Feature: Hooks for message pub/ack.
  579. Feature: Protocol compliant - message ordering, timeout and retry.
  580. Improve: Every client will start_link a session process, whether or not the client is persistent.
  581. Improve: etc/emqttd.config to support more session, queue configuration.
  582. Improve: issue #179 - Max offline message queue {max_queue, 100} meaning.
  583. Improve: issue #180 - Should change project structure for other projects maybe depend on 'emqttd'. Merge emqtt, emqttd apps.
  584. Improve: issue #185 - PacketId and MessageId: the broker should generate global unique message id.
  585. Improve: issue #187 - etc/emqttd.config to support https listener
  586. Improve: issue #186 - emqttd_cm to store client details
  587. Improve: issue #174 - add 'from' field to mqtt_message record.
  588. Improve: issue #170 - $SYS Topics should support alarms.
  589. Improve: issue #169 - Add More [Hooks](https://github.com/emqtt/emqttd/wiki/Hooks-Design)
  590. Improve: issue #167 - Inflight window to assure message ordering.
  591. Improve: issue #166 - Message delivery timeout and retry.
  592. Improve: issue #143 - Qos1, Qos2 PubSub message timeout.
  593. Improve: issue #122 - Labeling message with unique id. emqttd_guid module to generate global unique msgid.
  594. Improve: emqttd_bridge to support pending message queue, and fix the wrong Qos design.
  595. Improve: mqtt_message record to add 'msgid', 'from' and 'sys' fields.
  596. Change: Add emqttd_mqueue, emqttd_guid, emqttd_alarm modules.
  597. Bugfix: issue #184 - emqttd_stats:setstats is not right.
  598. Bugfix: Closed issues #181, #119.
  599. Tests: fix the parser, acl test cases.
  600. .. _release_0.8.6:
  601. ------------------
  602. Version 0.8.6-beta
  603. ------------------
  604. *Release Date: 2015-06-17*
  605. Bugfix: issue #175 - publish Will message when websocket is closed without 'DISCONNECT' packet
  606. .. _release_0.8.5:
  607. ------------------
  608. Version 0.8.5-beta
  609. ------------------
  610. *Release Date: 2015-06-10*
  611. Bugfix: issue #53 - client will receive duplicate messages when overlapping subscription
  612. .. _release_0.8.4:
  613. ------------------
  614. Version 0.8.4-beta
  615. ------------------
  616. *Release Date: 2015-06-08*
  617. Bugfix: issue #165 - duplicated message when publish 'retained' message to persistent client
  618. .. _release_0.8.3:
  619. ------------------
  620. Version 0.8.3-beta
  621. ------------------
  622. *Release Date: 2015-06-05*
  623. Bugfix: issue #158 - should queue:in new message after old one dropped
  624. Bugfix: issue #155 - emqtt_parser.erl: parse_topics/3 should reverse topics
  625. Bugfix: issue #149 - Forget to merge plugins/emqttd_auth_mysql from 'dev' branch to 'master' in 0.8.x release
  626. .. _release_0.8.2:
  627. -------------------
  628. Version 0.8.2-alpha
  629. -------------------
  630. *Release Date: 2015-06-01*
  631. Bugfix: issue #147 - WebSocket client cannot subscribe queue '$Q/queue/${clientId}'
  632. Bugfix: issue #146 - emqttd_auth_ldap: fill(Username, UserDn) is not right
  633. .. _release_0.8.1:
  634. -------------------
  635. Version 0.8.1-alpha
  636. -------------------
  637. *Release Date: 2015-05-28*
  638. Client [Presence](https://github.com/emqtt/emqttd/wiki/Presence) Support and [$SYS Topics](https://github.com/emqtt/emqttd/wiki/$SYS-Topics) Redesigned!
  639. Bugfix: issue #138 - when client disconnected normally, broker will not publish disconnected $SYS message
  640. Bugfix: fix websocket url in emqttd/priv/www/websocket.html
  641. Improve: etc/emqttd.config to allow websocket connections from any hosts
  642. Improve: rel/reltool.config to exclude unnecessary apps.
  643. .. _release_0.8.0:
  644. -------------------
  645. Version 0.8.0-alpha
  646. -------------------
  647. *Release Date: 2015-05-25*
  648. [Hooks](https://github.com/emqtt/emqttd/wiki/Hooks%20Design), Modules and [Plugins](https://github.com/emqtt/emqttd/wiki/Plugin%20Design) to extend the broker Now!
  649. Plugin: emqttd_auth_mysql - MySQL authentication plugin (issues #116, #120)
  650. Plugin: emqttd_auth_ldap - LDAP authentication plugin
  651. Feature: emqttd_broker to support Hooks API
  652. Feature: issue #111 - Support 'Forced Subscriptions' by emqttd_mod_autosub module
  653. Feature: issue #126 - Support 'Rewrite rules' by emqttd_mod_rewrite module
  654. Improve: Support hooks, modules to extend the broker
  655. Improve: issue #76 - dialyzer check
  656. Improve: 'Get Started', 'User Guide', 'Developer Guide' Wiki
  657. Improve: emqtt_topic to add join/1, feed_var/3, is_queue/1
  658. Improve: emqttd_pooler to execute common tasks
  659. Improve: add emqttd_sm_sup module, and use 'hash' gproc_pool to manage sessions
  660. Tests: add more test cases for 'emqttd' app
  661. .. _release_0.7.1:
  662. -------------------
  663. Version 0.7.1-alpha
  664. -------------------
  665. *Release Date: 2015-05-04*
  666. Add doc/design/* and merge doc/* to github Wiki
  667. Bugfix: issue #121 - emqttd cluster issuse
  668. Bugfix: issue #123 - emqttd:unload_all_plugins/0 cannot unload any plugin
  669. Bugfix: fix errors found by dialyzer
  670. .. _release_0.7.0:
  671. -------------------
  672. Version 0.7.0-alpha
  673. -------------------
  674. *Release Date: 2015-05-02*
  675. [MQTT over WebSocket(SSL)](https://github.com/emqtt/emqttd/wiki/MQTT-Over-WebSocket) Now!
  676. [Plugin Achitecture](https://github.com/emqtt/emqttd/wiki/Plugin%20Design) based on OTP application
  677. [Trace MQTT Packets or Messages](https://github.com/emqtt/emqttd/wiki/Trace%20Design) to log files
  678. Feature: issue #40, #115 - WebSocket/SSL Support
  679. Feature: issue #49, #105 - Plugin Architecture Support
  680. Feature: issue #93 - Trace API Design
  681. Improve: issue #109 - emqttd_broker should add subscribe, notify API
  682. Improve: update README.md to add 'Goals', 'Contributors' chapters
  683. Change: rename etc/app.config to etc/emqttd.config
  684. Change: etc/emqttd.config changed
  685. Bugfix: critical issue #54 - error when resume session!
  686. Bugfix: issue #118 - error report when UNSUBSCRIBE with no topics
  687. Bugfix: issue #117 - sys_interval = 0 config cannot work
  688. Bugfix: issue #112 - Makefile to support build plugins
  689. Bugfix: issue #96 - "make clean" cannot work
  690. .. _release_0.6.2:
  691. -------------------
  692. Version 0.6.2-alpha
  693. -------------------
  694. *Release Date: 2015-04-24*
  695. Bugfix: critical issue #54, #104, #106 - error when resume session
  696. Improve: add emqttd_cm_sup module, and use 'hash' gproc_pool to register/unregister client ids
  697. Improve: kick old client out when session is duplicated.
  698. Improve: move mnesia dir config from etc/app.config to etc/vm.args
  699. .. _release_0.6.1:
  700. -------------------
  701. Version 0.6.1-alpha
  702. -------------------
  703. *Release Date: 2015-04-20*
  704. Integrate with [gproc library](https://github.com/uwiger/gproc) to support pool
  705. Feature: issues#91 - should use worker_pool to handle some async work?
  706. Feature: issues#95 - Topic filters in ACL rule should support 'eq' tag
  707. Improve: issues#84 - emqttd_pubsub is redesigned again to protect mnesia transaction
  708. Improve: issues#74 - ACL Support and update [ACL Design Wiki](https://github.com/emqtt/emqttd/wiki/ACL-Design)
  709. .. _release_0.6.0:
  710. -------------------
  711. Version 0.6.0-alpha
  712. -------------------
  713. *Release Date: 2015-04-17*
  714. ACL Support Now: [ACL-Design Wiki](https://github.com/emqtt/emqttd/wiki/ACL-Design)
  715. Authentication with username, clientid Now: [Authentication Wiki](https://github.com/emqtt/emqttd/wiki/Authentication)
  716. Seperate common MQTT library to 'emqtt' application
  717. Redesign message pubsub, route and retain modules
  718. Redesign mnesia database cluster
  719. Feature: issues#47 - authentication, authorization support
  720. Feature: issues#92 - merge emqttd_acl and emqttd_auth to emqttd_access_control
  721. Feature: emqttd_acl_mod, emqttd_auth_mod behaviour to extend ACL, authentication
  722. Feature: issues#85 - lager:info to log subscribe, unsubscribe actions
  723. Feature: issues#77 - authentication with clientid, ipaddress
  724. Improve: issues#90 - fix lager_file_backend log format, and rotate 10 log files
  725. Improve: issues#88 - use '-mneisa_create', '-mnesia_replicate' attributes to init mneisa
  726. Improve: issues#87 - record mqtt_user and mqtt_client is duplicated
  727. Improve: issues#81 - redesign nodes cluster to support disc_copies mnesia tables
  728. Improve: issues#80 - redesign emqttd_cm to handle more concurrent connections
  729. Improve: issues#70 - how to handle connection flood? Now could support 2K+ CONNECT/sec
  730. Change: redesign mnesia tables: message, topic, subscriber, trie, trie_node
  731. Bugfix: issues#83 - emqttd_broker stats cannot work
  732. Bugfix: issues#75 - careless about function name when emqttd_pubsub handle getstats message
  733. .. _release_0.5.5:
  734. ------------------
  735. Version 0.5.5-beta
  736. ------------------
  737. *Release Date: 2015-04-09*
  738. Bugfix: issue #75 - careless about function name when emqttd_pubsub handle getstats message.
  739. Bugfix: issue #79 - cannot find topic_subscriber table after cluster with other nodes.
  740. .. _release_0.5.4:
  741. -------------------
  742. Version 0.5.4-alpha
  743. -------------------
  744. *Release Date: 2015-03-22*
  745. Benchmark this release on a ubuntu/14.04 server with 8 cores, 32G memory from QingCloud.com::
  746. 200K Connections,
  747. 30K Messages/Sec,
  748. 20Mbps In/Out Traffic,
  749. 200K Topics,
  750. 200K Subscribers,
  751. Consumed 7G memory, 40% CPU/core
  752. Benchmark code: https://github.com/emqtt/emqttd_benchmark
  753. Change: rewrite emqttd_pubsub to handle more concurrent subscribe requests.
  754. Change: ./bin/emqttd_ctl add 'stats', 'metrics' commands.
  755. Bugfix: issue #71, #72
  756. .. _release_0.5.3:
  757. -------------------
  758. Version 0.5.3-alpha
  759. -------------------
  760. *Release Date: 2015-03-19*
  761. Bugfix: issues#72 - emqttd_cm, emqtt_sm ets:match_delete/2 with wrong pattern
  762. .. _release_0.5.2:
  763. -------------------
  764. Version 0.5.2-alpha
  765. -------------------
  766. *Release Date: 2015-03-18*
  767. Change: upgrade esockd to 2.1.0-alpha, do not tune socket buffer for mqtt connection.
  768. .. _release_0.5.1:
  769. -------------------
  770. Version 0.5.1-alpha
  771. -------------------
  772. *Release Date: 2015-03-13*
  773. Change: upgrade esockd to v1.2.0-beta, rename 'acceptor_pool' to 'acceptors'
  774. .. _release_0.5.0:
  775. -------------------
  776. Version 0.5.0-alpha
  777. -------------------
  778. *Release Date: 2015-03-12*
  779. RENAME 'emqtt' to 'emqttd'!
  780. Support [Broker Bridge](https://github.com/emqtt/emqttd/wiki/Bridge-Design) Now!
  781. Change: rename project from 'emqtt' to 'emqttd'
  782. Change: lager:debug to dump RECV/SENT packets
  783. Feature: emqttd_bridge, emqttd_bridge_sup to support broker bridge
  784. Feature: emqtt_event to publish client connected/disconnected message to $SYS topics
  785. Feature: ./bin/emqttd_ctl add more commands: listeners, broker, bridges, start_bridge, stop_bridge...
  786. Feature: issue#57 - support to configure max packet size
  787. Feature: issue#68 - if sys_interval = 0, emqttd_broker will not publish messages to $SYS/brokers/#
  788. Bugfix: issue#67 - subscribe '#' to receive all messages
  789. Bugfix: issue#64 - emqtt_app start/2: should wait_for_databases
  790. Test: emqttd_topic_tests add more '_match_test'
  791. .. _release_0.4.0:
  792. -------------------
  793. Version 0.4.0-alpha
  794. -------------------
  795. *Release Date: 2015-03-10*
  796. Support [$SYS Topics of Broker](https://github.com/emqtt/emqttd/wiki/$SYS-Topics-of-Broker) Now!
  797. Feature: emqtt_broker to publish version, uptime, datetime to $SYS/brokers/# topics
  798. Feature: emqtt_broker to publish count of clients, sessions, suscribers to $SYS/brokers/# topics
  799. Feature: emqtt_metrics to publish bytes, packets, messages metrics to $SYS/brokers/# topics
  800. Feature: add include/emqtt_systop.hrl
  801. Change: emqtt_cm to count current clients
  802. Change: emqtt_sm to count current sessions
  803. Change: emqtt_pubsub to count current topics and suscribers
  804. Change: emqtt_pubsub to add create/1 API
  805. Change: emqtt_pubsub dispatch/2 to return number of subscribers
  806. Change: emqtt_pubsub to count 'dropped' messages
  807. Change: emqtt_opts to add merge/2 function
  808. Test: add emqtt_serialiser_tests.erl
  809. .. _release_0.3.4:
  810. ------------------
  811. Version 0.3.4-beta
  812. ------------------
  813. *Release Date: 2015-03-08*
  814. Bugfix: emqtt_serialiser.erl cannot serialise UNSUBACK packets
  815. .. _release_0.3.3:
  816. ------------------
  817. Version 0.3.3-beta
  818. ------------------
  819. *Release Date: 2015-03-07*
  820. Bugfix: emqtt_serialiser.erl cannot serialise PINGRESP issue#60
  821. .. _release_0.3.2:
  822. ------------------
  823. Version 0.3.2-beta
  824. ------------------
  825. *Release Date: 2015-03-05*
  826. Improve: merge emqttc serialiser, parser, packet
  827. Add: emqtt_opts to merge socket options
  828. .. _release_0.3.1:
  829. ------------------
  830. Version 0.3.1-beta
  831. ------------------
  832. *Release Date: 2015-03-02*
  833. Feature: SSL Socket Support
  834. Feature: issue#44 HTTP API should add Qos parameter
  835. Bugfix: issue#52 emqtt_session crash
  836. Bugfix: issue#53 sslsocket keepalive error
  837. Upgrade: esockd to v0.2.0
  838. Upgrade: mochiweb to v3.0.0
  839. .. _release_0.3.0:
  840. ------------------
  841. Version 0.3.0-beta
  842. ------------------
  843. *Release Date: 2015-01-19*
  844. Feature: HTTP POST API to support 'qos', 'retain' parameters
  845. Feature: $SYS system topics support
  846. Change: Rewrite emqtt_topic.erl, use '', '#', '+' to replace <<"">>, <<"#">>, <<"+">>
  847. Change: fix emqtt_pubsub.erl to match '#', '+'
  848. Tests: emqtt_topic_tests.erl add more test cases
  849. -------------------
  850. Version 0.3.0-alpha
  851. -------------------
  852. *Release Date: 2015-01-08*
  853. NOTICE: Full MQTT 3.1.1 support now!
  854. Feature: Passed org.eclipse.paho.mqtt.testing/interoperability tests
  855. Feature: Qos0, Qos1 and Qos2 publish and suscribe
  856. Feature: session(clean_sess=false) management and offline messages
  857. Feature: redeliver awaiting puback/pubrec messages(doc: Chapter 4.4)
  858. Feature: retain messages, add emqtt_server module
  859. Feature: MQTT 3.1.1 null client_id support
  860. Bugfix: keepalive timeout to send will message
  861. Improve: overlapping subscription support
  862. Improve: add emqtt_packet:dump to dump packets
  863. Test: passed org.eclipse.paho.mqtt.testing/interoperability
  864. Test: simple cluster test
  865. Closed Issues: #22, #24, #27, #28, #29, #30, #31, #32, #33, #34, #36, #37, #38, #39, #41, #42, #43
  866. .. _release_0.2.1:
  867. ------------------
  868. Version 0.2.1-beta
  869. ------------------
  870. *Release Date: 2015-01-08*
  871. pull request 26: Use binaries for topic paths and fix wildcard topics
  872. emqtt_pubsub.erl: fix wildcard topic match bug caused by binary topic in 0.2.0
  873. Makefile: deps -> get-deps
  874. rebar.config: fix mochiweb git url
  875. tag emqtt release accoding to [Semantic Versioning](http://semver.org/)
  876. max clientId length is 1024 now.
  877. .. _release_0.2.0:
  878. -------------
  879. Version 0.2.0
  880. -------------
  881. *Release Date: 2014-12-07*
  882. rewrite the project, integrate with esockd, mochiweb
  883. support MQTT 3.1.1
  884. support HTTP to publish message
  885. .. _release_0.1.5:
  886. -------------
  887. Version 0.1.5
  888. -------------
  889. *Release Date: 2013-01-05*
  890. Bugfix: remove QOS_1 match when handle PUBREL request
  891. Bugfix: reverse word in emqtt_topic:words/1 function
  892. .. _release_0.1.4:
  893. -------------
  894. Version 0.1.4
  895. -------------
  896. *Release Date: 2013-01-04*
  897. Bugfix: fix "mosquitto_sub -q 2 ......" bug
  898. Bugfix: fix keep alive bug
  899. .. _release_0.1.3:
  900. -------------
  901. Version 0.1.3
  902. -------------
  903. *Release Date: 2013-01-04*
  904. Feature: Support QOS2 PUBREC, PUBREL, PUBCOMP messages
  905. Bugfix: fix emqtt_frame to encode/decoe PUBREC/PUBREL messages
  906. .. _release_0.1.2:
  907. -------------
  908. Version 0.1.2
  909. -------------
  910. *Release Date: 2012-12-27*
  911. Feature: release support like riak
  912. Bugfix: use ?INFO/?ERROR to print log in tcp_listener.erl
  913. .. _release_0.1.1:
  914. -------------
  915. Version 0.1.1
  916. -------------
  917. *Release Date: 2012-09-24*
  918. Feature: use rebar to generate release
  919. Feature: support retained messages
  920. Bugfix: send will msg when network error
  921. .. _release_0.1.0:
  922. -------------
  923. Version 0.1.0
  924. -------------
  925. *Release Date: 2012-09-21*
  926. The first public release.