Skip to content

Commit af97b09

Browse files
committed
Bump to v6.0.0
1 parent 4ff9c67 commit af97b09

File tree

5 files changed

+28
-45
lines changed

5 files changed

+28
-45
lines changed

.docs/README.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ We're not against firmware but we're better than it.
3232

3333
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.
3434

35-
- [`[email protected]-beta3` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/6.0.0-beta3/README.md) the latest `6.x` release.
35+
- [`[email protected]` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/6.0.0/README.md) the latest `6.x` release.
3636
- [`[email protected]` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/4.0.7/README.md) the latest `4.x` release.
3737

38-
Older versions are no longer supported.
38+
Older versions are no longer supported but their docs can be found by looking through release tags.
3939

4040
***
4141
## Helpful Resources for Getting Started with Node-Serialport
@@ -96,8 +96,6 @@ In addition to reading the [article mentioned above](http://www.voodootikigod.co
9696

9797
³ OSX 10.4 Tiger and above are supported, but our CI tests only 10.9.5 Mavericks with Xcode 6.1.
9898

99-
Until Issue #1221 is closed windows will suffer high cpu reads and writes and will require a `UV_THREADPOOL_SIZE` environment variable to be set to 1 + the number of ports you wish to open at a time. (Defaults to `4` which supports 3 ports).
100-
10199
## Installation Instructions
102100

103101
For most "standard" use cases (Node v4.x on Mac, Linux, or Windows on a x86 or x64 processor), Node-Serialport will install nice and easy with:
@@ -229,6 +227,8 @@ npm install serialport --build-from-source
229227

230228
Node-gyp's documentation doesn't mention it, but it sometimes helps to create a C++ project in [Visual Studio](https://www.visualstudio.com/) so that it will install any necessary components not already installed during the past two hours of setup. This will solve some instances of `Failed to locate: "CL.exe"`.
231229

230+
An old issue that you may still run into. When working with multiple Serial Ports you can set the `UV_THREADPOOL_SIZE` environment variable to be set to 1 + the number of ports you wish to open at a time. (Defaults to `4` which supports 3 open ports).
231+
232232
## Usage
233233

234234
### Opening a Port

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="6.0.0"></a>
2+
# [6.0.0](https://github.com/EmergingTechnologyAdvisors/node-serialport/compare/v6.0.0-beta3...v6.0.0) (2017-10-09)
3+
4+
5+
### Features
6+
7+
* **windows:** Add ERROR_INVALID_PARAMETER to supported bindings errors ([#1354](https://github.com/EmergingTechnologyAdvisors/node-serialport/issues/1354)) ([4ff9c67](https://github.com/EmergingTechnologyAdvisors/node-serialport/commit/4ff9c67))
8+
9+
10+
111
<a name="6.0.0-beta3"></a>
212
# [6.0.0-beta3](https://github.com/EmergingTechnologyAdvisors/node-serialport/compare/v6.0.0-beta2...v6.0.0-beta3) (2017-10-07)
313

PUBLISHING.md

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,18 @@
11
# How to publish node Serialport
22

3-
## Setup for Linux, Windows and OSX
4-
53
Every time a new tag for the latest release is pushed to Github, the continuous integration
64
builds in Travis-CI and AppVeyor will generate the binaries for each platform and architecture.
75
We use [prebuild](https://github.com/mafintosh/prebuild) to publish these binaries on Github.
86

97
This can be checked in the .travis.yml file and appveyor.yml file. Within these files, if a git tag is detected a binary will be built and published for each version on each platform.
108

11-
1. Merge all changes and new features into master
12-
2. Bump up npm version in `package.json`
13-
3. Run `npm run changelog` and modify `CHANGELOG.md` if needed
14-
4. Update the `.docs/README.hbs` to reference this current version and to previous major version docs then regenerate docs `npm run docs`.
15-
5. Commit then generate new tags based on package.json version number with `git tag v5.0.0 -a` and include the change log in the tag's annotation.
16-
6. Push tags to Github with `git push --tags`
9+
1. Bump up npm version in `package.json`
10+
2. Run `npm run changelog` and modify `CHANGELOG.md` if needed
11+
3. Update the `.docs/README.hbs` to reference this current version and to previous major version docs then regenerate docs `npm run docs`.
12+
4. Commit everything then generate new tags based on package.json version number with `git tag v6.0.0 -a` and include the change log in the tag's annotation. (beta `git tag v6.0.0-beta3 -a`)
13+
5. Push tags to Github with `git push --tags`
14+
6. Wait for the CI to publish all the binaries. Remove the content of the Github release message so the tag's text shows.
1715
7. `rm -rf package-lock.json node_modules build && npm install`
18-
8. Publish to npm after builds finish. Builds can take half an hour and occasionally fail for seemingly no reason. Restart any failures in the travis or appeveyor ui. While you wait, remove the content of the Github release message so the tag's text shows. When the entire matrix succeeds and all binaries exist run `npm publish`.
16+
8. When the entire matrix succeeds and all binaries exist run `npm publish` or `npm publish --tag beta`.
1917
9. Kick off the build matrix for either the master or beta branch on [serialport-test-pilot](https://travis-ci.org/j5js/serialport-test-pilot). It will install serialport from npm on a wide range of systems.
20-
21-
Differences for beta release
22-
* Tag like: `git tag v6.0.0-beta3 -a` and include the change log in the tag's annotation.
23-
* Publish with `npm publish --tag beta`
24-
25-
## Config Travis, AppVeyor and Github to generate all of the binaries.
26-
27-
Before we are able to run everything stated above some steps need to be taken. Specifically for being able to publish the pre compiled binaries to Github. The correct keys need to be setup in the `travis.yml` and `appveyor.yml` files. For Travis, this needs to be done by the admin of the Github repo. For AppVeyor, this will need to be done by the owner of the AppVeyor account.
28-
29-
### Setting up secure keys in Travis.
30-
31-
Setting up the keys in Travis is easy if you have Ruby and Rubygems installed and working then run:
32-
33-
`gem install travis`
34-
35-
After the Travis gem is installed run the following command for each of the required keys:
36-
37-
`travis encrypt SOMEVAR=secretvalue`
38-
39-
And substitute the values in the `.travis.yml` file for the new ones. Detailed instructions can
40-
be found here: http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
41-
42-
### Setting up secure keys in AppVeyor
43-
44-
It is even easier than Travis to configure AppVeyor. You do not need to install anything, just go to your account and click on `encrypt tool`. Enter the values in the input field and click "Encrypt". In the same way as we do for Travis, we then need to substitute the newly generated values for the old ones.
45-
46-
Detailed instructions can be found here: http://www.appveyor.com/docs/build-configuration#secure-variables
18+
10. Let everyone know 🎉

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ We're not against firmware but we're better than it.
4141

4242
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.
4343

44-
- [`[email protected]-beta3` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/6.0.0-beta3/README.md) the latest `6.x` release.
44+
- [`[email protected]` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/6.0.0/README.md) the latest `6.x` release.
4545
- [`[email protected]` docs](https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/4.0.7/README.md) the latest `4.x` release.
4646

47-
Older versions are no longer supported.
47+
Older versions are no longer supported but their docs can be found by looking through release tags.
4848

4949
***
5050
## Helpful Resources for Getting Started with Node-Serialport
@@ -143,8 +143,6 @@ In addition to reading the [article mentioned above](http://www.voodootikigod.co
143143

144144
³ OSX 10.4 Tiger and above are supported, but our CI tests only 10.9.5 Mavericks with Xcode 6.1.
145145

146-
Until Issue #1221 is closed windows will suffer high cpu reads and writes and will require a `UV_THREADPOOL_SIZE` environment variable to be set to 1 + the number of ports you wish to open at a time. (Defaults to `4` which supports 3 ports).
147-
148146
## Installation Instructions
149147

150148
For most "standard" use cases (Node v4.x on Mac, Linux, or Windows on a x86 or x64 processor), Node-Serialport will install nice and easy with:
@@ -276,6 +274,8 @@ npm install serialport --build-from-source
276274

277275
Node-gyp's documentation doesn't mention it, but it sometimes helps to create a C++ project in [Visual Studio](https://www.visualstudio.com/) so that it will install any necessary components not already installed during the past two hours of setup. This will solve some instances of `Failed to locate: "CL.exe"`.
278276

277+
An old issue that you may still run into. When working with multiple Serial Ports you can set the `UV_THREADPOOL_SIZE` environment variable to be set to 1 + the number of ports you wish to open at a time. (Defaults to `4` which supports 3 open ports).
278+
279279
## Usage
280280

281281
### Opening a Port

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serialport",
3-
"version": "6.0.0-beta3",
3+
"version": "6.0.0",
44
"description": "Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!",
55
"author": {
66
"name": "Chris Williams",
@@ -27,6 +27,7 @@
2727
"serial",
2828
"serialport",
2929
"sms gateway",
30+
"sms",
3031
"stream",
3132
"tty",
3233
"UART"

0 commit comments

Comments
 (0)