changes.rst 40 KB

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