Skip to content

Commit

Permalink
chore: v6.2.1 and build on node 10 and add a note on 32bit linux
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Jun 30, 2018
1 parent eb053db commit 9ee036c
Show file tree
Hide file tree
Showing 23 changed files with 56 additions and 44 deletions.
24 changes: 7 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,23 @@ os:
- osx
env:
global:
- secure: "L+AGMJc5NAsuym+xzB4FWj0c2rCobosixkoxLBhDBVkLiYsMtfS9y1w8Xz0pbWKJnJAH9tfwHluu5aX2qYk2HbreSyNzy8hbPW+9RbSyAQexeiZG4mLuDEz0xvlpCCQBsS1OfMypQk0/JvL4oA9B/xasrpkeVuPI7dwAz2WcFms="
- secure: "H6kgK5KzVP34pId84/GsnLd6Qb2mwYJ3W4tWurK3QetqVh1kH0qC7LOc6gg9ZTIIu750hZDNofl1h7Ttm2jTzfCtAsPdX3wuuBpIi87ZBZY2fwm6zD1anqF0AdKK9IyKYJaSWFjgNzRvzob6VYWxvYFXaKNT948gseuW/f2uSxI="
matrix:
- TRAVIS_NODE_VERSION="6"
- TRAVIS_NODE_VERSION="6" ARCH="x86"
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8"
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8" ARCH="x86"
- TRAVIS_NODE_VERSION="8"
- TRAVIS_NODE_VERSION="8" ARCH="x86"
- TRAVIS_NODE_VERSION="9"
- TRAVIS_NODE_VERSION="9" ARCH="x86"
- TRAVIS_NODE_VERSION="10"
- TRAVIS_NODE_VERSION="10" ARCH="x86"
matrix:
exclude:
- os: osx
env: TRAVIS_NODE_VERSION="6" ARCH="x86"
- os: osx
env: BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8" ARCH="x86"
env: TRAVIS_NODE_VERSION="8" ARCH="x86"
- os: osx
env: TRAVIS_NODE_VERSION="9" ARCH="x86"
- os: osx
env: TRAVIS_NODE_VERSION="10" ARCH="x86"
- os: linux
env: TRAVIS_NODE_VERSION="10" ARCH="x86"

before_install:

Expand Down Expand Up @@ -73,15 +68,9 @@ before_install:
- PUBLISH_BINARY=false
- echo $TRAVIS_BRANCH
- echo `git describe --tags --always HEAD`
- if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH_BINARY=$BINARY_BUILDER; fi;
- if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH_BINARY=true; fi;
- echo "Publishing native platform Binary Package? ->" $PUBLISH_BINARY

# setup virtual serialports
# - >
# socat -d -d -unlink-close pty,raw,nonblock,echo=0,link=ttyV0 pty,raw,nonblock,echo=0,link=ttyV1 &
# ./bin/echo.js --port ttyV0 &
# export TEST_PORT=ttyV1

install:
# ensure source install works
- npm install --build-from-source
Expand All @@ -94,7 +83,8 @@ script:
# if publishing, do it
- >
if [[ $PUBLISH_BINARY == true ]]; then
npm run prebuild-upload;
echo "building and uploading binaries"
npm run prebuild-ci;
fi;
after_success:
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
<a name="6.2.1"></a>
## 6.2.1 (2018-06-28)

Thanks to @shodan8192 for finding and fixing a memory leak on unix systems!

