Commit graph

1378 commits

Author SHA1 Message Date
Francis Gulotta
f8ecb270fc v9.0.3 2020-12-04 08:21:20 -05:00
Francis Gulotta
75f5375af1
Upgrades to support npm 7, and the latests nodes and electrons (#2186) 2020-12-04 08:20:39 -05:00
Noah Andrews
44263e1e62
Update node-abi (#2183)
Co-authored-by: NoahAndrews <github@noahandrews.me>
2020-12-04 08:06:32 -05:00
Francis Gulotta
0a377ec574
Update learn and prettier (minor releases) (#2163) 2020-11-02 23:59:58 -05:00
Francis Gulotta
63f803f56b
Update our dev deps notably mocha (#2162) 2020-11-02 23:44:53 -05:00
Francis Gulotta
df482d3af7 v9.0.2 2020-10-16 00:01:48 -04:00
Myles Borins
646f8de6e4
deps: upgrade eslint to 7 (#2153)
eslint 6 was not satisfying the peer dependency of eslint-mocha and
causing this repo to fail when being installed with npm 7.
2020-10-14 11:31:15 -04:00
Alec Mev
363d9f46b4
chore: Add preferUnplugged to keep the main package plugged in Yarn 2 (#2094) 2020-08-10 21:58:01 -04:00
Makarand Bauskar
4215122824
fix: while validating for offset, check for offset's value for NaN instead length (#2124) 2020-08-10 20:34:08 -04:00
Francis Gulotta
19fb5f8d2a v9.0.1 2020-08-07 21:15:51 -04:00
Francis Gulotta
9e8acac950 docs: Remove greenskeeper as it’s no longer in service 2020-08-07 21:12:43 -04:00
Francis Gulotta
fed9e9b8b9
chore: remove script that is now a package (#2121) 2020-08-07 21:11:32 -04:00
Francis Gulotta
dadfe554cf
chore: update package-lock.jsons even though we don’t really use them (#2123) 2020-08-07 21:11:09 -04:00
Noah Andrews
f4eeb51427
chore: Update prebuild-install, specify node-abi version (#2122)
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.
2020-08-07 20:51:41 -04:00
Francis Gulotta
2801301d14
fix: disconnects should now work again on unix based systems (#2120) 2020-08-06 23:58:50 -04:00
greenkeeper[bot]
f88c75ef97
chore: Update eslint-plugin-mocha to the latest version 🚀 (#2082)
* chore(package): update eslint-plugin-mocha to version 7.0.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-08-06 23:00:11 -04:00
JumpT
38595d0763
docs: Fix doc param description error (#2106)
* 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>
2020-07-16 22:57:52 -04:00
Francis Gulotta
45f83ab666
docs: add a note to the upgrade guide about 9x (#2080) 2020-05-10 08:38:12 -04:00
Francis Gulotta
36d3abcaa9 v9.0.0 2020-05-10 01:21:17 -04:00
Francis Gulotta
e0c232c77a
chore: build on node 14 and drop node 8 and 32bit linux builds (#2079)
- 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
2020-05-10 01:16:58 -04:00
Francis Gulotta
485b6155c4 chore: upgrade nan and prebuild-install
- Upgrading nan lets us use prebuild to build for node 14
- Prebuild just fixed verbose
2020-05-10 00:05:36 -04:00
Francis Gulotta
9f8f8fce99 chore: upgrade commander and enquirer 2020-05-10 00:05:36 -04:00
Francis Gulotta
ab02f012d2
chore: upgrade prettier (#2077) 2020-05-09 23:22:40 -04:00
Panu Horsmalahti
c5ae5bdb6a
chore: Update prebuild (#2073)
Co-authored-by: Panu Horsmalahti <panu.horsmalahti@u-blox.com>
2020-05-09 18:04:03 -04:00
Francis Gulotta
53a1f844ae v8.0.8 2020-05-07 00:34:01 -04:00
Martijn Swaagman
6ee5c8471f
fix: reject on non-zero exit codes (#2046)
* fix: reject on non-zero exit codes
* fix: use more descriptive error message
2020-05-06 23:38:58 -04:00
greenkeeper[bot]
b8ada2b83e
* chore(package): update sinon to version 9.0.0 🚀 (#2035)
* chore(package): update sinon to version 9.0.0

* chore(package): update lockfile package-lock.json
2020-02-23 15:43:36 -05:00
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