From 33d61b301b3abaa306b5e756e20b9e912dea68cc Mon Sep 17 00:00:00 2001
From: Francis Gulotta <wizard@roborooter.com>
Date: Mon, 10 Jul 2017 15:33:12 -0400
Subject: [PATCH] Bump to beta7

---
 .docs/README.hbs | 2 +-
 README.md        | 2 +-
 changelog.md     | 5 +++++
 package.json     | 4 ++--
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/.docs/README.hbs b/.docs/README.hbs
index 07cf4aa1d..bfe66bd59 100644
--- a/.docs/README.hbs
+++ b/.docs/README.hbs
@@ -30,7 +30,7 @@ For a full breakdown of why we made Node-Serialport, please read [NodeBots - The
 
 You're reading the README for Node-Serialport's master branch. You probably want to see the README for our most recent release. See our [changelog](changelog.md) for what's new, and our [upgrade guide](UPGRADE_GUIDE.md) for a walk-through on differences between major versions.
 
-- [`serialport@5.0.0-beta6` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/5.0.0-beta6/README.md) the latest `5.x` release.
+- [`serialport@5.0.0-beta7` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/5.0.0-beta7/README.md) the latest `5.x` release.
 - [`serialport@4.0.7` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/4.0.7/README.md) the latest `4.x` release.
 - [`serialport@3.1.2` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/3.1.2/README.md) the last `3.x` release.
 
diff --git a/README.md b/README.md
index 3211bc59d..b82ebb91a 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ For a full breakdown of why we made Node-Serialport, please read [NodeBots - The
 
 You're reading the README for Node-Serialport's master branch. You probably want to see the README for our most recent release. See our [changelog](changelog.md) for what's new, and our [upgrade guide](UPGRADE_GUIDE.md) for a walk-through on differences between major versions.
 
-- [`serialport@5.0.0-beta6` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/5.0.0-beta6/README.md) the latest `5.x` release.
+- [`serialport@5.0.0-beta7` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/5.0.0-beta7/README.md) the latest `5.x` release.
 - [`serialport@4.0.7` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/4.0.7/README.md) the latest `4.x` release.
 - [`serialport@3.1.2` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/3.1.2/README.md) the last `3.x` release.
 
diff --git a/changelog.md b/changelog.md
index d8eb7cf85..b646e3246 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,8 @@
+Version 5.0.0-beta7
+-------------
+- [all] Removed the `disconnect` event. The `close` event now fires with a disconnect error object in the event of a disconnection.
+- [all] Exposed mocking serialport on `serialport/test`
+
 Version 5.0.0-beta6
 -------------
 - [all] The `disconnect` event now more reliable. Will be emitted as an error if there are no listeners.
diff --git a/package.json b/package.json
index f420f9382..74b5ee972 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "serialport",
-  "version": "5.0.0-beta6",
+  "version": "5.0.0-beta7",
   "description": "Node.js package to access serial ports. Welcome your robotic JavaScript overlords. Better yet, program them!",
   "author": {
     "name": "Chris Williams",
@@ -10,7 +10,7 @@
   "binary": {
     "module_name": "serialport",
     "module_path": "build/{configuration}/",
-    "host": "https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/5.0.0-beta6"
+    "host": "https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/5.0.0-beta7"
   },
   "main": "lib",
   "repository": {