- Updated dependencies
- BREAKING CHANGE: dropped support for end-of-lifed versions of Node.js, so this now only supports Node 10, 12, and 13
- Added
arm64
to thecpu
field in package.json for installing on 64-bit Raspberry Pis
- Updated dependencies
- Updated TypeScript to v3. Note: the compiled output changed as I previously didn't set the compiled output target flag correctly.
- Added
module
export to conform with Core IO types
- Updgraded to node-serialport 6
- BREAKING CHANGE: dropped support for Node 4.x
- POTENTIALLY BREAKING CHANGE: renamed the following private properties to begin with an underscore because I just learned TypeScript doesn't do anything to hide private properties. Don't use these properties, changes may not be semver-major next time.
Serial.portId
->Serial._portId
Serial.options
->Serial._options
Serial.portInstance
->Serial._portInstance
Serial.isOpen
->Serial._isOpen
- BREAKING CHANGE: dropped support for Node.js < 4.0.0, and now enforce it via package.json "engines" field.
- BREAKING CHANGE: dropped support for attempting to install on non-arm platforms via package.json's "cpu" field.
- Attempting to install this on a non-Raspberry Pi platform before worked for this specific package, but not the rest of the Raspi.js suite
- If you need serial support on a non-Raspberry Pi platform, you should use serialport instead.
- Removed broken install script
- Updated documentation to detail serial woes on the RPi
- Publishing a new version to update the README on npmjs.com. No other changes.
- Added an explicit call to
this.destroy
inprocess.on('beforeExit')
. This explicitly forces the serial port to close on exit.
- Fixed a crash when a callback is not supplied to open or close
- Added some important documentation to the README that needs to be on npmjs.com
- Note: there are no code changes, only documentation
- Added missing TypeScript definition package.json entry
- Converted the project to TypeScript and cleaned up a bunch of odds and ends
- Updated the documentation, it was all kinds of wrong. My apologies.
- BREAKING CHANGE (depending on your definition of it): the old documentation has a number of innacuracies. Technically the code behaves the same as in v2.0.0, but it behaves differently than the old documentation.
- Upgraded serialport to version 4
- POTENTIALLY BREAKING CHANGE: the callback to raspi-serial's
write
method is directly passed to serialport'swrite
method, which changed behavior in version 4. See serialport's upgrade guide for more info
- POTENTIALLY BREAKING CHANGE: the callback to raspi-serial's
- Switched dependency ranges to ^
- Bumped dependencies to bring in support for a new Raspberry Pi Zero revision
- Added alive checks
- Dependency update to fix bug
- New build system
- Added
flush
method
- Added
DEFAULT_PORT
constant
- Added accessors for
port
,baudRate
,dataBits
,stopBits
, andparity
- Initial implementation