node-serialport-bindings-cpp/packages/repl
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
..
lib feat: drop callback argument on SerialPort.list() (#1943) 2019-09-24 23:15:31 -04:00
.npmignore fix: npmignore should ignore .DS_Store files (#1954) 2019-10-03 20:37:13 -04:00
LICENSE feat: move cli tools to their own packages (#1664) 2018-09-15 04:58:28 -04:00
package-lock.json v8.0.5 2019-10-27 14:14:44 -04:00
package.json v8.0.5 2019-10-27 14:14:44 -04:00
README.md feat: move cli tools to their own packages (#1664) 2018-09-15 04:58:28 -04:00

SerialPort Repl

$ npx @serialport/repl <port>
# or
$ npm install -g @serialport/repl
$ serialport-repl <port>

The package @serialport/repl will install the serialport-repl cli tool which provides a nodejs repl for working with serialport. This is valuable when debugging.

You can make use of the serialport-repl command with;

$ serialport-repl # to auto detect an arduino
$ serialport-repl /dev/tty.usbmodem1421 # to connect to a specific port

It will load a serialport object with debugging turned on.

$ serialport-repl
  serialport:binding:auto-detect loading DarwinBinding +0ms
port = SerialPort("/dev/tty.usbmodem1421", { autoOpen: false })
globals { SerialPort, portName, port }
> SerialPort.list()
  serialport:main .list +6s
[ { comName: '/dev/tty.usbmodem1421',
    manufacturer: 'Arduino (www.arduino.cc)',
    serialNumber: '752303138333518011C1',
    pnpId: undefined,
    locationId: '14200000',
    vendorId: '2341',
    productId: '0043' } ]
> port.write('Calling all Autobots!')
true
> port.read()
  serialport:main _read queueing _read for after open +1m
null
> port.open()
  serialport:main opening path: /dev/tty.usbmodem1421 +30s
  serialport:bindings open +1ms