Commit graph

1351 commits

Author SHA1 Message Date
Francis Gulotta
26659ff0f8 v8.0.7 2020-01-29 22:40:51 -05:00
greenkeeper[bot]
e3c24dc3de
Update mocha to the latest version 🚀 (#2020)
* chore(package): update mocha to version 7.0.1

* chore(package): update lockfile package-lock.json
2020-01-28 23:17:41 -05:00
greenkeeper[bot]
ad5732bb63
Update eslint-plugin-node to the latest version 🚀 (#2004)
* chore(package): update eslint-plugin-node to version 11.0.0

* chore(package): update lockfile package-lock.json
2020-01-28 23:17:28 -05:00
Jeroen de Bruijn
2a59726843
fix: uncomment node shebang line in terminal package (#2023) 2020-01-28 23:16:44 -05:00
Pavel Kuzmin
4e3e4210d2 fix .prebuild-installrc format (#2008) 2020-01-05 09:18:39 -05:00
Francis Gulotta
1a087da8a6 v8.0.6 2019-12-25 16:05:14 -05:00
Pavel Kuzmin
16f9662339 fix: No prebuilt binaries found with electron-builder (#2003)
fixed problem  No prebuilt binaries found with electron-builder
2019-12-25 15:57:30 -05:00
Francis Gulotta
a669578ebf
Create SECURITY.md 2019-12-22 22:15:56 -05:00
greenkeeper[bot]
56cda7c6d0 * chore(package): update sinon to version 8.0.0 🚀 (#2001)
* chore(package): update sinon to version 8.0.0

* chore(package): update lockfile package-lock.json
2019-12-22 20:43:11 -05:00
greenkeeper[bot]
2b48561b2a * chore(package): update nyc to version 15.0.0 🚀 (#2002)
* chore(package): update nyc to version 15.0.0

* chore(package): update lockfile package-lock.json
2019-12-22 20:42:10 -05:00
greenkeeper[bot]
fb95643a4e * chore(package): update cc to version 2.0.1 🚀 (#1991)
* chore(package): update cc to version 2.0.1

* chore(package): update lockfile package-lock.json
2019-12-22 20:41:02 -05:00
Francis Gulotta
258574260f
chore: Unit test unixWrite (#1986)
- unit test unixWrite 100% code coverage
- found a bug where we’d always disconnect on write errors despite attempts to sometimes just have write errors, I didn’t fix it, I need to think if we can just rip one of those concepts out completely.
2019-11-09 23:38:17 -05:00
Francis Gulotta
17c30f19c1
chore: change bindings constructor option to be optional (#1987) 2019-11-09 23:37:56 -05:00
Francis Gulotta
50f967e788
fix: bindings.close() should cause a canceled read error (#1972)
`stream` seems unaffected by this but other future interfaces may not be so forgiving.

- removed the unused disconnect handler that we passed to bindings in tests.
- moved shouldReject to a test global
- unit tested unixRead
2019-11-09 21:46:21 -05:00
Francis Gulotta
e978b7eb24
fix: stream required bindings-mock as a dep (#1970)
It is indeed a dev-dep. Only effects people not using `@serialport/stream` directly. Fix the package lock of serialport so lerna manages it.
2019-11-09 21:28:42 -05:00
greenkeeper[bot]
3423c415a0 chore(package): Update commander to the latest version 🚀 (#1978)
* fix(package): update commander to version 4.0.0

* chore(package): update lockfile packages/terminal/package-lock.json
2019-11-09 21:28:01 -05:00
Francis Gulotta
d500a5b1ba
fix: upgrade npm on GitHub actions to fix bug (#1973)
GitHub actions has some intermittent bugs when installing packages. Hopefully this helps.
2019-10-29 23:02:35 -04:00
Francis Gulotta
a0b80ad5f4
chore: improve our linter (#1971)
- makes the config file easier to understand
- bring in eslint:recommended
- finally we have `no-use-before-define` which finds a specific class of bugs we’ve suffered from
2019-10-29 14:19:58 -04:00
Francis Gulotta
69ed55d306
chore: update greenkeeper.json to include all packages (#1969) 2019-10-28 13:46:56 -04:00
Francis Gulotta
31ceeda776 doc: mention the serialport collective in our changelog 2019-10-27 16:42:13 -04:00
Francis Gulotta
20e180084a
docs: consolidate changelogs and update for 8x (#1967)
With learn fixed versioning having more than one changeling becomes unnecessary. This should be less confusing overall.


## [8.0.4](https://github.com/node-serialport/node-serialport/compare/v8.0.3...v8.0.4) (2019-10-27)

This is the first non beta release of serialport version 8! 🎉  The biggest change in 8x is our version numbers. We now user lerna's ["fixed versioning"](https://github.com/lerna/lerna#fixedlocked-mode-default) to allow for a much easier documentation experience. This makes all our packages share a version number when they're released. Our website now has versioned docs so you can see what they looked like for the version of serialport you're using today. (Check out our [7x docs](https://deploy-preview-24--serialport.netlify.com/docs/7.x.x/guide-about) if you still need them.)

With this change we've moved a centralized changelog (this file!) and we'll be moving older release notes here. We also moved the website to it's [own repo](https://github.com/serialport/website/).

A few breaking api changes have been introduced over the 8x beta releases. You can find out more about them in the [Upgrade Guide](https://github.com/serialport/node-serialport/blob/master/UPGRADE_GUIDE.md)

We dropped node6 support and now support node12 (and we work on node 13) which allowed us to migrate to async/await. The reduced a fair bit of code and was a welcome change.

Windows got a few notable bug fixes from contributors and RTS/CTS flow control should now work as expected.

And lastly our CI system has mostly been moved to GitHub Actions, they are much much faster than our travis/appveyor combo and cheaper too (free!). We still pay for Appveyor because we still use them with travis for binary builds. When that process is migrated we should be able to drop both services completely.

Thanks to @boneskull, @BryanHunt, @hipsterbrown, @Holger-Will, @icebob, @jacobq, @jowy, @krutkay, @maxvgi, @nornagon, @podarok, @reconbot, and @warp for their help with this release!
2019-10-27 16:06:21 -04:00
Francis Gulotta
c830306772
chore: Update terminal to use stream and bindings (#1966)
This keeps any update of any parser (which isn’t used) from updating this package.
2019-10-27 14:29:45 -04:00
Francis Gulotta
cf3ac11d39 v8.0.5 2019-10-27 14:14:44 -04:00
Francis Gulotta
3e568f7ca4 fix: cctalk wasn’t upgraded in serialport 2019-10-27 14:12:11 -04:00
Francis Gulotta
db21188f86 v8.0.4 2019-10-27 14:04:24 -04:00
Francis Gulotta
4b8fc24877 fix: learn now needs the package-lock.json files
I originally ignored these so we’d be confident in our CI not using them and having an experience similar to a user installing serialport. However our postInstall uses `lerna --no-ci` so that’s not an issue.
2019-10-27 14:03:32 -04:00
Francis Gulotta
296f3d12a7
chore: upgrade nan and commander (#1964)
- Nan has a minor upgrade
- commander has a breaking change that changes features we don’t use
2019-10-26 23:33:51 -04:00
Francis Gulotta
0170ff50e3
chore: upgrade dev deps (#1963) 2019-10-26 23:28:01 -04:00
Francis Gulotta
4b23928cd2
fix: improve the options and output of terminal (#1962)
- improve output so CR always print as NL
- change --port to --path
- change --echo to --no-echo (default is to echo)
- fix double echo output when selecting the port from a list
2019-10-26 23:02:55 -04:00
Francis Gulotta
61e9d9ec7e
chore: more async refactoring (#1955) 2019-10-05 20:13:56 -04:00
Francis Gulotta
eb6b57bffe
fix: npmignore should ignore .DS_Store files (#1954) 2019-10-03 20:37:13 -04:00
Francis Gulotta
6a73db3834 v8.0.3 2019-10-02 23:34:00 -04:00
Francis Gulotta
c7ca08f03a
fix: unix reading (#1953)
Another casualty of the async function refactor. This did fail the arudino tests.
2019-10-02 23:10:57 -04:00
Francis Gulotta
bfb47c71da
feat: Test merges with master (#1952)
I hope merge doesn’t run on the master branch. I disable the pull request events to prevent double builds.
2019-10-02 22:04:53 -04:00
Francis Gulotta
bae3483a6d
chore: Setup CI with github actions (#1924)
This uses GitHub actions for linux, windows and osx testing. Travis and appveyor is still present for binary building.
2019-09-28 22:04:58 -04:00
Icebob
4a3d2a017d fix: Add missing asyncClose (#1946)
Fix #1904
2019-09-26 09:28:08 -04:00
Francis Gulotta
4c19eb2219
chore: more testing around stream pool and reading (#1942) 2019-09-24 23:22:06 -04:00
Francis Gulotta
145b906d9c
feat: drop callback argument on SerialPort.list() (#1943)
Promises are now standard

BREAKING: SerialPort.list() now takes no arguments and always returns a promise.
2019-09-24 23:15:31 -04:00
Francis Gulotta
b1cc840e5a
fix: enabling disabled tests rename all pkgs to lib (#1941)
We weren't calling a few more tests and I standardized the package layout so this is harder to miss.
2019-09-24 22:03:13 -04:00
Francis Gulotta
53e208576b v8.0.2 2019-09-24 10:00:08 -04:00
Francis Gulotta
c57b6e9ea9
fix: stop polling if the poller has an error (#1936)
This will stop polling for FS events if there’s an error polling for fs events. Added tests for the JS. Tests for the c++ are harder.

This supersedes #1804 and ensures no more events are fired if one reports an error. Fixes #1803 based upon @nfrasser's work.
2019-09-24 09:56:56 -04:00
Francis Gulotta
a5f7d607ea
fix: we weren’t running all the tests (#1937) 2019-09-22 21:47:03 -04:00
greenkeeper[bot]
9445a9ff8f chore(package): update eslint-plugin-node to version 10.0.0 (#1930) 2019-09-22 15:28:34 -04:00
Francis Gulotta
275315a81f
feat: add optional end event for piping (#1926)
This will allow streams to end. We haven't done this because it allows a stream to be reopened and data to be continued to be read. 

Adds `endOnClose` to stream options so the stream will emit the end event when the port is closed. This will signal any piped parsers to end as well. If the port is reopened the parsers won’t function.
2019-09-22 15:27:16 -04:00
Francis Gulotta
eae28d4a00 v8.0.1 2019-09-17 21:04:47 -04:00
Francis Gulotta
6426214b88
fix: fix open colelctive link (#1928) 2019-08-30 23:01:11 -04:00
Francis Gulotta
fb05c2d80f
feat: Use GitHub actions for linting (#1927) 2019-08-30 21:11:42 -04:00
Francis Gulotta
3a132792e7
fix: stream read not working past 1 read (#1925)
This was overlooked in our async function overhaul and now has better testing.
2019-08-30 20:07:58 -04:00
Francis Gulotta
e501baaf5a
chore: make exclusive tests an actual lint error (#1923) 2019-08-26 22:50:48 -04:00
Francis Gulotta
afbc4312fc
feat: add eslint mocha (#1922)
I committed an exclusive test, that shouldn’t happen.
2019-08-26 22:10:26 -04:00