diff --git a/HISTORY.md b/HISTORY.md index 08e8d50..3875565 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,18 @@ History ======= +## 0.15.0 + +* Removed limit of 23 bytes for the client id as in MQTT 3.1.1. +* Removed two possible race conditions for offline messages. + The race conditions were: + 1. the restoration of all subscriptions was done after connack, + which + means that there was a tiny window were a message could be lost. + 2. the puback for a QoS 1 packet was sent before the write was + concluded. +* Dumped node v0.8 support forever. + ## 0.14.4 * Restored 'clientDisconnected' event in case of errors diff --git a/README.md b/README.md index 2e85edb..5960a63 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,9 @@ Mosca can be used: * Standalone * Embedded in another Node.js application +Mosca officially support only node v0.10 but v0.11.x should work too. +Node v0.8 is not supported. + ## Features * MQTT 3.1 compliant. diff --git a/package.json b/package.json index f2b6b86..9579d40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mosca", - "version": "0.14.4", + "version": "0.15.0", "description": "The multi-transport MQTT broker for node.js. It supports AMQP, Redis, ZeroMQ, MongoDB or just MQTT.", "main": "index.js", "bin": { @@ -12,7 +12,8 @@ "coverage": "rm -rf coverage; istanbul cover _mocha -- --recursive --reporter spec --bail", "publish-coverage": "npm run coverage && (cat coverage/lcov.info | coveralls)", "jshint-lib": "jshint lib/*.js", - "jshint-test": "jshint test/*.js" + "jshint-test": "jshint test/*.js", + "start": "./bin/mosca -v | bunyan" }, "pre-commit": [ "jshint-lib", @@ -26,6 +27,9 @@ "bugs": { "url": "http://github.com/mcollina/mosca/issues" }, + "engines": { + "node": "0.10.x" + }, "keywords": [ "mqtt", "mqtt server",