changes.rst 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116
  1. .. _changes:
  2. =======
  3. Changes
  4. =======
  5. -------------------
  6. Version 0.17.1-beta
  7. -------------------
  8. *Release Date: 2016-03-22*
  9. Enhancements
  10. ------------
  11. Time unit of session 'expired_after' changed to minute. (#479)
  12. Dashboard
  13. ---------
  14. Code Review and improve the design of Dashboard.
  15. -------------------
  16. Version 0.17.0-beta
  17. -------------------
  18. *Release Date: 2016-03-15*
  19. Highlights
  20. ----------
  21. Installation and Configuration Guide released on http://docs.emqtt.com
  22. Improve and Consolidate the design of Hook, Server, PubSub and Router
  23. Upgrade the [Web Dashboard](https://github.com/emqtt/emqttd_dashboard) to support pagination
  24. Bridge emqttd broker to another emqttd broker & emqttd to mosquitto bridge (#438)
  25. Enhancements
  26. ------------
  27. emqttd_ctl: better error message (#450)
  28. ./bin/emqttd_ctl: add 'routes' command::
  29. routes list # List all routes
  30. routes show <Topic> # Show a route
  31. Add 'backend_subscription' table and support static subscriptions (emqttd_backend)
  32. Add 'retained_message' table and refactor emqttd_retainer module (emqttd_backend)
  33. A New Hook and Callback Design (emqttd_hook)
  34. Add PubSub, Hooks APIs to emqttd module (emqttd)
  35. Move start_listeners/0, stop_listeners/0 APIs to emqttd_app module (emqttd_app)
  36. Tests
  37. -----
  38. Add 100+ common test cases.
  39. Plugins
  40. -------
  41. Upgrade Dashboard, Redis, Stomp and Template Plugins
  42. -------------------
  43. Version 0.16.0-beta
  44. -------------------
  45. *Release Date: 2016-02-16*
  46. Highlights
  47. ----------
  48. Licensed under the Apache License, Version 2.0 Now.
  49. Improve the design of cluster, support to join or leave the cluster (#449)::
  50. $ ./bin/emqttd_ctl cluster
  51. cluster join <Node> #Join the cluster
  52. cluster leave #Leave the cluster
  53. cluster remove <Node> #Remove the node from cluster
  54. cluster status #Cluster status
  55. Improve the design of Trie and Route, only the wildcard topics stored in Trie.
  56. Common Test to replace EUnit.
  57. Enhancements
  58. ------------
  59. mqtt_message record: add 'sender' field (#440)
  60. refactor the emqttd, emqttd_time, emqttd_opts, emqttd_node modules.
  61. Bugfix
  62. ------
  63. noproc error when call to gen_server2:call(false, {add_route,Topic,<0.685.0>}, infinity) (#446)
  64. Plugins
  65. -------
  66. Changed the license of all plugins.
  67. -------------------
  68. Version 0.15.0-beta
  69. -------------------
  70. *Release Date: 2016-01-31*
  71. Highlights
  72. ----------
  73. Optimize for Push Application, 500K+ Subscribers to a Topic.
  74. Optimization for Route ETS insertion (#427)
  75. Priority Message Queue for Persistent Session (#432)
  76. Add Redis, MongoDB Plugins (#417)
  77. Enhancements
  78. ------------
  79. Username/Password Authentication: Support to configure default users (#428)
  80. Improve CLI Commands: pubsub, bridges, trace (#429)
  81. emqttd_mod_subscription: fix client_connected/3
  82. emqttd_auth_mod: add passwd_hash/2 function
  83. priority_queue: add plen/2, out/2 functions
  84. Bugfix
  85. ------
  86. Fix dequeue/1 of emqttd_bridge...
  87. Add emqttd:seed_now/0 function
  88. Plugins
  89. -------
  90. emqttd_plubin_mysql: Changed mysql driver to mysql-otp
  91. emqttd_plugin_pgsql: Integrate with ecpool
  92. emqttd_plugin_redis: First release
  93. emqttd_plugin_mongo: First release
  94. -------------------
  95. Version 0.14.1-beta
  96. -------------------
  97. *Release Date: 2015-12-28*
  98. Bugfix: emqttd_ws_client.erl: Unexpected Info: {'EXIT',<0.27792.18>,{shutdown,destroy}} (#413)
  99. Improve: fix spec errors found by dialyzer
  100. -------------------
  101. Version 0.14.0-beta
  102. -------------------
  103. *Release Date: 2015-12-18*
  104. Highlights
  105. ----------
  106. Scaling to 1.3 Million Concurrent MQTT Connections on a 12 Core, 32G CentOS server.
  107. New PubSub, Router Design (#402). Prepare for scaling to 10 millions on one cluster.
  108. Enhancements
  109. ------------
  110. Improve the gproc_pool usage with a general emqttd_pool_sup
  111. Improve the design of emqttd_pubsub, add a new emqttd_router module
  112. Improve the design of the whole supervisor tree
  113. Route aging mechanism to remove the topics that have no subscriptions
  114. Improve the dashboard, mysql, pgsql, stomp, sockjs plugins
  115. Add 'topics', 'subscriptions' admin commands
  116. Avoid using mnesia table index and mnesia:index_read API to lower CPU usage
  117. Subscribe timeout exception (#366)
  118. Long Delay on Multiple Topic Subscription (#365)
  119. Subscriptions persistence (#344)
  120. emqttd_ctl: 'subscriptions' command to force clients to subscribe some topics (#361)
  121. Bugfix
  122. ------
  123. emqttd_sm: spec of lookup_session/1 is not right BUG (#411)
  124. Observer application should be removed from reltool.config for 'wx' app is not available (#410)
  125. Benchmark
  126. ---------
  127. 1.3 million concurrent MQTT connections on a 12 Core, 32G CentOS Server, consume about 15G Memory and 200% CPU.
  128. -------------------
  129. Version 0.13.1-beta
  130. -------------------
  131. *Release Date: 2015-11-28*
  132. Bugfix: Plugin pathes error under windows (#387)
  133. Improve: Too many error logs "[error] Session ..... Unexpected EXIT: client_pid=<0.14137.35>, exit_pid=<0.30829.22>, reason=nop..." (#383)
  134. Improve: Define QOS0/1/2, Pooler Error (PR#382)
  135. Improve: High CPU load when 400K unstable mobile connections (#377)
  136. BugFix: emqttd_plugin_pgsql - error using same query with latest update plugin (pgsql#5)
  137. -------------------
  138. Version 0.13.0-beta
  139. -------------------
  140. *Release Date: 2015-11-08*
  141. Highlights
  142. ----------
  143. 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
  144. Upgrade eSockd and MochiWeb libraries to support Parameterized Connection Module
  145. Improve emqttd_client to support fully asynchronous socket networking
  146. Enhancements
  147. ------------
  148. Protocol Compliant - Session Present Flag (#163)
  149. Compilation fails if repo is cloned with a different name (#348)
  150. emqttd_client: replace gen_tcp:send with port_command (#358)
  151. TCP sndbuf, recbuf, buffer tuning (#359)
  152. emqttd_client.erl to handle 'inet_async', 'inet_reply' properly (#360)
  153. Refator the [client/session management design](https://github.com/emqtt/emqttd/blob/master/doc/design/ClientSession.md)
  154. Bugfix
  155. ------
  156. Cannot kick transient client out when clientId collision (#357)
  157. Fix the order of emqttd_app:start_server/1 (#367)
  158. emqttd_session:subscribe/2 will crash (#374)
  159. Benchmark
  160. ---------
  161. [benchmark for 0.13.0 release](https://github.com/emqtt/emqttd/wiki/benchmark-for-0.13.0-release)
  162. 3.1G memory and 50+ CPU/core:
  163. .. code:: console
  164. Connections: 250K
  165. Subscribers: 250K
  166. Topics: 50K
  167. Qos1 Messages/Sec In: 4K
  168. Qos1 Messages/Sec Out: 20K
  169. Traffic In(bps): 12M+
  170. Traffic Out(bps): 56M+
  171. -------------------
  172. Version 0.12.3-beta
  173. -------------------
  174. *Release Date: 2015-10-22*
  175. Bugfix: emqttd_sysmon crasher for 'undefined' process_info (#350)
  176. Bugfix: emqttd_client: catch parser exception (#353)
  177. -------------------
  178. Version 0.12.2-beta
  179. -------------------
  180. *Release Date: 2015-10-16*
  181. Bugfix: Retained messages should not be expired if 'broker.retained.expired_after = 0' (#346)
  182. -------------------
  183. Version 0.12.1-beta
  184. -------------------
  185. *Release Date: 2015-10-15*
  186. Highlight: Release for Bugfix and Code Refactor.
  187. Feature: Retained message expiration (#182)
  188. Improve: '$SYS/#' publish will not match '#' or '+/#' (#68)
  189. Improve: Add more metrics and ignore '$SYS/#' publish (#266)
  190. Improve: emqttd_sm should be optimized for clustered nodes may be crashed (#282)
  191. Improve: Refactor emqttd_sysmon and suppress 'monitor' messages (#328)
  192. Task: benchmark for 0.12.0 release (#225)
  193. Benchmark: About 900K concurrent connections established on a 20Core, 32G CentOS server.
  194. -------------------
  195. Version 0.12.0-beta
  196. -------------------
  197. *Release Date: 2015-10-08*
  198. Highlights
  199. ----------
  200. Enhance the **emqttd_ctl** module to allow plugins to register new commands (#256)
  201. Add [emqttd_recon plugin](https://github.com/emqtt/emqttd_recon) to debug/optimize the broker (#235)
  202. Add **'./bin/emqttd_ctl broker pubsub'** command to check the status of core pubsub processes
  203. Add **'./bin/emqttd_top'** command(like etop) to show the top 'msg_q', 'reductions', 'memory' or 'runtime' processes
  204. 'rel/files/emqttd.config.production' for production deployment(default)
  205. 'rel/files/emqttd.config.development' for development deployment
  206. Enhancements
  207. ------------
  208. Qos1/2 messages will not be dropped under unstable mobile network (#264)
  209. **emqttd_session:subscribe/2, emqttd_session:unsubscribe/2** APIs should be asynchronous (#292)
  210. **etc/emqttd.config**: 'idle_timeout' option to close the idle client(socket connected but no 'CONNECT' frame received)
  211. **etc/emqttd.config**: 'unack_retry_interval' option for redelivering Qos1/2 messages
  212. How to monitor large 'message_queue_len' (#283)
  213. Bugfix
  214. ------
  215. Behaviour emqttd_auth_mod is missing init callback (#318)
  216. Benchmark
  217. ---------
  218. Write a new [benchmark tool](https://github.com/emqtt/emqtt_benchmark) to benchmark this release
  219. Hw requirements - 5K users, 25-50 msgs/sec, QoS=1 (#209)
  220. Supported Number of Connections Greatly Reduced When Clients are Subscribing (#324)
  221. -------------------
  222. Version 0.11.0-beta
  223. -------------------
  224. *Release Date: 2015-09-25*
  225. Highlight: Rebar to manage plugin dependencies.
  226. Highlight: [Stomp](https://github.com/emqtt/emqttd_stomp) and [SockJS](https://github.com/emqtt/emqttd_sockjs) Plugins!
  227. Improve: add rel/files/emqttd.config.development|production.
  228. Improve: rel/reltool.config.script to release deps of plugin.
  229. Improve: persist mnesia schema on slave nodes.
  230. Improve: use timer:seconds/1 api.
  231. Improve: The binary release will be compiled with R18.1 now.
  232. Bugfix: issue#306 - emqttd_cm should unregister the duplicated client
  233. Bugfix: issue#310 - usage of emqttd_ctl error: 'session list' should be 'sessions list'
  234. Bugfix: issue#311 - './bin/emqttd_ctl sessions list' error
  235. Bugfix: issue#312 - unsubcribe will lead to crash if emqttd_plugin_template plugin loaded
  236. -------------------
  237. Version 0.10.4-beta
  238. -------------------
  239. *Release Date: 2015-09-18*
  240. Optimize session management and upgrade eSockd library to 2.7.1
  241. [Benchmark for 0.10.4 release](https://github.com/emqtt/emqttd/wiki/benchmark-for-0.10.4-release)
  242. Improve: issue#294 - [error] failed to start connection on 0.0.0.0:1883 - enotconn
  243. Improve: issue#297 - How do I allow user with some pattern to access topic with some pattern?
  244. Bugfix: issue#291 - "./bin/emqttd attach ..." cannot work
  245. Bugfix: issue#284 - Should not use erlang:list_to_atom/1 in emqttd_vm.erl
  246. -------------------
  247. Version 0.10.3-beta
  248. -------------------
  249. *Release Date: 2015-08-30*
  250. Bugfix: issue#271 - add emqttd_ws_client:subscribe/2 function
  251. Bugfix: issue#269 - bin/emqttd Syntax error on ubuntu
  252. Improve: issue#265 - client under unstable mobile network generate a lot of logs
  253. -------------------
  254. Version 0.10.2-beta
  255. -------------------
  256. *Release Date: 2015-08-26*
  257. Improve: issue#257 - After the node name changed, the broker cannot restart for mnesia schema error.
  258. -------------------
  259. Version 0.10.1-beta
  260. -------------------
  261. *Release Date: 2015-08-25*
  262. Bugfix: issue#259 - when clustered the emqttd_dashboard port is close, and the 'emqttd' application cannot stop normally.
  263. Feature: issue#262 - Add 'http://host:8083/mqtt/status' Page for health check
  264. -------------------
  265. Version 0.10.0-beta
  266. -------------------
  267. *Release Date: 2015-08-20*
  268. [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!
  269. Highlight: Web Dashboard to monitor Statistics, Metrics, Clients, Sessions and Topics of the broker.
  270. Highlight: JSON/HTTP API to query all clients connected to broker.
  271. 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.
  272. Highlight: Authentication/ACL with MySQL, PostreSQl databases (#194, #172)
  273. Feature: Session Statistics including inflight_queue, message_queue, message_dropped, awaiting_rel, awaiting_ack, awaiting_comp (#213)
  274. Feature: Cookie based authentication for MQTT over websocket connections (#231)
  275. Feature: Get all clients connected to the broker (#228, #230, #148, #129)
  276. Feature: "./bin/emqttd_ctl clients show ClientId" to query client status (#226)
  277. Feature: "./bin/emqttd_ctl clients kick ClientId" to kick out a client
  278. Feature: "./bin/emqttd_ctl sessions list" to show all sessions
  279. Feature: "./bin/emqttd_ctl sessions show ClientId" to show a session
  280. Feature: Erlang VM metrics monitor with Web Dashboard (#59)
  281. Improve: Too many "inflight queue is full!" log when session is overloaded (#247)
  282. Improve: There are two many "MQueue(~s) drop ~s" logs if the message queue of session is small (#244)
  283. Improve: gen_server2(from RabbitMQ) to improve emqttd_session, emqttd_pubsub
  284. Improve: Makefile to build plugins
  285. Bugfix: emqttd_broker:unhook/2 cannot work (#238)
  286. Bugfix: emqttd plugin cannot include_lib("emqttd/include/emqttd.hrl") (#233)
  287. Bugfix: Too many 'Session ~s cannot find PUBACK' logs (#212)
  288. Bugfix: emqttd_pooler cannot work
  289. -------------------
  290. Version 0.9.3-alpha
  291. -------------------
  292. *Release Date: 2015-07-25*
  293. Wiki: [Bridge](https://github.com/emqtt/emqttd/wiki/Bridge)
  294. Improve: emqttd_protocol.hrl to define 'QOS_I'
  295. Improve: emqttd_pubsub to add subscribe/2 API
  296. Improve: ./bin/emqttd_ctl to support new bridges command
  297. Bugfix: issue #206 - Cannot bridge two nodes
  298. -------------------
  299. Version 0.9.2-alpha
  300. -------------------
  301. *Release Date: 2015-07-18*
  302. Improve: issue #196 - Add New Hook 'client.subscribe.after'
  303. -------------------
  304. Version 0.9.1-alpha
  305. -------------------
  306. *Release Date: 2015-07-10*
  307. Bugfix: issue #189 - MQTT over WebSocket(SSL) cannot work?
  308. Bugfix: issue #193 - 'client.ack' hook should be renamed to 'message.acked', and called by emqttd_broker:foreach_hooks
  309. -------------------
  310. Version 0.9.0-alpha
  311. -------------------
  312. *Release Date: 2015-07-09*
  313. [Session, Queue, Inflight Window, Hooks, Global MessageId and More Protocol Compliant](https://github.com/emqtt/emqttd/releases/tag/0.9.0-alpha) Now!
  314. Feature: Session/Queue/Inflight Window Design (#145).
  315. Feature: Support to resume a persistent session on other clustered node.
  316. Feature: Support alarm management.
  317. Feature: emqttd_guid to generate global unique message id.
  318. Feature: Hooks for message pub/ack.
  319. Feature: Protocol compliant - message ordering, timeout and retry.
  320. Improve: Every client will start_link a session process, whether or not the client is persistent.
  321. Improve: etc/emqttd.config to support more session, queue configuration.
  322. Improve: issue #179 - Max offline message queue {max_queue, 100} meaning.
  323. Improve: issue #180 - Should change project structure for other projects maybe depend on 'emqttd'. Merge emqtt, emqttd apps.
  324. Improve: issue #185 - PacketId and MessageId: the broker should generate global unique message id.
  325. Improve: issue #187 - etc/emqttd.config to support https listener
  326. Improve: issue #186 - emqttd_cm to store client details
  327. Improve: issue #174 - add 'from' field to mqtt_message record.
  328. Improve: issue #170 - $SYS Topics should support alarms.
  329. Improve: issue #169 - Add More [Hooks](https://github.com/emqtt/emqttd/wiki/Hooks-Design)
  330. Improve: issue #167 - Inflight window to assure message ordering.
  331. Improve: issue #166 - Message delivery timeout and retry.
  332. Improve: issue #143 - Qos1, Qos2 PubSub message timeout.
  333. Improve: issue #122 - Labeling message with unique id. emqttd_guid module to generate global unique msgid.
  334. Improve: emqttd_bridge to support pending message queue, and fix the wrong Qos design.
  335. Improve: mqtt_message record to add 'msgid', 'from' and 'sys' fields.
  336. Change: Add emqttd_mqueue, emqttd_guid, emqttd_alarm modules.
  337. Bugfix: issue #184 - emqttd_stats:setstats is not right.
  338. Bugfix: Closed issues #181, #119.
  339. Tests: fix the parser, acl test cases.
  340. ------------------
  341. Version 0.8.6-beta
  342. ------------------
  343. *Release Date: 2015-06-17*
  344. Bugfix: issue #175 - publish Will message when websocket is closed without 'DISCONNECT' packet
  345. ------------------
  346. Version 0.8.5-beta
  347. ------------------
  348. *Release Date: 2015-06-10*
  349. Bugfix: issue #53 - client will receive duplicate messages when overlapping subscription
  350. ------------------
  351. Version 0.8.4-beta
  352. ------------------
  353. *Release Date: 2015-06-08*
  354. Bugfix: issue #165 - duplicated message when publish 'retained' message to persistent client
  355. ------------------
  356. Version 0.8.3-beta
  357. ------------------
  358. *Release Date: 2015-06-05*
  359. Bugfix: issue #158 - should queue:in new message after old one dropped
  360. Bugfix: issue #155 - emqtt_parser.erl: parse_topics/3 should reverse topics
  361. Bugfix: issue #149 - Forget to merge plugins/emqttd_auth_mysql from 'dev' branch to 'master' in 0.8.x release
  362. -------------------
  363. Version 0.8.2-alpha
  364. -------------------
  365. *Release Date: 2015-06-01*
  366. Bugfix: issue #147 - WebSocket client cannot subscribe queue '$Q/queue/${clientId}'
  367. Bugfix: issue #146 - emqttd_auth_ldap: fill(Username, UserDn) is not right
  368. -------------------
  369. Version 0.8.1-alpha
  370. -------------------
  371. *Release Date: 2015-05-28*
  372. Client [Presence](https://github.com/emqtt/emqttd/wiki/Presence) Support and [$SYS Topics](https://github.com/emqtt/emqttd/wiki/$SYS-Topics) Redesigned!
  373. Bugfix: issue #138 - when client disconnected normally, broker will not publish disconnected $SYS message
  374. Bugfix: fix websocket url in emqttd/priv/www/websocket.html
  375. Improve: etc/emqttd.config to allow websocket connections from any hosts
  376. Improve: rel/reltool.config to exclude unnecessary apps.
  377. -------------------
  378. Version 0.8.0-alpha
  379. -------------------
  380. *Release Date: 2015-05-25*
  381. [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!
  382. Plugin: emqttd_auth_mysql - MySQL authentication plugin (issues #116, #120)
  383. Plugin: emqttd_auth_ldap - LDAP authentication plugin
  384. Feature: emqttd_broker to support Hooks API
  385. Feature: issue #111 - Support 'Forced Subscriptions' by emqttd_mod_autosub module
  386. Feature: issue #126 - Support 'Rewrite rules' by emqttd_mod_rewrite module
  387. Improve: Support hooks, modules to extend the broker
  388. Improve: issue #76 - dialyzer check
  389. Improve: 'Get Started', 'User Guide', 'Developer Guide' Wiki
  390. Improve: emqtt_topic to add join/1, feed_var/3, is_queue/1
  391. Improve: emqttd_pooler to execute common tasks
  392. Improve: add emqttd_sm_sup module, and use 'hash' gproc_pool to manage sessions
  393. Tests: add more test cases for 'emqttd' app
  394. -------------------
  395. Version 0.7.1-alpha
  396. -------------------
  397. *Release Date: 2015-05-04*
  398. Add doc/design/* and merge doc/* to github Wiki
  399. Bugfix: issue #121 - emqttd cluster issuse
  400. Bugfix: issue #123 - emqttd:unload_all_plugins/0 cannot unload any plugin
  401. Bugfix: fix errors found by dialyzer
  402. -------------------
  403. Version 0.7.0-alpha
  404. -------------------
  405. *Release Date: 2015-05-02*
  406. [MQTT over WebSocket(SSL)](https://github.com/emqtt/emqttd/wiki/MQTT-Over-WebSocket) Now!
  407. [Plugin Achitecture](https://github.com/emqtt/emqttd/wiki/Plugin%20Design) based on OTP application
  408. [Trace MQTT Packets or Messages](https://github.com/emqtt/emqttd/wiki/Trace%20Design) to log files
  409. Feature: issue #40, #115 - WebSocket/SSL Support
  410. Feature: issue #49, #105 - Plugin Architecture Support
  411. Feature: issue #93 - Trace API Design
  412. Improve: issue #109 - emqttd_broker should add subscribe, notify API
  413. Improve: update README.md to add 'Goals', 'Contributors' chapters
  414. Change: rename etc/app.config to etc/emqttd.config
  415. Change: etc/emqttd.config changed
  416. Bugfix: critical issue #54 - error when resume session!
  417. Bugfix: issue #118 - error report when UNSUBSCRIBE with no topics
  418. Bugfix: issue #117 - sys_interval = 0 config cannot work
  419. Bugfix: issue #112 - Makefile to support build plugins
  420. Bugfix: issue #96 - "make clean" cannot work
  421. -------------------
  422. Version 0.6.2-alpha
  423. -------------------
  424. *Release Date: 2015-04-24*
  425. Bugfix: critical issue #54, #104, #106 - error when resume session
  426. Improve: add emqttd_cm_sup module, and use 'hash' gproc_pool to register/unregister client ids
  427. Improve: kick old client out when session is duplicated.
  428. Improve: move mnesia dir config from etc/app.config to etc/vm.args
  429. -------------------
  430. Version 0.6.1-alpha
  431. -------------------
  432. *Release Date: 2015-04-20*
  433. Integrate with [gproc library](https://github.com/uwiger/gproc) to support pool
  434. Feature: issues#91 - should use worker_pool to handle some async work?
  435. Feature: issues#95 - Topic filters in ACL rule should support 'eq' tag
  436. Improve: issues#84 - emqttd_pubsub is redesigned again to protect mnesia transaction
  437. Improve: issues#74 - ACL Support and update [ACL Design Wiki](https://github.com/emqtt/emqttd/wiki/ACL-Design)
  438. -------------------
  439. Version 0.6.0-alpha
  440. -------------------
  441. *Release Date: 2015-04-17*
  442. ACL Support Now: [ACL-Design Wiki](https://github.com/emqtt/emqttd/wiki/ACL-Design)
  443. Authentication with username, clientid Now: [Authentication Wiki](https://github.com/emqtt/emqttd/wiki/Authentication)
  444. Seperate common MQTT library to 'emqtt' application
  445. Redesign message pubsub, route and retain modules
  446. Redesign mnesia database cluster
  447. Feature: issues#47 - authentication, authorization support
  448. Feature: issues#92 - merge emqttd_acl and emqttd_auth to emqttd_access_control
  449. Feature: emqttd_acl_mod, emqttd_auth_mod behaviour to extend ACL, authentication
  450. Feature: issues#85 - lager:info to log subscribe, unsubscribe actions
  451. Feature: issues#77 - authentication with clientid, ipaddress
  452. Improve: issues#90 - fix lager_file_backend log format, and rotate 10 log files
  453. Improve: issues#88 - use '-mneisa_create', '-mnesia_replicate' attributes to init mneisa
  454. Improve: issues#87 - record mqtt_user and mqtt_client is duplicated
  455. Improve: issues#81 - redesign nodes cluster to support disc_copies mnesia tables
  456. Improve: issues#80 - redesign emqttd_cm to handle more concurrent connections
  457. Improve: issues#70 - how to handle connection flood? Now could support 2K+ CONNECT/sec
  458. Change: redesign mnesia tables: message, topic, subscriber, trie, trie_node
  459. Bugfix: issues#83 - emqttd_broker stats cannot work
  460. Bugfix: issues#75 - careless about function name when emqttd_pubsub handle getstats message
  461. ------------------
  462. Version 0.5.5-beta
  463. ------------------
  464. *Release Date: 2015-04-09*
  465. Bugfix: issue #75 - careless about function name when emqttd_pubsub handle getstats message.
  466. Bugfix: issue #79 - cannot find topic_subscriber table after cluster with other nodes.
  467. -------------------
  468. Version 0.5.4-alpha
  469. -------------------
  470. *Release Date: 2015-03-22*
  471. Benchmark this release on a ubuntu/14.04 server with 8 cores, 32G memory from QingCloud.com::
  472. 200K Connections,
  473. 30K Messages/Sec,
  474. 20Mbps In/Out Traffic,
  475. 200K Topics,
  476. 200K Subscribers,
  477. Consumed 7G memory, 40% CPU/core
  478. Benchmark code: https://github.com/emqtt/emqttd_benchmark
  479. Change: rewrite emqttd_pubsub to handle more concurrent subscribe requests.
  480. Change: ./bin/emqttd_ctl add 'stats', 'metrics' commands.
  481. Bugfix: issue #71, #72
  482. -------------------
  483. Version 0.5.3-alpha
  484. -------------------
  485. *Release Date: 2015-03-19*
  486. Bugfix: issues#72 - emqttd_cm, emqtt_sm ets:match_delete/2 with wrong pattern
  487. -------------------
  488. Version 0.5.2-alpha
  489. -------------------
  490. *Release Date: 2015-03-18*
  491. Change: upgrade esockd to 2.1.0-alpha, do not tune socket buffer for mqtt connection.
  492. -------------------
  493. Version 0.5.1-alpha
  494. -------------------
  495. *Release Date: 2015-03-13*
  496. Change: upgrade esockd to v1.2.0-beta, rename 'acceptor_pool' to 'acceptors'
  497. -------------------
  498. Version 0.5.0-alpha
  499. -------------------
  500. *Release Date: 2015-03-12*
  501. RENAME 'emqtt' to 'emqttd'!
  502. Support [Broker Bridge](https://github.com/emqtt/emqttd/wiki/Bridge-Design) Now!
  503. Change: rename project from 'emqtt' to 'emqttd'
  504. Change: lager:debug to dump RECV/SENT packets
  505. Feature: emqttd_bridge, emqttd_bridge_sup to support broker bridge
  506. Feature: emqtt_event to publish client connected/disconnected message to $SYS topics
  507. Feature: ./bin/emqttd_ctl add more commands: listeners, broker, bridges, start_bridge, stop_bridge...
  508. Feature: issue#57 - support to configure max packet size
  509. Feature: issue#68 - if sys_interval = 0, emqttd_broker will not publish messages to $SYS/brokers/#
  510. Bugfix: issue#67 - subscribe '#' to receive all messages
  511. Bugfix: issue#64 - emqtt_app start/2: should wait_for_databases
  512. Test: emqttd_topic_tests add more '_match_test'
  513. -------------------
  514. Version 0.4.0-alpha
  515. -------------------
  516. *Release Date: 2015-03-10*
  517. Support [$SYS Topics of Broker](https://github.com/emqtt/emqttd/wiki/$SYS-Topics-of-Broker) Now!
  518. Feature: emqtt_broker to publish version, uptime, datetime to $SYS/brokers/# topics
  519. Feature: emqtt_broker to publish count of clients, sessions, suscribers to $SYS/brokers/# topics
  520. Feature: emqtt_metrics to publish bytes, packets, messages metrics to $SYS/brokers/# topics
  521. Feature: add include/emqtt_systop.hrl
  522. Change: emqtt_cm to count current clients
  523. Change: emqtt_sm to count current sessions
  524. Change: emqtt_pubsub to count current topics and suscribers
  525. Change: emqtt_pubsub to add create/1 API
  526. Change: emqtt_pubsub dispatch/2 to return number of subscribers
  527. Change: emqtt_pubsub to count 'dropped' messages
  528. Change: emqtt_opts to add merge/2 function
  529. Test: add emqtt_serialiser_tests.erl
  530. ------------------
  531. Version 0.3.4-beta
  532. ------------------
  533. *Release Date: 2015-03-08*
  534. Bugfix: emqtt_serialiser.erl cannot serialise UNSUBACK packets
  535. ------------------
  536. Version 0.3.3-beta
  537. ------------------
  538. *Release Date: 2015-03-07*
  539. Bugfix: emqtt_serialiser.erl cannot serialise PINGRESP issue#60
  540. ------------------
  541. Version 0.3.2-beta
  542. ------------------
  543. *Release Date: 2015-03-05*
  544. Improve: merge emqttc serialiser, parser, packet
  545. Add: emqtt_opts to merge socket options
  546. ------------------
  547. Version 0.3.1-beta
  548. ------------------
  549. *Release Date: 2015-03-02*
  550. Feature: SSL Socket Support
  551. Feature: issue#44 HTTP API should add Qos parameter
  552. Bugfix: issue#52 emqtt_session crash
  553. Bugfix: issue#53 sslsocket keepalive error
  554. Upgrade: esockd to v0.2.0
  555. Upgrade: mochiweb to v3.0.0
  556. ------------------
  557. Version 0.3.0-beta
  558. ------------------
  559. *Release Date: 2015-01-19*
  560. Feature: HTTP POST API to support 'qos', 'retain' parameters
  561. Feature: $SYS system topics support
  562. Change: Rewrite emqtt_topic.erl, use '', '#', '+' to replace <<"">>, <<"#">>, <<"+">>
  563. Change: fix emqtt_pubsub.erl to match '#', '+'
  564. Tests: emqtt_topic_tests.erl add more test cases
  565. -------------------
  566. Version 0.3.0-alpha
  567. -------------------
  568. *Release Date: 2015-01-08*
  569. NOTICE: Full MQTT 3.1.1 support now!
  570. Feature: Passed org.eclipse.paho.mqtt.testing/interoperability tests
  571. Feature: Qos0, Qos1 and Qos2 publish and suscribe
  572. Feature: session(clean_sess=false) management and offline messages
  573. Feature: redeliver awaiting puback/pubrec messages(doc: Chapter 4.4)
  574. Feature: retain messages, add emqtt_server module
  575. Feature: MQTT 3.1.1 null client_id support
  576. Bugfix: keepalive timeout to send will message
  577. Improve: overlapping subscription support
  578. Improve: add emqtt_packet:dump to dump packets
  579. Test: passed org.eclipse.paho.mqtt.testing/interoperability
  580. Test: simple cluster test
  581. Closed Issues: #22, #24, #27, #28, #29, #30, #31, #32, #33, #34, #36, #37, #38, #39, #41, #42, #43
  582. ------------------
  583. Version 0.2.1-beta
  584. ------------------
  585. *Release Date: 2015-01-08*
  586. pull request 26: Use binaries for topic paths and fix wildcard topics
  587. emqtt_pubsub.erl: fix wildcard topic match bug caused by binary topic in 0.2.0
  588. Makefile: deps -> get-deps
  589. rebar.config: fix mochiweb git url
  590. tag emqtt release accoding to [Semantic Versioning](http://semver.org/)
  591. max clientId length is 1024 now.
  592. -------------
  593. Version 0.2.0
  594. -------------
  595. *Release Date: 2014-12-07*
  596. rewrite the project, integrate with esockd, mochiweb
  597. support MQTT 3.1.1
  598. support HTTP to publish message
  599. -------------
  600. Version 0.1.5
  601. -------------
  602. *Release Date: 2013-01-05*
  603. Bugfix: remove QOS_1 match when handle PUBREL request
  604. Bugfix: reverse word in emqtt_topic:words/1 function
  605. -------------
  606. Version 0.1.4
  607. -------------
  608. *Release Date: 2013-01-04*
  609. Bugfix: fix "mosquitto_sub -q 2 ......" bug
  610. Bugfix: fix keep alive bug
  611. -------------
  612. Version 0.1.3
  613. -------------
  614. *Release Date: 2013-01-04*
  615. Feature: Support QOS2 PUBREC, PUBREL, PUBCOMP messages
  616. Bugfix: fix emqtt_frame to encode/decoe PUBREC/PUBREL messages
  617. -------------
  618. Version 0.1.2
  619. -------------
  620. *Release Date: 2012-12-27*
  621. Feature: release support like riak
  622. Bugfix: use ?INFO/?ERROR to print log in tcp_listener.erl
  623. -------------
  624. Version 0.1.1
  625. -------------
  626. *Release Date: 2012-09-24*
  627. Feature: use rebar to generate release
  628. Feature: support retained messages
  629. Bugfix: send will msg when network error
  630. -------------
  631. Version 0.1.0
  632. -------------
  633. *Release Date: 2012-09-21*
  634. The first public release.