Skip to content

Commit 9ee036c

Browse files
committed
chore: v6.2.1 and build on node 10 and add a note on 32bit linux
1 parent eb053db commit 9ee036c

23 files changed

+56
-44
lines changed

.travis.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,23 @@ os:
1717
- osx
1818
env:
1919
global:
20-
- secure: "L+AGMJc5NAsuym+xzB4FWj0c2rCobosixkoxLBhDBVkLiYsMtfS9y1w8Xz0pbWKJnJAH9tfwHluu5aX2qYk2HbreSyNzy8hbPW+9RbSyAQexeiZG4mLuDEz0xvlpCCQBsS1OfMypQk0/JvL4oA9B/xasrpkeVuPI7dwAz2WcFms="
20+
- secure: "H6kgK5KzVP34pId84/GsnLd6Qb2mwYJ3W4tWurK3QetqVh1kH0qC7LOc6gg9ZTIIu750hZDNofl1h7Ttm2jTzfCtAsPdX3wuuBpIi87ZBZY2fwm6zD1anqF0AdKK9IyKYJaSWFjgNzRvzob6VYWxvYFXaKNT948gseuW/f2uSxI="
2121
matrix:
2222
- TRAVIS_NODE_VERSION="6"
2323
- TRAVIS_NODE_VERSION="6" ARCH="x86"
24-
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8"
25-
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8" ARCH="x86"
24+
- TRAVIS_NODE_VERSION="8"
25+
- TRAVIS_NODE_VERSION="8" ARCH="x86"
2626
- TRAVIS_NODE_VERSION="9"
2727
- TRAVIS_NODE_VERSION="9" ARCH="x86"
2828
- TRAVIS_NODE_VERSION="10"
29-
- TRAVIS_NODE_VERSION="10" ARCH="x86"
3029
matrix:
3130
exclude:
3231
- os: osx
3332
env: TRAVIS_NODE_VERSION="6" ARCH="x86"
3433
- os: osx
35-
env: BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8" ARCH="x86"
34+
env: TRAVIS_NODE_VERSION="8" ARCH="x86"
3635
- os: osx
3736
env: TRAVIS_NODE_VERSION="9" ARCH="x86"
38-
- os: osx
39-
env: TRAVIS_NODE_VERSION="10" ARCH="x86"
40-
- os: linux
41-
env: TRAVIS_NODE_VERSION="10" ARCH="x86"
4237

4338
before_install:
4439

@@ -73,15 +68,9 @@ before_install:
7368
- PUBLISH_BINARY=false
7469
- echo $TRAVIS_BRANCH
7570
- echo `git describe --tags --always HEAD`
76-
- if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH_BINARY=$BINARY_BUILDER; fi;
71+
- if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH_BINARY=true; fi;
7772
- echo "Publishing native platform Binary Package? ->" $PUBLISH_BINARY
7873

79-
# setup virtual serialports
80-
# - >
81-
# socat -d -d -unlink-close pty,raw,nonblock,echo=0,link=ttyV0 pty,raw,nonblock,echo=0,link=ttyV1 &
82-
# ./bin/echo.js --port ttyV0 &
83-
# export TEST_PORT=ttyV1
84-
8574
install:
8675
# ensure source install works
8776
- npm install --build-from-source
@@ -94,7 +83,8 @@ script:
9483
# if publishing, do it
9584
- >
9685
if [[ $PUBLISH_BINARY == true ]]; then
97-
npm run prebuild-upload;
86+
echo "building and uploading binaries"
87+
npm run prebuild-ci;
9888
fi;
9989
10090
after_success:

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
<a name="6.2.1"></a>
2+
## 6.2.1 (2018-06-28)
3+
4+
Thanks to @shodan8192 for finding and fixing a memory leak on unix systems!
5+
6+
* docs: fix link to parser docs ([f2285d0](https://github.com/node-serialport/node-serialport/commit/f2285d0))
7+
* docs: regenerate docs ([eb053db](https://github.com/node-serialport/node-serialport/commit/eb053db))
8+
* 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)
9+
* 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)
10+
* 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)
11+
* 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)
12+
* chore(package): upgrade packages ([46d798d](https://github.com/node-serialport/node-serialport/commit/46d798d))
13+
* 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)
14+
* 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)
15+
* 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)
16+
17+
18+
119
<a name="6.2.0"></a>
220
## 6.2.0 (2018-04-18)
321

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ In addition to reading the [article mentioned above](http://www.voodootikigod.co
8585

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

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

105+
⁴ 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.
106+
105107
## Installation Instructions
106108

107109
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:

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
os: unstable
22
environment:
3-
prebuild_upload:
3+
PREBUILD_TOKEN:
44
secure: a/seaM+nUnQWhWUnbyz8fl9vPwuyqDTrFviptDykYp2c46vdTvlAxU6yqD/PpDiI
55
COVERALLS_REPO_TOKEN:
66
secure: iDcAJCYgJK4tffyzEHbMVR8DatJcIN8eY0h29p9JQkl43TcEcm6Z6JLOBpGDk1MJ
77

88
matrix:
99
- nodejs_version: "6"
10-
- binary_builder: "true"
11-
nodejs_version: "8"
10+
- nodejs_version: "8"
1211
- nodejs_version: "9"
1312
- nodejs_version: "10"
1413

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

6463
- ps: >
6564
if ($env:publish_binary -eq "true") {
66-
npm run prebuild-upload
65+
"building and uploading binaries" | Write-Host;
66+
npm run prebuild-ci;
6767
}
6868
true;
6969

docs/BaseBinding.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,7 @@ <h5>Returns:</h5>
23672367
<br class="clear">
23682368

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

23732373
<script>prettyPrint();</script>

docs/DarwinBinding.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h4 class="name" id="DarwinBinding"><span class="type-signature"></span>new Darw
170170
<br class="clear">
171171

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

176176
<script>prettyPrint();</script>

docs/LinuxBinding.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h4 class="name" id="LinuxBinding"><span class="type-signature"></span>new Linux
170170
<br class="clear">
171171

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

176176
<script>prettyPrint();</script>

docs/MockBinding.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h4 class="name" id="MockBinding"><span class="type-signature"></span>new MockBi
170170
<br class="clear">
171171

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

176176
<script>prettyPrint();</script>

docs/Poller.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ <h5>Returns:</h5>
576576
<br class="clear">
577577

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

582582
<script>prettyPrint();</script>

docs/SerialPort.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2961,7 +2961,7 @@ <h5>Returns:</h5>
29612961
<br class="clear">
29622962

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

29672967
<script>prettyPrint();</script>

0 commit comments

Comments
 (0)