* docs: fix link to parser docs ([f2285d0](https://github.com/node-serialport/node-serialport/commit/f2285d0))
* docs: regenerate docs ([eb053db](https://github.com/node-serialport/node-serialport/commit/eb053db))
* chore: change to new parser packages and upgrade (fix builds) (#1562) ([d829ada](https://github.com/node-serialport/node-serialport/commit/d829ada)), closes [#1562](https://github.com/node-serialport/node-serialport/issues/1562)
* chore: drop node 4 EOL, add node 10 🎉 (#1556) ([e1998b3](https://github.com/node-serialport/node-serialport/commit/e1998b3)), closes [#1556](https://github.com/node-serialport/node-serialport/issues/1556)
* chore(package): update conventional-changelog-cli to version 2.0.0 (#1571) ([1bf70ae](https://github.com/node-serialport/node-serialport/commit/1bf70ae)), closes [#1571](https://github.com/node-serialport/node-serialport/issues/1571)
* chore(package): update package specs (#1557) ([4ed5182](https://github.com/node-serialport/node-serialport/commit/4ed5182)), closes [#1557](https://github.com/node-serialport/node-serialport/issues/1557)
* chore(package): upgrade packages ([46d798d](https://github.com/node-serialport/node-serialport/commit/46d798d))
* fix: a few warnings and deprecations (#1558) ([a250f09](https://github.com/node-serialport/node-serialport/commit/a250f09)), closes [#1558](https://github.com/node-serialport/node-serialport/issues/1558)
* fix: build isn't using the right version on 32x (#1564) ([f9953f2](https://github.com/node-serialport/node-serialport/commit/f9953f2)), closes [#1564](https://github.com/node-serialport/node-serialport/issues/1564)
* fix: memory leak in unix serialport poller (#1572) ([9006bd6](https://github.com/node-serialport/node-serialport/commit/9006bd6)), closes [#1572](https://github.com/node-serialport/node-serialport/issues/1572)



<a name="6.2.0"></a>
## 6.2.0 (2018-04-18)

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ In addition to reading the [article mentioned above](http://www.voodootikigod.co

| Platform / Arch | Node v4.x | Node v6.x | Node v8.x | Node v9.x | Node v10.x |
| --- | --- | --- | --- | --- | --- |
| Linux / ia32 ||||||
| Linux / ia32 ||||||
| Linux / x64 ||||||
| Linux / ARM v6¹ ||||||
| Linux / ARM v7¹ ||||||
Expand All @@ -102,6 +102,8 @@ In addition to reading the [article mentioned above](http://www.voodootikigod.co

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

⁴ NodeJS has dropped prebuilt binaries for NodeJS 10 on 32bit linux. As a result it's too difficult to maintain support. However if you build nodejs and serialport yourself it will probably work.

## Installation Instructions

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:
Expand Down
10 changes: 5 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
os: unstable
environment:
prebuild_upload:
PREBUILD_TOKEN:
secure: a/seaM+nUnQWhWUnbyz8fl9vPwuyqDTrFviptDykYp2c46vdTvlAxU6yqD/PpDiI
COVERALLS_REPO_TOKEN:
secure: iDcAJCYgJK4tffyzEHbMVR8DatJcIN8eY0h29p9JQkl43TcEcm6Z6JLOBpGDk1MJ

matrix:
- nodejs_version: "6"
- binary_builder: "true"
nodejs_version: "8"
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"

Expand Down Expand Up @@ -38,7 +37,7 @@ install:
# then we publish the binaries if tests pass.
- ps: >
if ($env:appveyor_repo_tag -match "true" -and ("$(git describe --tags --always HEAD)" -eq $env:appveyor_repo_tag_name)) {
$env:publish_binary = $env:binary_builder;
$env:publish_binary = "true";
}
if ($env:publish_binary -eq "true") {
"We're publishing a binary!" | Write-Host
Expand All @@ -63,7 +62,8 @@ test_script:

- ps: >
if ($env:publish_binary -eq "true") {
npm run prebuild-upload
"building and uploading binaries" | Write-Host;
npm run prebuild-ci;
}
true;
Expand Down
2 changes: 1 addition & 1 deletion docs/BaseBinding.html
Original file line number Diff line number Diff line change
Expand Up @@ -2367,7 +2367,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/DarwinBinding.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h4 class="name" id="DarwinBinding"><span class="type-signature"></span>new Darw
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/LinuxBinding.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h4 class="name" id="LinuxBinding"><span class="type-signature"></span>new Linux
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/MockBinding.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h4 class="name" id="MockBinding"><span class="type-signature"></span>new MockBi
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Poller.html
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/SerialPort.html
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/WindowsBinding.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h4 class="name" id="WindowsBinding"><span class="type-signature"></span>new Win
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/bindings_base.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ <h1 class="page-title">bindings/base.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/bindings_darwin.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1 class="page-title">bindings/darwin.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/bindings_linux.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1 class="page-title">bindings/linux.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/bindings_mock.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ <h1 class="page-title">bindings/mock.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/bindings_poller.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h1 class="page-title">bindings/poller.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/bindings_win32.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h1 class="page-title">bindings/win32.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@ <h4 class="name" id="event:open">open</h4>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3>Platform Support</h3><p><code>serialport</code> supports NodeJS v4 and upwar
</thead>
<tbody>
<tr>
<td>Linux / ia32</td>
<td>Linux / ia32</td>
<td></td>
<td></td>
<td></td>
Expand Down Expand Up @@ -211,6 +211,7 @@ <h3>Platform Support</h3><p><code>serialport</code> supports NodeJS v4 and upwar
<p>¹ ARM, MIPSel and PPC64¹ platforms are not currently part of our testing or build matrix, but are known to work.</p>
<p>² Windows 7, 8, 10, and 10 IoT are supported, but our CI tests only Windows Server 2012 R2.</p>
<p>³ OSX 10.4 Tiger and above are supported, but our CI tests only 10.9.5 Mavericks with Xcode 6.1.</p>
<p>⁴ NodeJS has dropped prebuilt binaries for NodeJS 10 on 32bit linux. As a result it's too difficult to maintain support. However if you build nodejs and serialport yourself it will probably work.</p>
<h2>Installation Instructions</h2><p>For most &quot;standard&quot; use cases (Node v4.x on Mac, Linux, or Windows on a x86 or x64 processor), Node-Serialport will install nice and easy with:</p>
<pre class="prettyprint source"><code>npm install serialport</code></pre><h3>Installation Special Cases</h3><p>We use <a href="https://github.com/mafintosh/prebuild">prebuild</a> to compile and post binaries of the library for most common use cases (Linux, Mac, Windows on standard processor platforms). If you have a special case, Node-Serialport will work, but it will compile the binary during the install. Compiling with nodejs is done via <code>node-gyp</code> which requires Python 2.x, so please ensure you have it installed and in your path for all operating systems. Python 3.x will not work.</p>
<p>This assumes you have everything on your system necessary to compile ANY native module for Node.js. If you don't, then please ensure the following are true for your system before filing a &quot;Does not install&quot; issue.</p>
Expand Down Expand Up @@ -490,7 +491,7 @@ <h3>Serial Port List</h3><p><code>serialport-list</code> will list all available
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1 class="page-title">index.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/parsers.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h1 class="page-title">parsers.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/serialport.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ <h1 class="page-title">serialport.js</h1>
<br class="clear">

<footer>
Documentation generated at Mon Jun 25 2018 03:04:41 GMT-0400 (EDT)
Documentation generated at Wed Jun 27 2018 22:29:05 GMT-0400 (Eastern Daylight Time)
</footer>

<script>prettyPrint();</script>
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serialport",
"version": "6.2.0",
"version": "6.2.1",
"description": "Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!",
"main": "lib",
"repository": {
Expand Down Expand Up @@ -86,6 +86,7 @@
"jsdoc": "^3.5.5",
"mocha": "^5.2.0",
"prebuild": "^7.6.0",
"prebuild-ci": "^2.2.3",
"proxyquire": "^2.0.0",
"sinon": "^6.0.1"
},
Expand Down Expand Up @@ -114,7 +115,7 @@
"install": "prebuild-install || node-gyp rebuild",
"rebuild": "prebuild --compile",
"prebuild": "prebuild --all --strip --verbose",
"prebuild-upload": "prebuild --all --strip --verbose"
"prebuild-ci": "prebuild-ci"
},
"gypfile": true,
"cc": {
Expand Down

0 comments on commit 9ee036c

Please sign in to comment.