Skip to content

Commit

Permalink
4.0.0-beta4 is ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Jun 16, 2016
1 parent 36be232 commit fb76ef6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ Callback is called with no arguments when the port is closed. In the event of an
Callback is called with an error object whenever there is an error.

### .on('disconnect', callback)
Callback is called with an error object.
Callback is called with an error object. This will always happen before a `close` event if a disconnection is detected.

## Command Line Tools
If you install `serialport` globally. (eg, `npm install -g serialport`) you'll receive two command line tools.
Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Version 4.0.0-beta4
-------------
- All callbacks now have the port as `this`
- Disconnections now always attempt to close the port, and you'll always get a `close` event after a `disconnect` event
- [unix] Ports are now locked by default with the new `lock` options matches windows default behavior
- [windows] known issue `lock` false doesn't work (no change in behavior)

Version 4.0.0-beta3
-------------
- Contributors guide
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serialport",
"version": "4.0.0-beta3",
"version": "4.0.0-beta4",
"description": "Node.js package to access serial ports. Welcome your robotic javascript overlords. Better yet, program them!",
"author": {
"name": "Chris Williams",
Expand All @@ -10,7 +10,7 @@
"binary": {
"module_name": "serialport",
"module_path": "build/{configuration}/",
"host": "https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.0-beta3"
"host": "https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.0-beta4"
},
"main": "./lib/serialport",
"repository": {
Expand Down

0 comments on commit fb76ef6

Please sign in to comment.