This adds support for prebuilding for Electron 9. Explicitly specifying the node-abi version will make it easier to support
new node and electron versions in the future, since prebuild-install often takes a while to update its version of node-abi.
* fix space
* Make doc consistent with the code for `blinding`
* Update packages/stream/lib/index.js
Co-authored-by: Francis Gulotta <wizard@roborooter.com>
Co-authored-by: Francis Gulotta <wizard@roborooter.com>
- Build binaries on node 14 and test on node 14
- Node 14 is no longer being built for 32bit linux, not much I can do.
- Node 8 is out of LTS so it’s gone https://github.com/nodejs/Release#release-schedule
BREAKING CHANGE: Dropping node 8 and 32bit linux builds
- 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.
`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
- 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
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!
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.